@smals-belgium-shared/vidis-medication-scheme-list 3.4.4-snapshot.3 → 3.4.4-snapshot.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,13 +9,13 @@ Use (?: … ) instead`);if(!Be.lineBreaks&&ji.test(`
9
9
  `))throw new Error("Rule should declare lineBreaks: "+ji);jt.push(z(ko))}}var Eo=ke&&ke.fallback,Fs=y&&!Eo?"ym":"gm",wc=y||Eo?"":"|";Fe===!0&&(Fs+="u");var Bde=new RegExp(K(jt)+wc,Fs);return{regexp:Bde,groups:rt,fast:Oe,error:ke||Qa}}function tr(W){var re=Bi(ka(W));return new Zt({start:re},"start")}function In(W,re,ke){var Oe=W&&(W.push||W.next);if(Oe&&!ke[Oe])throw new Error("Missing state '"+Oe+"' (in token '"+W.defaultType+"' of state '"+re+"')");if(W&&W.pop&&+W.pop!=1)throw new Error("pop must be 1 (in token '"+W.defaultType+"' of state '"+re+"')")}function On(W,re){var ke=W.$all?ka(W.$all):[];delete W.$all;var Oe=Object.getOwnPropertyNames(W);re||(re=Oe[0]);for(var Ue=Object.create(null),Fe=0;Fe<Oe.length;Fe++){var rt=Oe[Fe];Ue[rt]=ka(W[rt]).concat(ke)}for(var Fe=0;Fe<Oe.length;Fe++)for(var rt=Oe[Fe],jt=Ue[rt],_t=Object.create(null),Be=0;Be<jt.length;Be++){var ma=jt[Be];if(ma.include){var wo=[Be,1];if(ma.include!==rt&&!_t[ma.include]){_t[ma.include]=!0;var tn=Ue[ma.include];if(!tn)throw new Error("Cannot include nonexistent state '"+ma.include+"' (in state '"+rt+"')");for(var Ir=0;Ir<tn.length;Ir++){var ko=tn[Ir];jt.indexOf(ko)===-1&&wo.push(ko)}}jt.splice.apply(jt,wo),Be--}}for(var ji=Object.create(null),Fe=0;Fe<Oe.length;Fe++){var rt=Oe[Fe];ji[rt]=Bi(Ue[rt],!0)}for(var Fe=0;Fe<Oe.length;Fe++){for(var Ls=Oe[Fe],Eo=ji[Ls],Fs=Eo.groups,Be=0;Be<Fs.length;Be++)In(Fs[Be],Ls,ji);for(var wc=Object.getOwnPropertyNames(Eo.fast),Be=0;Be<wc.length;Be++)In(Eo.fast[wc[Be]],Ls,ji)}return new Zt(ji,re)}function Tn(W){for(var re=typeof Map<"u",ke=re?new Map:Object.create(null),Oe=Object.getOwnPropertyNames(W),Ue=0;Ue<Oe.length;Ue++){var Fe=Oe[Ue],rt=W[Fe],jt=Array.isArray(rt)?rt:[rt];jt.forEach(function(_t){if(typeof _t!="string")throw new Error("keyword must be string (in keyword '"+Fe+"')");re?ke.set(_t,Fe):ke[_t]=Fe})}return function(_t){return re?ke.get(_t):ke[_t]}}var Zt=function(W,re){this.startState=re,this.states=W,this.buffer="",this.stack=[],this.reset()};Zt.prototype.reset=function(W,re){return this.buffer=W||"",this.index=0,this.line=re?re.line:1,this.col=re?re.col:1,this.queuedToken=re?re.queuedToken:null,this.queuedText=re?re.queuedText:"",this.queuedThrow=re?re.queuedThrow:null,this.setState(re?re.state:this.startState),this.stack=re&&re.stack?re.stack.slice():[],this},Zt.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}},Zt.prototype.setState=function(W){if(!(!W||this.state===W)){this.state=W;var re=this.states[W];this.groups=re.groups,this.error=re.error,this.re=re.regexp,this.fast=re.fast}},Zt.prototype.popState=function(){this.setState(this.stack.pop())},Zt.prototype.pushState=function(W){this.stack.push(this.state),this.setState(W)};var _c=y?function(W,re){return W.exec(re)}:function(W,re){var ke=W.exec(re);return ke[0].length===0?null:ke};Zt.prototype._getGroup=function(W){for(var re=this.groups.length,ke=0;ke<re;ke++)if(W[ke+1]!==void 0)return this.groups[ke];throw new Error("Cannot find token type for matched text")};function xc(){return this.value}if(Zt.prototype.next=function(){var W=this.index;if(this.queuedGroup){var re=this._token(this.queuedGroup,this.queuedText,W);return this.queuedGroup=null,this.queuedText="",re}var ke=this.buffer;if(W!==ke.length){var rt=this.fast[ke.charCodeAt(W)];if(rt)return this._token(rt,ke.charAt(W),W);var Oe=this.re;Oe.lastIndex=W;var Ue=_c(Oe,ke),Fe=this.error;if(Ue==null)return this._token(Fe,ke.slice(W,ke.length),W);var rt=this._getGroup(Ue),jt=Ue[0];return Fe.fallback&&Ue.index!==W?(this.queuedGroup=rt,this.queuedText=jt,this._token(Fe,ke.slice(W,Ue.index),W)):this._token(rt,jt,W)}},Zt.prototype._token=function(W,re,ke){var Oe=0;if(W.lineBreaks){var Ue=/\n/g,Fe=1;if(re===`
10
10
  `)Oe=1;else for(;Ue.exec(re);)Oe++,Fe=Ue.lastIndex}var rt={type:typeof W.type=="function"&&W.type(re)||W.defaultType,value:typeof W.value=="function"?W.value(re):re,text:re,toString:xc,offset:ke,lineBreaks:Oe,line:this.line,col:this.col},jt=re.length;if(this.index+=jt,this.line+=Oe,Oe!==0?this.col=jt-Fe+1:this.col+=jt,W.shouldThrow){var _t=new Error(this.formatError(rt,"invalid syntax"));throw _t}return W.pop?this.popState():W.push?this.pushState(W.push):W.next&&this.setState(W.next),rt},typeof Symbol<"u"&&Symbol.iterator){var An=function(W){this.lexer=W};An.prototype.next=function(){var W=this.lexer.next();return{value:W,done:!W}},An.prototype[Symbol.iterator]=function(){return this},Zt.prototype[Symbol.iterator]=function(){return new An(this)}}return Zt.prototype.formatError=function(Oe,re){if(Oe==null)var ke=this.buffer.slice(this.index),Oe={text:ke,offset:this.index,lineBreaks:ke.indexOf(`
11
11
  `)===-1?0:1,line:this.line,col:this.col};var Ue=2,Fe=Math.max(Oe.line-Ue,1),rt=Oe.line+Ue,jt=String(rt).length,_t=Je(this.buffer,this.line-Oe.line+Ue+1).slice(0,5),Be=[];Be.push(re+" at line "+Oe.line+" col "+Oe.col+":"),Be.push("");for(var ma=0;ma<_t.length;ma++){var wo=_t[ma],tn=Fe+ma;Be.push(Ve(String(tn),jt)+" "+wo),tn===Oe.line&&Be.push(Ve("",jt+Oe.col+1)+"^")}return Be.join(`
12
- `)},Zt.prototype.clone=function(){return new Zt(this.states,this.state)},Zt.prototype.has=function(W){return!0},{compile:tr,states:On,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Tn}})})(x0);var lde=x0.exports;(function(m){var f=ch&&ch.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(m,"__esModule",{value:!0}),m.lexer=m.states=void 0;let v=f(lde);m.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},m.lexer=v.default.states(m.states)})(_0),Object.defineProperty(Ms,"__esModule",{value:!0});var w0=Ms.parse=Ms.ParseError=void 0;let k0=_0,gc=m=>({offset:m.offset,line:m.line,col:m.col,text:m.text,lineBreaks:m.lineBreaks}),dh=m=>m==="plural"||m==="select"||m==="selectordinal";function cde(m,f){let v="",y="";for(let x of f){let E=x.ctx.text;switch(y+=E,x.type){case"content":v+=x.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new Oa(m,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let dde=["number","date","time","spellout","ordinal","duration"],E0=["zero","one","two","few","many","other"];class Oa extends Error{constructor(f,v){super(k0.lexer.formatError(f,v))}}Ms.ParseError=Oa;class ude{constructor(f,v){var y,x,E,I;this.lexer=k0.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:E0,this.ordinalKeys=(x=v==null?void 0:v.ordinal)!==null&&x!==void 0?x:E0,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(I=v==null?void 0:v.strictPluralKeys)!==null&&I!==void 0?I:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new Oa(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let x=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&x.length>0&&!x.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new Oa(f,E)}}}parseSelect(f,v,y,x){let{value:E}=f,I={type:x,arg:E,cases:[],ctx:y};x==="plural"||x==="selectordinal"?v=!0:this.strict&&(v=!1);for(let R of this.lexer)switch(R.type){case"offset":if(x==="select")throw new Oa(R,"Unexpected plural offset for select");if(I.cases.length>0)throw new Oa(R,"Plural offset must be set before cases");I.pluralOffset=Number(R.value),y.text+=R.text,y.lineBreaks+=R.lineBreaks;break;case"case":{this.checkSelectKey(R,x,R.value),I.cases.push({key:R.value,tokens:this.parseBody(v),ctx:gc(R)});break}case"end":return I;default:throw new Oa(R,`Unexpected lexer token: ${R.type}`)}throw new Oa(null,"Unexpected message end")}parseArgToken(f,v){let y=gc(f),x=this.lexer.next();if(!x)throw new Oa(null,"Unexpected message end");if(y.text+=x.text,y.lineBreaks+=x.lineBreaks,this.strict&&(x.type==="func-simple"||x.type==="func-args")&&!dde.includes(x.value)){let E=`Invalid strict mode function arg type: ${x.value}`;throw new Oa(f,E)}switch(x.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new Oa(null,"Unexpected message end");if(E.type!=="end")throw new Oa(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,dh(x.value.toLowerCase()))throw new Oa(x,`Invalid type identifier: ${x.value}`);return{type:"function",arg:f.value,key:x.value,ctx:y}}case"func-args":{if(dh(x.value.toLowerCase())){let I=`Invalid type identifier: ${x.value}`;throw new Oa(x,I)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=cde(f,E)),{type:"function",arg:f.value,key:x.value,param:E,ctx:y}}case"select":if(dh(x.value))return this.parseSelect(f,v,y,x.value);throw new Oa(x,`Unexpected select type ${x.value}`);default:throw new Oa(x,`Unexpected lexer token: ${x.type}`)}}parseBody(f,v){let y=[],x=null;for(let E of this.lexer)if(E.type==="argument")x&&(x=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)x&&(x=null),y.push({type:"octothorpe",ctx:gc(E)});else{if(E.type==="end"&&!v)return y;{let I=E.value;if(!f&&E.type==="quoted"&&I[0]==="#"){if(I.includes("{")){let R=`Unsupported escape pattern: ${I}`;throw new Oa(E,R)}I=E.text}x?(x.value+=I,x.ctx.text+=E.text,x.ctx.lineBreaks+=E.lineBreaks):(x={type:"content",value:I,ctx:gc(E)},y.push(x))}}if(v)return y;throw new Oa(null,"Unexpected message end")}}function hde(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new ude(m,f).parse()}w0=Ms.parse=hde;function Ns(m){return Ns[m]||(Ns[m]=new Intl.NumberFormat(m))}function pde(m,f,v){return Ns(m).format(f-v)}function mde(m,f,v,y){var x=f-v;if(isNaN(x))throw new Error("`"+y+"` or its offset is not a number");return Ns(m).format(x)}function fde(m,f,v,y,x){if({}.hasOwnProperty.call(y,m))return y[m];f&&(m-=f);var E=v(m,x);return E in y?y[E]:y.other}function gde(m,f){return{}.hasOwnProperty.call(f,m)?f[m]:f.other}function bde(m,f){for(var v=0;v<m.length;++v)if(!f||f[m[v]]===void 0)throw new Error("Message requires argument '".concat(m[v],"'"))}var vde=Object.freeze({__proto__:null,_nf:Ns,number:pde,plural:fde,reqArgs:bde,select:gde,strictNumber:mde});function yde(m,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(m).toLocaleDateString(f,y)}function _de(m){if(typeof m!="number"&&(m=Number(m)),!isFinite(m))return String(m);var f="";m<0?(f="-",m=Math.abs(m)):m=Number(m);var v=m%60,y=[Math.round(v)===v?v:v.toFixed(3)];m<60?y.unshift(0):(m=Math.round((m-Number(y[0]))/60),y.unshift(m%60),m>=60&&(m=Math.round((m-Number(y[0]))/60),y.unshift(m)));var x=y.shift();return f+x+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var uh={};function bc(m,f){var v=String(m)+JSON.stringify(f);return uh[v]||(uh[v]=new Intl.NumberFormat(m,f)),uh[v]}function xde(m,f,v,y){var x=v&&v.split(":")||[],E=x[0],I=x[1],R={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:I&&I.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return bc(f,R[E]||{}).format(m)}var wde=function(m,f,v){return bc(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(m)},kde=function(m,f){return bc(f,{maximumFractionDigits:0}).format(m)},Ede=function(m,f){return bc(f,{style:"percent"}).format(m)};function Cde(m,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(m).toLocaleTimeString(f,y)}var hh=Object.freeze({__proto__:null,date:yde,duration:_de,numberCurrency:wde,numberFmt:xde,numberInteger:kde,numberPercent:Ede,time:Cde}),Sde={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}},ph=sde(Sde);function Dde(m){let f=0;for(let v=0;v<m.length;++v){let y=m.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function er(m,f){f&&(m+=" "+Dde(m).toString(36));let v=m.trim().replace(/\W+/g,"_");return ph.ES3[v]||ph.ESnext[v]||/^\d/.test(v)?"_"+v:v}function mh(m,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!ph.ES3[f])return m?m+"."+f:f;{let v=JSON.stringify(f);return m?m+"["+v+"]":v}}var Ide=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Ode=new RegExp("^"+Ide.join("|^"));function Tde(m,f){var v=Ode.test(f),y=JSON.stringify(v?"‏":"‎");return"".concat(y," + ").concat(m," + ").concat(y)}var Ade="@messageformat/runtime",Rde="@messageformat/runtime/lib/cardinals",C0="@messageformat/runtime/lib/plurals",Pde="@messageformat/runtime/lib/formatters",Mde=function(){function m(f){this.arguments=[],this.runtime={},this.options=f}return m.prototype.compile=function(f,v,y){var x,E,I=this,R=this.options,z=R.localeCodeFromKey,K=R.requireAllArguments,Ie=R.strict,Ve=R.strictPluralKeys;if(typeof f=="object"){var Je={};try{for(var he=a(Object.keys(f)),Nt=he.next();!Nt.done;Nt=he.next()){var ra=Nt.value,ka=z?z(ra):ra,Qa=y&&ka&&y[ka]||v;Je[ra]=this.compile(f[ra],Qa,y)}}catch(Zt){x={error:Zt}}finally{try{Nt&&!Nt.done&&(E=he.return)&&E.call(he)}finally{if(x)throw x.error}}return Je}this.plural=v;var Bi={cardinal:v.cardinals,ordinal:v.ordinals,strict:Ie,strictPluralKeys:Ve};this.arguments=[];var tr=w0(f,Bi).map(function(Zt){return I.token(Zt,null)}),In=this.arguments.length>0,On=this.concatenate(tr,!0);if(K&&In){this.setRuntimeFn("reqArgs");var Tn=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Tn,", d); return ").concat(On,"; }")}return"(".concat(In?"d":"",") => ").concat(On)},m.prototype.cases=function(f,v){var y=this,x=!0,E=f.cases.map(function(Ie){var Ve=Ie.key,Je=Ie.tokens;Ve==="other"&&(x=!1);var he=Je.map(function(Nt){return y.token(Nt,v)});return"".concat(mh(null,Ve.replace(/^=/,"")),": ").concat(y.concatenate(he,!1))});if(x){var I=f.type,R=this.plural,z=R.cardinals,K=R.ordinals;if(I==="select"||I==="plural"&&z.includes("other")||I==="selectordinal"&&K.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},m.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},m.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,x=y.id,E=y.lc,I,R;switch("arg"in f?(this.arguments.push(f.arg),I=[mh("d",f.arg)]):I=[],f.type){case"argument":return this.options.biDiSupport?Tde(String(I[0]),E):String(I[0]);case"select":R="select",v&&this.options.strict&&(v=null),I.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":R="plural",I.push(f.pluralOffset||0,x,this.cases(f,f),1),this.setLocale(x,!0),this.setRuntimeFn("plural");break;case"plural":R="plural",I.push(f.pluralOffset||0,x,this.cases(f,f)),this.setLocale(x,!1),this.setRuntimeFn("plural");break;case"function":{var z=this.options.customFormatters[f.key],K=z&&"module"in z&&typeof z.module=="function";if(!z){if(f.key==="date"){R=this.setDateFormatter(f,I,v);break}else if(f.key==="number"){R=this.setNumberFormatter(f,I,v);break}}if(I.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var Ie=this.getFormatterArg(f,v);Ie&&I.push(Ie)}R=K?er("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(R,f.key);break}case"octothorpe":if(!v)return'"#"';I=[JSON.stringify(this.plural.locale),mh("d",v.arg),v.pluralOffset||0],this.options.strict?(R="strictNumber",I.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(R="number",this.setRuntimeFn("number"));break}if(!R)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(R,"(").concat(I.join(", "),")")},m.prototype.runtimeIncludes=function(f,v){if(er(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},m.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),x=this.plural,E=x.getCardinal,I=x.getPlural,R=x.isDefault,z,K,Ie;if(!v&&R&&E){if(y)return;z=function(Ve){return E(Ve)},K=Rde,Ie=function(){return String(E)}}else{if(y&&(!R||y.module===C0))return;z=function(Ve,Je){return I(Ve,Je)},K=R?C0:I.module||null,Ie=function(){return String(I)}}this.runtime[f]=Object.assign(z,{id:f,module:K,toString:Ie,type:"locale"})},m.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(vde[f],{id:f,module:Ade,type:"runtime"}))},m.prototype.getFormatterArg=function(f,v){var y,x,E,I,R=this,z=f.key,K=f.param,Ie=this.options.customFormatters[z]||S0(z)&&hh[z];if(!Ie||!K)return null;var Ve="arg"in Ie&&Ie.arg||"string";if(Ve==="options"){var Je="";try{for(var he=a(K),Nt=he.next();!Nt.done;Nt=he.next()){var ra=Nt.value;if(ra.type==="content")Je+=ra.value;else throw new SyntaxError("Expected literal options for ".concat(z," formatter"))}}catch(An){y={error:An}}finally{try{Nt&&!Nt.done&&(x=he.return)&&x.call(he)}finally{if(y)throw y.error}}var ka={};try{for(var Qa=a(Je.split(",")),Bi=Qa.next();!Bi.done;Bi=Qa.next()){var tr=Bi.value,In=tr.indexOf(":");if(In===-1)ka[tr.trim()]=null;else{var On=tr.substring(0,In).trim(),Tn=tr.substring(In+1).trim();if(Tn==="true")ka[On]=!0;else if(Tn==="false")ka[On]=!1;else if(Tn==="null")ka[On]=null;else{var Zt=Number(Tn);ka[On]=Number.isFinite(Zt)?Zt:Tn}}}}catch(An){E={error:An}}finally{try{Bi&&!Bi.done&&(I=Qa.return)&&I.call(Qa)}finally{if(E)throw E.error}}return JSON.stringify(ka)}else{var _c=K.map(function(An){return R.token(An,v)});if(Ve==="raw")return"[".concat(_c.join(", "),"]");var xc=_c.join(" + ");return xc?"(".concat(xc,").trim()"):'""'}},m.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var x=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(x.formatter.bind({}),n(n({},x.formatter.prototype),{toString:function(){return String(x.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:er(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(S0(f))this.runtime[f]=Object.assign(hh[f],{type:"formatter"},{id:f,module:Pde});else throw new Error("Formatting function not found: ".concat(f))}},m.prototype.setDateFormatter=function(f,v,y){var x=this,E=f.param,I=this.plural.locale,R=E&&E.length===1&&E[0];if(R&&R.type==="content"&&/^\s*::/.test(R.value)){var z=R.value.trim().substr(2),K=er("date_".concat(I,"_").concat(z),!0);if(!this.runtimeIncludes(K,"formatter")){var Ie=xa(I,z,this.options.timeZone);this.runtime[K]=Object.assign(Ie,{id:K,module:null,toString:function(){return na(I,z,x.options.timeZone)},type:"formatter"})}return K}if(v.push(JSON.stringify(I)),E&&E.length>0){y&&this.options.strict&&(y=null);var Ve=E.map(function(Je){return x.token(Je,y)});v.push("("+(Ve.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},m.prototype.setNumberFormatter=function(f,v,y){var x=this,E=f.param,I=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(I)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(I)),E.length===1&&E[0].type==="content"){var R=E[0].value.trim();switch(R){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var z=R.match(/^currency:([A-Z]+)$/);if(z)return v.push(JSON.stringify(z[1])),this.setFormatter("numberCurrency"),"numberCurrency";var K=er("number_".concat(I,"_").concat(R),!0);if(!this.runtimeIncludes(K,"formatter")){var Ie=this.options.currency,Ve=rde(I,R,Ie);this.runtime[K]=Object.assign(Ve,{id:null,module:null,toString:function(){return ode(I,R,Ie)},type:"formatter"})}return K}y&&this.options.strict&&(y=null);var Je=E.map(function(he){return x.token(he,y)});return v.push("("+(Je.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},m}();function S0(m){return m in hh}let J=m=>m==1?"one":"other",kn=m=>m==0||m==1?"one":"other",Ji=m=>m>=0&&m<=1?"one":"other",Ma=m=>{let f=String(m).split("."),v=!f[1];return m==1&&v?"one":"other"},ot=m=>"other",En=m=>m==1?"one":m==2?"two":"other";var Nde=Object.freeze({__proto__:null,af:J,ak:kn,am:Ji,an:J,ar:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Ji,asa:J,ast:Ma,az:J,bal:J,be:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-1),x=v&&f[0].slice(-2);return y==1&&x!=11?"one":y>=2&&y<=4&&(x<12||x>14)?"few":v&&y==0||y>=5&&y<=9||x>=11&&x<=14?"many":"other"},bem:J,bez:J,bg:J,bho:kn,bm:ot,bn:Ji,bo:ot,br:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-1),x=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&x!=11&&x!=71&&x!=91?"one":y==2&&x!=12&&x!=72&&x!=92?"two":(y==3||y==4||y==9)&&(x<10||x>19)&&(x<70||x>79)&&(x<90||x>99)?"few":m!=0&&v&&E==0?"many":"other"},brx:J,bs:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},ca:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},ce:J,ceb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&E!=4&&E!=6&&E!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:J,chr:J,ckb:J,cs:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return m==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},cy:m=>m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:m=>{let f=String(m).split("."),v=f[0],y=Number(f[0])==m;return m==1||!y&&(v==0||v==1)?"one":"other"},de:Ma,doi:Ji,dsb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-2),I=y.slice(-2);return x&&E==1||I==1?"one":x&&E==2||I==2?"two":x&&(E==3||E==4)||I==3||I==4?"few":"other"},dv:J,dz:ot,ee:J,el:J,en:Ma,eo:J,es:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1?"one":v!=0&&x==0&&y?"many":"other"},et:Ma,eu:J,fa:Ji,ff:m=>m>=0&&m<2?"one":"other",fi:Ma,fil:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&E!=4&&E!=6&&E!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},fo:J,fr:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m>=0&&m<2?"one":v!=0&&x==0&&y?"many":"other"},fur:J,fy:Ma,ga:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==1?"one":m==2?"two":v&&m>=3&&m<=6?"few":v&&m>=7&&m<=10?"many":"other"},gd:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==1||m==11?"one":m==2||m==12?"two":v&&m>=3&&m<=10||v&&m>=13&&m<=19?"few":"other"},gl:Ma,gsw:J,gu:Ji,guw:kn,gv:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:J,haw:J,he:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:Ji,hnj:ot,hr:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},hsb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-2),I=y.slice(-2);return x&&E==1||I==1?"one":x&&E==2||I==2?"two":x&&(E==3||E==4)||I==3||I==4?"few":"other"},hu:J,hy:m=>m>=0&&m<2?"one":"other",ia:Ma,id:ot,ig:ot,ii:ot,io:Ma,is:m=>{let f=String(m).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),x=Number(f[0])==m,E=v.slice(-1),I=v.slice(-2);return x&&E==1&&I!=11||y%10==1&&y%100!=11?"one":"other"},it:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},iu:En,ja:ot,jbo:ot,jgo:J,jmc:J,jv:ot,jw:ot,ka:J,kab:m=>m>=0&&m<2?"one":"other",kaj:J,kcg:J,kde:ot,kea:ot,kk:J,kkj:J,kl:J,km:ot,kn:Ji,ko:ot,ks:J,ksb:J,ksh:m=>m==0?"zero":m==1?"one":"other",ku:J,kw:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2),x=v&&f[0].slice(-3),E=v&&f[0].slice(-5),I=v&&f[0].slice(-6);return m==0?"zero":m==1?"one":y==2||y==22||y==42||y==62||y==82||v&&x==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||m!=0&&I==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":m!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:J,lag:m=>{let f=String(m).split("."),v=f[0];return m==0?"zero":(v==0||v==1)&&m!=0?"one":"other"},lb:J,lg:J,lij:Ma,lkt:ot,ln:kn,lo:ot,lt:m=>{let f=String(m).split("."),v=f[1]||"",y=Number(f[0])==m,x=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return x==1&&(E<11||E>19)?"one":x>=2&&x<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:m=>{let f=String(m).split("."),v=f[1]||"",y=v.length,x=Number(f[0])==m,E=x&&f[0].slice(-1),I=x&&f[0].slice(-2),R=v.slice(-2),z=v.slice(-1);return x&&E==0||I>=11&&I<=19||y==2&&R>=11&&R<=19?"zero":E==1&&I!=11||y==2&&z==1&&R!=11||y!=2&&z==1?"one":"other"},mas:J,mg:kn,mgo:J,mk:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":"other"},ml:J,mn:J,mo:m=>{let f=String(m).split("."),v=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&v?"one":!v||m==0||m!=1&&x>=1&&x<=19?"few":"other"},mr:J,ms:ot,mt:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==1?"one":m==2?"two":m==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:ot,nah:J,naq:En,nb:J,nd:J,ne:J,nl:Ma,nn:J,nnh:J,no:J,nqo:ot,nr:J,nso:kn,ny:J,nyn:J,om:J,or:J,os:J,osa:ot,pa:kn,pap:J,pcm:Ji,pl:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return m==1&&y?"one":y&&x>=2&&x<=4&&(E<12||E>14)?"few":y&&v!=1&&(x==0||x==1)||y&&x>=5&&x<=9||y&&E>=12&&E<=14?"many":"other"},prg:m=>{let f=String(m).split("."),v=f[1]||"",y=v.length,x=Number(f[0])==m,E=x&&f[0].slice(-1),I=x&&f[0].slice(-2),R=v.slice(-2),z=v.slice(-1);return x&&E==0||I>=11&&I<=19||y==2&&R>=11&&R<=19?"zero":E==1&&I!=11||y==2&&z==1&&R!=11||y!=2&&z==1?"one":"other"},ps:J,pt:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return v==0||v==1?"one":v!=0&&x==0&&y?"many":"other"},pt_PT:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},rm:J,ro:m=>{let f=String(m).split("."),v=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&v?"one":!v||m==0||m!=1&&x>=1&&x<=19?"few":"other"},rof:J,ru:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return y&&x==1&&E!=11?"one":y&&x>=2&&x<=4&&(E<12||E>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&E>=11&&E<=14?"many":"other"},rwk:J,sah:ot,saq:J,sat:En,sc:Ma,scn:Ma,sd:J,sdh:J,se:En,seh:J,ses:ot,sg:ot,sh:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},shi:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m>=0&&m<=1?"one":v&&m>=2&&m<=10?"few":"other"},si:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"";return m==0||m==1||v==0&&y==1?"one":"other"},sk:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return m==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(x==3||x==4)||!y?"few":"other"},sma:En,smi:En,smj:En,smn:En,sms:En,sn:J,so:J,sq:J,sr:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},ss:J,ssy:J,st:J,su:ot,sv:Ma,sw:Ma,syr:J,ta:J,te:J,teo:J,th:ot,ti:kn,tig:J,tk:J,tl:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&E!=4&&E!=6&&E!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},tn:J,to:ot,tpi:ot,tr:J,ts:J,tzm:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==0||m==1||v&&m>=11&&m<=99?"one":"other"},ug:J,uk:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return y&&x==1&&E!=11?"one":y&&x>=2&&x<=4&&(E<12||E>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&E>=11&&E<=14?"many":"other"},und:ot,ur:Ma,uz:J,ve:J,vec:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},vi:ot,vo:J,vun:J,wa:kn,wae:J,wo:ot,xh:J,xog:J,yi:Ma,yo:ot,yue:ot,zh:ot,zu:Ji});let Cn="zero",le="one",Bt="two",Ge="few",Ze="many",q="other",G={cardinal:[le,q],ordinal:[q]},Dr={cardinal:[le,q],ordinal:[le,q]},ht={cardinal:[q],ordinal:[q]},en={cardinal:[le,Bt,q],ordinal:[q]};var D0=Object.freeze({__proto__:null,af:G,ak:G,am:G,an:G,ar:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[q]},ars:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[q]},as:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},asa:G,ast:G,az:{cardinal:[le,q],ordinal:[le,Ge,Ze,q]},bal:Dr,be:{cardinal:[le,Ge,Ze,q],ordinal:[Ge,q]},bem:G,bez:G,bg:G,bho:G,bm:ht,bn:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},bo:ht,br:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},brx:G,bs:{cardinal:[le,Ge,q],ordinal:[q]},ca:{cardinal:[le,Ze,q],ordinal:[le,Bt,Ge,q]},ce:G,ceb:G,cgg:G,chr:G,ckb:G,cs:{cardinal:[le,Ge,Ze,q],ordinal:[q]},cy:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[Cn,le,Bt,Ge,Ze,q]},da:G,de:G,doi:G,dsb:{cardinal:[le,Bt,Ge,q],ordinal:[q]},dv:G,dz:ht,ee:G,el:G,en:{cardinal:[le,q],ordinal:[le,Bt,Ge,q]},eo:G,es:{cardinal:[le,Ze,q],ordinal:[q]},et:G,eu:G,fa:G,ff:G,fi:G,fil:Dr,fo:G,fr:{cardinal:[le,Ze,q],ordinal:[le,q]},fur:G,fy:G,ga:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[le,q]},gd:{cardinal:[le,Bt,Ge,q],ordinal:[le,Bt,Ge,q]},gl:G,gsw:G,gu:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},guw:G,gv:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},ha:G,haw:G,he:en,hi:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},hnj:ht,hr:{cardinal:[le,Ge,q],ordinal:[q]},hsb:{cardinal:[le,Bt,Ge,q],ordinal:[q]},hu:Dr,hy:Dr,ia:G,id:ht,ig:ht,ii:ht,io:G,is:G,it:{cardinal:[le,Ze,q],ordinal:[Ze,q]},iu:en,ja:ht,jbo:ht,jgo:G,jmc:G,jv:ht,jw:ht,ka:{cardinal:[le,q],ordinal:[le,Ze,q]},kab:G,kaj:G,kcg:G,kde:ht,kea:ht,kk:{cardinal:[le,q],ordinal:[Ze,q]},kkj:G,kl:G,km:ht,kn:G,ko:ht,ks:G,ksb:G,ksh:{cardinal:[Cn,le,q],ordinal:[q]},ku:G,kw:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[le,Ze,q]},ky:G,lag:{cardinal:[Cn,le,q],ordinal:[q]},lb:G,lg:G,lij:{cardinal:[le,q],ordinal:[Ze,q]},lkt:ht,ln:G,lo:{cardinal:[q],ordinal:[le,q]},lt:{cardinal:[le,Ge,Ze,q],ordinal:[q]},lv:{cardinal:[Cn,le,q],ordinal:[q]},mas:G,mg:G,mgo:G,mk:{cardinal:[le,q],ordinal:[le,Bt,Ze,q]},ml:G,mn:G,mo:{cardinal:[le,Ge,q],ordinal:[le,q]},mr:{cardinal:[le,q],ordinal:[le,Bt,Ge,q]},ms:{cardinal:[q],ordinal:[le,q]},mt:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},my:ht,nah:G,naq:en,nb:G,nd:G,ne:Dr,nl:G,nn:G,nnh:G,no:G,nqo:ht,nr:G,nso:G,ny:G,nyn:G,om:G,or:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},os:G,osa:ht,pa:G,pap:G,pcm:G,pl:{cardinal:[le,Ge,Ze,q],ordinal:[q]},prg:{cardinal:[Cn,le,q],ordinal:[q]},ps:G,pt:{cardinal:[le,Ze,q],ordinal:[q]},pt_PT:{cardinal:[le,Ze,q],ordinal:[q]},rm:G,ro:{cardinal:[le,Ge,q],ordinal:[le,q]},rof:G,ru:{cardinal:[le,Ge,Ze,q],ordinal:[q]},rwk:G,sah:ht,saq:G,sat:en,sc:{cardinal:[le,q],ordinal:[Ze,q]},scn:{cardinal:[le,q],ordinal:[Ze,q]},sd:G,sdh:G,se:en,seh:G,ses:ht,sg:ht,sh:{cardinal:[le,Ge,q],ordinal:[q]},shi:{cardinal:[le,Ge,q],ordinal:[q]},si:G,sk:{cardinal:[le,Ge,Ze,q],ordinal:[q]},sl:{cardinal:[le,Bt,Ge,q],ordinal:[q]},sma:en,smi:en,smj:en,smn:en,sms:en,sn:G,so:G,sq:{cardinal:[le,q],ordinal:[le,Ze,q]},sr:{cardinal:[le,Ge,q],ordinal:[q]},ss:G,ssy:G,st:G,su:ht,sv:Dr,sw:G,syr:G,ta:G,te:G,teo:G,th:ht,ti:G,tig:G,tk:{cardinal:[le,q],ordinal:[Ge,q]},tl:Dr,tn:G,to:ht,tpi:ht,tr:G,ts:G,tzm:G,ug:G,uk:{cardinal:[le,Ge,Ze,q],ordinal:[Ge,q]},und:ht,ur:G,uz:G,ve:G,vec:{cardinal:[le,Ze,q],ordinal:[Ze,q]},vi:{cardinal:[q],ordinal:[le,q]},vo:G,vun:G,wa:G,wae:G,wo:ht,xh:G,xog:G,yi:G,yo:ht,yue:ht,zh:ht,zu:G});let ce=(m,f)=>f?"other":m==1?"one":"other",Sn=(m,f)=>f?"other":m==0||m==1?"one":"other",xo=(m,f)=>f?"other":m>=0&&m<=1?"one":"other",Ei=(m,f)=>{let v=String(m).split("."),y=!v[1];return f?"other":m==1&&y?"one":"other"},pt=(m,f)=>"other",Dn=(m,f)=>f?"other":m==1?"one":m==2?"two":"other";var vc=Object.freeze({__proto__:null,af:ce,ak:Sn,am:xo,an:ce,ar:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":x>=3&&x<=10?"few":x>=11&&x<=99?"many":"other"},ars:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":x>=3&&x<=10?"few":x>=11&&x<=99?"many":"other"},as:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",asa:ce,ast:Ei,az:(m,f)=>{let v=String(m).split("."),y=v[0],x=y.slice(-1),E=y.slice(-2),I=y.slice(-3);return f?x==1||x==2||x==5||x==7||x==8||E==20||E==50||E==70||E==80?"one":x==3||x==4||I==100||I==200||I==300||I==400||I==500||I==600||I==700||I==800||I==900?"few":y==0||x==6||E==40||E==60||E==90?"many":"other":m==1?"one":"other"},bal:(m,f)=>m==1?"one":"other",be:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(x==2||x==3)&&E!=12&&E!=13?"few":"other":x==1&&E!=11?"one":x>=2&&x<=4&&(E<12||E>14)?"few":y&&x==0||x>=5&&x<=9||E>=11&&E<=14?"many":"other"},bem:ce,bez:ce,bg:ce,bho:Sn,bm:pt,bn:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",bo:pt,br:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),E=y&&v[0].slice(-2),I=y&&v[0].slice(-6);return f?"other":x==1&&E!=11&&E!=71&&E!=91?"one":x==2&&E!=12&&E!=72&&E!=92?"two":(x==3||x==4||x==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":m!=0&&y&&I==0?"many":"other"},brx:ce,bs:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},ca:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==1||m==3?"one":m==2?"two":m==4?"few":"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},ce,ceb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=x.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&I!=4&&I!=6&&I!=9||!E&&R!=4&&R!=6&&R!=9?"one":"other"},cgg:ce,chr:ce,ckb:ce,cs:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":m==1&&x?"one":y>=2&&y<=4&&x?"few":x?"other":"many"},cy:(m,f)=>f?m==0||m==7||m==8||m==9?"zero":m==1?"one":m==2?"two":m==3||m==4?"few":m==5||m==6?"many":"other":m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:(m,f)=>{let v=String(m).split("."),y=v[0],x=Number(v[0])==m;return f?"other":m==1||!x&&(y==0||y==1)?"one":"other"},de:Ei,doi:xo,dsb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-2),R=x.slice(-2);return f?"other":E&&I==1||R==1?"one":E&&I==2||R==2?"two":E&&(I==3||I==4)||R==3||R==4?"few":"other"},dv:ce,dz:pt,ee:ce,el:ce,en:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-1),I=x&&v[0].slice(-2);return f?E==1&&I!=11?"one":E==2&&I!=12?"two":E==3&&I!=13?"few":"other":m==1&&y?"one":"other"},eo:ce,es:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?"other":m==1?"one":y!=0&&E==0&&x?"many":"other"},et:Ei,eu:ce,fa:xo,ff:(m,f)=>f?"other":m>=0&&m<2?"one":"other",fi:Ei,fil:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=x.slice(-1);return f?m==1?"one":"other":E&&(y==1||y==2||y==3)||E&&I!=4&&I!=6&&I!=9||!E&&R!=4&&R!=6&&R!=9?"one":"other"},fo:ce,fr:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==1?"one":"other":m>=0&&m<2?"one":y!=0&&E==0&&x?"many":"other"},fur:ce,fy:Ei,ga:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1?"one":"other":m==1?"one":m==2?"two":y&&m>=3&&m<=6?"few":y&&m>=7&&m<=10?"many":"other"},gd:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1||m==11?"one":m==2||m==12?"two":m==3||m==13?"few":"other":m==1||m==11?"one":m==2||m==12?"two":y&&m>=3&&m<=10||y&&m>=13&&m<=19?"few":"other"},gl:Ei,gsw:ce,gu:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",guw:Sn,gv:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-1),I=y.slice(-2);return f?"other":x&&E==1?"one":x&&E==2?"two":x&&(I==0||I==20||I==40||I==60||I==80)?"few":x?"other":"many"},ha:ce,haw:ce,he:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":y==1&&x||y==0&&!x?"one":y==2&&x?"two":"other"},hi:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",hnj:pt,hr:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},hsb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-2),R=x.slice(-2);return f?"other":E&&I==1||R==1?"one":E&&I==2||R==2?"two":E&&(I==3||I==4)||R==3||R==4?"few":"other"},hu:(m,f)=>f?m==1||m==5?"one":"other":m==1?"one":"other",hy:(m,f)=>f?m==1?"one":"other":m>=0&&m<2?"one":"other",ia:Ei,id:pt,ig:pt,ii:pt,io:Ei,is:(m,f)=>{let v=String(m).split("."),y=v[0],x=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==m,I=y.slice(-1),R=y.slice(-2);return f?"other":E&&I==1&&R!=11||x%10==1&&x%100!=11?"one":"other"},it:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},iu:Dn,ja:pt,jbo:pt,jgo:ce,jmc:ce,jv:pt,jw:pt,ka:(m,f)=>{let v=String(m).split("."),y=v[0],x=y.slice(-2);return f?y==1?"one":y==0||x>=2&&x<=20||x==40||x==60||x==80?"many":"other":m==1?"one":"other"},kab:(m,f)=>f?"other":m>=0&&m<2?"one":"other",kaj:ce,kcg:ce,kde:pt,kea:pt,kk:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1);return f?x==6||x==9||y&&x==0&&m!=0?"many":"other":m==1?"one":"other"},kkj:ce,kl:ce,km:pt,kn:xo,ko:pt,ks:ce,ksb:ce,ksh:(m,f)=>f?"other":m==0?"zero":m==1?"one":"other",ku:ce,kw:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2),E=y&&v[0].slice(-3),I=y&&v[0].slice(-5),R=y&&v[0].slice(-6);return f?y&&m>=1&&m<=4||x>=1&&x<=4||x>=21&&x<=24||x>=41&&x<=44||x>=61&&x<=64||x>=81&&x<=84?"one":m==5||x==5?"many":"other":m==0?"zero":m==1?"one":x==2||x==22||x==42||x==62||x==82||y&&E==0&&(I>=1e3&&I<=2e4||I==4e4||I==6e4||I==8e4)||m!=0&&R==1e5?"two":x==3||x==23||x==43||x==63||x==83?"few":m!=1&&(x==1||x==21||x==41||x==61||x==81)?"many":"other"},ky:ce,lag:(m,f)=>{let v=String(m).split("."),y=v[0];return f?"other":m==0?"zero":(y==0||y==1)&&m!=0?"one":"other"},lb:ce,lg:ce,lij:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m;return f?m==11||m==8||x&&m>=80&&m<=89||x&&m>=800&&m<=899?"many":"other":m==1&&y?"one":"other"},lkt:pt,ln:Sn,lo:(m,f)=>f&&m==1?"one":"other",lt:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=Number(v[0])==m,E=x&&v[0].slice(-1),I=x&&v[0].slice(-2);return f?"other":E==1&&(I<11||I>19)?"one":E>=2&&E<=9&&(I<11||I>19)?"few":y!=0?"many":"other"},lv:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=y.length,E=Number(v[0])==m,I=E&&v[0].slice(-1),R=E&&v[0].slice(-2),z=y.slice(-2),K=y.slice(-1);return f?"other":E&&I==0||R>=11&&R<=19||x==2&&z>=11&&z<=19?"zero":I==1&&R!=11||x==2&&K==1&&z!=11||x!=2&&K==1?"one":"other"},mas:ce,mg:Sn,mgo:ce,mk:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?I==1&&R!=11?"one":I==2&&R!=12?"two":(I==7||I==8)&&R!=17&&R!=18?"many":"other":E&&I==1&&R!=11||z==1&&K!=11?"one":"other"},ml:ce,mn:ce,mo:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&E>=1&&E<=19?"few":"other"},mr:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":"other":m==1?"one":"other",ms:(m,f)=>f&&m==1?"one":"other",mt:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==1?"one":m==2?"two":m==0||x>=3&&x<=10?"few":x>=11&&x<=19?"many":"other"},my:pt,nah:ce,naq:Dn,nb:ce,nd:ce,ne:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?y&&m>=1&&m<=4?"one":"other":m==1?"one":"other"},nl:Ei,nn:ce,nnh:ce,no:ce,nqo:pt,nr:ce,nso:Sn,ny:ce,nyn:ce,om:ce,or:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1||m==5||y&&m>=7&&m<=9?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m==1?"one":"other"},os:ce,osa:pt,pa:Sn,pap:ce,pcm:xo,pl:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-1),I=y.slice(-2);return f?"other":m==1&&x?"one":x&&E>=2&&E<=4&&(I<12||I>14)?"few":x&&y!=1&&(E==0||E==1)||x&&E>=5&&E<=9||x&&I>=12&&I<=14?"many":"other"},prg:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=y.length,E=Number(v[0])==m,I=E&&v[0].slice(-1),R=E&&v[0].slice(-2),z=y.slice(-2),K=y.slice(-1);return f?"other":E&&I==0||R>=11&&R<=19||x==2&&z>=11&&z<=19?"zero":I==1&&R!=11||x==2&&K==1&&z!=11||x!=2&&K==1?"one":"other"},ps:ce,pt:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&x?"many":"other"},pt_PT:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},rm:ce,ro:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&E>=1&&E<=19?"few":"other"},rof:ce,ru:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-1),I=y.slice(-2);return f?"other":x&&E==1&&I!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)?"few":x&&E==0||x&&E>=5&&E<=9||x&&I>=11&&I<=14?"many":"other"},rwk:ce,sah:pt,saq:ce,sat:Dn,sc:(m,f)=>{let v=String(m).split("."),y=!v[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},scn:(m,f)=>{let v=String(m).split("."),y=!v[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},sd:ce,sdh:ce,se:Dn,seh:ce,ses:pt,sg:pt,sh:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},shi:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?"other":m>=0&&m<=1?"one":y&&m>=2&&m<=10?"few":"other"},si:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"";return f?"other":m==0||m==1||y==0&&x==1?"one":"other"},sk:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":m==1&&x?"one":y>=2&&y<=4&&x?"few":x?"other":"many"},sl:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-2);return f?"other":x&&E==1?"one":x&&E==2?"two":x&&(E==3||E==4)||!x?"few":"other"},sma:Dn,smi:Dn,smj:Dn,smn:Dn,sms:Dn,sn:ce,so:ce,sq:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?m==1?"one":x==4&&E!=14?"many":"other":m==1?"one":"other"},sr:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},ss:ce,ssy:ce,st:ce,su:pt,sv:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-1),I=x&&v[0].slice(-2);return f?(E==1||E==2)&&I!=11&&I!=12?"one":"other":m==1&&y?"one":"other"},sw:Ei,syr:ce,ta:ce,te:ce,teo:ce,th:pt,ti:Sn,tig:ce,tk:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1);return f?x==6||x==9||m==10?"few":"other":m==1?"one":"other"},tl:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=x.slice(-1);return f?m==1?"one":"other":E&&(y==1||y==2||y==3)||E&&I!=4&&I!=6&&I!=9||!E&&R!=4&&R!=6&&R!=9?"one":"other"},tn:ce,to:pt,tpi:pt,tr:ce,ts:ce,tzm:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?"other":m==0||m==1||y&&m>=11&&m<=99?"one":"other"},ug:ce,uk:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=Number(v[0])==m,I=E&&v[0].slice(-1),R=E&&v[0].slice(-2),z=y.slice(-1),K=y.slice(-2);return f?I==3&&R!=13?"few":"other":x&&z==1&&K!=11?"one":x&&z>=2&&z<=4&&(K<12||K>14)?"few":x&&z==0||x&&z>=5&&z<=9||x&&K>=11&&K<=14?"many":"other"},und:pt,ur:Ei,uz:ce,ve:ce,vec:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},vi:(m,f)=>f&&m==1?"one":"other",vo:ce,vun:ce,wa:Sn,wae:ce,wo:pt,xh:ce,xog:ce,yi:Ei,yo:pt,yue:pt,zh:pt,zu:xo});function fh(m){if(typeof m!="string"||m.length<2)throw new RangeError("Invalid language tag: ".concat(m));if(m.startsWith("pt-PT"))return"pt-PT";var f=m.match(/.+?(?=[-_])/);return f?f[0]:m}function yc(m){if(typeof m=="function"){var f=fh(m.name);return{isDefault:!1,id:er(f),lc:f,locale:m.name,getPlural:m,cardinals:m.cardinals||[],ordinals:m.ordinals||[]}}var v=fh(m),y=er(v);return Vde(y)?{isDefault:!0,id:y,lc:v,locale:m,getCardinal:Nde[y],getPlural:vc[y],cardinals:D0[y].cardinal,ordinals:D0[y].ordinal}:null}function Lde(m){var f=Object.keys(vc).filter(function(v){return v!==m});return f.unshift(m),f.map(yc)}function Fde(m){var f=fh(m);return er(f)in vc}function Vde(m){return m in vc}var zde=function(){function m(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=Lde(m.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(yc).filter(Boolean);else if(f){var y=yc(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=yc(m.defaultLocale);this.plurals=[y]}}return m.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},m.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(Fde)},m.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},m.prototype.compile=function(f){var v,y,x=new Mde(this.options),E="return "+x.compile(f,this.plurals[0]),I=[],R=[];try{for(var z=a(Object.entries(x.runtime)),K=z.next();!K.done;K=z.next()){var Ie=i(K.value,2),Ve=Ie[0],Je=Ie[1];I.push(Ve),R.push(Je)}}catch(Nt){v={error:Nt}}finally{try{K&&!K.done&&(y=z.return)&&y.call(z)}finally{if(v)throw v.error}}var he=new(Function.bind.apply(Function,r(r([void 0],i(I),!1),[E],!1)));return he.apply(void 0,r([],i(R),!1))},m.defaultLocale="en",m}();return zde})}),wi=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function a(i,r){t(this,a),this.data=i,this.text=r.text||i,this.options=r};e.default=n}),Xde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(A,B){for(var j=0;j<B.length;j++){var ve=B[j];ve.enumerable=ve.enumerable||!1,ve.configurable=!0,"value"in ve&&(ve.writable=!0),Object.defineProperty(A,ve.key,ve)}}return function(A,B,j){return B&&S(A.prototype,B),j&&S(A,j),A}}(),n=wi(),a=i(n);function i(S){return S&&S.__esModule?S:{default:S}}function r(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")}function s(S,A){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:S}function l(S,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);S.prototype=Object.create(A&&A.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(S,A):S.__proto__=A)}var c=function(S){l(A,S);function A(B,j){return r(this,A),B=B.toUpperCase(),j.mod43&&(B+=g(k(B))),s(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,B,j))}return t(A,[{key:"encode",value:function(){for(var B=p("*"),j=0;j<this.data.length;j++)B+=p(this.data[j])+"0";return B+=p("*"),{data:B,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),A}(a.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 p(S){return b(w(S))}function b(S){return u[S].toString(2)}function g(S){return d[S]}function w(S){return d.indexOf(S)}function k(S){for(var A=0,B=0;B<S.length;B++)A+=w(S[B]);return A=A%43,A}e.CODE39=c}),Rl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function n(d,u,p){return u in d?Object.defineProperty(d,u,{value:p,enumerable:!0,configurable:!0,writable:!0}):d[u]=p,d}var a=e.SET_A=0,i=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var s=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},n(t,s,a),n(t,l,i),n(t,c,r),t),e.SWAP={101:a,100:i,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]}),lu=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=wi(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){s(this,p);var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(k){return k.charCodeAt(0)}),w}return t(p,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=i.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(i.FNC1);var k=p.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:p.getBar(g)+k.result+p.getBar((k.checksum+g)%i.MODULO)+p.getBar(i.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return i.BARS[b]?i.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===i.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===i.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var k=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var A=i.SWAP[S];A!==void 0?k=p.next(b,g+1,A):((w===i.SET_A||w===i.SET_B)&&S===i.SHIFT&&(b[0]=w===i.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),k=p.next(b,g+1,w))}else S=p.correctIndex(b,w),k=p.next(b,g+1,w);var B=p.getBar(S),j=S*g;return{result:B+k.result,checksum:j+k.checksum}}}]),p}(a.default);e.default=d}),Jde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rl(),n=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},i=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,c){var d=c?t.A_CHARS:t.B_CHARS,u=l.match(new RegExp("^("+d+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+s(l.substring(u[1].length));var p=l.match(new RegExp("^"+d+"+"))[0];return p.length===l.length?l:p+String.fromCharCode(c?205:206)+r(l.substring(p.length),!c)}function s(l){var c=i(l),d=c.length;if(d===l.length)return l;l=l.substring(d);var u=n(l)>=a(l);return c+String.fromCharCode(u?206:205)+r(l,u)}e.default=function(l){var c=void 0,d=i(l).length;if(d>=2)c=t.C_START_CHAR+s(l);else{var u=n(l)>a(l);c=(u?t.A_START_CHAR:t.B_START_CHAR)+r(l,u)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(p,b){return"Ë"+b})}}),eue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=lu(),n=r(t),a=Jde(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){if(s(this,p),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,(0,i.default)(b),g));else var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g));return l(w)}return p}(n.default);e.default=d}),tue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=lu(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.A_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),aue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=lu(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.B_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),iue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=lu(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.C_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),nue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=eue(),n=d(t),a=tue(),i=d(a),r=aue(),s=d(r),l=iue(),c=d(l);function d(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=i.default,e.CODE128B=s.default,e.CODE128C=c.default}),Pl=Ae(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"]}),Ml=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Pl(),n=function(a,i,r){var s=a.split("").map(function(c,d){return t.BINARIES[i[d]]}).map(function(c,d){return c?c[a[d]]:""});if(r){var l=a.length-1;s=s.map(function(c,d){return d<l?c+r:c})}return s.join("")};e.default=n}),s_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=Pl(),a=Ml(),i=l(a),r=wi(),s=l(r);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function d(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var p=function(b){u(g,b);function g(w,k){c(this,g);var S=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return S.fontSize=!k.flat&&k.fontSize>k.width*10?k.width*10:k.fontSize,S.guardHeight=k.height+S.fontSize/2+k.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,k){return this.text.substr(w,k)}},{key:"leftEncode",value:function(w,k){return(0,i.default)(w,k)}},{key:"rightText",value:function(w,k){return this.text.substr(w,k)}},{key:"rightEncode",value:function(w,k){return(0,i.default)(w,k)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},k={height:this.guardHeight};return[{data:n.SIDE_BIN,options:k},{data:this.leftEncode(),text:this.leftText(),options:w},{data:n.MIDDLE_BIN,options:k},{data:this.rightEncode(),text:this.rightText(),options:w},{data:n.SIDE_BIN,options:k}]}},{key:"encodeFlat",value:function(){var w=[n.SIDE_BIN,this.leftEncode(),n.MIDDLE_BIN,this.rightEncode(),n.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(s.default);e.default=p}),rue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=function b(g,w,k){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var A=Object.getPrototypeOf(g);return A===null?void 0:b(A,w,k)}else{if("value"in S)return S.value;var B=S.get;return B===void 0?void 0:B.call(k)}},a=Pl(),i=s_(),r=s(i);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var u=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,k,S){return S%2?w+k*3:w+k},0);return(10-g%10)%10},p=function(b){d(g,b);function g(w,k){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=u(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return S.lastChar=k.lastChar,S}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 w=this.data.substr(1,6),k=a.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,k)}},{key:"rightText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(r.default);e.default=p}),oue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function p(b,g){for(var w=0;w<g.length;w++){var k=g[w];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,g,w){return g&&p(b.prototype,g),w&&p(b,w),b}}(),n=function p(b,g,w){b===null&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,g);if(k===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:p(S,g,w)}else{if("value"in k)return k.value;var A=k.get;return A===void 0?void 0:A.call(w)}},a=s_(),i=r(a);function r(p){return p&&p.__esModule?p:{default:p}}function s(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}function l(p,b){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:p}function c(p,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);p.prototype=Object.create(b&&b.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(p,b):p.__proto__=b)}var d=function(p){var b=p.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,k){return k%2?g+w:g+w*3},0);return(10-b%10)%10},u=function(p){c(b,p);function b(g,w){return s(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=d(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(i.default);e.default=u}),sue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,k){for(var S=0;S<k.length;S++){var A=k[S];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}return function(w,k,S){return k&&g(w.prototype,k),S&&g(w,S),w}}(),n=Pl(),a=Ml(),i=l(a),r=wi(),s=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function d(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function u(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var p=function(g){var w=g.split("").map(function(k){return+k}).reduce(function(k,S,A){return A%2?k+S*9:k+S*3},0);return w%10},b=function(g){u(w,g);function w(k,S){return c(this,w),d(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,k,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var k=n.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,i.default)(this.data,k,"01"),text:this.text}}}]),w}(s.default);e.default=b}),lue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=Pl(),a=Ml(),i=l(a),r=wi(),s=l(r);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function d(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var p=function(b){u(g,b);function g(w,k){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.default)(this.data,w,"01"),text:this.text}}}]),g}(s.default);e.default=p}),l_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}();e.checksum=p;var n=Ml(),a=s(n),i=wi(),r=s(i);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var u=function(b){d(g,b);function g(w,k){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=p(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return S.displayValue=k.displayValue,k.fontSize>k.width*10?S.fontSize=k.width*10:S.fontSize=k.fontSize,S.guardHeight=k.height+S.fontSize/2+k.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==p(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,a.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,a.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,a.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,a.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,a.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,a.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(r.default);function p(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=u}),cue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function k(S,A){for(var B=0;B<A.length;B++){var j=A[B];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(S,j.key,j)}}return function(S,A,B){return A&&k(S.prototype,A),B&&k(S,B),S}}(),n=Ml(),a=l(n),i=wi(),r=l(i),s=l_();function l(k){return k&&k.__esModule?k:{default:k}}function c(k,S){if(!(k instanceof S))throw new TypeError("Cannot call a class as a function")}function d(k,S){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:k}function u(k,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);k.prototype=Object.create(S&&S.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(k,S):k.__proto__=S)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(k){u(S,k);function S(A,B){c(this,S);var j=d(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,A,B));if(j.isValid=!1,A.search(/^[0-9]{6}$/)!==-1)j.middleDigits=A,j.upcA=w(A,"0"),j.text=B.text||""+j.upcA[0]+A+j.upcA[j.upcA.length-1],j.isValid=!0;else if(A.search(/^[01][0-9]{7}$/)!==-1)if(j.middleDigits=A.substring(1,A.length-1),j.upcA=w(j.middleDigits,A[0]),j.upcA[j.upcA.length-1]===A[A.length-1])j.isValid=!0;else return d(j);else return d(j);return j.displayValue=B.displayValue,B.fontSize>B.width*10?j.fontSize=B.width*10:j.fontSize=B.fontSize,j.guardHeight=B.height+j.fontSize/2+B.textMargin,j}return t(S,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var A="";return A+="101",A+=this.encodeMiddleDigits(),A+="010101",{data:A,text:this.text}}},{key:"guardedEncoding",value:function(){var A=[];return this.displayValue&&A.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),A.push({data:"101",options:{height:this.guardHeight}}),A.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),A.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&A.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),A}},{key:"encodeMiddleDigits",value:function(){var A=this.upcA[0],B=this.upcA[this.upcA.length-1],j=b[parseInt(B)][parseInt(A)];return(0,a.default)(this.middleDigits,j)}}]),S}(r.default);function w(k,S){for(var A=parseInt(k[k.length-1]),B=p[A],j="",ve=0,Me=0;Me<B.length;Me++){var He=B[Me];He==="X"?j+=k[ve++]:j+=He}return j=""+S+j,""+j+(0,s.checksum)(j)}e.default=g}),due=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=rue(),n=g(t),a=oue(),i=g(a),r=sue(),s=g(r),l=lue(),c=g(l),d=l_(),u=g(d),p=cue(),b=g(p);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=n.default,e.EAN8=i.default,e.EAN5=s.default,e.EAN2=c.default,e.UPC=u.default,e.UPCE=b.default}),uue=Ae(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"]}),c_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=uue(),a=wi(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return t(p,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:n.START_BIN+g+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=n.BINARIES[b[1]];return n.BINARIES[b[0]].split("").map(function(w,k){return(w==="1"?"111":"1")+(g[k]==="1"?"000":"0")}).join("")}}]),p}(i.default);e.default=d}),hue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=c_(),a=i(n);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function s(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function l(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var c=function(u){var p=u.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(p/10)*10-p},d=function(u){l(p,u);function p(b,g){return r(this,p),b.search(/^[0-9]{13}$/)!==-1&&(b+=c(b)),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),p}(a.default);e.default=d}),pue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=c_(),n=r(t),a=hue(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.ITF=n.default,e.ITF14=i.default}),Nl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=wi(),a=i(n);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function s(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function l(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var c=function(u){l(p,u);function p(b,g){return r(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),k=w.toString(2);k=d(k,4-k.length);for(var S=0;S<k.length;S++)b+=k[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),p}(a.default);function d(u,p){for(var b=0;b<p;b++)u="0"+u;return u}e.default=c}),cu=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=n;function t(a){for(var i=0,r=0;r<a.length;r++){var s=parseInt(a[r]);(r+a.length)%2===0?i+=s:i+=s*2%10+Math.floor(s*2/10)}return(10-i%10)%10}function n(a){for(var i=0,r=[2,3,4,5,6,7],s=0;s<a.length;s++){var l=parseInt(a[a.length-1-s]);i+=r[s%r.length]*l}return(11-i%11)%11}}),mue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod10)(p),b))}return u}(n.default);e.default=c}),fue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod11)(p),b))}return u}(n.default);e.default=c}),gue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),p+=(0,a.mod10)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return u}(n.default);e.default=c}),bue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),p+=(0,a.mod11)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return u}(n.default);e.default=c}),vue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Nl(),n=p(t),a=mue(),i=p(a),r=fue(),s=p(r),l=gue(),c=p(l),d=bue(),u=p(d);function p(b){return b&&b.__esModule?b:{default:b}}e.MSI=n.default,e.MSI10=i.default,e.MSI11=s.default,e.MSI1010=c.default,e.MSI1110=u.default}),yue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=wi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){r(this,u);var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b));return g.number=parseInt(p,10),g}return t(u,[{key:"encode",value:function(){for(var p=this.number,b="";!isNaN(p)&&p!=0;)p%2===0?(b="11100"+b,p=(p-2)/2):(b="100"+b,p=(p-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(a.default);e.pharmacode=c}),_ue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=wi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){r(this,u),p.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(p="A"+p+"A");var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p.toUpperCase(),b));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 p=[],b=this.getEncodings(),g=0;g<this.data.length;g++)p.push(b[this.data.charAt(g)]),g!==this.data.length-1&&p.push("0");return{text:this.text,data:p.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}(a.default);e.codabar=c}),xue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),d_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=xue(),a=wi(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return n.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return p.getEncoding(S)}).join(""),w=p.checksum(b,20),k=p.checksum(b.concat(w),15);return{text:this.text,data:p.getEncoding("ÿ")+g+p.getEncoding(w)+p.getEncoding(k)+p.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return n.BINARIES[p.symbolValue(b)]}},{key:"getSymbol",value:function(b){return n.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return n.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(k,S,A){var B=A%g+1;return k+p.symbolValue(S)*B},0);return p.getSymbol(w%47)}}]),p}(i.default);e.default=d}),wue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=d_(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return t(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(a.default);e.default=c}),kue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=d_(),n=r(t),a=wue(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.CODE93=n.default,e.CODE93FullASCII=i.default}),Eue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=wi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return t(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(a.default);e.GenericBarcode=c}),Cue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xde(),n=nue(),a=due(),i=pue(),r=vue(),s=yue(),l=_ue(),c=kue(),d=Eue();e.default={CODE39:t.CODE39,CODE128:n.CODE128,CODE128A:n.CODE128A,CODE128B:n.CODE128B,CODE128C:n.CODE128C,EAN13:a.EAN13,EAN8:a.EAN8,EAN5:a.EAN5,EAN2:a.EAN2,UPC:a.UPC,UPCE:a.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:s.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:d.GenericBarcode}}),du=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};e.default=function(n,a){return t({},n,a)}}),Sue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var a=[];function i(r){if(Array.isArray(r))for(var s=0;s<r.length;s++)i(r[s]);else r.text=r.text||"",r.data=r.data||"",a.push(r)}return i(n),a}}),Due=Ae(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}}),u_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var a=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in a)a.hasOwnProperty(i)&&(i=a[i],typeof n[i]=="string"&&(n[i]=parseInt(n[i],10)));return typeof n.displayValue=="string"&&(n.displayValue=n.displayValue!="false"),n}}),h_=Ae(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}),Iue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=u_(),n=r(t),a=h_(),i=r(a);function r(l){return l&&l.__esModule?l:{default:l}}function s(l){var c={};for(var d in i.default)i.default.hasOwnProperty(d)&&(l.hasAttribute("jsbarcode-"+d.toLowerCase())&&(c[d]=l.getAttribute("jsbarcode-"+d.toLowerCase())),l.hasAttribute("data-"+d.toLowerCase())&&(c[d]=l.getAttribute("data-"+d.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,n.default)(c),c}e.default=s}),p_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=du(),n=a(t);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,p){return p.height+(p.displayValue&&u.text.length>0?p.fontSize+p.textMargin:0)+p.marginTop+p.marginBottom}function r(u,p,b){if(b.displayValue&&p<u){if(b.textAlign=="center")return Math.floor((u-p)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(u-p)}return 0}function s(u,p,b){for(var g=0;g<u.length;g++){var w=u[g],k=(0,n.default)(p,w.options),S;k.displayValue?S=d(w.text,k,b):S=0;var A=w.data.length*k.width;w.width=Math.ceil(Math.max(S,A)),w.height=i(w,k),w.barcodePadding=r(S,A,k)}}function l(u){for(var p=0,b=0;b<u.length;b++)p+=u[b].width;return p}function c(u){for(var p=0,b=0;b<u.length;b++)u[b].height>p&&(p=u[b].height);return p}function d(u,p,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=p.fontOptions+" "+p.fontSize+"px "+p.font;var w=g.measureText(u);if(!w)return 0;var k=w.width;return k}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=i,e.getBarcodePadding=r,e.calculateEncodingAttributes=s,e.getTotalWidthOfEncodings=l}),Oue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,u){for(var p=0;p<u.length;p++){var b=u[p];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,u,p){return u&&c(d.prototype,u),p&&c(d,p),d}}(),n=du(),a=r(n),i=p_();function r(c){return c&&c.__esModule?c:{default:c}}function s(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(d,u,p){s(this,c),this.canvas=d,this.encodings=u,this.options=p}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,a.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,i.calculateEncodingAttributes)(this.encodings,this.options,d);var u=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=u+this.options.marginLeft+this.options.marginRight,this.canvas.height=p,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 p=this.canvas.getContext("2d"),b=u.data,g;d.textPosition=="top"?g=d.marginTop+d.fontSize+d.textMargin:g=d.marginTop,p.fillStyle=d.lineColor;for(var w=0;w<b.length;w++){var k=w*d.width+u.barcodePadding;b[w]==="1"?p.fillRect(k,g,d.width,d.height):b[w]&&p.fillRect(k,g,d.width,d.height*b[w])}}},{key:"drawCanvasText",value:function(d,u){var p=this.canvas.getContext("2d"),b=d.fontOptions+" "+d.fontSize+"px "+d.font;if(d.displayValue){var g,w;d.textPosition=="top"?w=d.marginTop+d.fontSize-d.textMargin:w=d.height+d.textMargin+d.marginTop+d.fontSize,p.font=b,d.textAlign=="left"||u.barcodePadding>0?(g=0,p.textAlign="left"):d.textAlign=="right"?(g=u.width-1,p.textAlign="right"):(g=u.width/2,p.textAlign="center"),p.fillText(u.text,g,w)}}},{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}),Tue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=du(),a=r(n),i=p_();function r(d){return d&&d.__esModule?d:{default:d}}function s(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function d(u,p,b){s(this,d),this.svg=u,this.encodings=p,this.options=b,this.document=b.xmlDocument||document}return t(d,[{key:"render",value:function(){var u=this.options.marginLeft;this.prepareSVG();for(var p=0;p<this.encodings.length;p++){var b=this.encodings[p],g=(0,a.default)(this.options,b.options),w=this.createGroup(u,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),u+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,i.calculateEncodingAttributes)(this.encodings,this.options);var u=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings),b=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,p),this.options.background&&this.drawRect(0,0,b,p,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(u,p,b){var g=b.data,w;p.textPosition=="top"?w=p.fontSize+p.textMargin:w=0;for(var k=0,S=0,A=0;A<g.length;A++)S=A*p.width+b.barcodePadding,g[A]==="1"?k++:k>0&&(this.drawRect(S-p.width*k,w,p.width*k,p.height,u),k=0);k>0&&this.drawRect(S-p.width*(k-1),w,p.width*k,p.height,u)}},{key:"drawSVGText",value:function(u,p,b){var g=this.document.createElementNS(l,"text");if(p.displayValue){var w,k;g.setAttribute("style","font:"+p.fontOptions+" "+p.fontSize+"px "+p.font),p.textPosition=="top"?k=p.fontSize-p.textMargin:k=p.height+p.textMargin+p.fontSize,p.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):p.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",k),g.appendChild(this.document.createTextNode(b.text)),u.appendChild(g)}}},{key:"setSvgAttributes",value:function(u,p){var b=this.svg;b.setAttribute("width",u+"px"),b.setAttribute("height",p+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+u+" "+p),b.setAttribute("xmlns",l),b.setAttribute("version","1.1"),b.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(u,p,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+u+", "+p+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(u,p){u.setAttribute("style","fill:"+p.lineColor+";")}},{key:"drawRect",value:function(u,p,b,g,w){var k=this.document.createElementNS(l,"rect");return k.setAttribute("x",u),k.setAttribute("y",p),k.setAttribute("width",b),k.setAttribute("height",g),w.appendChild(k),k}}]),d}();e.default=c}),Aue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&i(r.prototype,s),l&&i(r,l),r}}();function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function(){function i(r,s,l){n(this,i),this.object=r,this.encodings=s,this.options=l}return t(i,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),i}();e.default=a}),Rue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Oue(),n=l(t),a=Tue(),i=l(a),r=Aue(),s=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:i.default,ObjectRenderer:s.default}}),m_=Ae(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 a(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 i=function(l){a(c,l);function c(d,u){t(this,c);var p=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return p.name="InvalidInputException",p.symbology=d,p.input=u,p.message='"'+p.input+'" is not a valid input for '+p.symbology,p}return c}(Error),r=function(l){a(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="InvalidElementException",d.message="Not supported type to render on",d}return c}(Error),s=function(l){a(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=i,e.InvalidElementException=r,e.NoElementException=s}),Pue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},n=Iue(),a=l(n),i=Rue(),r=l(i),s=m_();function l(p){return p&&p.__esModule?p:{default:p}}function c(p){if(typeof p=="string")return d(p);if(Array.isArray(p)){for(var b=[],g=0;g<p.length;g++)b.push(c(p[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLImageElement)return u(p);if(p&&p.nodeName&&p.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&p instanceof SVGElement)return{element:p,options:(0,a.default)(p),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLCanvasElement)return{element:p,options:(0,a.default)(p),renderer:r.default.CanvasRenderer};if(p&&p.getContext)return{element:p,renderer:r.default.CanvasRenderer};if(p&&(typeof p>"u"?"undefined":t(p))==="object"&&!p.nodeName)return{element:p,renderer:r.default.ObjectRenderer};throw new s.InvalidElementException}}function d(p){var b=document.querySelectorAll(p);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(c(b[w]));return g}}function u(p){var b=document.createElement("canvas");return{element:b,options:(0,a.default)(p),renderer:r.default.CanvasRenderer,afterRender:function(){p.setAttribute("src",b.toDataURL())}}}e.default=c}),Mue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&i(r.prototype,s),l&&i(r,l),r}}();function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function(){function i(r){n(this,i),this.api=r}return t(i,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var s=r.apply(void 0,arguments);return this.api._options.valid(!0),s}catch(l){return this.handleCatch(l),this.api}}}]),i}();e.default=a}),Nue=Ae((e,t)=>{var n=Cue(),a=j(n),i=du(),r=j(i),s=Sue(),l=j(s),c=Due(),d=j(c),u=Pue(),p=j(u),b=u_(),g=j(b),w=Mue(),k=j(w),S=m_(),A=h_(),B=j(A);function j(ge){return ge&&ge.__esModule?ge:{default:ge}}var ve=function(){},Me=function(ge,se,qe){var $=new ve;if(typeof ge>"u")throw Error("No element to render on was provided.");return $._renderProperties=(0,p.default)(ge),$._encodings=[],$._options=B.default,$._errorHandler=new k.default($),typeof se<"u"&&(qe=qe||{},qe.format||(qe.format=Pt()),$.options(qe)[qe.format](se,qe).render()),$};Me.getModule=function(ge){return a.default[ge]};for(He in a.default)a.default.hasOwnProperty(He)&&xa(a.default,He);var He;function xa(ge,se){ve.prototype[se]=ve.prototype[se.toUpperCase()]=ve.prototype[se.toLowerCase()]=function(qe,$){var Q=this;return Q._errorHandler.wrapBarcodeCall(function(){$.text=typeof $.text>"u"?void 0:""+$.text;var ue=(0,r.default)(Q._options,$);ue=(0,g.default)(ue);var Qe=ge[se],Tt=na(qe,Qe,ue);return Q._encodings.push(Tt),Q})}}function na(ge,se,qe){ge=""+ge;var $=new se(ge,qe);if(!$.valid())throw new S.InvalidInputException($.constructor.name,ge);var Q=$.encode();Q=(0,l.default)(Q);for(var ue=0;ue<Q.length;ue++)Q[ue].options=(0,r.default)(qe,Q[ue].options);return Q}function Pt(){return a.default.CODE128?"CODE128":Object.keys(a.default)[0]}ve.prototype.options=function(ge){return this._options=(0,r.default)(this._options,ge),this},ve.prototype.blank=function(ge){var se=new Array(ge+1).join("0");return this._encodings.push({data:se}),this},ve.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ge;for(var se in this._renderProperties){ge=this._renderProperties[se];var qe=(0,r.default)(this._options,ge.options);qe.format=="auto"&&(qe.format=Pt()),this._errorHandler.wrapBarcodeCall(function(){var $=qe.value,Q=a.default[qe.format.toUpperCase()],ue=na($,Q,qe);pa(ge,ue,qe)})}}},ve.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var ge=0;ge<this._renderProperties.length;ge++)pa(this._renderProperties[ge],this._encodings,this._options);else pa(this._renderProperties,this._encodings,this._options);return this},ve.prototype._defaults=B.default;function pa(ge,se,qe){se=(0,l.default)(se);for(var $=0;$<se.length;$++)se[$].options=(0,r.default)(qe,se[$].options),(0,d.default)(se[$].options);(0,d.default)(qe);var Q=ge.renderer,ue=new Q(ge.element,se,qe);ue.render(),ge.afterRender&&ge.afterRender()}typeof window<"u"&&(window.JsBarcode=Me),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ge,se){var qe=[];return jQuery(this).each(function(){qe.push(this)}),Me(qe,ge,se)}),t.exports=Me});function Xm(e,t){return Object.is(e,t)}var oa=null,td=!1,Jm=1,Ha=Symbol("SIGNAL");function Ke(e){let t=oa;return oa=e,t}function Lue(){return oa}var cs={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 Ll(e){if(td)throw new Error("");if(oa===null)return;oa.consumerOnSignalRead(e);let t=oa.nextProducerIndex++;if(mu(oa),t<oa.producerNode.length&&oa.producerNode[t]!==e&&cl(oa)){let n=oa.producerNode[t];pu(n,oa.producerIndexOfThis[t])}oa.producerNode[t]!==e&&(oa.producerNode[t]=e,oa.producerIndexOfThis[t]=cl(oa)?b_(e,oa,t):0),oa.producerLastReadVersion[t]=e.version}function Fue(){Jm++}function Fl(e){if(!(cl(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Jm)){if(!e.producerMustRecompute(e)&&!ef(e)){_d(e);return}e.producerRecomputeValue(e),_d(e)}}function f_(e){if(e.liveConsumerNode===void 0)return;let t=td;td=!0;try{for(let n of e.liveConsumerNode)n.dirty||Vue(n)}finally{td=t}}function g_(){return(oa==null?void 0:oa.consumerAllowSignalWrites)!==!1}function Vue(e){var t;e.dirty=!0,f_(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function _d(e){e.dirty=!1,e.lastCleanEpoch=Jm}function ll(e){return e&&(e.nextProducerIndex=0),Ke(e)}function uu(e,t){if(Ke(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(cl(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)pu(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ef(e){mu(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],a=e.producerLastReadVersion[t];if(a!==n.version||(Fl(n),a!==n.version))return!0}return!1}function hu(e){if(mu(e),cl(e))for(let t=0;t<e.producerNode.length;t++)pu(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 b_(e,t,n){if(v_(e),e.liveConsumerNode.length===0&&y_(e))for(let a=0;a<e.producerNode.length;a++)e.producerIndexOfThis[a]=b_(e.producerNode[a],e,a);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function pu(e,t){if(v_(e),e.liveConsumerNode.length===1&&y_(e))for(let a=0;a<e.producerNode.length;a++)pu(e.producerNode[a],e.producerIndexOfThis[a]);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 a=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];mu(i),i.producerIndexOfThis[a]=t}}function cl(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function mu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function v_(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function y_(e){return e.producerNode!==void 0}function __(e,t){let n=Object.create(zue);n.computation=e,t!==void 0&&(n.equal=t);let a=()=>{if(Fl(n),Ll(n),n.value===dr)throw n.error;return n.value};return a[Ha]=n,a}var jr=Symbol("UNSET"),zo=Symbol("COMPUTING"),dr=Symbol("ERRORED"),zue=dt(pe({},cs),{value:jr,dirty:!0,error:null,equal:Xm,kind:"computed",producerMustRecompute(e){return e.value===jr||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=zo;let n=ll(e),a,i=!1;try{a=e.computation(),Ke(null),i=t!==jr&&t!==dr&&a!==dr&&e.equal(t,a)}catch(r){a=dr,e.error=r}finally{uu(e,n)}if(i){e.value=t;return}e.value=a,e.version++}});function Bue(){throw new Error}var x_=Bue;function w_(e){x_(e)}function jue(e){x_=e}function Hue(e,t){let n=Object.create(E_);n.value=e,t!==void 0&&(n.equal=t);let a=()=>(Ll(n),n.value);return a[Ha]=n,a}function Vl(e,t){g_()||w_(e),e.equal(e.value,t)||(e.value=t,Uue(e))}function k_(e,t){g_()||w_(e),Vl(e,t(e.value))}var E_=dt(pe({},cs),{equal:Xm,value:void 0,kind:"signal"});function Uue(e){e.version++,Fue(),f_(e)}function P0(e,t,n){let a=Object.create(Gue);a.source=e,a.computation=t,n!=null&&(a.equal=n);let i=()=>{if(Fl(a),Ll(a),a.value===dr)throw a.error;return a.value};return i[Ha]=a,i}function Wue(e,t){Fl(e),Vl(e,t),_d(e)}function que(e,t){Fl(e),k_(e,t),_d(e)}var Gue=dt(pe({},cs),{value:jr,dirty:!0,error:null,equal:Xm,kind:"linkedSignal",producerMustRecompute(e){return e.value===jr||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=zo;let n=ll(e),a;try{let i=e.source(),r=t===jr||t===dr?void 0:{source:e.sourceValue,value:t};a=e.computation(i,r),e.sourceValue=i}catch(i){a=dr,e.error=i}finally{uu(e,n)}if(t!==jr&&a!==dr&&e.equal(t,a)){e.value=t;return}e.value=a,e.version++}});function $ue(e){let t=Ke(null);try{return e()}finally{Ke(t)}}var Sp;function ad(){return Sp}function ir(e){let t=Sp;return Sp=e,t}var C_=Symbol("NotFound");function Lt(e){return typeof e=="function"}function tf(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 gh=tf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
12
+ `)},Zt.prototype.clone=function(){return new Zt(this.states,this.state)},Zt.prototype.has=function(W){return!0},{compile:tr,states:On,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Tn}})})(x0);var lde=x0.exports;(function(m){var f=ch&&ch.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(m,"__esModule",{value:!0}),m.lexer=m.states=void 0;let v=f(lde);m.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},m.lexer=v.default.states(m.states)})(_0),Object.defineProperty(Ms,"__esModule",{value:!0});var w0=Ms.parse=Ms.ParseError=void 0;let k0=_0,gc=m=>({offset:m.offset,line:m.line,col:m.col,text:m.text,lineBreaks:m.lineBreaks}),dh=m=>m==="plural"||m==="select"||m==="selectordinal";function cde(m,f){let v="",y="";for(let x of f){let E=x.ctx.text;switch(y+=E,x.type){case"content":v+=x.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new Oa(m,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let dde=["number","date","time","spellout","ordinal","duration"],E0=["zero","one","two","few","many","other"];class Oa extends Error{constructor(f,v){super(k0.lexer.formatError(f,v))}}Ms.ParseError=Oa;class ude{constructor(f,v){var y,x,E,I;this.lexer=k0.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:E0,this.ordinalKeys=(x=v==null?void 0:v.ordinal)!==null&&x!==void 0?x:E0,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(I=v==null?void 0:v.strictPluralKeys)!==null&&I!==void 0?I:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new Oa(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let x=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&x.length>0&&!x.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new Oa(f,E)}}}parseSelect(f,v,y,x){let{value:E}=f,I={type:x,arg:E,cases:[],ctx:y};x==="plural"||x==="selectordinal"?v=!0:this.strict&&(v=!1);for(let R of this.lexer)switch(R.type){case"offset":if(x==="select")throw new Oa(R,"Unexpected plural offset for select");if(I.cases.length>0)throw new Oa(R,"Plural offset must be set before cases");I.pluralOffset=Number(R.value),y.text+=R.text,y.lineBreaks+=R.lineBreaks;break;case"case":{this.checkSelectKey(R,x,R.value),I.cases.push({key:R.value,tokens:this.parseBody(v),ctx:gc(R)});break}case"end":return I;default:throw new Oa(R,`Unexpected lexer token: ${R.type}`)}throw new Oa(null,"Unexpected message end")}parseArgToken(f,v){let y=gc(f),x=this.lexer.next();if(!x)throw new Oa(null,"Unexpected message end");if(y.text+=x.text,y.lineBreaks+=x.lineBreaks,this.strict&&(x.type==="func-simple"||x.type==="func-args")&&!dde.includes(x.value)){let E=`Invalid strict mode function arg type: ${x.value}`;throw new Oa(f,E)}switch(x.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new Oa(null,"Unexpected message end");if(E.type!=="end")throw new Oa(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,dh(x.value.toLowerCase()))throw new Oa(x,`Invalid type identifier: ${x.value}`);return{type:"function",arg:f.value,key:x.value,ctx:y}}case"func-args":{if(dh(x.value.toLowerCase())){let I=`Invalid type identifier: ${x.value}`;throw new Oa(x,I)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=cde(f,E)),{type:"function",arg:f.value,key:x.value,param:E,ctx:y}}case"select":if(dh(x.value))return this.parseSelect(f,v,y,x.value);throw new Oa(x,`Unexpected select type ${x.value}`);default:throw new Oa(x,`Unexpected lexer token: ${x.type}`)}}parseBody(f,v){let y=[],x=null;for(let E of this.lexer)if(E.type==="argument")x&&(x=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)x&&(x=null),y.push({type:"octothorpe",ctx:gc(E)});else{if(E.type==="end"&&!v)return y;{let I=E.value;if(!f&&E.type==="quoted"&&I[0]==="#"){if(I.includes("{")){let R=`Unsupported escape pattern: ${I}`;throw new Oa(E,R)}I=E.text}x?(x.value+=I,x.ctx.text+=E.text,x.ctx.lineBreaks+=E.lineBreaks):(x={type:"content",value:I,ctx:gc(E)},y.push(x))}}if(v)return y;throw new Oa(null,"Unexpected message end")}}function hde(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new ude(m,f).parse()}w0=Ms.parse=hde;function Ns(m){return Ns[m]||(Ns[m]=new Intl.NumberFormat(m))}function pde(m,f,v){return Ns(m).format(f-v)}function mde(m,f,v,y){var x=f-v;if(isNaN(x))throw new Error("`"+y+"` or its offset is not a number");return Ns(m).format(x)}function fde(m,f,v,y,x){if({}.hasOwnProperty.call(y,m))return y[m];f&&(m-=f);var E=v(m,x);return E in y?y[E]:y.other}function gde(m,f){return{}.hasOwnProperty.call(f,m)?f[m]:f.other}function bde(m,f){for(var v=0;v<m.length;++v)if(!f||f[m[v]]===void 0)throw new Error("Message requires argument '".concat(m[v],"'"))}var vde=Object.freeze({__proto__:null,_nf:Ns,number:pde,plural:fde,reqArgs:bde,select:gde,strictNumber:mde});function yde(m,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(m).toLocaleDateString(f,y)}function _de(m){if(typeof m!="number"&&(m=Number(m)),!isFinite(m))return String(m);var f="";m<0?(f="-",m=Math.abs(m)):m=Number(m);var v=m%60,y=[Math.round(v)===v?v:v.toFixed(3)];m<60?y.unshift(0):(m=Math.round((m-Number(y[0]))/60),y.unshift(m%60),m>=60&&(m=Math.round((m-Number(y[0]))/60),y.unshift(m)));var x=y.shift();return f+x+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var uh={};function bc(m,f){var v=String(m)+JSON.stringify(f);return uh[v]||(uh[v]=new Intl.NumberFormat(m,f)),uh[v]}function xde(m,f,v,y){var x=v&&v.split(":")||[],E=x[0],I=x[1],R={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:I&&I.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return bc(f,R[E]||{}).format(m)}var wde=function(m,f,v){return bc(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(m)},kde=function(m,f){return bc(f,{maximumFractionDigits:0}).format(m)},Ede=function(m,f){return bc(f,{style:"percent"}).format(m)};function Cde(m,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(m).toLocaleTimeString(f,y)}var hh=Object.freeze({__proto__:null,date:yde,duration:_de,numberCurrency:wde,numberFmt:xde,numberInteger:kde,numberPercent:Ede,time:Cde}),Sde={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}},ph=sde(Sde);function Dde(m){let f=0;for(let v=0;v<m.length;++v){let y=m.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function er(m,f){f&&(m+=" "+Dde(m).toString(36));let v=m.trim().replace(/\W+/g,"_");return ph.ES3[v]||ph.ESnext[v]||/^\d/.test(v)?"_"+v:v}function mh(m,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!ph.ES3[f])return m?m+"."+f:f;{let v=JSON.stringify(f);return m?m+"["+v+"]":v}}var Ide=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Ode=new RegExp("^"+Ide.join("|^"));function Tde(m,f){var v=Ode.test(f),y=JSON.stringify(v?"‏":"‎");return"".concat(y," + ").concat(m," + ").concat(y)}var Ade="@messageformat/runtime",Rde="@messageformat/runtime/lib/cardinals",C0="@messageformat/runtime/lib/plurals",Pde="@messageformat/runtime/lib/formatters",Mde=function(){function m(f){this.arguments=[],this.runtime={},this.options=f}return m.prototype.compile=function(f,v,y){var x,E,I=this,R=this.options,z=R.localeCodeFromKey,K=R.requireAllArguments,Ie=R.strict,Ve=R.strictPluralKeys;if(typeof f=="object"){var Je={};try{for(var he=a(Object.keys(f)),Nt=he.next();!Nt.done;Nt=he.next()){var ra=Nt.value,ka=z?z(ra):ra,Qa=y&&ka&&y[ka]||v;Je[ra]=this.compile(f[ra],Qa,y)}}catch(Zt){x={error:Zt}}finally{try{Nt&&!Nt.done&&(E=he.return)&&E.call(he)}finally{if(x)throw x.error}}return Je}this.plural=v;var Bi={cardinal:v.cardinals,ordinal:v.ordinals,strict:Ie,strictPluralKeys:Ve};this.arguments=[];var tr=w0(f,Bi).map(function(Zt){return I.token(Zt,null)}),In=this.arguments.length>0,On=this.concatenate(tr,!0);if(K&&In){this.setRuntimeFn("reqArgs");var Tn=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Tn,", d); return ").concat(On,"; }")}return"(".concat(In?"d":"",") => ").concat(On)},m.prototype.cases=function(f,v){var y=this,x=!0,E=f.cases.map(function(Ie){var Ve=Ie.key,Je=Ie.tokens;Ve==="other"&&(x=!1);var he=Je.map(function(Nt){return y.token(Nt,v)});return"".concat(mh(null,Ve.replace(/^=/,"")),": ").concat(y.concatenate(he,!1))});if(x){var I=f.type,R=this.plural,z=R.cardinals,K=R.ordinals;if(I==="select"||I==="plural"&&z.includes("other")||I==="selectordinal"&&K.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},m.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},m.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,x=y.id,E=y.lc,I,R;switch("arg"in f?(this.arguments.push(f.arg),I=[mh("d",f.arg)]):I=[],f.type){case"argument":return this.options.biDiSupport?Tde(String(I[0]),E):String(I[0]);case"select":R="select",v&&this.options.strict&&(v=null),I.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":R="plural",I.push(f.pluralOffset||0,x,this.cases(f,f),1),this.setLocale(x,!0),this.setRuntimeFn("plural");break;case"plural":R="plural",I.push(f.pluralOffset||0,x,this.cases(f,f)),this.setLocale(x,!1),this.setRuntimeFn("plural");break;case"function":{var z=this.options.customFormatters[f.key],K=z&&"module"in z&&typeof z.module=="function";if(!z){if(f.key==="date"){R=this.setDateFormatter(f,I,v);break}else if(f.key==="number"){R=this.setNumberFormatter(f,I,v);break}}if(I.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var Ie=this.getFormatterArg(f,v);Ie&&I.push(Ie)}R=K?er("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(R,f.key);break}case"octothorpe":if(!v)return'"#"';I=[JSON.stringify(this.plural.locale),mh("d",v.arg),v.pluralOffset||0],this.options.strict?(R="strictNumber",I.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(R="number",this.setRuntimeFn("number"));break}if(!R)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(R,"(").concat(I.join(", "),")")},m.prototype.runtimeIncludes=function(f,v){if(er(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},m.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),x=this.plural,E=x.getCardinal,I=x.getPlural,R=x.isDefault,z,K,Ie;if(!v&&R&&E){if(y)return;z=function(Ve){return E(Ve)},K=Rde,Ie=function(){return String(E)}}else{if(y&&(!R||y.module===C0))return;z=function(Ve,Je){return I(Ve,Je)},K=R?C0:I.module||null,Ie=function(){return String(I)}}this.runtime[f]=Object.assign(z,{id:f,module:K,toString:Ie,type:"locale"})},m.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(vde[f],{id:f,module:Ade,type:"runtime"}))},m.prototype.getFormatterArg=function(f,v){var y,x,E,I,R=this,z=f.key,K=f.param,Ie=this.options.customFormatters[z]||S0(z)&&hh[z];if(!Ie||!K)return null;var Ve="arg"in Ie&&Ie.arg||"string";if(Ve==="options"){var Je="";try{for(var he=a(K),Nt=he.next();!Nt.done;Nt=he.next()){var ra=Nt.value;if(ra.type==="content")Je+=ra.value;else throw new SyntaxError("Expected literal options for ".concat(z," formatter"))}}catch(An){y={error:An}}finally{try{Nt&&!Nt.done&&(x=he.return)&&x.call(he)}finally{if(y)throw y.error}}var ka={};try{for(var Qa=a(Je.split(",")),Bi=Qa.next();!Bi.done;Bi=Qa.next()){var tr=Bi.value,In=tr.indexOf(":");if(In===-1)ka[tr.trim()]=null;else{var On=tr.substring(0,In).trim(),Tn=tr.substring(In+1).trim();if(Tn==="true")ka[On]=!0;else if(Tn==="false")ka[On]=!1;else if(Tn==="null")ka[On]=null;else{var Zt=Number(Tn);ka[On]=Number.isFinite(Zt)?Zt:Tn}}}}catch(An){E={error:An}}finally{try{Bi&&!Bi.done&&(I=Qa.return)&&I.call(Qa)}finally{if(E)throw E.error}}return JSON.stringify(ka)}else{var _c=K.map(function(An){return R.token(An,v)});if(Ve==="raw")return"[".concat(_c.join(", "),"]");var xc=_c.join(" + ");return xc?"(".concat(xc,").trim()"):'""'}},m.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var x=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(x.formatter.bind({}),n(n({},x.formatter.prototype),{toString:function(){return String(x.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:er(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(S0(f))this.runtime[f]=Object.assign(hh[f],{type:"formatter"},{id:f,module:Pde});else throw new Error("Formatting function not found: ".concat(f))}},m.prototype.setDateFormatter=function(f,v,y){var x=this,E=f.param,I=this.plural.locale,R=E&&E.length===1&&E[0];if(R&&R.type==="content"&&/^\s*::/.test(R.value)){var z=R.value.trim().substr(2),K=er("date_".concat(I,"_").concat(z),!0);if(!this.runtimeIncludes(K,"formatter")){var Ie=xa(I,z,this.options.timeZone);this.runtime[K]=Object.assign(Ie,{id:K,module:null,toString:function(){return na(I,z,x.options.timeZone)},type:"formatter"})}return K}if(v.push(JSON.stringify(I)),E&&E.length>0){y&&this.options.strict&&(y=null);var Ve=E.map(function(Je){return x.token(Je,y)});v.push("("+(Ve.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},m.prototype.setNumberFormatter=function(f,v,y){var x=this,E=f.param,I=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(I)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(I)),E.length===1&&E[0].type==="content"){var R=E[0].value.trim();switch(R){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var z=R.match(/^currency:([A-Z]+)$/);if(z)return v.push(JSON.stringify(z[1])),this.setFormatter("numberCurrency"),"numberCurrency";var K=er("number_".concat(I,"_").concat(R),!0);if(!this.runtimeIncludes(K,"formatter")){var Ie=this.options.currency,Ve=rde(I,R,Ie);this.runtime[K]=Object.assign(Ve,{id:null,module:null,toString:function(){return ode(I,R,Ie)},type:"formatter"})}return K}y&&this.options.strict&&(y=null);var Je=E.map(function(he){return x.token(he,y)});return v.push("("+(Je.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},m}();function S0(m){return m in hh}let J=m=>m==1?"one":"other",kn=m=>m==0||m==1?"one":"other",Ji=m=>m>=0&&m<=1?"one":"other",Ma=m=>{let f=String(m).split("."),v=!f[1];return m==1&&v?"one":"other"},ot=m=>"other",En=m=>m==1?"one":m==2?"two":"other";var Nde=Object.freeze({__proto__:null,af:J,ak:kn,am:Ji,an:J,ar:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Ji,asa:J,ast:Ma,az:J,bal:J,be:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-1),x=v&&f[0].slice(-2);return y==1&&x!=11?"one":y>=2&&y<=4&&(x<12||x>14)?"few":v&&y==0||y>=5&&y<=9||x>=11&&x<=14?"many":"other"},bem:J,bez:J,bg:J,bho:kn,bm:ot,bn:Ji,bo:ot,br:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-1),x=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&x!=11&&x!=71&&x!=91?"one":y==2&&x!=12&&x!=72&&x!=92?"two":(y==3||y==4||y==9)&&(x<10||x>19)&&(x<70||x>79)&&(x<90||x>99)?"few":m!=0&&v&&E==0?"many":"other"},brx:J,bs:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},ca:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},ce:J,ceb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&E!=4&&E!=6&&E!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:J,chr:J,ckb:J,cs:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return m==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},cy:m=>m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:m=>{let f=String(m).split("."),v=f[0],y=Number(f[0])==m;return m==1||!y&&(v==0||v==1)?"one":"other"},de:Ma,doi:Ji,dsb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-2),I=y.slice(-2);return x&&E==1||I==1?"one":x&&E==2||I==2?"two":x&&(E==3||E==4)||I==3||I==4?"few":"other"},dv:J,dz:ot,ee:J,el:J,en:Ma,eo:J,es:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1?"one":v!=0&&x==0&&y?"many":"other"},et:Ma,eu:J,fa:Ji,ff:m=>m>=0&&m<2?"one":"other",fi:Ma,fil:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&E!=4&&E!=6&&E!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},fo:J,fr:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m>=0&&m<2?"one":v!=0&&x==0&&y?"many":"other"},fur:J,fy:Ma,ga:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==1?"one":m==2?"two":v&&m>=3&&m<=6?"few":v&&m>=7&&m<=10?"many":"other"},gd:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==1||m==11?"one":m==2||m==12?"two":v&&m>=3&&m<=10||v&&m>=13&&m<=19?"few":"other"},gl:Ma,gsw:J,gu:Ji,guw:kn,gv:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:J,haw:J,he:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:Ji,hnj:ot,hr:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},hsb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-2),I=y.slice(-2);return x&&E==1||I==1?"one":x&&E==2||I==2?"two":x&&(E==3||E==4)||I==3||I==4?"few":"other"},hu:J,hy:m=>m>=0&&m<2?"one":"other",ia:Ma,id:ot,ig:ot,ii:ot,io:Ma,is:m=>{let f=String(m).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),x=Number(f[0])==m,E=v.slice(-1),I=v.slice(-2);return x&&E==1&&I!=11||y%10==1&&y%100!=11?"one":"other"},it:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},iu:En,ja:ot,jbo:ot,jgo:J,jmc:J,jv:ot,jw:ot,ka:J,kab:m=>m>=0&&m<2?"one":"other",kaj:J,kcg:J,kde:ot,kea:ot,kk:J,kkj:J,kl:J,km:ot,kn:Ji,ko:ot,ks:J,ksb:J,ksh:m=>m==0?"zero":m==1?"one":"other",ku:J,kw:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2),x=v&&f[0].slice(-3),E=v&&f[0].slice(-5),I=v&&f[0].slice(-6);return m==0?"zero":m==1?"one":y==2||y==22||y==42||y==62||y==82||v&&x==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||m!=0&&I==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":m!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:J,lag:m=>{let f=String(m).split("."),v=f[0];return m==0?"zero":(v==0||v==1)&&m!=0?"one":"other"},lb:J,lg:J,lij:Ma,lkt:ot,ln:kn,lo:ot,lt:m=>{let f=String(m).split("."),v=f[1]||"",y=Number(f[0])==m,x=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return x==1&&(E<11||E>19)?"one":x>=2&&x<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:m=>{let f=String(m).split("."),v=f[1]||"",y=v.length,x=Number(f[0])==m,E=x&&f[0].slice(-1),I=x&&f[0].slice(-2),R=v.slice(-2),z=v.slice(-1);return x&&E==0||I>=11&&I<=19||y==2&&R>=11&&R<=19?"zero":E==1&&I!=11||y==2&&z==1&&R!=11||y!=2&&z==1?"one":"other"},mas:J,mg:kn,mgo:J,mk:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":"other"},ml:J,mn:J,mo:m=>{let f=String(m).split("."),v=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&v?"one":!v||m==0||m!=1&&x>=1&&x<=19?"few":"other"},mr:J,ms:ot,mt:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==1?"one":m==2?"two":m==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:ot,nah:J,naq:En,nb:J,nd:J,ne:J,nl:Ma,nn:J,nnh:J,no:J,nqo:ot,nr:J,nso:kn,ny:J,nyn:J,om:J,or:J,os:J,osa:ot,pa:kn,pap:J,pcm:Ji,pl:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return m==1&&y?"one":y&&x>=2&&x<=4&&(E<12||E>14)?"few":y&&v!=1&&(x==0||x==1)||y&&x>=5&&x<=9||y&&E>=12&&E<=14?"many":"other"},prg:m=>{let f=String(m).split("."),v=f[1]||"",y=v.length,x=Number(f[0])==m,E=x&&f[0].slice(-1),I=x&&f[0].slice(-2),R=v.slice(-2),z=v.slice(-1);return x&&E==0||I>=11&&I<=19||y==2&&R>=11&&R<=19?"zero":E==1&&I!=11||y==2&&z==1&&R!=11||y!=2&&z==1?"one":"other"},ps:J,pt:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return v==0||v==1?"one":v!=0&&x==0&&y?"many":"other"},pt_PT:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},rm:J,ro:m=>{let f=String(m).split("."),v=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&v?"one":!v||m==0||m!=1&&x>=1&&x<=19?"few":"other"},rof:J,ru:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return y&&x==1&&E!=11?"one":y&&x>=2&&x<=4&&(E<12||E>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&E>=11&&E<=14?"many":"other"},rwk:J,sah:ot,saq:J,sat:En,sc:Ma,scn:Ma,sd:J,sdh:J,se:En,seh:J,ses:ot,sg:ot,sh:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},shi:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m>=0&&m<=1?"one":v&&m>=2&&m<=10?"few":"other"},si:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"";return m==0||m==1||v==0&&y==1?"one":"other"},sk:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return m==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(x==3||x==4)||!y?"few":"other"},sma:En,smi:En,smj:En,smn:En,sms:En,sn:J,so:J,sq:J,sr:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=v.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&E==1&&I!=11||R==1&&z!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},ss:J,ssy:J,st:J,su:ot,sv:Ma,sw:Ma,syr:J,ta:J,te:J,teo:J,th:ot,ti:kn,tig:J,tk:J,tl:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],E=v.slice(-1),I=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&E!=4&&E!=6&&E!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},tn:J,to:ot,tpi:ot,tr:J,ts:J,tzm:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==0||m==1||v&&m>=11&&m<=99?"one":"other"},ug:J,uk:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),E=v.slice(-2);return y&&x==1&&E!=11?"one":y&&x>=2&&x<=4&&(E<12||E>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&E>=11&&E<=14?"many":"other"},und:ot,ur:Ma,uz:J,ve:J,vec:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},vi:ot,vo:J,vun:J,wa:kn,wae:J,wo:ot,xh:J,xog:J,yi:Ma,yo:ot,yue:ot,zh:ot,zu:Ji});let Cn="zero",le="one",Bt="two",Ge="few",Ze="many",q="other",G={cardinal:[le,q],ordinal:[q]},Dr={cardinal:[le,q],ordinal:[le,q]},ht={cardinal:[q],ordinal:[q]},en={cardinal:[le,Bt,q],ordinal:[q]};var D0=Object.freeze({__proto__:null,af:G,ak:G,am:G,an:G,ar:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[q]},ars:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[q]},as:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},asa:G,ast:G,az:{cardinal:[le,q],ordinal:[le,Ge,Ze,q]},bal:Dr,be:{cardinal:[le,Ge,Ze,q],ordinal:[Ge,q]},bem:G,bez:G,bg:G,bho:G,bm:ht,bn:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},bo:ht,br:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},brx:G,bs:{cardinal:[le,Ge,q],ordinal:[q]},ca:{cardinal:[le,Ze,q],ordinal:[le,Bt,Ge,q]},ce:G,ceb:G,cgg:G,chr:G,ckb:G,cs:{cardinal:[le,Ge,Ze,q],ordinal:[q]},cy:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[Cn,le,Bt,Ge,Ze,q]},da:G,de:G,doi:G,dsb:{cardinal:[le,Bt,Ge,q],ordinal:[q]},dv:G,dz:ht,ee:G,el:G,en:{cardinal:[le,q],ordinal:[le,Bt,Ge,q]},eo:G,es:{cardinal:[le,Ze,q],ordinal:[q]},et:G,eu:G,fa:G,ff:G,fi:G,fil:Dr,fo:G,fr:{cardinal:[le,Ze,q],ordinal:[le,q]},fur:G,fy:G,ga:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[le,q]},gd:{cardinal:[le,Bt,Ge,q],ordinal:[le,Bt,Ge,q]},gl:G,gsw:G,gu:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},guw:G,gv:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},ha:G,haw:G,he:en,hi:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},hnj:ht,hr:{cardinal:[le,Ge,q],ordinal:[q]},hsb:{cardinal:[le,Bt,Ge,q],ordinal:[q]},hu:Dr,hy:Dr,ia:G,id:ht,ig:ht,ii:ht,io:G,is:G,it:{cardinal:[le,Ze,q],ordinal:[Ze,q]},iu:en,ja:ht,jbo:ht,jgo:G,jmc:G,jv:ht,jw:ht,ka:{cardinal:[le,q],ordinal:[le,Ze,q]},kab:G,kaj:G,kcg:G,kde:ht,kea:ht,kk:{cardinal:[le,q],ordinal:[Ze,q]},kkj:G,kl:G,km:ht,kn:G,ko:ht,ks:G,ksb:G,ksh:{cardinal:[Cn,le,q],ordinal:[q]},ku:G,kw:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[le,Ze,q]},ky:G,lag:{cardinal:[Cn,le,q],ordinal:[q]},lb:G,lg:G,lij:{cardinal:[le,q],ordinal:[Ze,q]},lkt:ht,ln:G,lo:{cardinal:[q],ordinal:[le,q]},lt:{cardinal:[le,Ge,Ze,q],ordinal:[q]},lv:{cardinal:[Cn,le,q],ordinal:[q]},mas:G,mg:G,mgo:G,mk:{cardinal:[le,q],ordinal:[le,Bt,Ze,q]},ml:G,mn:G,mo:{cardinal:[le,Ge,q],ordinal:[le,q]},mr:{cardinal:[le,q],ordinal:[le,Bt,Ge,q]},ms:{cardinal:[q],ordinal:[le,q]},mt:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},my:ht,nah:G,naq:en,nb:G,nd:G,ne:Dr,nl:G,nn:G,nnh:G,no:G,nqo:ht,nr:G,nso:G,ny:G,nyn:G,om:G,or:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},os:G,osa:ht,pa:G,pap:G,pcm:G,pl:{cardinal:[le,Ge,Ze,q],ordinal:[q]},prg:{cardinal:[Cn,le,q],ordinal:[q]},ps:G,pt:{cardinal:[le,Ze,q],ordinal:[q]},pt_PT:{cardinal:[le,Ze,q],ordinal:[q]},rm:G,ro:{cardinal:[le,Ge,q],ordinal:[le,q]},rof:G,ru:{cardinal:[le,Ge,Ze,q],ordinal:[q]},rwk:G,sah:ht,saq:G,sat:en,sc:{cardinal:[le,q],ordinal:[Ze,q]},scn:{cardinal:[le,q],ordinal:[Ze,q]},sd:G,sdh:G,se:en,seh:G,ses:ht,sg:ht,sh:{cardinal:[le,Ge,q],ordinal:[q]},shi:{cardinal:[le,Ge,q],ordinal:[q]},si:G,sk:{cardinal:[le,Ge,Ze,q],ordinal:[q]},sl:{cardinal:[le,Bt,Ge,q],ordinal:[q]},sma:en,smi:en,smj:en,smn:en,sms:en,sn:G,so:G,sq:{cardinal:[le,q],ordinal:[le,Ze,q]},sr:{cardinal:[le,Ge,q],ordinal:[q]},ss:G,ssy:G,st:G,su:ht,sv:Dr,sw:G,syr:G,ta:G,te:G,teo:G,th:ht,ti:G,tig:G,tk:{cardinal:[le,q],ordinal:[Ge,q]},tl:Dr,tn:G,to:ht,tpi:ht,tr:G,ts:G,tzm:G,ug:G,uk:{cardinal:[le,Ge,Ze,q],ordinal:[Ge,q]},und:ht,ur:G,uz:G,ve:G,vec:{cardinal:[le,Ze,q],ordinal:[Ze,q]},vi:{cardinal:[q],ordinal:[le,q]},vo:G,vun:G,wa:G,wae:G,wo:ht,xh:G,xog:G,yi:G,yo:ht,yue:ht,zh:ht,zu:G});let ce=(m,f)=>f?"other":m==1?"one":"other",Sn=(m,f)=>f?"other":m==0||m==1?"one":"other",xo=(m,f)=>f?"other":m>=0&&m<=1?"one":"other",Ei=(m,f)=>{let v=String(m).split("."),y=!v[1];return f?"other":m==1&&y?"one":"other"},pt=(m,f)=>"other",Dn=(m,f)=>f?"other":m==1?"one":m==2?"two":"other";var vc=Object.freeze({__proto__:null,af:ce,ak:Sn,am:xo,an:ce,ar:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":x>=3&&x<=10?"few":x>=11&&x<=99?"many":"other"},ars:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":x>=3&&x<=10?"few":x>=11&&x<=99?"many":"other"},as:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",asa:ce,ast:Ei,az:(m,f)=>{let v=String(m).split("."),y=v[0],x=y.slice(-1),E=y.slice(-2),I=y.slice(-3);return f?x==1||x==2||x==5||x==7||x==8||E==20||E==50||E==70||E==80?"one":x==3||x==4||I==100||I==200||I==300||I==400||I==500||I==600||I==700||I==800||I==900?"few":y==0||x==6||E==40||E==60||E==90?"many":"other":m==1?"one":"other"},bal:(m,f)=>m==1?"one":"other",be:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(x==2||x==3)&&E!=12&&E!=13?"few":"other":x==1&&E!=11?"one":x>=2&&x<=4&&(E<12||E>14)?"few":y&&x==0||x>=5&&x<=9||E>=11&&E<=14?"many":"other"},bem:ce,bez:ce,bg:ce,bho:Sn,bm:pt,bn:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",bo:pt,br:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),E=y&&v[0].slice(-2),I=y&&v[0].slice(-6);return f?"other":x==1&&E!=11&&E!=71&&E!=91?"one":x==2&&E!=12&&E!=72&&E!=92?"two":(x==3||x==4||x==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":m!=0&&y&&I==0?"many":"other"},brx:ce,bs:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},ca:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==1||m==3?"one":m==2?"two":m==4?"few":"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},ce,ceb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=x.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&I!=4&&I!=6&&I!=9||!E&&R!=4&&R!=6&&R!=9?"one":"other"},cgg:ce,chr:ce,ckb:ce,cs:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":m==1&&x?"one":y>=2&&y<=4&&x?"few":x?"other":"many"},cy:(m,f)=>f?m==0||m==7||m==8||m==9?"zero":m==1?"one":m==2?"two":m==3||m==4?"few":m==5||m==6?"many":"other":m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:(m,f)=>{let v=String(m).split("."),y=v[0],x=Number(v[0])==m;return f?"other":m==1||!x&&(y==0||y==1)?"one":"other"},de:Ei,doi:xo,dsb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-2),R=x.slice(-2);return f?"other":E&&I==1||R==1?"one":E&&I==2||R==2?"two":E&&(I==3||I==4)||R==3||R==4?"few":"other"},dv:ce,dz:pt,ee:ce,el:ce,en:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-1),I=x&&v[0].slice(-2);return f?E==1&&I!=11?"one":E==2&&I!=12?"two":E==3&&I!=13?"few":"other":m==1&&y?"one":"other"},eo:ce,es:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?"other":m==1?"one":y!=0&&E==0&&x?"many":"other"},et:Ei,eu:ce,fa:xo,ff:(m,f)=>f?"other":m>=0&&m<2?"one":"other",fi:Ei,fil:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=x.slice(-1);return f?m==1?"one":"other":E&&(y==1||y==2||y==3)||E&&I!=4&&I!=6&&I!=9||!E&&R!=4&&R!=6&&R!=9?"one":"other"},fo:ce,fr:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==1?"one":"other":m>=0&&m<2?"one":y!=0&&E==0&&x?"many":"other"},fur:ce,fy:Ei,ga:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1?"one":"other":m==1?"one":m==2?"two":y&&m>=3&&m<=6?"few":y&&m>=7&&m<=10?"many":"other"},gd:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1||m==11?"one":m==2||m==12?"two":m==3||m==13?"few":"other":m==1||m==11?"one":m==2||m==12?"two":y&&m>=3&&m<=10||y&&m>=13&&m<=19?"few":"other"},gl:Ei,gsw:ce,gu:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",guw:Sn,gv:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-1),I=y.slice(-2);return f?"other":x&&E==1?"one":x&&E==2?"two":x&&(I==0||I==20||I==40||I==60||I==80)?"few":x?"other":"many"},ha:ce,haw:ce,he:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":y==1&&x||y==0&&!x?"one":y==2&&x?"two":"other"},hi:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",hnj:pt,hr:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},hsb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-2),R=x.slice(-2);return f?"other":E&&I==1||R==1?"one":E&&I==2||R==2?"two":E&&(I==3||I==4)||R==3||R==4?"few":"other"},hu:(m,f)=>f?m==1||m==5?"one":"other":m==1?"one":"other",hy:(m,f)=>f?m==1?"one":"other":m>=0&&m<2?"one":"other",ia:Ei,id:pt,ig:pt,ii:pt,io:Ei,is:(m,f)=>{let v=String(m).split("."),y=v[0],x=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==m,I=y.slice(-1),R=y.slice(-2);return f?"other":E&&I==1&&R!=11||x%10==1&&x%100!=11?"one":"other"},it:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},iu:Dn,ja:pt,jbo:pt,jgo:ce,jmc:ce,jv:pt,jw:pt,ka:(m,f)=>{let v=String(m).split("."),y=v[0],x=y.slice(-2);return f?y==1?"one":y==0||x>=2&&x<=20||x==40||x==60||x==80?"many":"other":m==1?"one":"other"},kab:(m,f)=>f?"other":m>=0&&m<2?"one":"other",kaj:ce,kcg:ce,kde:pt,kea:pt,kk:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1);return f?x==6||x==9||y&&x==0&&m!=0?"many":"other":m==1?"one":"other"},kkj:ce,kl:ce,km:pt,kn:xo,ko:pt,ks:ce,ksb:ce,ksh:(m,f)=>f?"other":m==0?"zero":m==1?"one":"other",ku:ce,kw:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2),E=y&&v[0].slice(-3),I=y&&v[0].slice(-5),R=y&&v[0].slice(-6);return f?y&&m>=1&&m<=4||x>=1&&x<=4||x>=21&&x<=24||x>=41&&x<=44||x>=61&&x<=64||x>=81&&x<=84?"one":m==5||x==5?"many":"other":m==0?"zero":m==1?"one":x==2||x==22||x==42||x==62||x==82||y&&E==0&&(I>=1e3&&I<=2e4||I==4e4||I==6e4||I==8e4)||m!=0&&R==1e5?"two":x==3||x==23||x==43||x==63||x==83?"few":m!=1&&(x==1||x==21||x==41||x==61||x==81)?"many":"other"},ky:ce,lag:(m,f)=>{let v=String(m).split("."),y=v[0];return f?"other":m==0?"zero":(y==0||y==1)&&m!=0?"one":"other"},lb:ce,lg:ce,lij:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m;return f?m==11||m==8||x&&m>=80&&m<=89||x&&m>=800&&m<=899?"many":"other":m==1&&y?"one":"other"},lkt:pt,ln:Sn,lo:(m,f)=>f&&m==1?"one":"other",lt:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=Number(v[0])==m,E=x&&v[0].slice(-1),I=x&&v[0].slice(-2);return f?"other":E==1&&(I<11||I>19)?"one":E>=2&&E<=9&&(I<11||I>19)?"few":y!=0?"many":"other"},lv:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=y.length,E=Number(v[0])==m,I=E&&v[0].slice(-1),R=E&&v[0].slice(-2),z=y.slice(-2),K=y.slice(-1);return f?"other":E&&I==0||R>=11&&R<=19||x==2&&z>=11&&z<=19?"zero":I==1&&R!=11||x==2&&K==1&&z!=11||x!=2&&K==1?"one":"other"},mas:ce,mg:Sn,mgo:ce,mk:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?I==1&&R!=11?"one":I==2&&R!=12?"two":(I==7||I==8)&&R!=17&&R!=18?"many":"other":E&&I==1&&R!=11||z==1&&K!=11?"one":"other"},ml:ce,mn:ce,mo:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&E>=1&&E<=19?"few":"other"},mr:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":"other":m==1?"one":"other",ms:(m,f)=>f&&m==1?"one":"other",mt:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==1?"one":m==2?"two":m==0||x>=3&&x<=10?"few":x>=11&&x<=19?"many":"other"},my:pt,nah:ce,naq:Dn,nb:ce,nd:ce,ne:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?y&&m>=1&&m<=4?"one":"other":m==1?"one":"other"},nl:Ei,nn:ce,nnh:ce,no:ce,nqo:pt,nr:ce,nso:Sn,ny:ce,nyn:ce,om:ce,or:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1||m==5||y&&m>=7&&m<=9?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m==1?"one":"other"},os:ce,osa:pt,pa:Sn,pap:ce,pcm:xo,pl:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-1),I=y.slice(-2);return f?"other":m==1&&x?"one":x&&E>=2&&E<=4&&(I<12||I>14)?"few":x&&y!=1&&(E==0||E==1)||x&&E>=5&&E<=9||x&&I>=12&&I<=14?"many":"other"},prg:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=y.length,E=Number(v[0])==m,I=E&&v[0].slice(-1),R=E&&v[0].slice(-2),z=y.slice(-2),K=y.slice(-1);return f?"other":E&&I==0||R>=11&&R<=19||x==2&&z>=11&&z<=19?"zero":I==1&&R!=11||x==2&&K==1&&z!=11||x!=2&&K==1?"one":"other"},ps:ce,pt:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&x?"many":"other"},pt_PT:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},rm:ce,ro:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&E>=1&&E<=19?"few":"other"},rof:ce,ru:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-1),I=y.slice(-2);return f?"other":x&&E==1&&I!=11?"one":x&&E>=2&&E<=4&&(I<12||I>14)?"few":x&&E==0||x&&E>=5&&E<=9||x&&I>=11&&I<=14?"many":"other"},rwk:ce,sah:pt,saq:ce,sat:Dn,sc:(m,f)=>{let v=String(m).split("."),y=!v[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},scn:(m,f)=>{let v=String(m).split("."),y=!v[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},sd:ce,sdh:ce,se:Dn,seh:ce,ses:pt,sg:pt,sh:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},shi:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?"other":m>=0&&m<=1?"one":y&&m>=2&&m<=10?"few":"other"},si:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"";return f?"other":m==0||m==1||y==0&&x==1?"one":"other"},sk:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":m==1&&x?"one":y>=2&&y<=4&&x?"few":x?"other":"many"},sl:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-2);return f?"other":x&&E==1?"one":x&&E==2?"two":x&&(E==3||E==4)||!x?"few":"other"},sma:Dn,smi:Dn,smj:Dn,smn:Dn,sms:Dn,sn:ce,so:ce,sq:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?m==1?"one":x==4&&E!=14?"many":"other":m==1?"one":"other"},sr:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":E&&I==1&&R!=11||z==1&&K!=11?"one":E&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},ss:ce,ssy:ce,st:ce,su:pt,sv:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,E=x&&v[0].slice(-1),I=x&&v[0].slice(-2);return f?(E==1||E==2)&&I!=11&&I!=12?"one":"other":m==1&&y?"one":"other"},sw:Ei,syr:ce,ta:ce,te:ce,teo:ce,th:pt,ti:Sn,tig:ce,tk:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1);return f?x==6||x==9||m==10?"few":"other":m==1?"one":"other"},tl:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",E=!v[1],I=y.slice(-1),R=x.slice(-1);return f?m==1?"one":"other":E&&(y==1||y==2||y==3)||E&&I!=4&&I!=6&&I!=9||!E&&R!=4&&R!=6&&R!=9?"one":"other"},tn:ce,to:pt,tpi:pt,tr:ce,ts:ce,tzm:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?"other":m==0||m==1||y&&m>=11&&m<=99?"one":"other"},ug:ce,uk:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=Number(v[0])==m,I=E&&v[0].slice(-1),R=E&&v[0].slice(-2),z=y.slice(-1),K=y.slice(-2);return f?I==3&&R!=13?"few":"other":x&&z==1&&K!=11?"one":x&&z>=2&&z<=4&&(K<12||K>14)?"few":x&&z==0||x&&z>=5&&z<=9||x&&K>=11&&K<=14?"many":"other"},und:pt,ur:Ei,uz:ce,ve:ce,vec:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],E=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&E==0&&x?"many":"other"},vi:(m,f)=>f&&m==1?"one":"other",vo:ce,vun:ce,wa:Sn,wae:ce,wo:pt,xh:ce,xog:ce,yi:Ei,yo:pt,yue:pt,zh:pt,zu:xo});function fh(m){if(typeof m!="string"||m.length<2)throw new RangeError("Invalid language tag: ".concat(m));if(m.startsWith("pt-PT"))return"pt-PT";var f=m.match(/.+?(?=[-_])/);return f?f[0]:m}function yc(m){if(typeof m=="function"){var f=fh(m.name);return{isDefault:!1,id:er(f),lc:f,locale:m.name,getPlural:m,cardinals:m.cardinals||[],ordinals:m.ordinals||[]}}var v=fh(m),y=er(v);return Vde(y)?{isDefault:!0,id:y,lc:v,locale:m,getCardinal:Nde[y],getPlural:vc[y],cardinals:D0[y].cardinal,ordinals:D0[y].ordinal}:null}function Lde(m){var f=Object.keys(vc).filter(function(v){return v!==m});return f.unshift(m),f.map(yc)}function Fde(m){var f=fh(m);return er(f)in vc}function Vde(m){return m in vc}var zde=function(){function m(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=Lde(m.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(yc).filter(Boolean);else if(f){var y=yc(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=yc(m.defaultLocale);this.plurals=[y]}}return m.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},m.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(Fde)},m.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},m.prototype.compile=function(f){var v,y,x=new Mde(this.options),E="return "+x.compile(f,this.plurals[0]),I=[],R=[];try{for(var z=a(Object.entries(x.runtime)),K=z.next();!K.done;K=z.next()){var Ie=i(K.value,2),Ve=Ie[0],Je=Ie[1];I.push(Ve),R.push(Je)}}catch(Nt){v={error:Nt}}finally{try{K&&!K.done&&(y=z.return)&&y.call(z)}finally{if(v)throw v.error}}var he=new(Function.bind.apply(Function,r(r([void 0],i(I),!1),[E],!1)));return he.apply(void 0,r([],i(R),!1))},m.defaultLocale="en",m}();return zde})}),wi=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function a(i,r){t(this,a),this.data=i,this.text=r.text||i,this.options=r};e.default=n}),Xde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(A,B){for(var j=0;j<B.length;j++){var ve=B[j];ve.enumerable=ve.enumerable||!1,ve.configurable=!0,"value"in ve&&(ve.writable=!0),Object.defineProperty(A,ve.key,ve)}}return function(A,B,j){return B&&S(A.prototype,B),j&&S(A,j),A}}(),n=wi(),a=i(n);function i(S){return S&&S.__esModule?S:{default:S}}function r(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")}function s(S,A){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:S}function l(S,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);S.prototype=Object.create(A&&A.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(S,A):S.__proto__=A)}var c=function(S){l(A,S);function A(B,j){return r(this,A),B=B.toUpperCase(),j.mod43&&(B+=g(k(B))),s(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,B,j))}return t(A,[{key:"encode",value:function(){for(var B=p("*"),j=0;j<this.data.length;j++)B+=p(this.data[j])+"0";return B+=p("*"),{data:B,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),A}(a.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 p(S){return b(w(S))}function b(S){return u[S].toString(2)}function g(S){return d[S]}function w(S){return d.indexOf(S)}function k(S){for(var A=0,B=0;B<S.length;B++)A+=w(S[B]);return A=A%43,A}e.CODE39=c}),Rl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function n(d,u,p){return u in d?Object.defineProperty(d,u,{value:p,enumerable:!0,configurable:!0,writable:!0}):d[u]=p,d}var a=e.SET_A=0,i=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var s=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},n(t,s,a),n(t,l,i),n(t,c,r),t),e.SWAP={101:a,100:i,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]}),lu=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=wi(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){s(this,p);var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(k){return k.charCodeAt(0)}),w}return t(p,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=i.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(i.FNC1);var k=p.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:p.getBar(g)+k.result+p.getBar((k.checksum+g)%i.MODULO)+p.getBar(i.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return i.BARS[b]?i.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===i.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===i.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var k=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var A=i.SWAP[S];A!==void 0?k=p.next(b,g+1,A):((w===i.SET_A||w===i.SET_B)&&S===i.SHIFT&&(b[0]=w===i.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),k=p.next(b,g+1,w))}else S=p.correctIndex(b,w),k=p.next(b,g+1,w);var B=p.getBar(S),j=S*g;return{result:B+k.result,checksum:j+k.checksum}}}]),p}(a.default);e.default=d}),Jde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rl(),n=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},i=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,c){var d=c?t.A_CHARS:t.B_CHARS,u=l.match(new RegExp("^("+d+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+s(l.substring(u[1].length));var p=l.match(new RegExp("^"+d+"+"))[0];return p.length===l.length?l:p+String.fromCharCode(c?205:206)+r(l.substring(p.length),!c)}function s(l){var c=i(l),d=c.length;if(d===l.length)return l;l=l.substring(d);var u=n(l)>=a(l);return c+String.fromCharCode(u?206:205)+r(l,u)}e.default=function(l){var c=void 0,d=i(l).length;if(d>=2)c=t.C_START_CHAR+s(l);else{var u=n(l)>a(l);c=(u?t.A_START_CHAR:t.B_START_CHAR)+r(l,u)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(p,b){return"Ë"+b})}}),eue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=lu(),n=r(t),a=Jde(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){if(s(this,p),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,(0,i.default)(b),g));else var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g));return l(w)}return p}(n.default);e.default=d}),tue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=lu(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.A_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),aue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=lu(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.B_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),iue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=lu(),a=r(n),i=Rl();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.C_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),nue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=eue(),n=d(t),a=tue(),i=d(a),r=aue(),s=d(r),l=iue(),c=d(l);function d(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=i.default,e.CODE128B=s.default,e.CODE128C=c.default}),Pl=Ae(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"]}),Ml=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Pl(),n=function(a,i,r){var s=a.split("").map(function(c,d){return t.BINARIES[i[d]]}).map(function(c,d){return c?c[a[d]]:""});if(r){var l=a.length-1;s=s.map(function(c,d){return d<l?c+r:c})}return s.join("")};e.default=n}),s_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=Pl(),a=Ml(),i=l(a),r=wi(),s=l(r);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function d(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var p=function(b){u(g,b);function g(w,k){c(this,g);var S=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return S.fontSize=!k.flat&&k.fontSize>k.width*10?k.width*10:k.fontSize,S.guardHeight=k.height+S.fontSize/2+k.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,k){return this.text.substr(w,k)}},{key:"leftEncode",value:function(w,k){return(0,i.default)(w,k)}},{key:"rightText",value:function(w,k){return this.text.substr(w,k)}},{key:"rightEncode",value:function(w,k){return(0,i.default)(w,k)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},k={height:this.guardHeight};return[{data:n.SIDE_BIN,options:k},{data:this.leftEncode(),text:this.leftText(),options:w},{data:n.MIDDLE_BIN,options:k},{data:this.rightEncode(),text:this.rightText(),options:w},{data:n.SIDE_BIN,options:k}]}},{key:"encodeFlat",value:function(){var w=[n.SIDE_BIN,this.leftEncode(),n.MIDDLE_BIN,this.rightEncode(),n.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(s.default);e.default=p}),rue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=function b(g,w,k){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var A=Object.getPrototypeOf(g);return A===null?void 0:b(A,w,k)}else{if("value"in S)return S.value;var B=S.get;return B===void 0?void 0:B.call(k)}},a=Pl(),i=s_(),r=s(i);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var u=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,k,S){return S%2?w+k*3:w+k},0);return(10-g%10)%10},p=function(b){d(g,b);function g(w,k){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=u(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return S.lastChar=k.lastChar,S}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 w=this.data.substr(1,6),k=a.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,k)}},{key:"rightText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(r.default);e.default=p}),oue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function p(b,g){for(var w=0;w<g.length;w++){var k=g[w];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,g,w){return g&&p(b.prototype,g),w&&p(b,w),b}}(),n=function p(b,g,w){b===null&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,g);if(k===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:p(S,g,w)}else{if("value"in k)return k.value;var A=k.get;return A===void 0?void 0:A.call(w)}},a=s_(),i=r(a);function r(p){return p&&p.__esModule?p:{default:p}}function s(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}function l(p,b){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:p}function c(p,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);p.prototype=Object.create(b&&b.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(p,b):p.__proto__=b)}var d=function(p){var b=p.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,k){return k%2?g+w:g+w*3},0);return(10-b%10)%10},u=function(p){c(b,p);function b(g,w){return s(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=d(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(i.default);e.default=u}),sue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,k){for(var S=0;S<k.length;S++){var A=k[S];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}return function(w,k,S){return k&&g(w.prototype,k),S&&g(w,S),w}}(),n=Pl(),a=Ml(),i=l(a),r=wi(),s=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function d(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function u(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var p=function(g){var w=g.split("").map(function(k){return+k}).reduce(function(k,S,A){return A%2?k+S*9:k+S*3},0);return w%10},b=function(g){u(w,g);function w(k,S){return c(this,w),d(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,k,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var k=n.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,i.default)(this.data,k,"01"),text:this.text}}}]),w}(s.default);e.default=b}),lue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=Pl(),a=Ml(),i=l(a),r=wi(),s=l(r);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function d(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var p=function(b){u(g,b);function g(w,k){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.default)(this.data,w,"01"),text:this.text}}}]),g}(s.default);e.default=p}),l_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var S=w[k];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}();e.checksum=p;var n=Ml(),a=s(n),i=wi(),r=s(i);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var u=function(b){d(g,b);function g(w,k){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=p(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return S.displayValue=k.displayValue,k.fontSize>k.width*10?S.fontSize=k.width*10:S.fontSize=k.fontSize,S.guardHeight=k.height+S.fontSize/2+k.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==p(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,a.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,a.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,a.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,a.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,a.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,a.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(r.default);function p(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=u}),cue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function k(S,A){for(var B=0;B<A.length;B++){var j=A[B];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(S,j.key,j)}}return function(S,A,B){return A&&k(S.prototype,A),B&&k(S,B),S}}(),n=Ml(),a=l(n),i=wi(),r=l(i),s=l_();function l(k){return k&&k.__esModule?k:{default:k}}function c(k,S){if(!(k instanceof S))throw new TypeError("Cannot call a class as a function")}function d(k,S){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:k}function u(k,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);k.prototype=Object.create(S&&S.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(k,S):k.__proto__=S)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(k){u(S,k);function S(A,B){c(this,S);var j=d(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,A,B));if(j.isValid=!1,A.search(/^[0-9]{6}$/)!==-1)j.middleDigits=A,j.upcA=w(A,"0"),j.text=B.text||""+j.upcA[0]+A+j.upcA[j.upcA.length-1],j.isValid=!0;else if(A.search(/^[01][0-9]{7}$/)!==-1)if(j.middleDigits=A.substring(1,A.length-1),j.upcA=w(j.middleDigits,A[0]),j.upcA[j.upcA.length-1]===A[A.length-1])j.isValid=!0;else return d(j);else return d(j);return j.displayValue=B.displayValue,B.fontSize>B.width*10?j.fontSize=B.width*10:j.fontSize=B.fontSize,j.guardHeight=B.height+j.fontSize/2+B.textMargin,j}return t(S,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var A="";return A+="101",A+=this.encodeMiddleDigits(),A+="010101",{data:A,text:this.text}}},{key:"guardedEncoding",value:function(){var A=[];return this.displayValue&&A.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),A.push({data:"101",options:{height:this.guardHeight}}),A.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),A.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&A.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),A}},{key:"encodeMiddleDigits",value:function(){var A=this.upcA[0],B=this.upcA[this.upcA.length-1],j=b[parseInt(B)][parseInt(A)];return(0,a.default)(this.middleDigits,j)}}]),S}(r.default);function w(k,S){for(var A=parseInt(k[k.length-1]),B=p[A],j="",ve=0,Me=0;Me<B.length;Me++){var He=B[Me];He==="X"?j+=k[ve++]:j+=He}return j=""+S+j,""+j+(0,s.checksum)(j)}e.default=g}),due=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=rue(),n=g(t),a=oue(),i=g(a),r=sue(),s=g(r),l=lue(),c=g(l),d=l_(),u=g(d),p=cue(),b=g(p);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=n.default,e.EAN8=i.default,e.EAN5=s.default,e.EAN2=c.default,e.UPC=u.default,e.UPCE=b.default}),uue=Ae(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"]}),c_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=uue(),a=wi(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return t(p,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:n.START_BIN+g+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=n.BINARIES[b[1]];return n.BINARIES[b[0]].split("").map(function(w,k){return(w==="1"?"111":"1")+(g[k]==="1"?"000":"0")}).join("")}}]),p}(i.default);e.default=d}),hue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=c_(),a=i(n);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function s(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function l(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var c=function(u){var p=u.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(p/10)*10-p},d=function(u){l(p,u);function p(b,g){return r(this,p),b.search(/^[0-9]{13}$/)!==-1&&(b+=c(b)),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),p}(a.default);e.default=d}),pue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=c_(),n=r(t),a=hue(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.ITF=n.default,e.ITF14=i.default}),Nl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=wi(),a=i(n);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function s(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function l(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var c=function(u){l(p,u);function p(b,g){return r(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),k=w.toString(2);k=d(k,4-k.length);for(var S=0;S<k.length;S++)b+=k[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),p}(a.default);function d(u,p){for(var b=0;b<p;b++)u="0"+u;return u}e.default=c}),cu=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=n;function t(a){for(var i=0,r=0;r<a.length;r++){var s=parseInt(a[r]);(r+a.length)%2===0?i+=s:i+=s*2%10+Math.floor(s*2/10)}return(10-i%10)%10}function n(a){for(var i=0,r=[2,3,4,5,6,7],s=0;s<a.length;s++){var l=parseInt(a[a.length-1-s]);i+=r[s%r.length]*l}return(11-i%11)%11}}),mue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod10)(p),b))}return u}(n.default);e.default=c}),fue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod11)(p),b))}return u}(n.default);e.default=c}),gue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),p+=(0,a.mod10)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return u}(n.default);e.default=c}),bue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=cu();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),p+=(0,a.mod11)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return u}(n.default);e.default=c}),vue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Nl(),n=p(t),a=mue(),i=p(a),r=fue(),s=p(r),l=gue(),c=p(l),d=bue(),u=p(d);function p(b){return b&&b.__esModule?b:{default:b}}e.MSI=n.default,e.MSI10=i.default,e.MSI11=s.default,e.MSI1010=c.default,e.MSI1110=u.default}),yue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=wi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){r(this,u);var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b));return g.number=parseInt(p,10),g}return t(u,[{key:"encode",value:function(){for(var p=this.number,b="";!isNaN(p)&&p!=0;)p%2===0?(b="11100"+b,p=(p-2)/2):(b="100"+b,p=(p-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(a.default);e.pharmacode=c}),_ue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=wi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){r(this,u),p.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(p="A"+p+"A");var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p.toUpperCase(),b));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 p=[],b=this.getEncodings(),g=0;g<this.data.length;g++)p.push(b[this.data.charAt(g)]),g!==this.data.length-1&&p.push("0");return{text:this.text,data:p.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}(a.default);e.codabar=c}),xue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),d_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=xue(),a=wi(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return n.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return p.getEncoding(S)}).join(""),w=p.checksum(b,20),k=p.checksum(b.concat(w),15);return{text:this.text,data:p.getEncoding("ÿ")+g+p.getEncoding(w)+p.getEncoding(k)+p.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return n.BINARIES[p.symbolValue(b)]}},{key:"getSymbol",value:function(b){return n.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return n.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(k,S,A){var B=A%g+1;return k+p.symbolValue(S)*B},0);return p.getSymbol(w%47)}}]),p}(i.default);e.default=d}),wue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=d_(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return t(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(a.default);e.default=c}),kue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=d_(),n=r(t),a=wue(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.CODE93=n.default,e.CODE93FullASCII=i.default}),Eue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=wi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return t(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(a.default);e.GenericBarcode=c}),Cue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xde(),n=nue(),a=due(),i=pue(),r=vue(),s=yue(),l=_ue(),c=kue(),d=Eue();e.default={CODE39:t.CODE39,CODE128:n.CODE128,CODE128A:n.CODE128A,CODE128B:n.CODE128B,CODE128C:n.CODE128C,EAN13:a.EAN13,EAN8:a.EAN8,EAN5:a.EAN5,EAN2:a.EAN2,UPC:a.UPC,UPCE:a.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:s.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:d.GenericBarcode}}),du=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};e.default=function(n,a){return t({},n,a)}}),Sue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var a=[];function i(r){if(Array.isArray(r))for(var s=0;s<r.length;s++)i(r[s]);else r.text=r.text||"",r.data=r.data||"",a.push(r)}return i(n),a}}),Due=Ae(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}}),u_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var a=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in a)a.hasOwnProperty(i)&&(i=a[i],typeof n[i]=="string"&&(n[i]=parseInt(n[i],10)));return typeof n.displayValue=="string"&&(n.displayValue=n.displayValue!="false"),n}}),h_=Ae(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}),Iue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=u_(),n=r(t),a=h_(),i=r(a);function r(l){return l&&l.__esModule?l:{default:l}}function s(l){var c={};for(var d in i.default)i.default.hasOwnProperty(d)&&(l.hasAttribute("jsbarcode-"+d.toLowerCase())&&(c[d]=l.getAttribute("jsbarcode-"+d.toLowerCase())),l.hasAttribute("data-"+d.toLowerCase())&&(c[d]=l.getAttribute("data-"+d.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,n.default)(c),c}e.default=s}),p_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=du(),n=a(t);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,p){return p.height+(p.displayValue&&u.text.length>0?p.fontSize+p.textMargin:0)+p.marginTop+p.marginBottom}function r(u,p,b){if(b.displayValue&&p<u){if(b.textAlign=="center")return Math.floor((u-p)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(u-p)}return 0}function s(u,p,b){for(var g=0;g<u.length;g++){var w=u[g],k=(0,n.default)(p,w.options),S;k.displayValue?S=d(w.text,k,b):S=0;var A=w.data.length*k.width;w.width=Math.ceil(Math.max(S,A)),w.height=i(w,k),w.barcodePadding=r(S,A,k)}}function l(u){for(var p=0,b=0;b<u.length;b++)p+=u[b].width;return p}function c(u){for(var p=0,b=0;b<u.length;b++)u[b].height>p&&(p=u[b].height);return p}function d(u,p,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=p.fontOptions+" "+p.fontSize+"px "+p.font;var w=g.measureText(u);if(!w)return 0;var k=w.width;return k}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=i,e.getBarcodePadding=r,e.calculateEncodingAttributes=s,e.getTotalWidthOfEncodings=l}),Oue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,u){for(var p=0;p<u.length;p++){var b=u[p];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,u,p){return u&&c(d.prototype,u),p&&c(d,p),d}}(),n=du(),a=r(n),i=p_();function r(c){return c&&c.__esModule?c:{default:c}}function s(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(d,u,p){s(this,c),this.canvas=d,this.encodings=u,this.options=p}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,a.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,i.calculateEncodingAttributes)(this.encodings,this.options,d);var u=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=u+this.options.marginLeft+this.options.marginRight,this.canvas.height=p,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 p=this.canvas.getContext("2d"),b=u.data,g;d.textPosition=="top"?g=d.marginTop+d.fontSize+d.textMargin:g=d.marginTop,p.fillStyle=d.lineColor;for(var w=0;w<b.length;w++){var k=w*d.width+u.barcodePadding;b[w]==="1"?p.fillRect(k,g,d.width,d.height):b[w]&&p.fillRect(k,g,d.width,d.height*b[w])}}},{key:"drawCanvasText",value:function(d,u){var p=this.canvas.getContext("2d"),b=d.fontOptions+" "+d.fontSize+"px "+d.font;if(d.displayValue){var g,w;d.textPosition=="top"?w=d.marginTop+d.fontSize-d.textMargin:w=d.height+d.textMargin+d.marginTop+d.fontSize,p.font=b,d.textAlign=="left"||u.barcodePadding>0?(g=0,p.textAlign="left"):d.textAlign=="right"?(g=u.width-1,p.textAlign="right"):(g=u.width/2,p.textAlign="center"),p.fillText(u.text,g,w)}}},{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}),Tue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=du(),a=r(n),i=p_();function r(d){return d&&d.__esModule?d:{default:d}}function s(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function d(u,p,b){s(this,d),this.svg=u,this.encodings=p,this.options=b,this.document=b.xmlDocument||document}return t(d,[{key:"render",value:function(){var u=this.options.marginLeft;this.prepareSVG();for(var p=0;p<this.encodings.length;p++){var b=this.encodings[p],g=(0,a.default)(this.options,b.options),w=this.createGroup(u,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),u+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,i.calculateEncodingAttributes)(this.encodings,this.options);var u=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings),b=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,p),this.options.background&&this.drawRect(0,0,b,p,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(u,p,b){var g=b.data,w;p.textPosition=="top"?w=p.fontSize+p.textMargin:w=0;for(var k=0,S=0,A=0;A<g.length;A++)S=A*p.width+b.barcodePadding,g[A]==="1"?k++:k>0&&(this.drawRect(S-p.width*k,w,p.width*k,p.height,u),k=0);k>0&&this.drawRect(S-p.width*(k-1),w,p.width*k,p.height,u)}},{key:"drawSVGText",value:function(u,p,b){var g=this.document.createElementNS(l,"text");if(p.displayValue){var w,k;g.setAttribute("font-family",p.font),g.setAttribute("font-size",p.fontSize),p.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),p.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),p.textPosition=="top"?k=p.fontSize-p.textMargin:k=p.height+p.textMargin+p.fontSize,p.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):p.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",k),g.appendChild(this.document.createTextNode(b.text)),u.appendChild(g)}}},{key:"setSvgAttributes",value:function(u,p){var b=this.svg;b.setAttribute("width",u+"px"),b.setAttribute("height",p+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+u+" "+p),b.setAttribute("xmlns",l),b.setAttribute("version","1.1")}},{key:"createGroup",value:function(u,p,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+u+", "+p+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(u,p){u.setAttribute("fill",p.lineColor)}},{key:"drawRect",value:function(u,p,b,g,w){var k=this.document.createElementNS(l,"rect");return k.setAttribute("x",u),k.setAttribute("y",p),k.setAttribute("width",b),k.setAttribute("height",g),w.appendChild(k),k}}]),d}();e.default=c}),Aue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&i(r.prototype,s),l&&i(r,l),r}}();function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function(){function i(r,s,l){n(this,i),this.object=r,this.encodings=s,this.options=l}return t(i,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),i}();e.default=a}),Rue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Oue(),n=l(t),a=Tue(),i=l(a),r=Aue(),s=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:i.default,ObjectRenderer:s.default}}),m_=Ae(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 a(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 i=function(l){a(c,l);function c(d,u){t(this,c);var p=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return p.name="InvalidInputException",p.symbology=d,p.input=u,p.message='"'+p.input+'" is not a valid input for '+p.symbology,p}return c}(Error),r=function(l){a(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="InvalidElementException",d.message="Not supported type to render on",d}return c}(Error),s=function(l){a(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=i,e.InvalidElementException=r,e.NoElementException=s}),Pue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},n=Iue(),a=l(n),i=Rue(),r=l(i),s=m_();function l(p){return p&&p.__esModule?p:{default:p}}function c(p){if(typeof p=="string")return d(p);if(Array.isArray(p)){for(var b=[],g=0;g<p.length;g++)b.push(c(p[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLImageElement)return u(p);if(p&&p.nodeName&&p.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&p instanceof SVGElement)return{element:p,options:(0,a.default)(p),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLCanvasElement)return{element:p,options:(0,a.default)(p),renderer:r.default.CanvasRenderer};if(p&&p.getContext)return{element:p,renderer:r.default.CanvasRenderer};if(p&&(typeof p>"u"?"undefined":t(p))==="object"&&!p.nodeName)return{element:p,renderer:r.default.ObjectRenderer};throw new s.InvalidElementException}}function d(p){var b=document.querySelectorAll(p);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(c(b[w]));return g}}function u(p){var b=document.createElement("canvas");return{element:b,options:(0,a.default)(p),renderer:r.default.CanvasRenderer,afterRender:function(){p.setAttribute("src",b.toDataURL())}}}e.default=c}),Mue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&i(r.prototype,s),l&&i(r,l),r}}();function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function(){function i(r){n(this,i),this.api=r}return t(i,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var s=r.apply(void 0,arguments);return this.api._options.valid(!0),s}catch(l){return this.handleCatch(l),this.api}}}]),i}();e.default=a}),Nue=Ae((e,t)=>{var n=Cue(),a=j(n),i=du(),r=j(i),s=Sue(),l=j(s),c=Due(),d=j(c),u=Pue(),p=j(u),b=u_(),g=j(b),w=Mue(),k=j(w),S=m_(),A=h_(),B=j(A);function j(ge){return ge&&ge.__esModule?ge:{default:ge}}var ve=function(){},Me=function(ge,se,qe){var $=new ve;if(typeof ge>"u")throw Error("No element to render on was provided.");return $._renderProperties=(0,p.default)(ge),$._encodings=[],$._options=B.default,$._errorHandler=new k.default($),typeof se<"u"&&(qe=qe||{},qe.format||(qe.format=Pt()),$.options(qe)[qe.format](se,qe).render()),$};Me.getModule=function(ge){return a.default[ge]};for(He in a.default)a.default.hasOwnProperty(He)&&xa(a.default,He);var He;function xa(ge,se){ve.prototype[se]=ve.prototype[se.toUpperCase()]=ve.prototype[se.toLowerCase()]=function(qe,$){var Q=this;return Q._errorHandler.wrapBarcodeCall(function(){$.text=typeof $.text>"u"?void 0:""+$.text;var ue=(0,r.default)(Q._options,$);ue=(0,g.default)(ue);var Qe=ge[se],Tt=na(qe,Qe,ue);return Q._encodings.push(Tt),Q})}}function na(ge,se,qe){ge=""+ge;var $=new se(ge,qe);if(!$.valid())throw new S.InvalidInputException($.constructor.name,ge);var Q=$.encode();Q=(0,l.default)(Q);for(var ue=0;ue<Q.length;ue++)Q[ue].options=(0,r.default)(qe,Q[ue].options);return Q}function Pt(){return a.default.CODE128?"CODE128":Object.keys(a.default)[0]}ve.prototype.options=function(ge){return this._options=(0,r.default)(this._options,ge),this},ve.prototype.blank=function(ge){var se=new Array(ge+1).join("0");return this._encodings.push({data:se}),this},ve.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ge;for(var se in this._renderProperties){ge=this._renderProperties[se];var qe=(0,r.default)(this._options,ge.options);qe.format=="auto"&&(qe.format=Pt()),this._errorHandler.wrapBarcodeCall(function(){var $=qe.value,Q=a.default[qe.format.toUpperCase()],ue=na($,Q,qe);pa(ge,ue,qe)})}}},ve.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var ge=0;ge<this._renderProperties.length;ge++)pa(this._renderProperties[ge],this._encodings,this._options);else pa(this._renderProperties,this._encodings,this._options);return this},ve.prototype._defaults=B.default;function pa(ge,se,qe){se=(0,l.default)(se);for(var $=0;$<se.length;$++)se[$].options=(0,r.default)(qe,se[$].options),(0,d.default)(se[$].options);(0,d.default)(qe);var Q=ge.renderer,ue=new Q(ge.element,se,qe);ue.render(),ge.afterRender&&ge.afterRender()}typeof window<"u"&&(window.JsBarcode=Me),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ge,se){var qe=[];return jQuery(this).each(function(){qe.push(this)}),Me(qe,ge,se)}),t.exports=Me});function Xm(e,t){return Object.is(e,t)}var oa=null,td=!1,Jm=1,Ha=Symbol("SIGNAL");function Ke(e){let t=oa;return oa=e,t}function Lue(){return oa}var cs={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 Ll(e){if(td)throw new Error("");if(oa===null)return;oa.consumerOnSignalRead(e);let t=oa.nextProducerIndex++;if(mu(oa),t<oa.producerNode.length&&oa.producerNode[t]!==e&&cl(oa)){let n=oa.producerNode[t];pu(n,oa.producerIndexOfThis[t])}oa.producerNode[t]!==e&&(oa.producerNode[t]=e,oa.producerIndexOfThis[t]=cl(oa)?b_(e,oa,t):0),oa.producerLastReadVersion[t]=e.version}function Fue(){Jm++}function Fl(e){if(!(cl(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Jm)){if(!e.producerMustRecompute(e)&&!ef(e)){_d(e);return}e.producerRecomputeValue(e),_d(e)}}function f_(e){if(e.liveConsumerNode===void 0)return;let t=td;td=!0;try{for(let n of e.liveConsumerNode)n.dirty||Vue(n)}finally{td=t}}function g_(){return(oa==null?void 0:oa.consumerAllowSignalWrites)!==!1}function Vue(e){var t;e.dirty=!0,f_(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function _d(e){e.dirty=!1,e.lastCleanEpoch=Jm}function ll(e){return e&&(e.nextProducerIndex=0),Ke(e)}function uu(e,t){if(Ke(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(cl(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)pu(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ef(e){mu(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],a=e.producerLastReadVersion[t];if(a!==n.version||(Fl(n),a!==n.version))return!0}return!1}function hu(e){if(mu(e),cl(e))for(let t=0;t<e.producerNode.length;t++)pu(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 b_(e,t,n){if(v_(e),e.liveConsumerNode.length===0&&y_(e))for(let a=0;a<e.producerNode.length;a++)e.producerIndexOfThis[a]=b_(e.producerNode[a],e,a);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function pu(e,t){if(v_(e),e.liveConsumerNode.length===1&&y_(e))for(let a=0;a<e.producerNode.length;a++)pu(e.producerNode[a],e.producerIndexOfThis[a]);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 a=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];mu(i),i.producerIndexOfThis[a]=t}}function cl(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function mu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function v_(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function y_(e){return e.producerNode!==void 0}function __(e,t){let n=Object.create(zue);n.computation=e,t!==void 0&&(n.equal=t);let a=()=>{if(Fl(n),Ll(n),n.value===dr)throw n.error;return n.value};return a[Ha]=n,a}var jr=Symbol("UNSET"),zo=Symbol("COMPUTING"),dr=Symbol("ERRORED"),zue=dt(pe({},cs),{value:jr,dirty:!0,error:null,equal:Xm,kind:"computed",producerMustRecompute(e){return e.value===jr||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=zo;let n=ll(e),a,i=!1;try{a=e.computation(),Ke(null),i=t!==jr&&t!==dr&&a!==dr&&e.equal(t,a)}catch(r){a=dr,e.error=r}finally{uu(e,n)}if(i){e.value=t;return}e.value=a,e.version++}});function Bue(){throw new Error}var x_=Bue;function w_(e){x_(e)}function jue(e){x_=e}function Hue(e,t){let n=Object.create(E_);n.value=e,t!==void 0&&(n.equal=t);let a=()=>(Ll(n),n.value);return a[Ha]=n,a}function Vl(e,t){g_()||w_(e),e.equal(e.value,t)||(e.value=t,Uue(e))}function k_(e,t){g_()||w_(e),Vl(e,t(e.value))}var E_=dt(pe({},cs),{equal:Xm,value:void 0,kind:"signal"});function Uue(e){e.version++,Fue(),f_(e)}function P0(e,t,n){let a=Object.create(Gue);a.source=e,a.computation=t,n!=null&&(a.equal=n);let i=()=>{if(Fl(a),Ll(a),a.value===dr)throw a.error;return a.value};return i[Ha]=a,i}function Wue(e,t){Fl(e),Vl(e,t),_d(e)}function que(e,t){Fl(e),k_(e,t),_d(e)}var Gue=dt(pe({},cs),{value:jr,dirty:!0,error:null,equal:Xm,kind:"linkedSignal",producerMustRecompute(e){return e.value===jr||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=zo;let n=ll(e),a;try{let i=e.source(),r=t===jr||t===dr?void 0:{source:e.sourceValue,value:t};a=e.computation(i,r),e.sourceValue=i}catch(i){a=dr,e.error=i}finally{uu(e,n)}if(t!==jr&&a!==dr&&e.equal(t,a)){e.value=t;return}e.value=a,e.version++}});function $ue(e){let t=Ke(null);try{return e()}finally{Ke(t)}}var Sp;function ad(){return Sp}function ir(e){let t=Sp;return Sp=e,t}var C_=Symbol("NotFound");function Lt(e){return typeof e=="function"}function tf(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 gh=tf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
13
  ${t.map((n,a)=>`${a+1}) ${n.toString()}`).join(`
14
14
  `)}`:"",this.name="UnsubscriptionError",this.errors=t});function xd(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ye=class Dp{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:a}=this;if(Lt(a))try{a()}catch(r){t=r instanceof gh?r.errors:[r]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let r of i)try{M0(r)}catch(s){t=t??[],s instanceof gh?t=[...t,...s.errors]:t.push(s)}}if(t)throw new gh(t)}}add(t){var n;if(t&&t!==this)if(this.closed)M0(t);else{if(t instanceof Dp){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)&&xd(n,t)}remove(t){let{_finalizers:n}=this;n&&xd(n,t),t instanceof Dp&&t._removeParent(this)}};Ye.EMPTY=(()=>{let e=new Ye;return e.closed=!0,e})();var S_=Ye.EMPTY;function D_(e){return e instanceof Ye||e&&"closed"in e&&Lt(e.remove)&&Lt(e.add)&&Lt(e.unsubscribe)}function M0(e){Lt(e)?e():e.unsubscribe()}var Yue={Promise:void 0},Zue={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function I_(e){Zue.setTimeout(()=>{throw e})}function Ip(){}function id(e){e()}var af=class extends Ye{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,D_(e)&&e.add(this)):this.destination=Xue}static create(e,t,n){return new dl(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()}}},Kue=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){kc(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){kc(n)}else kc(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){kc(t)}}},dl=class extends af{constructor(e,t,n){super();let a;Lt(e)||!e?a={next:e??void 0,error:t??void 0,complete:n??void 0}:a=e,this.destination=new Kue(a)}};function kc(e){I_(e)}function Que(e){throw e}var Xue={closed:!0,next:Ip,error:Que,complete:Ip},nf=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ds(e){return e}function Jue(e){return e.length===0?ds:e.length===1?e[0]:function(t){return e.reduce((n,a)=>a(n),t)}}var Ot=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let a=new e;return a.source=this,a.operator=n,a}subscribe(n,a,i){let r=the(n)?n:new dl(n,a,i);return id(()=>{let{operator:s,source:l}=this;r.add(s?s.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(a){n.error(a)}}forEach(n,a){return a=N0(a),new a((i,r)=>{let s=new dl({next:l=>{try{n(l)}catch(c){r(c),s.unsubscribe()}},error:r,complete:i});this.subscribe(s)})}_subscribe(n){var a;return(a=this.source)===null||a===void 0?void 0:a.subscribe(n)}[nf](){return this}pipe(...n){return Jue(n)(this)}toPromise(n){return n=N0(n),new n((a,i)=>{let r;this.subscribe(s=>r=s,s=>i(s),()=>a(r))})}}return e.create=t=>new e(t),e})();function N0(e){var t;return(t=e??Yue.Promise)!==null&&t!==void 0?t:Promise}function ehe(e){return e&&Lt(e.next)&&Lt(e.error)&&Lt(e.complete)}function the(e){return e&&e instanceof af||ehe(e)&&D_(e)}function O_(e){return Lt(e==null?void 0:e.lift)}function Da(e){return t=>{if(O_(t))return t.lift(function(n){try{return e(n,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}function da(e,t,n,a,i){return new ahe(e,t,n,a,i)}var ahe=class extends af{constructor(e,t,n,a,i,r){super(e),this.onFinalize=i,this.shouldUnsubscribe=r,this._next=t?function(s){try{t(s)}catch(l){e.error(l)}}:super._next,this._error=a?function(s){try{a(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function ihe(){return Da((e,t)=>{let n=null;e._refCount++;let a=da(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let i=e._connection,r=n;n=null,i&&(!r||i===r)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(a),a.closed||(n=e.connect())})}var nhe=class extends Ot{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,O_(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Ye;let t=this.getSubject();e.add(this.source.subscribe(da(t,void 0,()=>{this._teardown(),t.complete()},n=>{this._teardown(),t.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Ye.EMPTY)}return e}refCount(){return ihe()(this)}},rhe=tf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),me=(()=>{class e extends Ot{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let a=new L0(this,this);return a.operator=n,a}_throwIfClosed(){if(this.closed)throw new rhe}next(n){id(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let a of this.currentObservers)a.next(n)}})}error(n){id(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:a}=this;for(;a.length;)a.shift().error(n)}})}complete(){id(()=>{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:a,isStopped:i,observers:r}=this;return a||i?S_:(this.currentObservers=null,r.push(n),new Ye(()=>{this.currentObservers=null,xd(r,n)}))}_checkFinalizedStatuses(n){let{hasError:a,thrownError:i,isStopped:r}=this;a?n.error(i):r&&n.complete()}asObservable(){let n=new Ot;return n.source=this,n}}return e.create=(t,n)=>new L0(t,n),e})(),L0=class extends me{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:S_}},Gr=class extends me{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)}},rf={now(){return(rf.delegate||Date).now()},delegate:void 0},of=class extends me{constructor(e=1/0,t=1/0,n=rf){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:a,_timestampProvider:i,_windowTime:r}=this;t||(n.push(e),!a&&n.push(i.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:a}=this,i=a.slice();for(let r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:a}=this,i=(a?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!a){let r=t.now(),s=0;for(let l=1;l<n.length&&n[l]<=r;l+=2)s=l;s&&n.splice(0,s+1)}}},ohe=class extends Ye{constructor(e,t){super()}schedule(e,t=0){return this}},Op={setInterval(e,t,...n){let{delegate:a}=Op;return a!=null&&a.setInterval?a.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return clearInterval(e)},delegate:void 0},she=class extends ohe{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 a=this.id,i=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(i,a,t)),this.pending=!0,this.delay=t,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return Op.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&&Op.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,a;try{this.work(e)}catch(i){n=!0,a=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),a}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,xd(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},Tp=class T_{constructor(t,n=T_.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,a){return new this.schedulerActionCtor(this,t).schedule(a,n)}};Tp.now=rf.now;var lhe=class extends Tp{constructor(e,t=Tp.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}}},sf=new lhe(she),che=sf,zl=new Ot(e=>e.complete());function A_(e){return e&&Lt(e.schedule)}function lf(e){return e[e.length-1]}function R_(e){return Lt(lf(e))?e.pop():void 0}function Bl(e){return A_(lf(e))?e.pop():void 0}function dhe(e,t){return typeof lf(e)=="number"?e.pop():t}function uhe(e,t,n,a){function i(r){return r instanceof n?r:new n(function(s){s(r)})}return new(n||(n=Promise))(function(r,s){function l(u){try{d(a.next(u))}catch(p){s(p)}}function c(u){try{d(a.throw(u))}catch(p){s(p)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((a=a.apply(e,[])).next())})}function F0(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Bo(e){return this instanceof Bo?(this.v=e,this):new Bo(e)}function hhe(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=n.apply(e,t||[]),i,r=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(g){return function(w){return Promise.resolve(w).then(g,p)}}function l(g,w){a[g]&&(i[g]=function(k){return new Promise(function(S,A){r.push([g,k,S,A])>1||c(g,k)})},w&&(i[g]=w(i[g])))}function c(g,w){try{d(a[g](w))}catch(k){b(r[0][3],k)}}function d(g){g.value instanceof Bo?Promise.resolve(g.value.v).then(u,p):b(r[0][2],g)}function u(g){c("next",g)}function p(g){c("throw",g)}function b(g,w){g(w),r.shift(),r.length&&c(r[0][0],r[0][1])}}function phe(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 F0=="function"?F0(e):e[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(r){n[r]=e[r]&&function(s){return new Promise(function(l,c){s=e[r](s),i(l,c,s.done,s.value)})}}function i(r,s,l,c){Promise.resolve(c).then(function(d){r({value:d,done:l})},s)}}var P_=e=>e&&typeof e.length=="number"&&typeof e!="function";function M_(e){return Lt(e==null?void 0:e.then)}function N_(e){return Lt(e[nf])}function L_(e){return Symbol.asyncIterator&&Lt(e==null?void 0:e[Symbol.asyncIterator])}function F_(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 mhe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var V_=mhe();function z_(e){return Lt(e==null?void 0:e[V_])}function B_(e){return hhe(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:a}=yield Bo(t.read());if(a)return yield Bo(void 0);yield yield Bo(n)}}finally{t.releaseLock()}})}function j_(e){return Lt(e==null?void 0:e.getReader)}function hi(e){if(e instanceof Ot)return e;if(e!=null){if(N_(e))return fhe(e);if(P_(e))return ghe(e);if(M_(e))return bhe(e);if(L_(e))return H_(e);if(z_(e))return vhe(e);if(j_(e))return yhe(e)}throw F_(e)}function fhe(e){return new Ot(t=>{let n=e[nf]();if(Lt(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ghe(e){return new Ot(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function bhe(e){return new Ot(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,I_)})}function vhe(e){return new Ot(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function H_(e){return new Ot(t=>{_he(e,t).catch(n=>t.error(n))})}function yhe(e){return H_(B_(e))}function _he(e,t){var n,a,i,r;return uhe(this,void 0,void 0,function*(){try{for(n=phe(e);a=yield n.next(),!a.done;){let s=a.value;if(t.next(s),t.closed)return}}catch(s){i={error:s}}finally{try{a&&!a.done&&(r=n.return)&&(yield r.call(n))}finally{if(i)throw i.error}}t.complete()})}function jn(e,t,n,a=0,i=!1){let r=t.schedule(function(){n(),i?e.add(this.schedule(null,a)):this.unsubscribe()},a);if(e.add(r),!i)return r}function U_(e,t=0){return Da((n,a)=>{n.subscribe(da(a,i=>jn(a,e,()=>a.next(i),t),()=>jn(a,e,()=>a.complete(),t),i=>jn(a,e,()=>a.error(i),t)))})}function W_(e,t=0){return Da((n,a)=>{a.add(e.schedule(()=>n.subscribe(a),t))})}function xhe(e,t){return hi(e).pipe(W_(t),U_(t))}function whe(e,t){return hi(e).pipe(W_(t),U_(t))}function khe(e,t){return new Ot(n=>{let a=0;return t.schedule(function(){a===e.length?n.complete():(n.next(e[a++]),n.closed||this.schedule())})})}function Ehe(e,t){return new Ot(n=>{let a;return jn(n,t,()=>{a=e[V_](),jn(n,t,()=>{let i,r;try{({value:i,done:r}=a.next())}catch(s){n.error(s);return}r?n.complete():n.next(i)},0,!0)}),()=>Lt(a==null?void 0:a.return)&&a.return()})}function q_(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ot(n=>{jn(n,t,()=>{let a=e[Symbol.asyncIterator]();jn(n,t,()=>{a.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Che(e,t){return q_(B_(e),t)}function She(e,t){if(e!=null){if(N_(e))return xhe(e,t);if(P_(e))return khe(e,t);if(M_(e))return whe(e,t);if(L_(e))return q_(e,t);if(z_(e))return Ehe(e,t);if(j_(e))return Che(e,t)}throw F_(e)}function wr(e,t){return t?She(e,t):hi(e)}function bt(...e){let t=Bl(e);return wr(e,t)}function Dhe(e,t){let n=Lt(e)?e:()=>e,a=i=>i.error(n());return new Ot(a)}function jo(e){return!!e&&(e instanceof Ot||Lt(e.lift)&&Lt(e.subscribe))}var Ihe=tf(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ohe(e,t){return new Promise((n,a)=>{let i=!1,r;e.subscribe({next:s=>{r=s,i=!0},error:a,complete:()=>{i?n(r):a(new Ihe)}})})}function The(e){return e instanceof Date&&!isNaN(e)}function It(e,t){return Da((n,a)=>{let i=0;n.subscribe(da(a,r=>{a.next(e.call(t,r,i++))}))})}var{isArray:Ahe}=Array;function Rhe(e,t){return Ahe(t)?e(...t):e(t)}function G_(e){return It(t=>Rhe(e,t))}var{isArray:Phe}=Array,{getPrototypeOf:Mhe,prototype:Nhe,keys:Lhe}=Object;function $_(e){if(e.length===1){let t=e[0];if(Phe(t))return{args:t,keys:null};if(Fhe(t)){let n=Lhe(t);return{args:n.map(a=>t[a]),keys:n}}}return{args:e,keys:null}}function Fhe(e){return e&&typeof e=="object"&&Mhe(e)===Nhe}function Y_(e,t){return e.reduce((n,a,i)=>(n[a]=t[i],n),{})}function nd(...e){let t=Bl(e),n=R_(e),{args:a,keys:i}=$_(e);if(a.length===0)return wr([],t);let r=new Ot(Vhe(a,t,i?s=>Y_(i,s):ds));return n?r.pipe(G_(n)):r}function Vhe(e,t,n=ds){return a=>{V0(t,()=>{let{length:i}=e,r=new Array(i),s=i,l=i;for(let c=0;c<i;c++)V0(t,()=>{let d=wr(e[c],t),u=!1;d.subscribe(da(a,p=>{r[c]=p,u||(u=!0,l--),l||a.next(n(r.slice()))},()=>{--s||a.complete()}))},a)},a)}}function V0(e,t,n){e?jn(n,e,t):t()}function zhe(e,t,n,a,i,r,s,l){let c=[],d=0,u=0,p=!1,b=()=>{p&&!c.length&&!d&&t.complete()},g=k=>d<a?w(k):c.push(k),w=k=>{d++;let S=!1;hi(n(k,u++)).subscribe(da(t,A=>{t.next(A)},()=>{S=!0},void 0,()=>{if(S)try{for(d--;c.length&&d<a;){let A=c.shift();s?jn(t,s,()=>w(A)):w(A)}b()}catch(A){t.error(A)}}))};return e.subscribe(da(t,g,()=>{p=!0,b()})),()=>{}}function ul(e,t,n=1/0){return Lt(t)?ul((a,i)=>It((r,s)=>t(a,r,i,s))(hi(e(a,i))),n):(typeof t=="number"&&(n=t),Da((a,i)=>zhe(a,i,e,n)))}function Z_(e=1/0){return ul(ds,e)}function Bhe(){return Z_(1)}function hl(...e){return Bhe()(wr(e,Bl(e)))}function pl(e){return new Ot(t=>{hi(e()).subscribe(t)})}function cf(...e){let t=R_(e),{args:n,keys:a}=$_(e),i=new Ot(r=>{let{length:s}=n;if(!s){r.complete();return}let l=new Array(s),c=s,d=s;for(let u=0;u<s;u++){let p=!1;hi(n[u]).subscribe(da(r,b=>{p||(p=!0,d--),l[u]=b},()=>c--,void 0,()=>{(!c||!p)&&(d||r.next(a?Y_(a,l):l),r.complete())}))}});return t?i.pipe(G_(t)):i}function K_(e=0,t,n=che){let a=-1;return t!=null&&(A_(t)?n=t:a=t),new Ot(i=>{let r=The(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=a?this.schedule(void 0,a):i.complete())},r)})}function va(...e){let t=Bl(e),n=dhe(e,1/0),a=e;return a.length?a.length===1?hi(a[0]):Z_(n)(wr(a,t)):zl}function sa(e,t){return Da((n,a)=>{let i=0;n.subscribe(da(a,r=>e.call(t,r,i++)&&a.next(r)))})}function jhe(e){return Da((t,n)=>{let a=!1,i=null,r=null,s=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,a){a=!1;let d=i;i=null,n.next(d)}s&&n.complete()},c=()=>{r=null,s&&n.complete()};t.subscribe(da(n,d=>{a=!0,i=d,r||hi(e(d)).subscribe(r=da(n,l,c))},()=>{s=!0,(!a||!r||r.closed)&&n.complete()}))})}function Q_(e,t=sf){return jhe(()=>K_(e,t))}function X_(e){return Da((t,n)=>{let a=null,i=!1,r;a=t.subscribe(da(n,void 0,void 0,s=>{r=hi(e(s,X_(e)(t))),a?(a.unsubscribe(),a=null,r.subscribe(n)):i=!0})),i&&(a.unsubscribe(),a=null,r.subscribe(n))})}function J_(e,t){return Lt(t)?ul(e,t,1):ul(e,1)}function fu(e,t=sf){return Da((n,a)=>{let i=null,r=null,s=null,l=()=>{if(i){i.unsubscribe(),i=null;let d=r;r=null,a.next(d)}};function c(){let d=s+e,u=t.now();if(u<d){i=this.schedule(void 0,d-u),a.add(i);return}l()}n.subscribe(da(a,d=>{r=d,s=t.now(),i||(i=t.schedule(c,e),a.add(i))},()=>{l(),a.complete()},void 0,()=>{r=i=null}))})}function ei(e){return e<=0?()=>zl:Da((t,n)=>{let a=0;t.subscribe(da(n,i=>{++a<=e&&(n.next(i),e<=a&&n.complete())}))})}function Hhe(e,t=ds){return e=e??Uhe,Da((n,a)=>{let i,r=!0;n.subscribe(da(a,s=>{let l=t(s);(r||!e(i,l))&&(r=!1,i=l,a.next(s))}))})}function Uhe(e,t){return e===t}function e1(e){return Da((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Whe(){return Da((e,t)=>{let n,a=!1;e.subscribe(da(t,i=>{let r=n;n=i,a&&t.next([r,i]),a=!0}))})}function t1(e={}){let{connector:t=()=>new me,resetOnError:n=!0,resetOnComplete:a=!0,resetOnRefCountZero:i=!0}=e;return r=>{let s,l,c,d=0,u=!1,p=!1,b=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{b(),s=c=void 0,u=p=!1},w=()=>{let k=s;g(),k==null||k.unsubscribe()};return Da((k,S)=>{d++,!p&&!u&&b();let A=c=c??t();S.add(()=>{d--,d===0&&!p&&!u&&(l=bh(w,i))}),A.subscribe(S),!s&&d>0&&(s=new dl({next:B=>A.next(B),error:B=>{p=!0,b(),l=bh(g,n,B),A.error(B)},complete:()=>{u=!0,b(),l=bh(g,a),A.complete()}}),hi(k).subscribe(s))})(r)}}function bh(e,t,...n){if(t===!0){e();return}if(t===!1)return;let a=new dl({next:()=>{a.unsubscribe(),e()}});return hi(t(...n)).subscribe(a)}function Ap(e,t,n){let a,i=!1;return e&&typeof e=="object"?{bufferSize:a=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:n}=e:a=e??1/0,t1({connector:()=>new of(a,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function df(e){return sa((t,n)=>e<=n)}function Aa(...e){let t=Bl(e);return Da((n,a)=>{(t?hl(e,n,t):hl(e,n)).subscribe(a)})}function gr(e,t){return Da((n,a)=>{let i=null,r=0,s=!1,l=()=>s&&!i&&a.complete();n.subscribe(da(a,c=>{i==null||i.unsubscribe();let d=0,u=r++;hi(e(c,u)).subscribe(i=da(a,p=>a.next(t?t(c,p,u,d++):p),()=>{i=null,l()}))},()=>{s=!0,l()}))})}function Ht(e){return Da((t,n)=>{hi(e).subscribe(da(n,()=>n.complete(),Ip)),!n.closed&&t.subscribe(n)})}function qhe(e,t=!1){return Da((n,a)=>{let i=0;n.subscribe(da(a,r=>{let s=e(r,i++);(s||t)&&a.next(r),!s&&a.complete()}))})}function rd(e,t,n){let a=Lt(e)||t||n?{next:e,error:t,complete:n}:e;return a?Da((i,r)=>{var s;(s=a.subscribe)===null||s===void 0||s.call(a);let l=!0;i.subscribe(da(r,c=>{var d;(d=a.next)===null||d===void 0||d.call(a,c),r.next(c)},()=>{var c;l=!1,(c=a.complete)===null||c===void 0||c.call(a),r.complete()},c=>{var d;l=!1,(d=a.error)===null||d===void 0||d.call(a,c),r.error(c)},()=>{var c,d;l&&((c=a.unsubscribe)===null||c===void 0||c.call(a)),(d=a.finalize)===null||d===void 0||d.call(a)}))}):ds}var a1="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",ae=class extends Error{constructor(t,n){super(i1(t,n));o(this,"code");this.code=t}};function Ghe(e){return`NG0${Math.abs(e)}`}function i1(e,t){return`${Ghe(e)}${t?": "+t:""}`}var gu=Symbol("InputSignalNode#UNSET"),n1=dt(pe({},E_),{transformFn:void 0,applyValueToInputSignal(e,t){Vl(e,t)}});function r1(e,t){let n=Object.create(n1);n.value=e,n.transformFn=t==null?void 0:t.transform;function a(){if(Ll(n),n.value===gu){let i=null;throw new ae(-950,i)}return n.value}return a[Ha]=n,a}function jl(e){return{toString:e}.toString()}var Ec="__parameters__";function $he(e){return function(...t){}}function o1(e,t,n){return jl(()=>{let a=$he();function i(...r){if(this instanceof i)return a.apply(this,r),this;let s=new i(...r);return l.annotation=s,l;function l(c,d,u){let p=c.hasOwnProperty(Ec)?c[Ec]:Object.defineProperty(c,Ec,{value:[]})[Ec];for(;p.length<=u;)p.push(null);return(p[u]=p[u]||[]).push(s),c}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var or=globalThis;function Ft(e){for(let t in e)if(e[t]===Ft)return t;throw Error("Could not find renamed property on target object.")}function Yhe(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ri(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ri).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 a=n.indexOf(`
15
15
  `);return a>=0?n.slice(0,a):n}function Rp(e,t){return e?t?`${e} ${t}`:e:t||""}var Zhe=Ft({__forward_ref__:Ft});function co(e){return e.__forward_ref__=co,e.toString=function(){return Ri(this())},e}function La(e){return s1(e)?e():e}function s1(e){return typeof e=="function"&&e.hasOwnProperty(Zhe)&&e.__forward_ref__===co}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function uf(e){return z0(e,l1)||z0(e,c1)}function z0(e,t){return e.hasOwnProperty(t)?e[t]:null}function Khe(e){return e&&(e[l1]||e[c1])||null}function B0(e){return e&&(e.hasOwnProperty(j0)||e.hasOwnProperty(Qhe))?e[j0]:null}var l1=Ft({ɵprov:Ft}),j0=Ft({ɵinj:Ft}),c1=Ft({ngInjectableDef:Ft}),Qhe=Ft({ngInjectorDef:Ft}),Y=class{constructor(e,t){o(this,"_desc");o(this,"ngMetadataName","InjectionToken");o(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=Z({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function d1(e){return e&&!!e.ɵproviders}var Xhe=Ft({ɵcmp:Ft}),Jhe=Ft({ɵdir:Ft}),epe=Ft({ɵpipe:Ft}),wd=Ft({ɵfac:Ft}),tl=Ft({__NG_ELEMENT_ID__:Ft}),H0=Ft({__NG_ENV_ID__:Ft});function Zr(e){return typeof e=="string"?e:e==null?"":String(e)}function tpe(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Zr(e)}function u1(e,t){throw new ae(-200,e)}function hf(e,t){throw new ae(-201,!1)}var Xe=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}(Xe||{}),Pp;function h1(){return Pp}function ci(e){let t=Pp;return Pp=e,t}function p1(e,t,n){let a=uf(e);if(a&&a.providedIn=="root")return a.value===void 0?a.value=a.factory():a.value;if(n&Xe.Optional)return null;if(t!==void 0)return t;hf()}var ape={},$r=ape,Mp="__NG_DI_FLAG__",m1=class{constructor(e){o(this,"injector");this.injector=e}retrieve(e,t){let n=t;return this.injector.get(e,n.optional?C_:$r,n)}},kd="ngTempTokenPath",ipe="ngTokenPath",npe=/\n/gm,rpe="ɵ",U0="__source";function ope(e,t=Xe.Default){if(ad()===void 0)throw new ae(-203,!1);if(ad()===null)return p1(e,void 0,t);{let n=ad(),a;return n instanceof m1?a=n.injector:a=n,a.get(e,t&Xe.Optional?null:void 0,t)}}function Ce(e,t=Xe.Default){return(h1()||ope)(La(e),t)}function _(e,t=Xe.Default){return Ce(e,bu(t))}function bu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Np(e){let t=[];for(let n=0;n<e.length;n++){let a=La(e[n]);if(Array.isArray(a)){if(a.length===0)throw new ae(900,!1);let i,r=Xe.Default;for(let s=0;s<a.length;s++){let l=a[s],c=spe(l);typeof c=="number"?c===-1?i=l.token:r|=c:i=l}t.push(Ce(i,r))}else t.push(Ce(a))}return t}function f1(e,t){return e[Mp]=t,e.prototype[Mp]=t,e}function spe(e){return e[Mp]}function lpe(e,t,n,a){let i=e[kd];throw t[U0]&&i.unshift(t[U0]),e.message=cpe(`
16
16
  `+e.message,i,n,a),e[ipe]=i,e[kd]=null,e}function cpe(e,t,n,a=null){e=e&&e.charAt(0)===`
17
17
  `&&e.charAt(1)==rpe?e.slice(2):e;let i=Ri(t);if(Array.isArray(t))i=t.map(Ri).join(" -> ");else if(typeof t=="object"){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let l=t[s];r.push(s+":"+(typeof l=="string"?JSON.stringify(l):Ri(l)))}i=`{${r.join(", ")}}`}return`${n}${a?"("+a+")":""}[${i}]: ${e.replace(npe,`
18
- `)}`}var us=f1(o1("Optional"),8),hs=f1(o1("SkipSelf"),4);function Kr(e,t){return e.hasOwnProperty(wd)?e[wd]:null}function dpe(e,t,n){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){let i=e[a],r=t[a];if(n&&(i=n(i),r=n(r)),r!==i)return!1}return!0}function upe(e){return e.flat(Number.POSITIVE_INFINITY)}function pf(e,t){e.forEach(n=>Array.isArray(n)?pf(n,t):t(n))}function g1(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ed(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hpe(e,t){let n=[];for(let a=0;a<e;a++)n.push(t);return n}function ppe(e,t,n,a){let i=e.length;if(i==t)e.push(n,a);else if(i===1)e.push(a,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let r=i-2;e[i]=e[r],i--}e[t]=n,e[t+1]=a}}function vu(e,t,n){let a=Hl(e,t);return a>=0?e[a|1]=n:(a=~a,ppe(e,a,t,n)),a}function vh(e,t){let n=Hl(e,t);if(n>=0)return e[n|1]}function Hl(e,t){return mpe(e,t,1)}function mpe(e,t,n){let a=0,i=e.length>>n;for(;i!==a;){let r=a+(i-a>>1),s=e[r<<n];if(t===s)return r<<n;s>t?i=r:a=r+1}return~(i<<n)}var un={},ti=[],Cd=new Y(""),b1=new Y("",-1),v1=new Y(""),y1=class{get(e,t=$r){if(t===$r){let n=new Error(`NullInjectorError: No provider for ${Ri(e)}!`);throw n.name="NullInjectorError",n}return t}};function Zo(e){return e[Xhe]||null}function _1(e){return e[Jhe]||null}function fpe(e){return e[epe]||null}function mf(e){return{ɵproviders:e}}function gpe(...e){return{ɵproviders:x1(!0,e),ɵfromNgModule:!0}}function x1(e,...t){let n=[],a=new Set,i,r=s=>{n.push(s)};return pf(t,s=>{let l=s;Lp(l,r,[],a)&&(i||(i=[]),i.push(l))}),i!==void 0&&w1(i,r),n}function w1(e,t){for(let n=0;n<e.length;n++){let{ngModule:a,providers:i}=e[n];ff(i,r=>{t(r,a)})}}function Lp(e,t,n,a){if(e=La(e),!e)return!1;let i=null,r=B0(e),s=!r&&Zo(e);if(!r&&!s){let c=e.ngModule;if(r=B0(c),r)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=e}let l=a.has(i);if(s){if(l)return!1;if(a.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)Lp(d,t,n,a)}}else if(r){if(r.imports!=null&&!l){a.add(i);let d;try{pf(r.imports,u=>{Lp(u,t,n,a)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&w1(d,t)}if(!l){let d=Kr(i)||(()=>new i);t({provide:i,useFactory:d,deps:ti},i),t({provide:v1,useValue:i,multi:!0},i),t({provide:Cd,useValue:()=>Ce(i),multi:!0},i)}let c=r.providers;if(c!=null&&!l){let d=e;ff(c,u=>{t(u,d)})}}else return!1;return i!==e&&e.providers!==void 0}function ff(e,t){for(let n of e)d1(n)&&(n=n.ɵproviders),Array.isArray(n)?ff(n,t):t(n)}var bpe=Ft({provide:String,useValue:Ft});function k1(e){return e!==null&&typeof e=="object"&&bpe in e}function vpe(e){return!!(e&&e.useExisting)}function ype(e){return!!(e&&e.useFactory)}function Ko(e){return typeof e=="function"}function _pe(e){return!!e.useClass}var gf=new Y(""),od={},W0={},yh;function yu(){return yh===void 0&&(yh=new y1),yh}var hn=class{},bf=class extends hn{constructor(t,n,a,i){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=a,this.scopes=i,Vp(t,s=>this.processProvider(s)),this.records.set(b1,Po(void 0,this)),i.has("environment")&&this.records.set(hn,Po(void 0,this));let r=this.records.get(gf);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(v1,ti,Xe.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let a=n;return this.get(t,a.optional?C_:$r,a)}destroy(){Zs(this),this._destroyed=!0;let t=Ke(null);try{for(let a of this._ngOnDestroyHooks)a.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let a of n)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ke(t)}}onDestroy(t){return Zs(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Zs(this);let n=ir(this),a=ci(void 0);try{return t()}finally{ir(n),ci(a)}}get(t,n=$r,a=Xe.Default){if(Zs(this),t.hasOwnProperty(H0))return t[H0](this);a=bu(a);let i=ir(this),r=ci(void 0);try{if(!(a&Xe.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Cpe(t)&&uf(t);c&&this.injectableDefInScope(c)?l=Po(Fp(t),od):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,a)}let s=a&Xe.Self?yu():this.parent;return n=a&Xe.Optional&&n===$r?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[kd]=s[kd]||[]).unshift(Ri(t)),i)throw s;return lpe(s,t,"R3InjectorError",this.source)}else throw s}finally{ci(r),ir(i)}}resolveInjectorInitializers(){let t=Ke(null),n=ir(this),a=ci(void 0);try{let i=this.get(Cd,ti,Xe.Self);for(let r of i)r()}finally{ir(n),ci(a),Ke(t)}}toString(){let t=[],n=this.records;for(let a of n.keys())t.push(Ri(a));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=La(t);let n=Ko(t)?t:La(t&&t.provide),a=wpe(t);if(!Ko(t)&&t.multi===!0){let i=this.records.get(n);i||(i=Po(void 0,od,!0),i.factory=()=>Np(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,a)}hydrate(t,n,a){let i=Ke(null);try{return n.value===W0?u1(Ri(t)):n.value===od&&(n.value=W0,n.value=n.factory(void 0,a)),typeof n.value=="object"&&n.value&&Epe(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Ke(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=La(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 Fp(e){let t=uf(e),n=t!==null?t.factory:Kr(e);if(n!==null)return n;if(e instanceof Y)throw new ae(204,!1);if(e instanceof Function)return xpe(e);throw new ae(204,!1)}function xpe(e){if(e.length>0)throw new ae(204,!1);let t=Khe(e);return t!==null?()=>t.factory(e):()=>new e}function wpe(e){if(k1(e))return Po(void 0,e.useValue);{let t=E1(e);return Po(t,od)}}function E1(e,t,n){let a;if(Ko(e)){let i=La(e);return Kr(i)||Fp(i)}else if(k1(e))a=()=>La(e.useValue);else if(ype(e))a=()=>e.useFactory(...Np(e.deps||[]));else if(vpe(e))a=(i,r)=>Ce(La(e.useExisting),r!==void 0&&r&Xe.Optional?Xe.Optional:void 0);else{let i=La(e&&(e.useClass||e.provide));if(kpe(e))a=()=>new i(...Np(e.deps));else return Kr(i)||Fp(i)}return a}function Zs(e){if(e.destroyed)throw new ae(205,!1)}function Po(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kpe(e){return!!e.deps}function Epe(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Cpe(e){return typeof e=="function"||typeof e=="object"&&e instanceof Y}function Vp(e,t){for(let n of e)Array.isArray(n)?Vp(n,t):n&&d1(n)?Vp(n.ɵproviders,t):t(n)}function _u(e,t){let n;e instanceof bf?(Zs(e),n=e):n=new m1(e);let a=ir(n),i=ci(void 0);try{return t()}finally{ir(a),ci(i)}}function C1(){return h1()!==void 0||ad()!=null}function Ul(e){if(!C1())throw new ae(-203,!1)}function Spe(e){return typeof e=="function"}var Gn=0,je=1,Le=2,qa=3,Gi=4,pi=5,Qo=6,Ho=7,Ea=8,Xo=9,Un=10,qt=11,ml=12,q0=13,ps=14,_i=15,Qr=16,Mo=17,$i=18,xu=19,S1=20,ur=21,_h=22,Fn=23,Pi=24,hr=25,Gt=26,D1=1,Xr=7,Sd=8,Jo=9,Ua=10;function pr(e){return Array.isArray(e)&&typeof e[D1]=="object"}function $n(e){return Array.isArray(e)&&e[D1]===!0}function vf(e){return(e.flags&4)!==0}function ms(e){return e.componentOffset>-1}function wu(e){return(e.flags&1)===1}function pn(e){return!!e.template}function Dd(e){return(e[Le]&512)!==0}function fs(e){return(e[Le]&256)===256}var Dpe=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function I1(e,t,n,a){t!==null?t.applyValueToInputSignal(t,a):e[n]=a}var $t=(()=>{let e=()=>O1;return e.ngInherit=!0,e})();function O1(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ope),Ipe}function Ipe(){let e=A1(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===un)e.previous=t;else for(let a in t)n[a]=t[a];e.current=null,this.ngOnChanges(t)}}function Ope(e,t,n,a,i){let r=this.declaredInputs[a],s=A1(e)||Tpe(e,{previous:un,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new Dpe(d&&d.currentValue,n,c===un),I1(e,t,i,n)}var T1="__ngSimpleChanges__";function A1(e){return e[T1]||null}function Tpe(e,t){return e[T1]=t}var Jr=function(e,t=null,n){},R1="svg",Ape="math";function mn(e){for(;Array.isArray(e);)e=e[Gn];return e}function P1(e,t){return mn(t[e])}function yn(e,t){return mn(t[e.index])}function yf(e,t){return e.data[t]}function gs(e,t){return e[t]}function _f(e,t,n,a){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=a}function fn(e,t){let n=t[e];return pr(n)?n:n[Gn]}function Rpe(e){return(e[Le]&4)===4}function xf(e){return(e[Le]&128)===128}function Ppe(e){return $n(e[qa])}function eo(e,t){return t==null?null:e[t]}function M1(e){e[Mo]=0}function wf(e){e[Le]&1024||(e[Le]|=1024,xf(e)&&bs(e))}function Mpe(e,t){for(;e>0;)t=t[ps],e--;return t}function Wl(e){var t;return!!(e[Le]&9216||(t=e[Pi])!=null&&t.dirty)}function zp(e){var t;(t=e[Un].changeDetectionScheduler)==null||t.notify(8),e[Le]&64&&(e[Le]|=1024),Wl(e)&&bs(e)}function bs(e){var n;(n=e[Un].changeDetectionScheduler)==null||n.notify(0);let t=to(e);for(;t!==null&&!(t[Le]&8192||(t[Le]|=8192,!xf(t)));)t=to(t)}function N1(e,t){if(fs(e))throw new ae(911,!1);e[ur]===null&&(e[ur]=[]),e[ur].push(t)}function Npe(e,t){if(e[ur]===null)return;let n=e[ur].indexOf(t);n!==-1&&e[ur].splice(n,1)}function to(e){let t=e[qa];return $n(t)?t[qa]:t}function kf(e){return e[Ho]??(e[Ho]=[])}function Ef(e){return e.cleanup??(e.cleanup=[])}function Lpe(e,t,n,a){let i=kf(t);i.push(n),e.firstCreatePass&&Ef(e).push(a,i.length-1)}var We={lFrame:H1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Bp=!1;function Fpe(){return We.lFrame.elementDepthCount}function Vpe(){We.lFrame.elementDepthCount++}function zpe(){We.lFrame.elementDepthCount--}function Bpe(){return We.bindingsEnabled}function L1(){return We.skipHydrationRootTNode!==null}function jpe(e){return We.skipHydrationRootTNode===e}function Hpe(){We.skipHydrationRootTNode=null}function Pe(){return We.lFrame.lView}function zt(){return We.lFrame.tView}function Se(e){return We.lFrame.contextLView=e,e[Ea]}function De(e){return We.lFrame.contextLView=null,e}function Za(){let e=F1();for(;e!==null&&e.type===64;)e=e.parent;return e}function F1(){return We.lFrame.currentTNode}function Upe(){let e=We.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function kr(e,t){let n=We.lFrame;n.currentTNode=e,n.isParent=t}function Cf(){return We.lFrame.isParent}function Sf(){We.lFrame.isParent=!1}function V1(){return We.lFrame.contextLView}function z1(){return Bp}function Id(e){let t=Bp;return Bp=e,t}function Yn(){let e=We.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wpe(){return We.lFrame.bindingIndex}function qpe(e){return We.lFrame.bindingIndex=e}function uo(){return We.lFrame.bindingIndex++}function Df(e){let t=We.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gpe(){return We.lFrame.inI18n}function $pe(e,t){let n=We.lFrame;n.bindingIndex=n.bindingRootIndex=e,jp(t)}function Ype(){return We.lFrame.currentDirectiveIndex}function jp(e){We.lFrame.currentDirectiveIndex=e}function Zpe(e){let t=We.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function If(){return We.lFrame.currentQueryIndex}function ku(e){We.lFrame.currentQueryIndex=e}function Kpe(e){let t=e[je];return t.type===2?t.declTNode:t.type===1?e[pi]:null}function B1(e,t,n){if(n&Xe.SkipSelf){let i=t,r=e;for(;(i=i.parent,i===null&&!(n&Xe.Host))&&(i=Kpe(r),!(i===null||(r=r[ps],i.type&10))););if(i===null)return!1;t=i,e=r}let a=We.lFrame=j1();return a.currentTNode=t,a.lView=e,!0}function Of(e){let t=j1(),n=e[je];We.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function j1(){let e=We.lFrame,t=e===null?null:e.child;return t===null?H1(e):t}function H1(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 U1(){let e=We.lFrame;return We.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var W1=U1;function Tf(){let e=U1();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 Qpe(e){return(We.lFrame.contextLView=Mpe(e,We.lFrame.contextLView))[Ea]}function _n(){return We.lFrame.selectedIndex}function ao(e){We.lFrame.selectedIndex=e}function Eu(){let e=We.lFrame;return yf(e.tView,e.selectedIndex)}function mr(){We.lFrame.currentNamespace=R1}function G0(){Xpe()}function Xpe(){We.lFrame.currentNamespace=null}function Jpe(){return We.lFrame.currentNamespace}var q1=!0;function Cu(){return q1}function Su(e){q1=e}function eme(e,t,n){let{ngOnChanges:a,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(a){let s=O1(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,i),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function Af(e,t){for(let n=t.directiveStart,a=t.directiveEnd;n<a;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=i;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function sd(e,t,n){G1(e,t,3,n)}function ld(e,t,n,a){(e[Le]&3)===n&&G1(e,t,n,a)}function xh(e,t){let n=e[Le];(n&3)===t&&(n&=16383,n+=1,e[Le]=n)}function G1(e,t,n,a){let i=a!==void 0?e[Mo]&65535:0,r=a??-1,s=t.length-1,l=0;for(let c=i;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],a!=null&&l>=a)break}else t[c]<0&&(e[Mo]+=65536),(l<r||r==-1)&&(tme(e,n,t,c),e[Mo]=(e[Mo]&4294901760)+c+2),c++}function $0(e,t){let n=Ke(null);try{t.call(e)}finally{Ke(n)}}function tme(e,t,n,a){let i=n[a]<0,r=n[a+1],s=i?-n[a]:n[a],l=e[s];i?e[Le]>>14<e[Mo]>>16&&(e[Le]&3)===t&&(e[Le]+=16384,$0(l,r)):$0(l,r)}var Uo=-1,ql=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function ame(e){return(e.flags&8)!==0}function ime(e){return(e.flags&16)!==0}function nme(e,t,n){let a=0;for(;a<n.length;){let i=n[a];if(typeof i=="number"){if(i!==0)break;a++;let r=n[a++],s=n[a++],l=n[a++];e.setAttribute(t,s,l,r)}else{let r=i,s=n[++a];rme(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),a++}}return a}function $1(e){return e===3||e===4||e===6}function rme(e){return e.charCodeAt(0)===64}function es(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let a=0;a<t.length;a++){let i=t[a];typeof i=="number"?n=i:n===0||(n===-1||n===2?Y0(e,n,i,null,t[++a]):Y0(e,n,i,null,null))}}return e}function Y0(e,t,n,a,i){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){i!==null&&(e[r+1]=i);return}r++,i!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),i!==null&&e.splice(r++,0,i)}function Y1(e){return e!==Uo}function Od(e){return e&32767}function ome(e){return e>>16}function Td(e,t){let n=ome(e),a=t;for(;n>0;)a=a[ps],n--;return a}var Hp=!0;function Ad(e){let t=Hp;return Hp=e,t}var sme=256,Z1=sme-1,K1=5,lme=0,ln={};function cme(e,t,n){let a;typeof n=="string"?a=n.charCodeAt(0)||0:n.hasOwnProperty(tl)&&(a=n[tl]),a==null&&(a=n[tl]=lme++);let i=a&Z1,r=1<<i;t.data[e+(i>>K1)]|=r}function Rd(e,t){let n=Q1(e,t);if(n!==-1)return n;let a=t[je];a.firstCreatePass&&(e.injectorIndex=t.length,wh(a.data,e),wh(t,null),wh(a.blueprint,null));let i=Rf(e,t),r=e.injectorIndex;if(Y1(i)){let s=Od(i),l=Td(i,t),c=l[je].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=i,r}function wh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Q1(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Rf(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,a=null,i=t;for(;i!==null;){if(a=ax(i),a===null)return Uo;if(n++,i=i[ps],a.injectorIndex!==-1)return a.injectorIndex|n<<16}return Uo}function Up(e,t,n){cme(e,t,n)}function dme(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let a=n.length,i=0;for(;i<a;){let r=n[i];if($1(r))break;if(r===0)i=i+2;else if(typeof r=="number")for(i++;i<a&&typeof n[i]=="string";)i++;else{if(r===t)return n[i+1];i=i+2}}}return null}function X1(e,t,n){if(n&Xe.Optional||e!==void 0)return e;hf()}function J1(e,t,n,a){if(n&Xe.Optional&&a===void 0&&(a=null),(n&(Xe.Self|Xe.Host))===0){let i=e[Xo],r=ci(void 0);try{return i?i.get(t,a,n&Xe.Optional):p1(t,a,n&Xe.Optional)}finally{ci(r)}}return X1(a,t,n)}function ex(e,t,n,a=Xe.Default,i){if(e!==null){if(t[Le]&2048&&!(a&Xe.Self)){let s=mme(e,t,n,a,ln);if(s!==ln)return s}let r=tx(e,t,n,a,ln);if(r!==ln)return r}return J1(t,n,a,i)}function tx(e,t,n,a,i){let r=hme(n);if(typeof r=="function"){if(!B1(t,e,a))return a&Xe.Host?X1(i,n,a):J1(t,n,a,i);try{let s;if(s=r(a),s==null&&!(a&Xe.Optional))hf(n);else return s}finally{W1()}}else if(typeof r=="number"){let s=null,l=Q1(e,t),c=Uo,d=a&Xe.Host?t[_i][pi]:null;for((l===-1||a&Xe.SkipSelf)&&(c=l===-1?Rf(e,t):t[l+8],c===Uo||!K0(a,!1)?l=-1:(s=t[je],l=Od(c),t=Td(c,t)));l!==-1;){let u=t[je];if(Z0(r,l,u.data)){let p=ume(l,t,n,s,a,d);if(p!==ln)return p}c=t[l+8],c!==Uo&&K0(a,t[je].data[l+8]===d)&&Z0(r,l,t)?(s=u,l=Od(c),t=Td(c,t)):l=-1}}return i}function ume(e,t,n,a,i,r){let s=t[je],l=s.data[e+8],c=a==null?ms(l)&&Hp:a!=s&&(l.type&3)!==0,d=i&Xe.Host&&r===l,u=cd(l,s,n,c,d);return u!==null?fl(t,s,u,l,i):ln}function cd(e,t,n,a,i){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,p=a?l:l+u,b=i?l+u:d;for(let g=p;g<b;g++){let w=s[g];if(g<c&&n===w||g>=c&&w.type===n)return g}if(i){let g=s[c];if(g&&pn(g)&&g.type===n)return c}return null}function fl(e,t,n,a,i){let r=e[n],s=t.data;if(r instanceof ql){let l=r;l.resolving&&u1(tpe(s[n]));let c=Ad(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?ci(l.injectImpl):null;B1(e,a,Xe.Default);try{r=e[n]=l.factory(void 0,i,s,e,a),t.firstCreatePass&&n>=a.directiveStart&&eme(n,s[n],t)}finally{d!==null&&ci(d),Ad(c),l.resolving=!1,W1()}}return r}function hme(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(tl)?e[tl]:void 0;return typeof t=="number"?t>=0?t&Z1:pme:t}function Z0(e,t,n){let a=1<<e;return!!(n[t+(e>>K1)]&a)}function K0(e,t){return!(e&Xe.Self)&&!(e&Xe.Host&&t)}var al=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return ex(this._tNode,this._lView,e,bu(n),t)}};function pme(){return new al(Za(),Pe())}function tt(e){return jl(()=>{let t=e.prototype.constructor,n=t[wd]||Wp(t),a=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==a;){let r=i[wd]||Wp(i);if(r&&r!==n)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function Wp(e){return s1(e)?()=>{let t=Wp(La(e));return t&&t()}:Kr(e)}function mme(e,t,n,a,i){let r=e,s=t;for(;r!==null&&s!==null&&s[Le]&2048&&!Dd(s);){let l=tx(r,s,n,a|Xe.Self,ln);if(l!==ln)return l;let c=r.parent;if(!c){let d=s[S1];if(d){let u=d.get(n,ln,a);if(u!==ln)return u}c=ax(s),s=s[ps]}r=c}return i}function ax(e){let t=e[je],n=t.type;return n===2?t.declTNode:n===1?e[pi]:null}function fme(e){return dme(Za(),e)}function Q0(e,t=null,n=null,a){let i=gme(e,t,n,a);return i.resolveInjectorInitializers(),i}function gme(e,t=null,n=null,a,i=new Set){let r=[n||ti,gpe(e)];return a=a||(typeof e=="object"?void 0:Ri(e)),new bf(r,t||yu(),a||null,i)}var an,ut=(an=class{static create(t,n){if(Array.isArray(t))return Q0({name:""},n,t,"");{let a=t.name??"";return Q0({name:a},t.parent,t.providers,a)}}},o(an,"THROW_IF_NOT_FOUND",$r),o(an,"NULL",new y1),o(an,"ɵprov",Z({token:an,providedIn:"any",factory:()=>Ce(b1)})),o(an,"__NG_ELEMENT_ID__",-1),an),vs=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>fme(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},bme=new Y("");bme.__NG_ELEMENT_ID__=e=>{let t=Za();if(t===null)throw new ae(204,!1);if(t.type&2)return t.value;if(e&Xe.Optional)return null;throw new ae(204,!1)};var ix=!1,xi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",vme),o(e,"__NG_ENV_ID__",n=>n),e})(),nx=class extends xi{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return fs(n)?(t(),()=>{}):(N1(n,t),()=>Npe(n,t))}};function vme(){return new nx(Pe())}var ys=class{},rx=new Y("",{providedIn:"root",factory:()=>!1}),ox=new Y(""),sx=new Y(""),Gl=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new Gr(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let a=this.taskId++;return this.pendingTasks.add(a),a}has(a){return this.pendingTasks.has(a)}remove(a){this.pendingTasks.delete(a),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),yme=class extends me{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,C1()&&(this.destroyRef=_(xi,{optional:!0})??void 0,this.pendingTasks=_(Gl,{optional:!0})??void 0)}emit(t){let n=Ke(null);try{super.next(t)}finally{Ke(n)}}subscribe(t,n,a){var c,d,u;let i=t,r=n||(()=>null),s=a;if(t&&typeof t=="object"){let p=t;i=(c=p.next)==null?void 0:c.bind(p),r=(d=p.error)==null?void 0:d.bind(p),s=(u=p.complete)==null?void 0:u.bind(p)}this.__isAsync&&(r=this.wrapInTimeout(r),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:i,error:r,complete:s});return t instanceof Ye&&t.add(l),l}wrapInTimeout(t){return n=>{var i;let a=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var r;try{t(n)}finally{a!==void 0&&((r=this.pendingTasks)==null||r.remove(a))}})}}},ie=yme;function gl(...e){}function lx(e){let t,n;function a(){e=gl;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),a()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),a()})),()=>a()}function X0(e){return queueMicrotask(()=>e()),()=>{e=gl}}var Pf="isAngularZone",Pd=Pf+"_ID",_me=0,Ne=class qp{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ie(!1));o(this,"onMicrotaskEmpty",new ie(!1));o(this,"onStable",new ie(!1));o(this,"onError",new ie(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:r=ix}=t;if(typeof Zone>"u")throw new ae(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&a,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=r,kme(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Pf)===!0}static assertInAngularZone(){if(!qp.isInAngularZone())throw new ae(909,!1)}static assertNotInAngularZone(){if(qp.isInAngularZone())throw new ae(909,!1)}run(t,n,a){return this._inner.run(t,n,a)}runTask(t,n,a,i){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,xme,gl,gl);try{return r.runTask(s,n,a)}finally{r.cancelTask(s)}}runGuarded(t,n,a){return this._inner.runGuarded(t,n,a)}runOutsideAngular(t){return this._outer.run(t)}},xme={};function Mf(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 wme(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){lx(()=>{e.callbackScheduled=!1,Gp(e),e.isCheckStableRunning=!0,Mf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Gp(e)}function kme(e){let t=()=>{wme(e)},n=_me++;e._inner=e._inner.fork({name:"angular",properties:{[Pf]:!0,[Pd]:n,[Pd+n]:!0},onInvokeTask:(a,i,r,s,l,c)=>{if(Cme(c))return a.invokeTask(r,s,l,c);try{return J0(e),a.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),eb(e)}},onInvoke:(a,i,r,s,l,c,d)=>{try{return J0(e),a.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Sme(c)&&t(),eb(e)}},onHasTask:(a,i,r,s)=>{a.hasTask(r,s),i===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Gp(e),Mf(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(a,i,r,s)=>(a.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Gp(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function J0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eb(e){e._nesting--,Mf(e)}var Eme=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ie);o(this,"onMicrotaskEmpty",new ie);o(this,"onStable",new ie);o(this,"onError",new ie)}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,a){return e.apply(t,n)}};function Cme(e){return cx(e,"__ignore_ng_zone__")}function Sme(e){return cx(e,"__scheduler_tick__")}function cx(e,t){var n,a;return!Array.isArray(e)||e.length!==1?!1:((a=(n=e[0])==null?void 0:n.data)==null?void 0:a[t])===!0}var Yi=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},Dme=new Y("",{providedIn:"root",factory:()=>{let e=_(Ne),t=_(Yi);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),dx=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",_(Yi,{optional:!0}));o(this,"destroyRef",_(xi));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new ae(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,a;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((a=this.listeners)==null||a.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(i1(953,!1));return}if(this.listeners===null)return;let t=Ke(null);try{for(let a of this.listeners)try{a(e)}catch(i){(n=this.errorHandler)==null||n.handleError(i)}}finally{Ke(t)}}};function io(e){return new dx}function tb(e,t){return r1(e,t)}function Ime(e){return r1(gu,e)}var ne=(tb.required=Ime,tb);function Ome(){return _s(Za(),Pe())}function _s(e,t){return new Te(yn(e,t))}var Te=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",Ome),e})();function ux(e){return e instanceof Te?e.nativeElement:e}function bl(e){return typeof e=="function"&&e[Ha]!==void 0}function ai(e,t){let n=Hue(e,t==null?void 0:t.equal),a=n[Ha];return n.set=i=>Vl(a,i),n.update=i=>k_(a,i),n.asReadonly=Nf.bind(n),n}function Nf(){let e=this[Ha];if(e.readonlyFn===void 0){let t=()=>this();t[Ha]=e,e.readonlyFn=t}return e.readonlyFn}function hx(e){return bl(e)&&typeof e.set=="function"}function Tme(){return this._results[Symbol.iterator]()}var i_,ts=(i_=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,i_,Tme);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new me)}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=upe(e);(this._changesDetected=!dpe(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 px(e){return(e.flags&128)===128}var mx=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(mx||{}),fx=new Map,Ame=0;function Rme(){return Ame++}function Pme(e){fx.set(e[xu],e)}function $p(e){fx.delete(e[xu])}var ab="__ngContext__";function xs(e,t){pr(t)?(e[ab]=t[xu],Pme(t)):e[ab]=t}function gx(e){return vx(e[ml])}function bx(e){return vx(e[Gi])}function vx(e){for(;e!==null&&!$n(e);)e=e[Gi];return e}var Yp;function Mme(e){Yp=e}function yx(){if(Yp!==void 0)return Yp;if(typeof document<"u")return document;throw new ae(210,!1)}var Du=new Y("",{providedIn:"root",factory:()=>Nme}),Nme="ng",_x=new Y(""),Iu=new Y("",{providedIn:"platform",factory:()=>"unknown"}),Ra=new Y(""),Lf=new Y("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=yx().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),xx=!1,Lme=new Y("",{providedIn:"root",factory:()=>xx}),Ff=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ff||{}),$l=new Y(""),ib=new Set;function ho(e){var t;ib.has(e)||(ib.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Vf=(()=>{class e{constructor(n,a){o(this,"view");o(this,"node");this.view=n,this.node=a}}return o(e,"__NG_ELEMENT_ID__",Fme),e})();function Fme(){return new Vf(Pe(),Za())}var No=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(No||{}),wx=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var a;(a=this.impl)==null||a.execute()}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Vme=[No.EarlyRead,No.Write,No.MixedReadWrite,No.Read],zme=(()=>{const t=class t{constructor(){o(this,"ngZone",_(Ne));o(this,"scheduler",_(ys));o(this,"errorHandler",_(Yi,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);_($l,{optional:!0})}execute(){var a;this.sequences.size>0,this.executing=!0;for(let i of Vme)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[i];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(a=this.errorHandler)==null||a.handleError(s)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(a){let{view:i}=a;i!==void 0?((i[hr]??(i[hr]=[])).push(a),bs(i),i[Le]|=8192):this.executing?this.deferredRegistrations.add(a):this.addSequence(a)}addSequence(a){this.sequences.add(a),this.scheduler.notify(7)}unregister(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))}maybeTrace(a,i){return i?i.run(Ff.AFTER_NEXT_RENDER,a):a()}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Bme=class{constructor(e,t,n,a,i,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=a,this.snapshot=r,this.unregisterOnDestroy=i==null?void 0:i.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[hr];e&&(this.view[hr]=e.filter(a=>a!==this))}};function zf(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut);return ho("NgAfterRender"),kx(e,n,t,!1)}function Wn(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut);return ho("NgAfterNextRender"),kx(e,n,t,!0)}function jme(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 kx(e,t,n,a){let i=t.get(wx);i.impl??(i.impl=t.get(zme));let r=t.get($l,null,{optional:!0}),s=(n==null?void 0:n.phase)??No.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get(xi):null,c=t.get(Vf,null,{optional:!0}),d=new Bme(i.impl,jme(e,s),c==null?void 0:c.view,a,l,r==null?void 0:r.snapshot(null));return i.impl.register(d),d}var Hme=()=>null;function Ex(e,t,n=!1){return Hme()}function Cx(e,t){let n=e.contentQueries;if(n!==null){let a=Ke(null);try{for(let i=0;i<n.length;i+=2){let r=n[i],s=n[i+1];if(s!==-1){let l=e.data[s];ku(r),l.contentQueries(2,t[s],s)}}}finally{Ke(a)}}}function Zp(e,t,n){ku(0);let a=Ke(null);try{t(e,n)}finally{Ke(a)}}function Bf(e,t,n){if(vf(t)){let a=Ke(null);try{let i=t.directiveStart,r=t.directiveEnd;for(let s=i;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{Ke(a)}}}var Vn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Vn||{}),Cc;function Ume(){if(Cc===void 0&&(Cc=null,or.trustedTypes))try{Cc=or.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cc}function Ou(e){var t;return((t=Ume())==null?void 0:t.createHTML(e))||e}var Sc;function Wme(){if(Sc===void 0&&(Sc=null,or.trustedTypes))try{Sc=or.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sc}function nb(e){var t;return((t=Wme())==null?void 0:t.createHTML(e))||e}var po=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${a1})`}},qme=class extends po{getTypeName(){return"HTML"}},Gme=class extends po{getTypeName(){return"Style"}},$me=class extends po{getTypeName(){return"Script"}},Yme=class extends po{getTypeName(){return"URL"}},Zme=class extends po{getTypeName(){return"ResourceURL"}};function Ln(e){return e instanceof po?e.changingThisBreaksApplicationSecurity:e}function Br(e,t){let n=Kme(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${a1})`)}return n===t}function Kme(e){return e instanceof po&&e.getTypeName()||null}function Qme(e){return new qme(e)}function Xme(e){return new Gme(e)}function Jme(e){return new $me(e)}function efe(e){return new Yme(e)}function tfe(e){return new Zme(e)}function afe(e){let t=new nfe(e);return rfe()?new ife(t):t}var ife=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ou(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},nfe=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ou(e),t}};function rfe(){try{return!!new window.DOMParser().parseFromString(Ou(""),"text/html")}catch{return!1}}var ofe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jf(e){return e=String(e),e.match(ofe)?e:"unsafe:"+e}function Zn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Yl(...e){let t={};for(let n of e)for(let a in n)n.hasOwnProperty(a)&&(t[a]=!0);return t}var Sx=Zn("area,br,col,hr,img,wbr"),Dx=Zn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ix=Zn("rp,rt"),sfe=Yl(Ix,Dx),lfe=Yl(Dx,Zn("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")),cfe=Yl(Ix,Zn("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")),rb=Yl(Sx,lfe,cfe,sfe),Ox=Zn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dfe=Zn("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"),ufe=Zn("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"),hfe=Yl(Ox,dfe,ufe),pfe=Zn("script,style,template"),mfe=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,a=[];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){a.push(t),t=bfe(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=gfe(t);if(i){t=i;break}t=a.pop()}}return this.buf.join("")}startElement(e){let t=ob(e).toLowerCase();if(!rb.hasOwnProperty(t))return this.sanitizedSomething=!0,!pfe.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let a=0;a<n.length;a++){let i=n.item(a),r=i.name,s=r.toLowerCase();if(!hfe.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=i.value;Ox[s]&&(l=jf(l)),this.buf.push(" ",r,'="',sb(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=ob(e).toLowerCase();rb.hasOwnProperty(t)&&!Sx.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(sb(e))}};function ffe(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gfe(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Tx(t);return t}function bfe(e){let t=e.firstChild;if(t&&ffe(e,t))throw Tx(t);return t}function ob(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Tx(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var vfe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yfe=/([^\#-~ |!])/g;function sb(e){return e.replace(/&/g,"&amp;").replace(vfe,function(t){let n=t.charCodeAt(0),a=t.charCodeAt(1);return"&#"+((n-55296)*1024+(a-56320)+65536)+";"}).replace(yfe,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Dc;function Ax(e,t){let n=null;try{Dc=Dc||afe(e);let a=t?String(t):"";n=Dc.getInertBodyElement(a);let i=5,r=a;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,a=r,r=n.innerHTML,n=Dc.getInertBodyElement(a)}while(a!==r);let s=new mfe().sanitizeChildren(lb(n)||n);return Ou(s)}finally{if(n){let a=lb(n)||n;for(;a.firstChild;)a.firstChild.remove()}}}function lb(e){return"content"in e&&_fe(e)?e.content:null}function _fe(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xfe=/^>|^->|<!--|-->|--!>|<!-$/g,wfe=/(<|>)/g,kfe="​$1​";function Efe(e){return e.replace(xfe,t=>t.replace(wfe,kfe))}function Cfe(e,t){return e.createText(t)}function Sfe(e,t,n){e.setValue(t,n)}function Dfe(e,t){return e.createComment(Efe(t))}function Rx(e,t,n){return e.createElement(t,n)}function Md(e,t,n,a,i){e.insertBefore(t,n,a,i)}function Px(e,t,n){e.appendChild(t,n)}function cb(e,t,n,a,i){a!==null?Md(e,t,n,a,i):Px(e,t,n)}function Ife(e,t,n){e.removeChild(null,t,n)}function Ofe(e,t,n){e.setAttribute(t,"style",n)}function Tfe(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Mx(e,t,n){let{mergedAttrs:a,classes:i,styles:r}=n;a!==null&&nme(e,t,a),i!==null&&Tfe(e,t,i),r!==null&&Ofe(e,t,r)}var di=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}(di||{});function Nx(e){let t=Lx();return t?nb(t.sanitize(di.HTML,e)||""):Br(e,"HTML")?nb(Ln(e)):Ax(yx(),Zr(e))}function Hf(e){let t=Lx();return t?t.sanitize(di.URL,e)||"":Br(e,"URL")?Ln(e):jf(Zr(e))}function Lx(){let e=Pe();return e&&e[Un].sanitizer}function Afe(e,t,n){let a=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let r=t.length;if(i+r===a||e.charCodeAt(i+r)<=32)return i}n=i+1}}var Fx="ng-template";function Rfe(e,t,n,a){let i=0;if(a){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&Afe(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Uf(e))return!1;if(i=t.indexOf(1,i),i>-1){let r;for(;++i<t.length&&typeof(r=t[i])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Uf(e){return e.type===4&&e.value!==Fx}function Pfe(e,t,n){let a=e.type===4&&!n?Fx:e.value;return t===a}function Mfe(e,t,n){let a=4,i=e.attrs,r=i!==null?Ffe(i):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!Hi(a)&&!Hi(c))return!1;if(s&&Hi(c))continue;s=!1,a=c|a&1;continue}if(!s)if(a&4){if(a=2|a&1,c!==""&&!Pfe(e,c,n)||c===""&&t.length===1){if(Hi(a))return!1;s=!0}}else if(a&8){if(i===null||!Rfe(e,i,c,n)){if(Hi(a))return!1;s=!0}}else{let d=t[++l],u=Nfe(c,i,Uf(e),n);if(u===-1){if(Hi(a))return!1;s=!0;continue}if(d!==""){let p;if(u>r?p="":p=i[u+1].toLowerCase(),a&2&&d!==p){if(Hi(a))return!1;s=!0}}}}return Hi(a)||s}function Hi(e){return(e&1)===0}function Nfe(e,t,n,a){if(t===null)return-1;let i=0;if(a||!n){let r=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++i];for(;typeof l=="string";)l=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=r?1:2}return-1}else return Vfe(t,e)}function Vx(e,t,n=!1){for(let a=0;a<t.length;a++)if(Mfe(e,t[a],n))return!0;return!1}function Lfe(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Ffe(e){for(let t=0;t<e.length;t++){let n=e[t];if($1(n))return t}return e.length}function Vfe(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let a=e[n];if(typeof a=="number")return-1;if(a===t)return n;n++}return-1}function zfe(e,t){e:for(let n=0;n<t.length;n++){let a=t[n];if(e.length===a.length){for(let i=0;i<e.length;i++)if(e[i]!==a[i])continue e;return!0}}return!1}function db(e,t){return e?":not("+t.trim()+")":t}function Bfe(e){let t=e[0],n=1,a=2,i="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(a&2){let l=e[++n];i+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else a&8?i+="."+s:a&4&&(i+=" "+s);else i!==""&&!Hi(s)&&(t+=db(r,i),i=""),a=s,r=r||!Hi(a);n++}return i!==""&&(t+=db(r,i)),t}function jfe(e){return e.map(Bfe).join(",")}function Hfe(e){let t=[],n=[],a=1,i=2;for(;a<e.length;){let r=e[a];if(typeof r=="string")i===2?r!==""&&t.push(r,e[++a]):i===8&&n.push(r);else{if(!Hi(i))break;i=r}a++}return n.length&&t.push(1,...n),t}var ki={};function Wf(e,t,n,a,i,r,s,l,c,d,u){let p=Gt+a,b=p+i,g=Ufe(p,b),w=typeof d=="function"?d():d;return g[je]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:w,incompleteFirstPass:!1,ssrId:u}}function Ufe(e,t){let n=[];for(let a=0;a<t;a++)n.push(a<e?null:ki);return n}function Wfe(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Wf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qf(e,t,n,a,i,r,s,l,c,d,u){let p=t.blueprint.slice();return p[Gn]=i,p[Le]=a|4|128|8|64|1024,(d!==null||e&&e[Le]&2048)&&(p[Le]|=2048),M1(p),p[qa]=p[ps]=e,p[Ea]=n,p[Un]=s||e&&e[Un],p[qt]=l||e&&e[qt],p[Xo]=c||e&&e[Xo]||null,p[pi]=r,p[xu]=Rme(),p[Qo]=u,p[S1]=d,p[_i]=t.type==2?e[_i]:p,p}function qfe(e,t,n){let a=yn(t,e),i=Wfe(n),r=e[Un].rendererFactory,s=Gf(e,qf(e,i,null,zx(n),a,t,null,r.createRenderer(a,n),null,null,null));return e[t.index]=s}function zx(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Bx(e,t,n,a){if(n===0)return-1;let i=t.length;for(let r=0;r<n;r++)t.push(a),e.blueprint.push(a),e.data.push(null);return i}function Gf(e,t){return e[ml]?e[q0][Gi]=t:e[ml]=t,e[q0]=t,t}function C(e=1){jx(zt(),Pe(),_n()+e)}function jx(e,t,n,a){if((t[Le]&3)===3){let i=e.preOrderCheckHooks;i!==null&&sd(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ld(t,i,0,n)}ao(n)}var Tu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tu||{});function Kp(e,t,n,a){let i=Ke(null);try{let[r,s,l]=e.inputs[n],c=null;s&Tu.SignalBased&&(c=t[r][Ha]),c!==null&&c.transformFn!==void 0?a=c.transformFn(a):l!==null&&(a=l.call(t,a)),e.setInput!==null?e.setInput(t,c,a,n,r):I1(t,c,r,a)}finally{Ke(i)}}function Hx(e,t,n,a,i){let r=_n(),s=a&2;try{ao(-1),s&&t.length>Gt&&jx(e,t,Gt,!1),Jr(s?2:0,i),n(a,i)}finally{ao(r)}}function Au(e,t,n){Zfe(e,t,n),(n.flags&64)===64&&Kfe(e,t,n)}function $f(e,t,n=yn){let a=t.localNames;if(a!==null){let i=t.index+1;for(let r=0;r<a.length;r+=2){let s=a[r+1],l=s===-1?n(t,e):e[s];e[i++]=l}}}function Gfe(e,t,n,a){let i=a.get(Lme,xx)||n===Vn.ShadowDom;return e.selectRootElement(t,i)}function $fe(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Yf(e,t,n,a,i,r,s,l){if(!l&&Kf(t,e,n,a,i)){ms(t)&&Yfe(n,t.index);return}if(t.type&3){let c=yn(t,n);a=$fe(a),i=s!=null?s(i,t.value||"",a):i,r.setProperty(c,a,i)}else t.type&12}function Yfe(e,t){let n=fn(t,e);n[Le]&16||(n[Le]|=64)}function Zfe(e,t,n){let a=n.directiveStart,i=n.directiveEnd;ms(n)&&qfe(t,n,e.data[a+n.componentOffset]),e.firstCreatePass||Rd(n,t);let r=n.initialInputs;for(let s=a;s<i;s++){let l=e.data[s],c=fl(t,e,s,n);if(xs(c,t),r!==null&&ege(t,s-a,c,l,n,r),pn(l)){let d=fn(n.index,t);d[Ea]=fl(t,e,s,n)}}}function Kfe(e,t,n){let a=n.directiveStart,i=n.directiveEnd,r=n.index,s=Ype();try{ao(r);for(let l=a;l<i;l++){let c=e.data[l],d=t[l];jp(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Qfe(c,d)}}finally{ao(-1),jp(s)}}function Qfe(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Zf(e,t){let n=e.directiveRegistry,a=null;if(n)for(let i=0;i<n.length;i++){let r=n[i];Vx(t,r.selectors,!1)&&(a??(a=[]),pn(r)?a.unshift(r):a.push(r))}return a}function Xfe(e,t,n,a,i,r){let s=yn(e,t);Jfe(t[qt],s,r,e.value,n,a,i)}function Jfe(e,t,n,a,i,r,s){if(r==null)e.removeAttribute(t,i,n);else{let l=s==null?Zr(r):s(r,a||"",i);e.setAttribute(t,i,l,n)}}function ege(e,t,n,a,i,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];Kp(a,n,c,d)}}function tge(e,t){let n=e[Xo],a=n?n.get(Yi,null):null;a&&a.handleError(t)}function Kf(e,t,n,a,i){var c,d;let r=(c=e.inputs)==null?void 0:c[a],s=(d=e.hostDirectiveInputs)==null?void 0:d[a],l=!1;if(s)for(let u=0;u<s.length;u+=2){let p=s[u],b=s[u+1],g=t.data[p];Kp(g,n[p],b,i),l=!0}if(r)for(let u of r){let p=n[u],b=t.data[u];Kp(b,p,a,i),l=!0}return l}function age(e,t){let n=fn(t,e),a=n[je];ige(a,n);let i=n[Gn];i!==null&&n[Qo]===null&&(n[Qo]=Ex(i,n[Xo])),Qf(a,n,n[Ea]),Jr(19,n[Ea])}function ige(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Qf(e,t,n){var a;Of(t);try{let i=e.viewQuery;i!==null&&Zp(1,i,n);let r=e.template;r!==null&&Hx(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(a=t[$i])==null||a.finishViewCreation(e),e.staticContentQueries&&Cx(e,t),e.staticViewQueries&&Zp(2,e.viewQuery,n);let s=e.components;s!==null&&nge(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[Le]&=-5,Tf()}}function nge(e,t){for(let n=0;n<t.length;n++)age(e,t[n])}function Zl(e,t,n,a){let i=Ke(null);try{let r=t.tView,s=e[Le]&4096?4096:16,l=qf(e,r,n,s,null,t,null,null,(a==null?void 0:a.injector)??null,(a==null?void 0:a.embeddedViewInjector)??null,(a==null?void 0:a.dehydratedView)??null),c=e[t.index];l[Qr]=c;let d=e[$i];return d!==null&&(l[$i]=d.createEmbeddedView(r)),Qf(r,l,n),l}finally{Ke(i)}}function as(e,t){return!t||t.firstChild===null||px(e)}var rge;function Xf(e,t){return rge(e,t)}var sr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(sr||{});function Jf(e){return(e.flags&32)===32}function Lo(e,t,n,a,i){if(a!=null){let r,s=!1;$n(a)?r=a:pr(a)&&(s=!0,a=a[Gn]);let l=mn(a);e===0&&n!==null?i==null?Px(t,n,l):Md(t,n,l,i||null,!0):e===1&&n!==null?Md(t,n,l,i||null,!0):e===2?Ife(t,l,s):e===3&&t.destroyNode(l),r!=null&&fge(t,e,r,n,i)}}function oge(e,t){Ux(e,t),t[Gn]=null,t[pi]=null}function sge(e,t,n,a,i,r){a[Gn]=i,a[pi]=t,Mu(e,a,n,1,i,r)}function Ux(e,t){var n;(n=t[Un].changeDetectionScheduler)==null||n.notify(9),Mu(e,t,t[qt],2,null,null)}function lge(e){let t=e[ml];if(!t)return kh(e[je],e);for(;t;){let n=null;if(pr(t))n=t[ml];else{let a=t[Ua];a&&(n=a)}if(!n){for(;t&&!t[Gi]&&t!==e;)pr(t)&&kh(t[je],t),t=t[qa];t===null&&(t=e),pr(t)&&kh(t[je],t),n=t&&t[Gi]}t=n}}function eg(e,t){let n=e[Jo],a=n.indexOf(t);n.splice(a,1)}function Ru(e,t){if(fs(t))return;let n=t[qt];n.destroyNode&&Mu(e,t,n,3,null,null),lge(t)}function kh(e,t){if(fs(t))return;let n=Ke(null);try{t[Le]&=-129,t[Le]|=256,t[Pi]&&hu(t[Pi]),dge(e,t),cge(e,t),t[je].type===1&&t[qt].destroy();let a=t[Qr];if(a!==null&&$n(t[qa])){a!==t[qa]&&eg(a,t);let i=t[$i];i!==null&&i.detachView(e)}$p(t)}finally{Ke(n)}}function cge(e,t){let n=e.cleanup,a=t[Ho];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?a[l]():a[-l].unsubscribe(),s+=2}else{let l=a[n[s+1]];n[s].call(l)}a!==null&&(t[Ho]=null);let i=t[ur];if(i!==null){t[ur]=null;for(let s=0;s<i.length;s++){let l=i[s];l()}}let r=t[Fn];if(r!==null){t[Fn]=null;for(let s of r)s.destroy()}}function dge(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let a=0;a<n.length;a+=2){let i=t[n[a]];if(!(i instanceof ql)){let r=n[a+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=i[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(i)}finally{}}}}function Wx(e,t,n){return uge(e,t.parent,n)}function uge(e,t,n){let a=t;for(;a!==null&&a.type&168;)t=a,a=t.parent;if(a===null)return n[Gn];if(ms(a)){let{encapsulation:i}=e.data[a.directiveStart+a.componentOffset];if(i===Vn.None||i===Vn.Emulated)return null}return yn(a,n)}function qx(e,t,n){return pge(e,t,n)}function hge(e,t,n){return e.type&40?yn(e,n):null}var pge=hge;function Pu(e,t,n,a){let i=Wx(e,a,t),r=t[qt],s=a.parent||t[pi],l=qx(s,a,t);if(i!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)cb(r,i,n[c],l,!1);else cb(r,i,n,l,!1)}function Ks(e,t){if(t!==null){let n=t.type;if(n&3)return yn(t,e);if(n&4)return Qp(-1,e[t.index]);if(n&8){let a=t.child;if(a!==null)return Ks(e,a);{let i=e[t.index];return $n(i)?Qp(-1,i):mn(i)}}else{if(n&128)return Ks(e,t.next);if(n&32)return Xf(t,e)()||mn(e[t.index]);{let a=Gx(e,t);if(a!==null){if(Array.isArray(a))return a[0];let i=to(e[_i]);return Ks(i,a)}else return Ks(e,t.next)}}}return null}function Gx(e,t){if(t!==null){let n=e[_i][pi],a=t.projection;return n.projection[a]}return null}function Qp(e,t){let n=Ua+e+1;if(n<t.length){let a=t[n],i=a[je].firstChild;if(i!==null)return Ks(a,i)}return t[Xr]}function tg(e,t,n,a,i,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=a[n.index],c=n.type;if(s&&t===0&&(l&&xs(mn(l),a),n.flags|=2),!Jf(n))if(c&8)tg(e,t,n.child,a,i,r,!1),Lo(t,e,i,l,r);else if(c&32){let d=Xf(n,a),u;for(;u=d();)Lo(t,e,i,u,r);Lo(t,e,i,l,r)}else c&16?$x(e,t,a,n,i,r):Lo(t,e,i,l,r);n=s?n.projectionNext:n.next}}function Mu(e,t,n,a,i,r){tg(n,a,e.firstChild,t,i,r,!1)}function mge(e,t,n){let a=t[qt],i=Wx(e,n,t),r=n.parent||t[pi],s=qx(r,n,t);$x(a,0,t,n,i,s)}function $x(e,t,n,a,i,r){let s=n[_i],l=s[pi].projection[a.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Lo(t,e,i,d,r)}else{let c=l,d=s[qa];px(a)&&(c.flags|=128),tg(e,t,c,d,i,r,!0)}}function fge(e,t,n,a,i){let r=n[Xr],s=mn(n);r!==s&&Lo(t,e,a,r,i);for(let l=Ua;l<n.length;l++){let c=n[l];Mu(c[je],c,e,t,a,r)}}function gge(e,t,n,a,i){if(t)i?e.addClass(n,a):e.removeClass(n,a);else{let r=a.indexOf("-")===-1?void 0:sr.DashCase;i==null?e.removeStyle(n,a,r):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),r|=sr.Important),e.setStyle(n,a,i,r))}}function Nd(e,t,n,a,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&a.push(mn(r)),$n(r)&&bge(r,a);let s=n.type;if(s&8)Nd(e,t,n.child,a);else if(s&32){let l=Xf(n,t),c;for(;c=l();)a.push(c)}else if(s&16){let l=Gx(t,n);if(Array.isArray(l))a.push(...l);else{let c=to(t[_i]);Nd(c[je],c,l,a,!0)}}n=i?n.projectionNext:n.next}return a}function bge(e,t){for(let n=Ua;n<e.length;n++){let a=e[n],i=a[je].firstChild;i!==null&&Nd(a[je],a,i,t)}e[Xr]!==e[Gn]&&t.push(e[Xr])}function Yx(e){if(e[hr]!==null){for(let t of e[hr])t.impl.addSequence(t);e[hr].length=0}}var Zx=[];function vge(e){return e[Pi]??yge(e)}function yge(e){let t=Zx.pop()??Object.create(xge);return t.lView=e,t}function _ge(e){e.lView[Pi]!==e&&(e.lView=null,Zx.push(e))}var xge=dt(pe({},cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{bs(e.lView)},consumerOnSignalRead(){this.lView[Pi]=this}});function wge(e){let t=e[Pi]??Object.create(kge);return t.lView=e,t}var kge=dt(pe({},cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=to(e.lView);for(;t&&!Kx(t[je]);)t=to(t);t&&wf(t)},consumerOnSignalRead(){this.lView[Pi]=this}});function Kx(e){return e.type!==2}function Qx(e){if(e[Fn]===null)return;let t=!0;for(;t;){let n=!1;for(let a of e[Fn])a.dirty&&(n=!0,a.zone===null||Zone.current===a.zone?a.run():a.zone.run(()=>a.run()));t=n&&!!(e[Le]&8192)}}var Ege=100;function Xx(e,t=!0,n=0){var i,r;let a=e[Un].rendererFactory;(i=a.begin)==null||i.call(a);try{Cge(e,n)}catch(s){throw t&&tge(e,s),s}finally{(r=a.end)==null||r.call(a)}}function Cge(e,t){let n=z1();try{Id(!0),Xp(e,t);let a=0;for(;Wl(e);){if(a===Ege)throw new ae(103,!1);a++,Xp(e,1)}}finally{Id(n)}}function Sge(e,t,n,a){if(fs(t))return;let i=t[Le],r=!1,s=!1;Of(t);let l=!0,c=null,d=null;Kx(e)?(d=vge(t),c=ll(d)):Lue()===null?(l=!1,d=wge(t),c=ll(d)):t[Pi]&&(hu(t[Pi]),t[Pi]=null);try{M1(t),qpe(e.bindingStartIndex),n!==null&&Hx(e,t,n,2,a);let u=(i&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&sd(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ld(t,g,0,null),xh(t,0)}if(s||Dge(t),Qx(t),Jx(t,0),e.contentQueries!==null&&Cx(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&sd(t,g)}else{let g=e.contentHooks;g!==null&&ld(t,g,1),xh(t,1)}Oge(e,t);let p=e.components;p!==null&&tw(t,p,0);let b=e.viewQuery;if(b!==null&&Zp(2,b,a),!r)if(u){let g=e.viewCheckHooks;g!==null&&sd(t,g)}else{let g=e.viewHooks;g!==null&&ld(t,g,2),xh(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[_h]){for(let g of t[_h])g();t[_h]=null}r||(Yx(t),t[Le]&=-73)}catch(u){throw bs(t),u}finally{d!==null&&(uu(d,c),l&&_ge(d)),Tf()}}function Jx(e,t){for(let n=gx(e);n!==null;n=bx(n))for(let a=Ua;a<n.length;a++){let i=n[a];ew(i,t)}}function Dge(e){for(let t=gx(e);t!==null;t=bx(t)){if(!(t[Le]&2))continue;let n=t[Jo];for(let a=0;a<n.length;a++){let i=n[a];wf(i)}}}function Ige(e,t,n){let a=fn(t,e);ew(a,n),Jr(19,a[Ea])}function ew(e,t){xf(e)&&Xp(e,t)}function Xp(e,t){let n=e[je],a=e[Le],i=e[Pi],r=!!(t===0&&a&16);if(r||(r=!!(a&64&&t===0)),r||(r=!!(a&1024)),r||(r=!!(i!=null&&i.dirty&&ef(i))),r||(r=!1),i&&(i.dirty=!1),e[Le]&=-9217,r)Sge(n,e,n.template,e[Ea]);else if(a&8192){Qx(e),Jx(e,1);let s=n.components;s!==null&&tw(e,s,1),Yx(e)}}function tw(e,t,n){for(let a=0;a<t.length;a++)Ige(e,t[a],n)}function Oge(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let a=0;a<n.length;a++){let i=n[a];if(i<0)ao(~i);else{let r=i,s=n[++a],l=n[++a];$pe(s,r);let c=t[r];Jr(24,c),l(2,c),Jr(25,c)}}}finally{ao(-1)}}function ag(e,t){var a;let n=z1()?64:1088;for((a=e[Un].changeDetectionScheduler)==null?void 0:a.notify(t);e;){e[Le]|=n;let i=to(e);if(Dd(e)&&!i)return e;e=i}return null}function aw(e,t,n,a){return[e,!0,0,t,null,a,null,n,null,null]}function iw(e,t){let n=Ua+t;if(n<e.length)return e[n]}function Kl(e,t,n,a=!0){let i=t[je];if(Tge(i,t,e,n),a){let s=Qp(n,e),l=t[qt],c=l.parentNode(e[Xr]);c!==null&&sge(i,e[pi],l,t,c,s)}let r=t[Qo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function nw(e,t){let n=vl(e,t);return n!==void 0&&Ru(n[je],n),n}function vl(e,t){if(e.length<=Ua)return;let n=Ua+t,a=e[n];if(a){let i=a[Qr];i!==null&&i!==e&&eg(i,a),t>0&&(e[n-1][Gi]=a[Gi]);let r=Ed(e,Ua+t);oge(a[je],a);let s=r[$i];s!==null&&s.detachView(r[je]),a[qa]=null,a[Gi]=null,a[Le]&=-129}return a}function Tge(e,t,n,a){let i=Ua+a,r=n.length;a>0&&(n[i-1][Gi]=t),a<r-Ua?(t[Gi]=n[i],g1(n,Ua+a,t)):(n.push(t),t[Gi]=null),t[qa]=n;let s=t[Qr];s!==null&&n!==s&&rw(s,t);let l=t[$i];l!==null&&l.insertView(e),zp(t),t[Le]|=128}function rw(e,t){let n=e[Jo],a=t[qa];if(pr(a))e[Le]|=2;else{let i=a[qa][_i];t[_i]!==i&&(e[Le]|=2)}n===null?e[Jo]=[t]:n.push(t)}var yl=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[je];return Nd(t,e,t.firstChild,[])}get context(){return this._lView[Ea]}set context(e){this._lView[Ea]=e}get destroyed(){return fs(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[qa];if($n(e)){let t=e[Sd],n=t?t.indexOf(this):-1;n>-1&&(vl(e,n),Ed(t,n))}this._attachedToViewContainer=!1}Ru(this._lView[je],this._lView)}onDestroy(e){N1(this._lView,e)}markForCheck(){ag(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Le]&=-129}reattach(){zp(this._lView),this._lView[Le]|=128}detectChanges(){this._lView[Le]|=1024,Xx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Dd(this._lView),t=this._lView[Qr];t!==null&&!e&&eg(t,this._lView),Ux(this._lView[je],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new ae(902,!1);this._appRef=e;let t=Dd(this._lView),n=this._lView[Qr];n!==null&&!t&&rw(n,this._lView),zp(this._lView)}};function Age(e){return Wl(e._lView)||!!(e._lView[Le]&64)}function Rge(e){wf(e._cdRefInjectingView||e._lView)}var ya=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Nge),e})(),Pge=ya,Mge=class extends Pge{constructor(t,n,a){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=a}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,a){let i=Zl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:a});return new yl(i)}};function Nge(){return Nu(Za(),Pe())}function Nu(e,t){return e.type&4?new Mge(t,e,_s(e,t)):null}function ws(e,t,n,a,i){let r=e.data[t];if(r===null)r=Lge(e,t,n,a,i),Gpe()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=a,r.attrs=i;let s=Upe();r.injectorIndex=s===null?-1:s.injectorIndex}return kr(r,!0),r}function Lge(e,t,n,a,i){let r=F1(),s=Cf(),l=s?r:r&&r.parent,c=e.data[t]=Vge(e,l,n,t,a,i);return Fge(e,c,r,s),c}function Fge(e,t,n,a){e.firstChild===null&&(e.firstChild=t),n!==null&&(a?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Vge(e,t,n,a,i,r){let s=t?t.injectorIndex:-1,l=0;return L1()&&(l|=128),{type:n,index:a,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,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 zge=()=>null;function is(e,t){return zge()}var Bge=class{},ow=class{},jge=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Ri(e)}.`)}},Ep,Ql=(Ep=class{},o(Ep,"NULL",new jge),Ep),Fi=class{},ri=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>Hge()),e})();function Hge(){let e=Pe(),t=Za(),n=fn(t.index,e);return(pr(n)?n:e)[qt]}var Uge=(()=>{const t=class t{};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),Eh={},Wge=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=bu(n);let a=this.injector.get(e,Eh,n);return a!==Eh||t===Eh?a:this.parentInjector.get(e,t,n)}};function Jp(e,t,n){let a=n?e.styles:null,i=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)i=Rp(i,l);else if(r==2){let c=l,d=t[++s];a=Rp(a,c+": "+d+";")}}n?e.styles=a:e.stylesWithoutHost=a,n?e.classes=i:e.classesWithoutHost=i}function aa(e,t=Xe.Default){let n=Pe();if(n===null)return Ce(e,t);let a=Za();return ex(a,n,La(e),t)}function qge(){let e="invalid";throw new Error(e)}function ig(e,t,n,a,i){let r=a===null?null:{"":-1},s=i(e,n);if(s!==null){let l,c=null,d=null,u=$ge(s);u===null?l=s:[l,c,d]=u,Kge(e,t,n,l,r,c,d)}r!==null&&a!==null&&Gge(n,a,r)}function Gge(e,t,n){let a=e.localNames=[];for(let i=0;i<t.length;i+=2){let r=n[t[i+1]];if(r==null)throw new ae(-301,!1);a.push(t[i],r)}}function $ge(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&pn(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let a=null,i=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(a??(a=[]),i??(i=new Map),r??(r=new Map),Yge(s,a,r,i)),s===t&&(a??(a=[]),a.push(s));return a!==null?(a.push(...t===null?e:e.slice(1)),[a,i,r]):null}function Yge(e,t,n,a){let i=t.length;e.findHostDirectiveDefs(e,t,a),n.set(e,[i,t.length-1])}function Zge(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function Kge(e,t,n,a,i,r,s){let l=a.length,c=!1;for(let b=0;b<l;b++){let g=a[b];!c&&pn(g)&&(c=!0,Zge(e,n,b)),Up(Rd(n,t),e,g.type)}a0e(n,e.data.length,l);for(let b=0;b<l;b++){let g=a[b];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,p=Bx(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=a[b];if(n.mergedAttrs=es(n.mergedAttrs,g.hostAttrs),Xge(e,n,t,p,g),t0e(p,g,i),s!==null&&s.has(g)){let[k,S]=s.get(g);n.directiveToIndex.set(g.type,[p,k+n.directiveStart,S+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,p);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let w=g.type.prototype;!d&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),p++}Qge(e,n,r)}function Qge(e,t,n){for(let a=t.directiveStart;a<t.directiveEnd;a++){let i=e.data[a];if(n===null||!n.has(i))ub(0,t,i,a),ub(1,t,i,a),pb(t,a,!1);else{let r=n.get(i);hb(0,t,r,a),hb(1,t,r,a),pb(t,a,!0)}}}function ub(e,t,n,a){let i=e===0?n.inputs:n.outputs;for(let r in i)if(i.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(a),sw(t,r)}}function hb(e,t,n,a){let i=e===0?n.inputs:n.outputs;for(let r in i)if(i.hasOwnProperty(r)){let s=i[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(a,r),sw(t,s)}}function sw(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function pb(e,t,n){let{attrs:a,inputs:i,hostDirectiveInputs:r}=e;if(a===null||!n&&i===null||n&&r===null||Uf(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<a.length;){let c=a[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&i.hasOwnProperty(c)){let d=i[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,a[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],a[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function Xge(e,t,n,a,i){e.data[a]=i;let r=i.factory||(i.factory=Kr(i.type)),s=new ql(r,pn(i),aa);e.blueprint[a]=s,n[a]=s,Jge(e,t,a,Bx(e,n,i.hostVars,ki),i)}function Jge(e,t,n,a,i){let r=i.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;e0e(s)!=l&&s.push(l),s.push(n,a,r)}}function e0e(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function t0e(e,t,n){if(n){if(t.exportAs)for(let a=0;a<t.exportAs.length;a++)n[t.exportAs[a]]=e;pn(t)&&(n[""]=e)}}function a0e(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function lw(e,t,n,a,i,r,s,l){let c=t.consts,d=eo(c,s),u=ws(t,e,2,a,d);return ig(t,n,u,eo(c,l),i),u.mergedAttrs=es(u.mergedAttrs,u.attrs),u.attrs!==null&&Jp(u,u.attrs,!1),u.mergedAttrs!==null&&Jp(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function cw(e,t){Af(e,t),vf(t)&&e.queries.elementEnd(t)}var i0e=class extends Ql{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=Zo(t);return new ng(n,this.ngModule)}};function n0e(e){return Object.keys(e).map(t=>{let[n,a,i]=e[t],r={propName:n,templateName:t,isSignal:(a&Tu.SignalBased)!==0};return i&&(r.transform=i),r})}function r0e(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function o0e(e,t,n){let a=t instanceof hn?t:t==null?void 0:t.injector;return a&&e.getStandaloneInjector!==null&&(a=e.getStandaloneInjector(a)||a),a?new Wge(n,a):n}function s0e(e){let t=e.get(Fi,null);if(t===null)throw new ae(407,!1);let n=e.get(Uge,null),a=e.get(ys,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:a}}function l0e(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Rx(t,n,n==="svg"?R1:n==="math"?Ape:null)}var ng=class extends ow{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=jfe(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=n0e(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=r0e(this.componentDef.outputs)),this.cachedOutputs}create(t,n,a,i){let r=Ke(null);try{let s=this.componentDef,l=a?["ng-version","19.2.17"]:Hfe(this.componentDef.selectors[0]),c=Wf(0,null,null,1,0,null,null,null,null,[l],null),d=o0e(s,i||this.ngModule,t),u=s0e(d),p=u.rendererFactory.createRenderer(null,s),b=a?Gfe(p,a,s.encapsulation,d):l0e(s,p),g=qf(null,c,null,512|zx(s),null,null,u,p,d,null,Ex(b,d,!0));g[Gt]=b,Of(g);let w=null;try{let k=lw(Gt,c,g,"#host",()=>[this.componentDef],!0,0);b&&(Mx(p,b,k),xs(b,g)),Au(c,g,k),Bf(c,k,g),cw(c,k),n!==void 0&&d0e(k,this.ngContentSelectors,n),w=fn(k.index,g),g[Ea]=w[Ea],Qf(c,g,null)}catch(k){throw w!==null&&$p(w),$p(g),k}finally{Jr(23),Tf()}return new c0e(this.componentType,g)}finally{Ke(r)}}},c0e=class extends Bge{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=yf(n[je],Gt),this.location=_s(this._tNode,n),this.instance=fn(this._tNode.index,n)[Ea],this.hostView=this.changeDetectorRef=new yl(n,void 0,!1),this.componentType=t}setInput(t,n){let a=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Kf(a,i[je],i,t,n),this.previousInputValues.set(t,n);let r=fn(a.index,i);ag(r,1)}get injector(){return new al(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function d0e(e,t,n){let a=e.projection=[];for(let i=0;i<t.length;i++){let r=n[i];a.push(r!=null&&r.length?Array.from(r):null)}}var oi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",u0e),e})();function u0e(){let e=Za();return uw(e,Pe())}var h0e=oi,dw=class extends h0e{constructor(t,n,a){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=a}get element(){return _s(this._hostTNode,this._hostLView)}get injector(){return new al(this._hostTNode,this._hostLView)}get parentInjector(){let t=Rf(this._hostTNode,this._hostLView);if(Y1(t)){let n=Td(t,this._hostLView),a=Od(t),i=n[je].data[a+8];return new al(i,n)}else return new al(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=mb(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Ua}createEmbeddedView(t,n,a){let i,r;typeof a=="number"?i=a:a!=null&&(i=a.index,r=a.injector);let s=is(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,i,as(this._hostTNode,s)),l}createComponent(t,n,a,i,r){let s=t&&!Spe(t),l;if(s)l=n;else{let w=n||{};l=w.index,a=w.injector,i=w.projectableNodes,r=w.environmentInjector||w.ngModuleRef}let c=s?t:new ng(Zo(t)),d=a||this.parentInjector;if(!r&&c.ngModule==null){let w=(s?d:this.parentInjector).get(hn,null);w&&(r=w)}let u=Zo(c.componentType??{}),p=is(this._lContainer,(u==null?void 0:u.id)??null),b=null,g=c.create(d,i,b,r);return this.insertImpl(g.hostView,l,as(this._hostTNode,p)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,a){let i=t._lView;if(Ppe(i)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=i[qa],d=new dw(c,c[pi],c[qa]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Kl(s,i,r,a),t.attachToViewContainerRef(),g1(Ch(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=mb(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),a=vl(this._lContainer,n);a&&(Ed(Ch(this._lContainer),n),Ru(a[je],a))}detach(t){let n=this._adjustIndex(t,-1),a=vl(this._lContainer,n);return a&&Ed(Ch(this._lContainer),n)!=null?new yl(a):null}_adjustIndex(t,n=0){return t??this.length+n}};function mb(e){return e[Sd]}function Ch(e){return e[Sd]||(e[Sd]=[])}function uw(e,t){let n,a=t[e.index];return $n(a)?n=a:(n=aw(a,t,null,e),t[e.index]=n,Gf(t,n)),m0e(n,t,e,a),new dw(n,e,t)}function p0e(e,t){let n=e[qt],a=n.createComment(""),i=yn(t,e),r=n.parentNode(i);return Md(n,r,a,n.nextSibling(i),!1),a}var m0e=f0e;function f0e(e,t,n,a){if(e[Xr])return;let i;n.type&8?i=mn(a):i=p0e(t,n),e[Xr]=i}var g0e=class hw{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new hw(this.queryList)}setDirty(){this.queryList.setDirty()}},b0e=class pw{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let a=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let r=0;r<a;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];i.push(l.clone())}return new pw(i)}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++)og(t,n).matches!==null&&this.queries[n].setDirty()}},mw=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=E0e(e):this.predicate=e}},v0e=class fw{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let a=0;a<this.queries.length;a++)this.queries[a].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 a=0;a<this.length;a++){let i=n!==null?n.length:0,r=this.getByIndex(a).embeddedTView(t,i);r&&(r.indexInDeclarationView=a,n!==null?n.push(r):n=[r])}return n!==null?new fw(n):null}template(t,n){for(let a=0;a<this.queries.length;a++)this.queries[a].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},y0e=class gw{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new gw(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,a=t.parent;for(;a!==null&&a.type&8&&a.index!==n;)a=a.parent;return n===(a!==null?a.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let a=this.metadata.predicate;if(Array.isArray(a))for(let i=0;i<a.length;i++){let r=a[i];this.matchTNodeWithReadOption(t,n,_0e(n,r)),this.matchTNodeWithReadOption(t,n,cd(n,t,r,!1,!1))}else a===ya?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,cd(n,t,a,!1,!1))}matchTNodeWithReadOption(t,n,a){if(a!==null){let i=this.metadata.read;if(i!==null)if(i===Te||i===oi||i===ya&&n.type&4)this.addMatch(n.index,-2);else{let r=cd(n,t,i,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,a)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function _0e(e,t){let n=e.localNames;if(n!==null){for(let a=0;a<n.length;a+=2)if(n[a]===t)return n[a+1]}return null}function x0e(e,t){return e.type&11?_s(e,t):e.type&4?Nu(e,t):null}function w0e(e,t,n,a){return n===-1?x0e(t,e):n===-2?k0e(e,t,a):fl(e,e[je],n,t)}function k0e(e,t,n){if(n===Te)return _s(t,e);if(n===ya)return Nu(t,e);if(n===oi)return uw(t,e)}function bw(e,t,n,a){let i=t[$i].queries[a];if(i.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(w0e(t,u,s[c+1],n.metadata.read))}}i.matches=l}return i.matches}function em(e,t,n,a){let i=e.queries.getByIndex(n),r=i.matches;if(r!==null){let s=bw(e,t,i,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)a.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let p=Ua;p<u.length;p++){let b=u[p];b[Qr]===b[qa]&&em(b[je],b,d,a)}if(u[Jo]!==null){let p=u[Jo];for(let b=0;b<p.length;b++){let g=p[b];em(g[je],g,d,a)}}}}}return a}function rg(e,t){return e[$i].queries[t].queryList}function vw(e,t,n){let a=new ts((n&4)===4);return Lpe(e,t,a,a.destroy),(t[$i]??(t[$i]=new b0e)).queries.push(new g0e(a))-1}function yw(e,t,n){let a=zt();return a.firstCreatePass&&(xw(a,new mw(e,t,n),-1),(t&2)===2&&(a.staticViewQueries=!0)),vw(a,Pe(),t)}function _w(e,t,n,a){let i=zt();if(i.firstCreatePass){let r=Za();xw(i,new mw(t,n,a),r.index),C0e(i,e),(n&2)===2&&(i.staticContentQueries=!0)}return vw(i,Pe(),n)}function E0e(e){return e.split(",").map(t=>t.trim())}function xw(e,t,n){e.queries===null&&(e.queries=new v0e),e.queries.track(new y0e(t,n))}function C0e(e,t){let n=e.contentQueries||(e.contentQueries=[]),a=n.length?n[n.length-1]:-1;t!==a&&n.push(e.queries.length-1,t)}function og(e,t){return e.queries.getByIndex(t)}function ww(e,t){let n=e[je],a=og(n,t);return a.crossesNgTemplate?em(n,e,t,[]):bw(n,e,a,t)}function sg(e,t,n){let a,i=__(()=>{a._dirtyCounter();let r=O0e(a,e);if(t&&r===void 0)throw new ae(-951,!1);return r});return a=i[Ha],a._dirtyCounter=ai(0),a._flatValue=void 0,i}function S0e(e){return sg(!0,!1)}function D0e(e){return sg(!0,!0)}function I0e(e){return sg(!1,!1)}function kw(e,t){let n=e[Ha];n._lView=Pe(),n._queryIndex=t,n._queryList=rg(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(a=>a+1))}function O0e(e,t){let n=e._lView,a=e._queryIndex;if(n===void 0||a===void 0||n[Le]&4)return t?void 0:ti;let i=rg(n,a),r=ww(n,a);return i.reset(r,ux),t?i.first:i._changesDetected||e._flatValue===void 0?e._flatValue=i.toArray():e._flatValue}function T0e(e,t){return I0e()}function fb(e,t){return S0e()}function A0e(e,t){return D0e()}var R0e=(fb.required=A0e,fb);function Ew(e,t){let n=Object.create(n1),a=new dx;n.value=e;function i(){return Ll(n),gb(n.value),n.value}return i[Ha]=n,i.asReadonly=Nf.bind(i),i.set=r=>{n.equal(n.value,r)||(Vl(n,r),a.emit(r))},i.update=r=>{gb(n.value),i.set(r(n.value))},i.subscribe=a.subscribe.bind(a),i.destroyRef=a.destroyRef,i}function gb(e){if(e===gu)throw new ae(952,!1)}function bb(e,t){return Ew(e)}function P0e(e){return Ew(gu)}var ks=(bb.required=P0e,bb),_l=class{},Cw=class extends _l{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new i0e(this));o(this,"instance",null);let n=new bf([...t.providers,{provide:_l,useValue:this},{provide:Ql,useValue:this.componentFactoryResolver}],t.parent||yu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function M0e(e,t,n=null){return new Cw({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var N0e=(()=>{const t=class t{constructor(a){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=a}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){let i=x1(!1,a.type),r=i.length>0?M0e([i],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,r)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(let a of this.cachedInjectors.values())a!==null&&a.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",Z({token:t,providedIn:"environment",factory:()=>new t(Ce(hn))}));let e=t;return e})();function X(e){return jl(()=>{let t=Sw(e),n=dt(pe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===mx.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(N0e).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vn.Emulated,styles:e.styles||ti,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ho("NgStandalone"),Dw(n);let a=e.dependencies;return n.directiveDefs=vb(a,!1),n.pipeDefs=vb(a,!0),n.id=B0e(n),n})}function L0e(e){return Zo(e)||_1(e)}function F0e(e){return e!==null}function yt(e){return jl(()=>({type:e.type,bootstrap:e.bootstrap||ti,declarations:e.declarations||ti,imports:e.imports||ti,exports:e.exports||ti,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function V0e(e,t){if(e==null)return un;let n={};for(let a in e)if(e.hasOwnProperty(a)){let i=e[a],r,s,l,c;Array.isArray(i)?(l=i[0],r=i[1],s=i[2]??r,c=i[3]||null):(r=i,s=i,l=Tu.None,c=null),n[r]=[a,l,c],t[r]=s}return n}function z0e(e){if(e==null)return un;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function de(e){return jl(()=>{let t=Sw(e);return Dw(t),t})}function ua(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 Sw(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||un,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ti,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:V0e(e.inputs,t),outputs:z0e(e.outputs),debugInfo:null}}function Dw(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function vb(e,t){if(!e)return null;let n=t?fpe:L0e;return()=>(typeof e=="function"?e():e).map(a=>n(a)).filter(F0e)}function B0e(e){let t=0,n=typeof e.consts=="function"?"":e.consts,a=[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 i of a.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function j0e(e){return Object.getPrototypeOf(e.prototype).constructor}function ze(e){let t=j0e(e.type),n=!0,a=[e];for(;t;){let i;if(pn(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new ae(903,!1);i=t.ɵdir}if(i){if(n){a.push(i);let s=e;s.inputs=Sh(e.inputs),s.declaredInputs=Sh(e.declaredInputs),s.outputs=Sh(e.outputs);let l=i.hostBindings;l&&G0e(e,l);let c=i.viewQuery,d=i.contentQueries;if(c&&W0e(e,c),d&&q0e(e,d),H0e(e,i),Yhe(e.outputs,i.outputs),pn(i)&&i.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let r=i.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===ze&&(n=!1)}}t=Object.getPrototypeOf(t)}U0e(a)}function H0e(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let a=t.inputs[n];a!==void 0&&(e.inputs[n]=a,e.declaredInputs[n]=t.declaredInputs[n])}}function U0e(e){let t=0,n=null;for(let a=e.length-1;a>=0;a--){let i=e[a];i.hostVars=t+=i.hostVars,i.hostAttrs=es(i.hostAttrs,n=es(n,i.hostAttrs))}}function Sh(e){return e===un?{}:e===ti?[]:e}function W0e(e,t){let n=e.viewQuery;n?e.viewQuery=(a,i)=>{t(a,i),n(a,i)}:e.viewQuery=t}function q0e(e,t){let n=e.contentQueries;n?e.contentQueries=(a,i,r)=>{t(a,i,r),n(a,i,r)}:e.contentQueries=t}function G0e(e,t){let n=e.hostBindings;n?e.hostBindings=(a,i)=>{t(a,i),n(a,i)}:e.hostBindings=t}function $0e(e){let t=n=>{let a=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Iw,n.hostDirectives=a?e.map(tm):[e]):a?n.hostDirectives.unshift(...e.map(tm)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Iw(e,t,n){if(e.hostDirectives!==null)for(let a of e.hostDirectives)if(typeof a=="function"){let i=a();for(let r of i)yb(tm(r),t,n)}else yb(a,t,n)}function yb(e,t,n){let a=_1(e.directive);Y0e(a.declaredInputs,e.inputs),Iw(a,t,n),n.set(a,e),t.push(a)}function tm(e){return typeof e=="function"?{directive:La(e),inputs:un,outputs:un}:{directive:La(e.directive),inputs:_b(e.inputs),outputs:_b(e.outputs)}}function _b(e){if(e===void 0||e.length===0)return un;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Y0e(e,t){for(let n in t)if(t.hasOwnProperty(n)){let a=t[n],i=e[n];e[a]=i}}function Ow(e){return lg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Z0e(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),a;for(;!(a=n.next()).done;)t(a.value)}}function lg(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Es(e,t,n){return e[t]=n}function Tw(e,t){return e[t]}function ui(e,t,n){let a=e[t];return Object.is(a,n)?!1:(e[t]=n,!0)}function xl(e,t,n,a){let i=ui(e,t,n);return ui(e,t+1,a)||i}function K0e(e,t,n,a,i){let r=xl(e,t,n,a);return ui(e,t+2,i)||r}function Aw(e,t,n,a,i,r){let s=xl(e,t,n,a);return xl(e,t+2,i,r)||s}function Q0e(e,t,n,a,i,r,s,l,c){let d=t.consts,u=ws(t,e,4,s||null,l||null);ig(t,n,u,eo(d,c),Zf),u.mergedAttrs=es(u.mergedAttrs,u.attrs),Af(t,u);let p=u.tView=Wf(2,u,a,i,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),p.queries=t.queries.embeddedTView(u)),u}function Rw(e,t,n,a,i,r,s,l,c,d){let u=n+Gt,p=t.firstCreatePass?Q0e(u,t,e,a,i,r,s,l,c):t.data[u];kr(p,!1);let b=X0e(t,e);Cu()&&Pu(t,e,b,p),xs(b,e);let g=aw(b,e,b,p);return e[u]=g,Gf(e,g),wu(p)&&Au(t,e,p),c!=null&&$f(e,p,d),p}function V(e,t,n,a,i,r,s,l){let c=Pe(),d=zt(),u=eo(d.consts,r);return Rw(c,d,e,t,n,a,i,u,s,l),V}var X0e=J0e;function J0e(e,t,n,a){return Su(!0),t[qt].createComment("")}var ebe=new Y(""),Pw=(()=>{const t=class t{};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new tbe}));let e=t;return e})(),tbe=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function cg(e){return!!e&&typeof e.then=="function"}function abe(e){return!!e&&typeof e.subscribe=="function"}var ibe=new Y(""),Mw=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((a,i)=>{this.resolve=a,this.reject=i}));o(this,"appInits",_(ibe,{optional:!0})??[]);o(this,"injector",_(ut))}runInitializers(){if(this.initialized)return;let a=[];for(let r of this.appInits){let s=_u(this.injector,r);if(cg(s))a.push(s);else if(abe(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});a.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{i()}).catch(r=>{this.reject(r)}),a.length===0&&i(),this.initialized=!0}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),nbe=new Y("");function rbe(){jue(()=>{throw new ae(600,!1)})}function obe(e){return e.isBoundToModule}var sbe=10,br=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",_(Dme));o(this,"afterRenderManager",_(wx));o(this,"zonelessEnabled",_(rx));o(this,"rootEffectScheduler",_(Pw));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new me);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",_(Gl).hasPendingTasks.pipe(It(a=>!a)));o(this,"_injector",_(hn));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var i;if(this._runningTick)throw new ae(101,!1);let a=Ke(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(i=this.tracingSnapshot)==null||i.dispose(),this.tracingSnapshot=null,Ke(a),this.afterTick.next()}});_($l,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let a;return new Promise(i=>{a=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{a.unsubscribe()})}get injector(){return this._injector}bootstrap(a,i){return this.bootstrapImpl(a,i)}bootstrapImpl(a,i,r=ut.NULL){let s=a instanceof ow;if(!this._injector.get(Mw).done){let g="";throw new ae(405,g)}let l;s?l=a:l=this._injector.get(Ql).resolveComponentFactory(a),this.componentTypes.push(l.componentType);let c=obe(l)?void 0:this._injector.get(_l),d=i||l.selector,u=l.create(r,[],d,c),p=u.location.nativeElement,b=u.injector.get(ebe,null);return b==null||b.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),dd(this.components,u),b==null||b.unregisterApplication(p)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Ff.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Fi,null,{optional:!0}));let a=0;for(;this.dirtyFlags!==0&&a++<sbe;)this.synchronizeOnce()}synchronizeOnce(){var a,i,r,s;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)lbe(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(i=(a=this._rendererFactory)==null?void 0:a.begin)==null||i.call(a),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:a})=>Wl(a))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(a){let i=a;this._views.push(i),i.attachToAppRef(this)}detachView(a){let i=a;dd(this._views,i),i.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a),this._injector.get(nbe,[]).forEach(i=>i(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>dd(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new ae(406,!1);let a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function dd(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function lbe(e,t,n,a){!n&&!Wl(e)||Xx(e,t,n&&!a?0:1)}function be(e,t,n,a){let i=Pe(),r=uo();if(ui(i,r,t)){zt();let s=Eu();Xfe(s,i,e,t,n,a)}return be}function Nw(e,t,n,a){return ui(e,uo(),n)?t+Zr(n)+a:ki}function cbe(e,t,n,a,i,r){let s=Wpe(),l=xl(e,s,n,i);return Df(2),l?t+Zr(n)+a+Zr(i)+r:ki}function Ic(e,t){return e<<17|t<<2}function no(e){return e>>17&32767}function dbe(e){return(e&2)==2}function ube(e,t){return e&131071|t<<17}function am(e){return e|2}function ns(e){return(e&131068)>>2}function Dh(e,t){return e&-131069|t<<2}function hbe(e){return(e&1)===1}function im(e){return e|1}function pbe(e,t,n,a,i,r){let s=r?t.classBindings:t.styleBindings,l=no(s),c=ns(s);e[a]=n;let d=!1,u;if(Array.isArray(n)){let p=n;u=p[1],(u===null||Hl(p,u)>0)&&(d=!0)}else u=n;if(i)if(c!==0){let p=no(e[l+1]);e[a+1]=Ic(p,l),p!==0&&(e[p+1]=Dh(e[p+1],a)),e[l+1]=ube(e[l+1],a)}else e[a+1]=Ic(l,0),l!==0&&(e[l+1]=Dh(e[l+1],a)),l=a;else e[a+1]=Ic(c,0),l===0?l=a:e[c+1]=Dh(e[c+1],a),c=a;d&&(e[a+1]=am(e[a+1])),xb(e,u,a,!0),xb(e,u,a,!1),mbe(t,u,e,a,r),s=Ic(l,c),r?t.classBindings=s:t.styleBindings=s}function mbe(e,t,n,a,i){let r=i?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Hl(r,t)>=0&&(n[a+1]=im(n[a+1]))}function xb(e,t,n,a){let i=e[n+1],r=t===null,s=a?no(i):ns(i),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];fbe(c,t)&&(l=!0,e[s+1]=a?im(d):am(d)),s=a?no(d):ns(d)}l&&(e[n+1]=a?am(i):im(i))}function fbe(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Hl(e,t)>=0:!1}var qi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gbe(e){return e.substring(qi.key,qi.keyEnd)}function bbe(e){return vbe(e),Lw(e,Fw(e,0,qi.textEnd))}function Lw(e,t){let n=qi.textEnd;return n===t?-1:(t=qi.keyEnd=ybe(e,qi.key=t,n),Fw(e,t,n))}function vbe(e){qi.key=0,qi.keyEnd=0,qi.value=0,qi.valueEnd=0,qi.textEnd=e.length}function Fw(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ybe(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function N(e,t,n){let a=Pe(),i=uo();if(ui(a,i,t)){let r=zt(),s=Eu();Yf(r,s,a,e,t,a[qt],n,!1)}return N}function nm(e,t,n,a,i){Kf(t,e,n,i?"class":"style",a)}function Kn(e,t,n){return zw(e,t,n,!1),Kn}function we(e,t){return zw(e,t,null,!0),we}function Mi(e){Bw(Cbe,Vw,e,!0)}function Vw(e,t){for(let n=bbe(t);n>=0;n=Lw(t,n))vu(e,gbe(t),!0)}function zw(e,t,n,a){let i=Pe(),r=zt(),s=Df(2);if(r.firstUpdatePass&&Hw(r,e,s,a),t!==ki&&ui(i,s,t)){let l=r.data[_n()];Uw(r,l,i,i[qt],e,i[s+1]=Dbe(t,n),a,s)}}function Bw(e,t,n,a){let i=zt(),r=Df(2);i.firstUpdatePass&&Hw(i,null,r,a);let s=Pe();if(n!==ki&&ui(s,r,n)){let l=i.data[_n()];if(Ww(l,a)&&!jw(i,r)){let c=l.classesWithoutHost;c!==null&&(n=Rp(c,n||"")),nm(i,l,s,n,a)}else Sbe(i,l,s,s[qt],s[r+1],s[r+1]=Ebe(e,t,n),a,r)}}function jw(e,t){return t>=e.expandoStartIndex}function Hw(e,t,n,a){let i=e.data;if(i[n+1]===null){let r=i[_n()],s=jw(e,n);Ww(r,a)&&t===null&&!s&&(t=!1),t=_be(i,r,t,a),pbe(i,r,t,n,s,a)}}function _be(e,t,n,a){let i=Zpe(e),r=a?t.residualClasses:t.residualStyles;if(i===null)(a?t.classBindings:t.styleBindings)===0&&(n=Ih(null,e,t,n,a),n=wl(n,t.attrs,a),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Ih(i,e,t,n,a),r===null){let l=xbe(e,t,a);l!==void 0&&Array.isArray(l)&&(l=Ih(null,e,t,l[1],a),l=wl(l,t.attrs,a),wbe(e,t,a,l))}else r=kbe(e,t,a)}return r!==void 0&&(a?t.residualClasses=r:t.residualStyles=r),n}function xbe(e,t,n){let a=n?t.classBindings:t.styleBindings;if(ns(a)!==0)return e[no(a)]}function wbe(e,t,n,a){let i=n?t.classBindings:t.styleBindings;e[no(i)]=a}function kbe(e,t,n){let a,i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<i;r++){let s=e[r].hostAttrs;a=wl(a,s,n)}return wl(a,t.attrs,n)}function Ih(e,t,n,a,i){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],a=wl(a,r.hostAttrs,i),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),a}function wl(e,t,n){let a=n?1:2,i=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?i=s:i===a&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vu(e,s,n?!0:t[++r]))}return e===void 0?null:e}function Ebe(e,t,n){if(n==null||n==="")return ti;let a=[],i=Ln(n);if(Array.isArray(i))for(let r=0;r<i.length;r++)e(a,i[r],!0);else if(typeof i=="object")for(let r in i)i.hasOwnProperty(r)&&e(a,r,i[r]);else typeof i=="string"&&t(a,i);return a}function Cbe(e,t,n){let a=String(t);a!==""&&!a.includes(" ")&&vu(e,a,n)}function Sbe(e,t,n,a,i,r,s,l){i===ki&&(i=ti);let c=0,d=0,u=0<i.length?i[0]:null,p=0<r.length?r[0]:null;for(;u!==null||p!==null;){let b=c<i.length?i[c+1]:void 0,g=d<r.length?r[d+1]:void 0,w=null,k;u===p?(c+=2,d+=2,b!==g&&(w=p,k=g)):p===null||u!==null&&u<p?(c+=2,w=u):(d+=2,w=p,k=g),w!==null&&Uw(e,t,n,a,w,k,s,l),u=c<i.length?i[c]:null,p=d<r.length?r[d]:null}}function Uw(e,t,n,a,i,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=hbe(d)?wb(c,t,n,i,ns(d),s):void 0;if(!Ld(u)){Ld(r)||dbe(d)&&(r=wb(c,null,n,i,l,s));let p=P1(_n(),n);gge(a,s,p,i,r)}}function wb(e,t,n,a,i,r){let s=t===null,l;for(;i>0;){let c=e[i],d=Array.isArray(c),u=d?c[1]:c,p=u===null,b=n[i+1];b===ki&&(b=p?ti:void 0);let g=p?vh(b,a):u===a?b:void 0;if(d&&!Ld(g)&&(g=vh(c,a)),Ld(g)&&(l=g,s))return l;let w=e[i+1];i=s?no(w):ns(w)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=vh(c,a))}return l}function Ld(e){return e!==void 0}function Dbe(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ri(Ln(e)))),e}function Ww(e,t){return(e.flags&(t?8:16))!==0}function Ibe(e,t,n){let a=Pe(),i=Nw(a,e,t,n);Bw(vu,Vw,i,!0)}var Obe=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),a=Math.max(e,t),i=this.detach(a);if(a-n>1){let r=this.detach(n);this.attach(n,i),this.attach(a,r)}else this.attach(n,i)}move(e,t){this.attach(t,this.detach(e))}};function Oh(e,t,n,a,i){return e===n&&Object.is(t,a)?1:Object.is(i(e,t),i(n,a))?-1:0}function Tbe(e,t,n){let a,i,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=Oh(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let p=e.at(s),b=t[l],g=Oh(s,p,l,b,n);if(g!==0){g<0&&e.updateValue(s,b),s--,l--;continue}let w=n(r,c),k=n(s,p),S=n(r,d);if(Object.is(S,k)){let A=n(l,b);Object.is(A,w)?(e.swap(r,s),e.updateValue(s,b),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(a??(a=new Cb),i??(i=Eb(e,r,s,n)),rm(e,a,r,S))e.updateValue(r,d),r++,s++;else if(i.has(S))a.set(w,e.detach(r)),s--;else{let A=e.create(r,t[r]);e.attach(r,A),r++,s++}}for(;r<=l;)kb(e,a,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,p=Oh(r,d,r,u,n);if(p!==0)p<0&&e.updateValue(r,u),r++,c=l.next();else{a??(a=new Cb),i??(i=Eb(e,r,s,n));let b=n(r,u);if(rm(e,a,r,b))e.updateValue(r,u),r++,s++,c=l.next();else if(!i.has(b))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);a.set(g,e.detach(r)),s--}}}for(;!c.done;)kb(e,a,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));a==null||a.forEach(l=>{e.destroy(l)})}function rm(e,t,n,a){return t!==void 0&&t.has(a)?(e.attach(n,t.get(a)),t.delete(a),!0):!1}function kb(e,t,n,a,i){if(rm(e,t,a,n(a,i)))e.updateValue(a,i);else{let r=e.create(a,i);e.attach(a,r)}}function Eb(e,t,n,a){let i=new Set;for(let r=t;r<=n;r++)i.add(a(r,e.at(r)));return i}var Cb=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let a=this._vMap;for(;a.has(n);)n=a.get(n);a.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 a=this._vMap;for(;a.has(n);)n=a.get(n),e(n,t)}}};function U(e,t){ho("NgControlFlow");let n=Pe(),a=uo(),i=n[a]!==ki?n[a]:-1,r=i!==-1?Fd(n,Gt+i):void 0,s=0;if(ui(n,a,e)){let l=Ke(null);try{if(r!==void 0&&nw(r,s),e!==-1){let c=Gt+e,d=Fd(n,c),u=om(n[je],c),p=is(d,u.tView.ssrId),b=Zl(n,u,t,{dehydratedView:p});Kl(d,b,s,as(u,p))}}finally{Ke(l)}}else if(r!==void 0){let l=iw(r,s);l!==void 0&&(l[Ea]=t)}}var Abe=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-Ua}};function Ni(e,t){return t}var Rbe=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ga(e,t,n,a,i,r,s,l,c,d,u,p,b){ho("NgControlFlow");let g=Pe(),w=zt(),k=c!==void 0,S=Pe(),A=l?s.bind(S[_i][Ea]):s,B=new Rbe(k,A);S[Gt+e]=B,Rw(g,w,e+1,t,n,a,i,eo(w.consts,r))}var Pbe=class extends Obe{constructor(t,n,a){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=a}get length(){return this.lContainer.length-Ua}at(t){return this.getLView(t)[Ea].$implicit}attach(t,n){let a=n[Qo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Kl(this.lContainer,n,t,as(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Mbe(this.lContainer,t)}create(t,n){var r;let a=is(this.lContainer,this.templateTNode.tView.ssrId),i=Zl(this.hostLView,this.templateTNode,new Abe(this.lContainer,n,t),{dehydratedView:a});return(r=this.operationsCounter)==null||r.recordCreate(),i}destroy(t){var n;Ru(t[je],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[Ea].$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)[Ea].$index=t}getLView(t){return Nbe(this.lContainer,t)}};function $a(e){let t=Ke(null),n=_n();try{let a=Pe(),i=a[je],r=a[n],s=n+1,l=Fd(a,s);if(r.liveCollection===void 0){let d=om(i,s);r.liveCollection=new Pbe(l,a,d)}else r.liveCollection.reset();let c=r.liveCollection;if(Tbe(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=uo(),u=c.length===0;if(ui(a,d,u)){let p=n+2,b=Fd(a,p);if(u){let g=om(i,p),w=is(b,g.tView.ssrId),k=Zl(a,g,void 0,{dehydratedView:w});Kl(b,k,0,as(g,w))}else nw(b,0)}}}finally{Ke(t)}}function Fd(e,t){return e[t]}function Mbe(e,t){return vl(e,t)}function Nbe(e,t){return iw(e,t)}function om(e,t){return yf(e,t)}function D(e,t,n,a){let i=Pe(),r=zt(),s=Gt+e,l=i[qt],c=r.firstCreatePass?lw(s,r,i,t,Zf,Bpe(),n,a):r.data[s],d=Lbe(r,i,c,l,t);i[s]=d;let u=wu(c);return kr(c,!0),Mx(l,d,c),!Jf(c)&&Cu()&&Pu(r,i,d,c),(Fpe()===0||u)&&xs(d,i),Vpe(),u&&(Au(r,i,c),Bf(r,c,i)),a!==null&&$f(i,c),D}function O(){let e=Za();Cf()?Sf():(e=e.parent,kr(e,!1));let t=e;jpe(t)&&Hpe(),zpe();let n=zt();return n.firstCreatePass&&cw(n,t),t.classesWithoutHost!=null&&ame(t)&&nm(n,t,Pe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ime(t)&&nm(n,t,Pe(),t.stylesWithoutHost,!1),O}function H(e,t,n,a){return D(e,t,n,a),O(),H}var Lbe=(e,t,n,a,i,r)=>(Su(!0),Rx(a,i,Jpe()));function Fbe(e,t,n,a,i){let r=t.consts,s=eo(r,a),l=ws(t,e,8,"ng-container",s);s!==null&&Jp(l,s,!0);let c=eo(r,i);return ig(t,n,l,c,Zf),l.mergedAttrs=es(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Xt(e,t,n){let a=Pe(),i=zt(),r=e+Gt,s=i.firstCreatePass?Fbe(r,i,a,t,n):i.data[r];kr(s,!0);let l=Vbe(i,a);return a[r]=l,Cu()&&Pu(i,a,l,s),xs(l,a),wu(s)&&(Au(i,a,s),Bf(i,s,a)),n!=null&&$f(a,s),Xt}function Jt(){let e=Za(),t=zt();return Cf()?Sf():(e=e.parent,kr(e,!1)),t.firstCreatePass&&(Af(t,e),vf(e)&&t.queries.elementEnd(e)),Jt}function Ca(e,t,n){return Xt(e,t,n),Jt(),Ca}var Vbe=(e,t,n,a)=>(Su(!0),Dfe(t[qt],""));function kt(){return Pe()}function xn(e,t,n){let a=Pe(),i=uo();if(ui(a,i,t)){let r=zt(),s=Eu();Yf(r,s,a,e,t,a[qt],n,!0)}return xn}var Or=void 0;function zbe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Bbe=["en",[["a","p"],["AM","PM"],Or],[["AM","PM"],Or,Or],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Or,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Or,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Or,"{1} 'at' {0}",Or],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",zbe],il={};function jbe(e,t,n){typeof t!="string"&&(n=t,t=e[_a.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),il[t]=e,n&&(il[t][_a.ExtraData]=n)}function Zi(e){let t=Hbe(e),n=Sb(t);if(n)return n;let a=t.split("-")[0];if(n=Sb(a),n)return n;if(a==="en")return Bbe;throw new ae(701,!1)}function Sb(e){return e in il||(il[e]=or.ng&&or.ng.common&&or.ng.common.locales&&or.ng.common.locales[e]),il[e]}var _a=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}(_a||{});function Hbe(e){return e.toLowerCase().replace(/_/g,"-")}var sm="en-US";function Ube(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Db(e,t,n){return function a(i){if(i===Function)return n;let r=ms(e)?fn(e.index,t):t;ag(r,5);let s=t[Ea],l=Ib(t,s,n,i),c=a.__ngNextListenerFn__;for(;c;)l=Ib(t,s,c,i)&&l,c=c.__ngNextListenerFn__;return l}}function Ib(e,t,n,a){let i=Ke(null);try{return Jr(6,t,n),n(a)!==!1}catch(r){return Wbe(e,r),!1}finally{Ke(i)}}function Wbe(e,t){let n=e[Xo],a=n?n.get(Yi,null):null;a&&a.handleError(t)}function Ob(e,t,n,a,i,r){let s=t[n],l=t[je],c=l.data[n].outputs[a],d=s[c],u=l.firstCreatePass?Ef(l):null,p=kf(t),b=d.subscribe(r),g=p.length;p.push(r,b),u&&u.push(i,e.index,g,-(g+1))}function xe(e,t,n,a){let i=Pe(),r=zt(),s=Za();return qw(r,i,i[qt],s,e,t,a),xe}function qbe(e,t,n,a){let i=e.cleanup;if(i!=null)for(let r=0;r<i.length-1;r+=2){let s=i[r];if(s===n&&i[r+1]===a){let l=t[Ho],c=i[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function qw(e,t,n,a,i,r,s){var p,b;let l=wu(a),c=e.firstCreatePass?Ef(e):null,d=kf(t),u=!0;if(a.type&3||s){let g=yn(a,t),w=s?s(g):g,k=d.length,S=s?B=>s(mn(B[a.index])):a.index,A=null;if(!s&&l&&(A=qbe(e,t,i,a.index)),A!==null){let B=A.__ngLastListenerFn__||A;B.__ngNextListenerFn__=r,A.__ngLastListenerFn__=r,u=!1}else{r=Db(a,t,r);let B=n.listen(w,i,r);d.push(r,B),c&&c.push(i,S,k,k+1)}}else r=Db(a,t,r);if(u){let g=(p=a.outputs)==null?void 0:p[i],w=(b=a.hostDirectiveOutputs)==null?void 0:b[i];if(w&&w.length)for(let k=0;k<w.length;k+=2){let S=w[k],A=w[k+1];Ob(a,t,S,A,i,r)}if(g&&g.length)for(let k of g)Ob(a,t,k,i,i,r)}}function L(e=1){return Qpe(e)}function Gbe(e,t){let n=null,a=Lfe(e);for(let i=0;i<t.length;i++){let r=t[i];if(r==="*"){n=i;continue}if(a===null?Vx(e,r,!0):zfe(a,r))return i}return n}function st(e){let t=Pe()[_i][pi];if(!t.projection){let n=e?e.length:1,a=t.projection=hpe(n,null),i=a.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?Gbe(r,e):0;s!==null&&(i[s]?i[s].projectionNext=r:a[s]=r,i[s]=r)}r=r.next}}}function Ee(e,t=0,n,a,i,r){let s=Pe(),l=zt(),c=null,d=ws(l,Gt+e,16,null,null);d.projection===null&&(d.projection=t),Sf();let u=!s[Qo]||L1();s[_i][pi].projection[d.projection]===null&&c!==null?$be(s,l,c):u&&!Jf(d)&&mge(l,s,d)}function $be(e,t,n){let a=Gt+n,i=t.data[a],r=e[a],s=is(r,i.tView.ssrId),l=Zl(e,i,void 0,{dehydratedView:s});Kl(r,l,0,as(i,s))}function ft(e,t,n,a){_w(e,t,n,a)}function $e(e,t,n){yw(e,t,n)}function ye(e){let t=Pe(),n=zt(),a=If();ku(a+1);let i=og(n,a);if(e.dirty&&Rpe(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let r=ww(t,a);e.reset(r,ux),e.notifyOnChanges()}return!0}return!1}function _e(){return rg(Pe(),If())}function Ybe(e,t,n,a,i){kw(t,_w(e,n,a,i))}function Zbe(e,t,n,a){kw(e,yw(t,n,a))}function Gw(e=1){ku(If()+e)}function Ya(e){let t=V1();return gs(t,Gt+e)}function F(e,t=""){let n=Pe(),a=zt(),i=e+Gt,r=a.firstCreatePass?ws(a,i,1,t,null):a.data[i],s=Kbe(a,n,r,t);n[i]=s,Cu()&&Pu(a,n,s,r),kr(r,!1)}var Kbe=(e,t,n,a,i)=>(Su(!0),Cfe(t[qt],a));function Re(e){return te("",e,""),Re}function te(e,t,n){let a=Pe(),i=Nw(a,e,t,n);return i!==ki&&$w(a,_n(),i),te}function qn(e,t,n,a,i){let r=Pe(),s=cbe(r,e,t,n,a,i);return s!==ki&&$w(r,_n(),s),qn}function $w(e,t,n){let a=P1(t,e);Sfe(e[qt],a,n)}function Er(e,t,n){hx(t)&&(t=t());let a=Pe(),i=uo();if(ui(a,i,t)){let r=zt(),s=Eu();Yf(r,s,a,e,t,a[qt],n,!1)}return Er}function mo(e,t){let n=hx(e);return n&&e.set(t),n}function Cr(e,t){let n=Pe(),a=zt(),i=Za();return qw(a,n,n[qt],i,e,t),Cr}var Yw={};function dg(e){let t=zt(),n=Pe(),a=e+Gt,i=ws(t,a,128,null,null);return kr(i,!1),_f(t,n,a,Yw),dg}function Tb(e){ho("NgLet");let t=zt(),n=Pe(),a=_n();return _f(t,n,a,e),e}function Ab(e){let t=V1(),n=gs(t,Gt+e);if(n===Yw)throw new ae(314,!1);return n}function Qbe(e,t,n){let a=zt();if(a.firstCreatePass){let i=pn(e);lm(n,a.data,a.blueprint,i,!0),lm(t,a.data,a.blueprint,i,!1)}}function lm(e,t,n,a,i){if(e=La(e),Array.isArray(e))for(let r=0;r<e.length;r++)lm(e[r],t,n,a,i);else{let r=zt(),s=Pe(),l=Za(),c=Ko(e)?e:La(e.provide),d=E1(e),u=l.providerIndexes&1048575,p=l.directiveStart,b=l.providerIndexes>>20;if(Ko(e)||!e.multi){let g=new ql(d,i,aa),w=Ah(c,t,i?u:u+b,p);w===-1?(Up(Rd(l,s),r,c),Th(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[w]=g,s[w]=g)}else{let g=Ah(c,t,u+b,p),w=Ah(c,t,u,u+b),k=g>=0&&n[g],S=w>=0&&n[w];if(i&&!S||!i&&!k){Up(Rd(l,s),r,c);let A=eve(i?Jbe:Xbe,n.length,i,a,d);!i&&S&&(n[w].providerFactory=A),Th(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(A),s.push(A)}else{let A=Zw(n[i?w:g],d,!i&&a);Th(r,e,g>-1?g:w,A)}!i&&a&&S&&n[w].componentProviders++}}}function Th(e,t,n,a){let i=Ko(t),r=_pe(t);if(i||r){let s=(r?La(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[a,s]):l[c+1].push(a,s)}else l.push(n,s)}}}function Zw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ah(e,t,n,a){for(let i=n;i<a;i++)if(t[i]===e)return i;return-1}function Xbe(e,t,n,a,i){return cm(this.multi,[])}function Jbe(e,t,n,a,i){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=fl(a,a[je],this.providerFactory.index,i);s=c.slice(0,l),cm(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],cm(r,s);return s}function cm(e,t){for(let n=0;n<e.length;n++){let a=e[n];t.push(a())}return t}function eve(e,t,n,a,i){let r=new ql(e,n,aa);return r.multi=[],r.index=t,r.componentProviders=0,Zw(r,i,a&&!n),r}function lt(e,t=[]){return n=>{n.providersResolver=(a,i)=>Qbe(a,i?i(e):e,t)}}function gn(e,t,n){let a=Yn()+e,i=Pe();return i[a]===ki?Es(i,a,t()):Tw(i,a)}function ii(e,t,n,a){return Kw(Pe(),Yn(),e,t,n,a)}function tve(e,t,n,a,i){return Qw(Pe(),Yn(),e,t,n,a,i)}function Rb(e,t,n,a,i,r){return Xw(Pe(),Yn(),e,t,n,a,i,r)}function ave(e,t,n,a,i,r,s,l){let c=Yn()+e,d=Pe(),u=Aw(d,c,n,a,i,r);return ui(d,c+4,s)||u?Es(d,c+5,t(n,a,i,r,s)):Tw(d,c+5)}function Lu(e,t){let n=e[t];return n===ki?void 0:n}function Kw(e,t,n,a,i,r){let s=t+n;return ui(e,s,i)?Es(e,s+1,r?a.call(r,i):a(i)):Lu(e,s+1)}function Qw(e,t,n,a,i,r,s){let l=t+n;return xl(e,l,i,r)?Es(e,l+2,s?a.call(s,i,r):a(i,r)):Lu(e,l+2)}function Xw(e,t,n,a,i,r,s,l){let c=t+n;return K0e(e,c,i,r,s)?Es(e,c+3,l?a.call(l,i,r,s):a(i,r,s)):Lu(e,c+3)}function ive(e,t,n,a,i,r,s,l,c){let d=t+n;return Aw(e,d,i,r,s,l)?Es(e,d+4,c?a.call(c,i,r,s,l):a(i,r,s,l)):Lu(e,d+4)}function T(e,t){let n=zt(),a,i=e+Gt;n.firstCreatePass?(a=nve(t,n.pipeRegistry),n.data[i]=a,a.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(i,a.onDestroy)):a=n.data[i];let r=a.factory||(a.factory=Kr(a.type)),s=ci(aa);try{let l=Ad(!1),c=r();return Ad(l),_f(n,Pe(),i,c),c}finally{ci(s)}}function nve(e,t){if(t)for(let n=t.length-1;n>=0;n--){let a=t[n];if(e===a.name)return a}}function M(e,t,n){let a=e+Gt,i=Pe(),r=gs(i,a);return Fu(i,a)?Kw(i,Yn(),t,r.transform,n,r):r.transform(n)}function wt(e,t,n,a){let i=e+Gt,r=Pe(),s=gs(r,i);return Fu(r,i)?Qw(r,Yn(),t,s.transform,n,a,s):s.transform(n,a)}function vr(e,t,n,a,i){let r=e+Gt,s=Pe(),l=gs(s,r);return Fu(s,r)?Xw(s,Yn(),t,l.transform,n,a,i,l):l.transform(n,a,i)}function Yr(e,t,n,a,i,r){let s=e+Gt,l=Pe(),c=gs(l,s);return Fu(l,s)?ive(l,Yn(),t,c.transform,n,a,i,r,c):c.transform(n,a,i,r)}function Fu(e,t){return e[je].data[t].pure}function Vd(e,t){return Nu(e,t)}var rve=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Pb=new rve("19.2.17"),ove=(()=>{const t=class t{constructor(){o(this,"zone",_(Ne));o(this,"changeDetectionScheduler",_(ys));o(this,"applicationRef",_(br));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function sve({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(dt(pe({},lve()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:Cd,multi:!0,useFactory:()=>{let a=_(ove,{optional:!0});return()=>a.initialize()}},{provide:Cd,multi:!0,useFactory:()=>{let a=_(cve);return()=>{a.initialize()}}},t===!0?{provide:ox,useValue:!0}:[],{provide:sx,useValue:n??ix}]}function lve(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var cve=(()=>{const t=class t{constructor(){o(this,"subscription",new Ye);o(this,"initialized",!1);o(this,"zone",_(Ne));o(this,"pendingTasks",_(Gl))}initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{a!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),a??(a=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dve=(()=>{var t;const n=class n{constructor(){o(this,"appRef",_(br));o(this,"taskService",_(Gl));o(this,"ngZone",_(Ne));o(this,"zonelessEnabled",_(rx));o(this,"tracing",_($l,{optional:!0}));o(this,"disableScheduling",_(ox,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new Ye);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Pd):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(_(sx,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Eme||!this.zoneIsDefined))}notify(i){var l;if(!this.zonelessEnabled&&i===5)return;let r=!1;switch(i){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?X0:lx;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Pd+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 i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,X0(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(i){return new(i||n)}),o(n,"ɵprov",Z({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function uve(){return typeof $localize<"u"&&$localize.locale||sm}var Vu=new Y("",{providedIn:"root",factory:()=>_(Vu,Xe.Optional|Xe.SkipSelf)||uve()}),dm=new Y(""),hve=new Y("");function Vs(e){return!e.moduleRef}function pve(e){let t=Vs(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{Vs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let a=t.get(Yi,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r=>{a.handleError(r)}})}),Vs(e)){let r=()=>t.destroy(),s=e.platformInjector.get(dm);s.add(r),t.onDestroy(()=>{i.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(dm);s.add(r),e.moduleRef.onDestroy(()=>{dd(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(r)})}return fve(a,n,()=>{let r=t.get(Mw);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(Vu,sm);if(Ube(s||sm),!t.get(hve,!0))return Vs(e)?t.get(br):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vs(e)){let l=t.get(br);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return mve(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function mve(e,t){let n=e.injector.get(br);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(a=>n.bootstrap(a));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new ae(-403,!1);t.push(e)}function fve(e,t,n){try{let a=n();return cg(a)?a.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}var ud=null;function gve(e=[],t){return ut.create({name:t,providers:[{provide:gf,useValue:"platform"},{provide:dm,useValue:new Set([()=>ud=null])},...e]})}function bve(e=[]){if(ud)return ud;let t=gve(e);return ud=t,rbe(),vve(t),t}function vve(e){let t=e.get(_x,null);_u(e,()=>{t==null||t.forEach(n=>n())})}function yve(){return!1}var Et=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",_ve),e})();function _ve(e){return xve(Za(),Pe(),(e&16)===16)}function xve(e,t,n){if(ms(e)&&!n){let a=fn(e.index,t);return new yl(a,a)}else if(e.type&175){let a=t[_i];return new yl(a,t)}return null}var wve=class{constructor(){}supports(e){return Ow(e)}create(e){return new Eve(e)}},kve=(e,t)=>t,Eve=class{constructor(e){o(this,"length",0);o(this,"collection");o(this,"_linkedRecords",null);o(this,"_unlinkedRecords",null);o(this,"_previousItHead",null);o(this,"_itHead",null);o(this,"_itTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_movesHead",null);o(this,"_movesTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null);o(this,"_identityChangesHead",null);o(this,"_identityChangesTail",null);o(this,"_trackByFn");this._trackByFn=e||kve}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,a=0,i=null;for(;t||n;){let r=!n||t&&t.currentIndex<Nb(n,a,i)?t:n,s=Nb(r,a,i),l=r.currentIndex;if(r===n)a--,n=n._nextRemoved;else if(t=t._next,r.previousIndex==null)a++;else{i||(i=[]);let c=s-a,d=l-a;if(c!=d){for(let p=0;p<c;p++){let b=p<i.length?i[p]:i[p]=0,g=b+p;d<=g&&g<c&&(i[p]=b+1)}let u=r.previousIndex;i[u]=d-c}}s!==l&&e(r,s,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!Ow(e))throw new ae(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,n=!1,a,i,r;if(Array.isArray(e)){this.length=e.length;for(let s=0;s<this.length;s++)i=e[s],r=this._trackByFn(s,i),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,i,r,s),n=!0):(n&&(t=this._verifyReinsertion(t,i,r,s)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else a=0,Z0e(e,s=>{r=this._trackByFn(a,s),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,s,r,a),n=!0):(n&&(t=this._verifyReinsertion(t,s,r,a)),Object.is(t.item,s)||this._addIdentityChange(t,s)),t=t._next,a++}),this.length=a;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,a){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,a)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,a),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,a)):e=this._addAfter(new Cve(t,n),i,a)),e}_verifyReinsertion(e,t,n,a){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,a):e.currentIndex!=a&&(e.currentIndex=a,this._addToMoves(e,a)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let a=e._prevRemoved,i=e._nextRemoved;return a===null?this._removalsHead=i:a._nextRemoved=i,i===null?this._removalsTail=a:i._prevRemoved=a,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){let a=t===null?this._itHead:t._next;return e._next=a,e._prev=t,a===null?this._itTail=e:a._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new Mb),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,n=e._next;return t===null?this._itHead=n:t._next=n,n===null?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Mb),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Cve=class{constructor(e,t){o(this,"item");o(this,"trackById");o(this,"currentIndex",null);o(this,"previousIndex",null);o(this,"_nextPrevious",null);o(this,"_prev",null);o(this,"_next",null);o(this,"_prevDup",null);o(this,"_nextDup",null);o(this,"_prevRemoved",null);o(this,"_nextRemoved",null);o(this,"_nextAdded",null);o(this,"_nextMoved",null);o(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},Sve=class{constructor(){o(this,"_head",null);o(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;n!==null;n=n._nextDup)if((t===null||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let t=e._prevDup,n=e._nextDup;return t===null?this._head=n:t._nextDup=n,n===null?this._tail=t:n._prevDup=t,this._head===null}},Mb=class{constructor(){o(this,"map",new Map)}put(e){let t=e.trackById,n=this.map.get(t);n||(n=new Sve,this.map.set(t,n)),n.add(e)}get(e,t){let n=e,a=this.map.get(n);return a?a.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Nb(e,t,n){let a=e.previousIndex;if(a===null)return a;let i=0;return n&&a<n.length&&(i=n[a]),a+t+i}var Dve=class{constructor(){}supports(e){return e instanceof Map||lg(e)}create(){return new Ive}},Ive=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||lg(e)))throw new ae(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,a)=>{if(t&&t.key===a)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(a,n);t=this._insertBeforeOrAppend(t,i)}}),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 a=this._records.get(e);this._maybeAddToChanges(a,t);let i=a._prev,r=a._next;return i&&(i._next=r),r&&(r._prev=i),a._next=null,a._prev=null,a}let n=new Ove(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))}},Ove=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function Lb(){return new Cs([new wve])}var Cs=(()=>{const t=class t{constructor(a){o(this,"factories");this.factories=a}static create(a,i){if(i!=null){let r=i.factories.slice();a=a.concat(r)}return new t(a)}static extend(a){return{provide:t,useFactory:i=>t.create(a,i||Lb()),deps:[[t,new hs,new us]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i!=null)return i;throw new ae(901,!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:Lb}));let e=t;return e})();function Fb(){return new Jw([new Dve])}var Jw=(()=>{const t=class t{constructor(a){o(this,"factories");this.factories=a}static create(a,i){if(i){let r=i.factories.slice();a=a.concat(r)}return new t(a)}static extend(a){return{provide:t,useFactory:i=>t.create(a,i||Fb()),deps:[[t,new hs,new us]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i)return i;throw new ae(901,!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:Fb}));let e=t;return e})();function Tve(e){let{rootComponent:t,appProviders:n,platformProviders:a,platformRef:i}=e;try{let r=(i==null?void 0:i.injector)??bve(a),s=[sve({}),{provide:ys,useExisting:dve},...n||[]],l=new Cw({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return pve({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function fe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function bn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Nn(e){return $ue(e)}function ta(e,t){return __(e,t==null?void 0:t.equal)}var n_,Ave=(n_=Ha,class{constructor(e){o(this,n_);this[Ha]=e}destroy(){this[Ha].destroy()}});function Xl(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut),a=(t==null?void 0:t.manualCleanup)!==!0?n.get(xi):null,i,r=n.get(Vf,null,{optional:!0}),s=n.get(ys);return r!==null&&!(t!=null&&t.forceRoot)?(i=Mve(r.view,s,e),a instanceof nx&&a._lView===r.view&&(a=null)):i=Nve(e,n.get(Pw),s),i.injector=n,a!==null&&(i.onDestroyFn=a.onDestroy(()=>i.destroy())),new Ave(i)}var ek=dt(pe({},cs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:gl,run(){if(this.dirty=!1,this.hasRun&&!ef(this))return;this.hasRun=!0;let e=a=>(this.cleanupFns??(this.cleanupFns=[])).push(a),t=ll(this),n=Id(!1);try{this.maybeCleanup(),this.fn(e)}finally{Id(n),uu(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Rve=dt(pe({},ek),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){hu(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Pve=dt(pe({},ek),{consumerMarkedDirty(){this.view[Le]|=8192,bs(this.view),this.notifier.notify(13)},destroy(){var e;hu(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Fn])==null||e.delete(this)}});function Mve(e,t,n){let a=Object.create(Pve);return a.view=e,a.zone=typeof Zone<"u"?Zone.current:null,a.notifier=t,a.fn=n,e[Fn]??(e[Fn]=new Set),e[Fn].add(a),a.consumerMarkedDirty(a),a}function Nve(e,t,n){let a=Object.create(Rve);return a.fn=e,a.scheduler=t,a.notifier=n,a.zone=typeof Zone<"u"?Zone.current:null,a.scheduler.schedule(a),a.notifier.notify(12),a}var Lve=e=>e;function Fve(e,t){if(typeof e=="function"){let n=P0(e,Lve,t==null?void 0:t.equal);return Vb(n)}else{let n=P0(e.source,e.computation,e.equal);return Vb(n)}}function Vb(e){let t=e[Ha],n=e;return n.set=a=>Wue(t,a),n.update=a=>que(t,a),n.asReadonly=Nf.bind(e),n}function tk(e,t){let n=Zo(e),a=t.elementInjector||yu();return new ng(n).create(a,t.projectableNodes,t.hostElement,t.environmentInjector)}var Vve={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function zve(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Bve(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Rh;function jve(e,t){if(!Rh){let n=Element.prototype;Rh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Rh.call(e,t):!1}function Hve(e){let t={};return e.forEach(({propName:n,templateName:a,transform:i})=>{t[zve(a)]=[n,i]}),t}function Uve(e,t){return t.get(Ql).resolveComponentFactory(e).inputs}function Wve(e,t){let n=e.childNodes,a=t.map(()=>[]),i=-1;t.some((r,s)=>r==="*"?(i=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=qve(l,t,i);c!==-1&&a[c].push(l)}return a}function qve(e,t,n){let a=n;return Bve(e)&&t.some((i,r)=>i!=="*"&&jve(e,i)?(a=r,!0):!1),a}var Gve=10,$ve=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Ql).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new Yve(this.componentFactory,e,this.inputMap)}},Yve=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new of(1));o(this,"events",this.eventEmitters.pipe(gr(e=>va(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(br),this.cdScheduler=t.get(ys),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=Vve.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Gve))})}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),Age(this.componentRef.hostView)&&(Rge(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ut.create({providers:[],parent:this.injector}),n=Wve(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:a})=>{let i=e.instance[n];return new Ot(r=>{let s=i.subscribe(l=>r.next({name:a,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Zve=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function Kve(e,t){let n=Uve(e,t.injector),a=t.strategyFactory||new $ve(e,t.injector),i=Hve(n);class r extends Zve{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=a.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let p=this[d];delete this[d],c.setInputValue(d,p,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,p){let[b,g]=i[c];this.ngElementStrategy.setInputValue(b,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(i)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var um=new Y("MAT_DATE_LOCALE",{providedIn:"root",factory:Qve});function Qve(){return _(Vu)}var Co="Method not implemented",Ia=class{constructor(){o(this,"locale");o(this,"_localeChanges",new me);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,a){throw new Error(Co)}getHours(e){throw new Error(Co)}getMinutes(e){throw new Error(Co)}getSeconds(e){throw new Error(Co)}parseTime(e,t){throw new Error(Co)}addSeconds(e,t){throw new Error(Co)}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),a=this.isValid(t);return n&&a?!this.compareDate(e,t):n==a}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),a=this.isValid(t);return n&&a?!this.compareTime(e,t):n==a}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},fo=new Y("mat-date-formats"),it=new Y(""),ak=null;function nl(){return ak}function Xve(e){ak??(ak=e)}var Jve=class{},ik=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:()=>_(eye),providedIn:"platform"}));let e=t;return e})(),eye=(()=>{const t=class t extends ik{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",_(it));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nl().getBaseHref(this._doc)}onPopState(i){let r=nl().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=nl().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,r,s){this._history.pushState(i,r,s)}replaceState(i,r,s){this._history.replaceState(i,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",Z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function nk(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function zb(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Hr(e){return e&&e[0]!=="?"?`?${e}`:e}var ug=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:()=>_(aye),providedIn:"root"}));let e=t;return e})(),tye=new Y(""),aye=(()=>{const t=class t extends ug{constructor(i,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=i,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=_(it).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return nk(this._baseHref,i)}path(i=!1){let r=this._platformLocation.pathname+Hr(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?`${r}${s}`:r}pushState(i,r,s,l){let c=this.prepareExternalUrl(s+Hr(l));this._platformLocation.pushState(i,r,c)}replaceState(i,r,s,l){let c=this.prepareExternalUrl(s+Hr(l));this._platformLocation.replaceState(i,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,i)}};o(t,"ɵfac",function(i){return new(i||t)(Ce(ik),Ce(tye,8))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rk=(()=>{const t=class t{constructor(a){o(this,"_subject",new me);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=a;let i=this._locationStrategy.getBaseHref();this._basePath=rye(zb(Bb(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var a;(a=this._urlChangeSubscription)==null||a.unsubscribe(),this._urlChangeListeners=[]}path(a=!1){return this.normalize(this._locationStrategy.path(a))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(a,i=""){return this.path()==this.normalize(a+Hr(i))}normalize(a){return t.stripTrailingSlash(nye(this._basePath,Bb(a)))}prepareExternalUrl(a){return a&&a[0]!=="/"&&(a="/"+a),this._locationStrategy.prepareExternalUrl(a)}go(a,i="",r=null){this._locationStrategy.pushState(r,"",a,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Hr(i)),r)}replaceState(a,i="",r=null){this._locationStrategy.replaceState(r,"",a,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Hr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(a=0){var i,r;(r=(i=this._locationStrategy).historyGo)==null||r.call(i,a)}onUrlChange(a){return this._urlChangeListeners.push(a),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var r;let i=this._urlChangeListeners.indexOf(a);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(a="",i){this._urlChangeListeners.forEach(r=>r(a,i))}subscribe(a,i,r){return this._subject.subscribe({next:a,error:i??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",Hr),o(t,"joinWithSlash",nk),o(t,"stripTrailingSlash",zb),o(t,"ɵfac",function(a){return new(a||t)(Ce(ug))}),o(t,"ɵprov",Z({token:t,factory:()=>iye(),providedIn:"root"}));let e=t;return e})();function iye(){return new rk(Ce(ug))}function nye(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Bb(e){return e.replace(/\/index.html$/,"")}function rye(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Xa=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Xa||{}),Dt=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Dt||{}),fi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(fi||{}),zu={MinusSign:5};function oye(e){return Zi(e)[_a.LocaleId]}function sye(e,t,n){let a=Zi(e),i=[a[_a.DayPeriodsFormat],a[_a.DayPeriodsStandalone]],r=Li(i,t);return Li(r,n)}function lye(e,t,n){let a=Zi(e),i=[a[_a.DaysFormat],a[_a.DaysStandalone]],r=Li(i,t);return Li(r,n)}function cye(e,t,n){let a=Zi(e),i=[a[_a.MonthsFormat],a[_a.MonthsStandalone]],r=Li(i,t);return Li(r,n)}function dye(e,t){let n=Zi(e)[_a.Eras];return Li(n,t)}function Oc(e,t){let n=Zi(e);return Li(n[_a.DateFormat],t)}function Tc(e,t){let n=Zi(e);return Li(n[_a.TimeFormat],t)}function Ac(e,t){let n=Zi(e)[_a.DateTimeFormat];return Li(n,t)}function Bu(e,t){return Zi(e)[_a.NumberSymbols][t]}function ok(e){if(!e[_a.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[_a.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function uye(e){let t=Zi(e);return ok(t),(t[_a.ExtraData][2]||[]).map(n=>typeof n=="string"?Ph(n):[Ph(n[0]),Ph(n[1])])}function hye(e,t,n){let a=Zi(e);ok(a);let i=[a[_a.ExtraData][0],a[_a.ExtraData][1]],r=Li(i,t)||[];return Li(r,n)||[]}function Li(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 Ph(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var pye=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,So={},mye=/((?:[^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 fye(e,t,n,a){let i=Eye(e);t=Pn(n,t)||t;let r=[],s;for(;t;)if(s=mye.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=i.getTimezoneOffset();a&&(l=lk(a,l),i=kye(i,a));let c="";return r.forEach(d=>{let u=xye(d);c+=u?u(i,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function zd(e,t,n){let a=new Date(0);return a.setFullYear(e,t,n),a.setHours(0,0,0),a}function Pn(e,t){let n=oye(e);if(So[n]??(So[n]={}),So[n][t])return So[n][t];let a="";switch(t){case"shortDate":a=Oc(e,fi.Short);break;case"mediumDate":a=Oc(e,fi.Medium);break;case"longDate":a=Oc(e,fi.Long);break;case"fullDate":a=Oc(e,fi.Full);break;case"shortTime":a=Tc(e,fi.Short);break;case"mediumTime":a=Tc(e,fi.Medium);break;case"longTime":a=Tc(e,fi.Long);break;case"fullTime":a=Tc(e,fi.Full);break;case"short":let i=Pn(e,"shortTime"),r=Pn(e,"shortDate");a=Rc(Ac(e,fi.Short),[i,r]);break;case"medium":let s=Pn(e,"mediumTime"),l=Pn(e,"mediumDate");a=Rc(Ac(e,fi.Medium),[s,l]);break;case"long":let c=Pn(e,"longTime"),d=Pn(e,"longDate");a=Rc(Ac(e,fi.Long),[c,d]);break;case"full":let u=Pn(e,"fullTime"),p=Pn(e,"fullDate");a=Rc(Ac(e,fi.Full),[u,p]);break}return a&&(So[n][t]=a),a}function Rc(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,a){return t!=null&&a in t?t[a]:n})),e}function Wi(e,t,n="-",a,i){let r="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return a&&(s=s.slice(s.length-t)),r+s}function gye(e,t){return Wi(e,3).substring(0,t)}function fa(e,t,n=0,a=!1,i=!1){return function(r,s){let l=bye(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return gye(l,t);let c=Bu(s,zu.MinusSign);return Wi(l,t,c,a,i)}}function bye(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 At(e,t,n=Xa.Format,a=!1){return function(i,r){return vye(i,r,e,t,n,a)}}function vye(e,t,n,a,i,r){switch(n){case 2:return cye(t,i,a)[e.getMonth()];case 1:return lye(t,i,a)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=uye(t),u=hye(t,i,a),p=d.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,k=s>=g.hours&&l>=g.minutes,S=s<w.hours||s===w.hours&&l<w.minutes;if(g.hours<w.hours){if(k&&S)return!0}else if(k||S)return!0}else if(b.hours===s&&b.minutes===l)return!0;return!1});if(p!==-1)return u[p]}return sye(t,i,a)[s<12?0:1];case 3:return dye(t,a)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Pc(e){return function(t,n,a){let i=-1*a,r=Bu(n,zu.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?"+":"")+Wi(s,2,r)+Wi(Math.abs(i%60),2,r);case 1:return"GMT"+(i>=0?"+":"")+Wi(s,1,r);case 2:return"GMT"+(i>=0?"+":"")+Wi(s,2,r)+":"+Wi(Math.abs(i%60),2,r);case 3:return a===0?"Z":(i>=0?"+":"")+Wi(s,2,r)+":"+Wi(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var yye=0,hd=4;function _ye(e){let t=zd(e,yye,1).getDay();return zd(e,0,1+(t<=hd?hd:hd+7)-t)}function sk(e){let t=e.getDay(),n=t===0?-3:hd-t;return zd(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Mh(e,t=!1){return function(n,a){let i;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+r)/7)}else{let r=sk(n),s=_ye(r.getFullYear()),l=r.getTime()-s.getTime();i=1+Math.round(l/6048e5)}return Wi(i,e,Bu(a,zu.MinusSign))}}function Mc(e,t=!1){return function(n,a){let i=sk(n).getFullYear();return Wi(i,e,Bu(a,zu.MinusSign),t)}}var Nh={};function xye(e){if(Nh[e])return Nh[e];let t;switch(e){case"G":case"GG":case"GGG":t=At(3,Dt.Abbreviated);break;case"GGGG":t=At(3,Dt.Wide);break;case"GGGGG":t=At(3,Dt.Narrow);break;case"y":t=fa(0,1,0,!1,!0);break;case"yy":t=fa(0,2,0,!0,!0);break;case"yyy":t=fa(0,3,0,!1,!0);break;case"yyyy":t=fa(0,4,0,!1,!0);break;case"Y":t=Mc(1);break;case"YY":t=Mc(2,!0);break;case"YYY":t=Mc(3);break;case"YYYY":t=Mc(4);break;case"M":case"L":t=fa(1,1,1);break;case"MM":case"LL":t=fa(1,2,1);break;case"MMM":t=At(2,Dt.Abbreviated);break;case"MMMM":t=At(2,Dt.Wide);break;case"MMMMM":t=At(2,Dt.Narrow);break;case"LLL":t=At(2,Dt.Abbreviated,Xa.Standalone);break;case"LLLL":t=At(2,Dt.Wide,Xa.Standalone);break;case"LLLLL":t=At(2,Dt.Narrow,Xa.Standalone);break;case"w":t=Mh(1);break;case"ww":t=Mh(2);break;case"W":t=Mh(1,!0);break;case"d":t=fa(2,1);break;case"dd":t=fa(2,2);break;case"c":case"cc":t=fa(7,1);break;case"ccc":t=At(1,Dt.Abbreviated,Xa.Standalone);break;case"cccc":t=At(1,Dt.Wide,Xa.Standalone);break;case"ccccc":t=At(1,Dt.Narrow,Xa.Standalone);break;case"cccccc":t=At(1,Dt.Short,Xa.Standalone);break;case"E":case"EE":case"EEE":t=At(1,Dt.Abbreviated);break;case"EEEE":t=At(1,Dt.Wide);break;case"EEEEE":t=At(1,Dt.Narrow);break;case"EEEEEE":t=At(1,Dt.Short);break;case"a":case"aa":case"aaa":t=At(0,Dt.Abbreviated);break;case"aaaa":t=At(0,Dt.Wide);break;case"aaaaa":t=At(0,Dt.Narrow);break;case"b":case"bb":case"bbb":t=At(0,Dt.Abbreviated,Xa.Standalone,!0);break;case"bbbb":t=At(0,Dt.Wide,Xa.Standalone,!0);break;case"bbbbb":t=At(0,Dt.Narrow,Xa.Standalone,!0);break;case"B":case"BB":case"BBB":t=At(0,Dt.Abbreviated,Xa.Format,!0);break;case"BBBB":t=At(0,Dt.Wide,Xa.Format,!0);break;case"BBBBB":t=At(0,Dt.Narrow,Xa.Format,!0);break;case"h":t=fa(3,1,-12);break;case"hh":t=fa(3,2,-12);break;case"H":t=fa(3,1);break;case"HH":t=fa(3,2);break;case"m":t=fa(4,1);break;case"mm":t=fa(4,2);break;case"s":t=fa(5,1);break;case"ss":t=fa(5,2);break;case"S":t=fa(6,1);break;case"SS":t=fa(6,2);break;case"SSS":t=fa(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Pc(0);break;case"ZZZZZ":t=Pc(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Pc(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Pc(2);break;default:return null}return Nh[e]=t,t}function lk(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function wye(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function kye(e,t,n){let a=e.getTimezoneOffset(),i=lk(t,a);return wye(e,-1*(i-a))}function Eye(e){if(jb(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[i,r=1,s=1]=e.split("-").map(l=>+l);return zd(i,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let a;if(a=e.match(pye))return Cye(a)}let t=new Date(e);if(!jb(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Cye(e){let t=new Date(0),n=0,a=0,i=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),a=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-a,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function jb(e){return e instanceof Date&&!isNaN(e.valueOf())}var Lh=/\s+/,Hb=[],Ss=(()=>{const t=class t{constructor(a,i){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",Hb);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=a,this._renderer=i}set klass(a){this.initialClasses=a!=null?a.trim().split(Lh):Hb}set ngClass(a){this.rawClass=typeof a=="string"?a.trim().split(Lh):a}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(let i of a)this._updateState(i,!0);else if(a!=null)for(let i of Object.keys(a))this._updateState(i,!!a[i]);this._applyStateDiff()}_updateState(a,i){let r=this.stateMap.get(a);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(a,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let a of this.stateMap){let i=a[0],r=a[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(a,i){a=a.trim(),a.length>0&&a.split(Lh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(a){return new(a||t)(aa(Te),aa(ri))}),o(t,"ɵdir",de({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),ck=(()=>{const t=class t{constructor(a,i,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=a,this._differs=i,this._renderer=r}set ngStyle(a){this._ngStyle=a,!this._differ&&a&&(this._differ=this._differs.find(a).create())}ngDoCheck(){if(this._differ){let a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}}_setStyle(a,i){let[r,s]=a.split("."),l=r.indexOf("-")===-1?void 0:sr.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${i}${s}`:i,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(a){a.forEachRemovedItem(i=>this._setStyle(i.key,null)),a.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),a.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};o(t,"ɵfac",function(a){return new(a||t)(aa(Te),aa(Jw),aa(ri))}),o(t,"ɵdir",de({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),hg=(()=>{const t=class t{constructor(a){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=a}ngOnChanges(a){if(this._shouldRecreateView(a)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(a,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(a,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}};o(t,"ɵfac",function(a){return new(a||t)(aa(oi))}),o(t,"ɵdir",de({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[$t]}));let e=t;return e})();function Sye(e,t){return new ae(2100,!1)}var Dye="mediumDate",Iye=new Y(""),Oye=new Y(""),Ds=(()=>{const t=class t{constructor(a,i,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=a,this.defaultTimezone=i,this.defaultOptions=r}transform(a,i,r,s){var l,c;if(a==null||a===""||a!==a)return null;try{let d=i??((l=this.defaultOptions)==null?void 0:l.dateFormat)??Dye,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return fye(a,d,s||this.locale,u)}catch(d){throw Sye(t,d.message)}}};o(t,"ɵfac",function(a){return new(a||t)(aa(Vu,16),aa(Iye,24),aa(Oye,24))}),o(t,"ɵpipe",ua({name:"date",type:t,pure:!0}));let e=t;return e})(),pg=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({}));let e=t;return e})();function dk(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let a=n.indexOf("="),[i,r]=a==-1?[n,""]:[n.slice(0,a),n.slice(a+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}var uk="browser",Tye="server";function Aye(e){return e===uk}function hk(e){return e===Tye}var pk=class{};function ju(e,t,n){return jbe(e,t,n)}function mk(e){return e.buttons===0||e.detail===0}function fk(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 Fh;function Rye(){if(Fh==null){let e=typeof document<"u"?document.head:null;Fh=!!(e&&(e.createShadowRoot||e.attachShadow))}return Fh}function Pye(e){if(Rye()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Wo(){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 dn(e){return e.composedPath?e.composedPath()[0]:e.target}function Ta(e,t,n,a,i){let r=parseInt(Pb.major),s=parseInt(Pb.minor);return r>19||r===19&&s>0||r===0&&s===0?e.listen(t,n,a,i):(t.addEventListener(n,a,i),()=>{t.removeEventListener(n,a,i)})}var hm;try{hm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{hm=!1}var Yt=(()=>{const t=class t{constructor(){o(this,"_platformId",_(Iu));o(this,"isBrowser",this._platformId?Aye(this._platformId):typeof document=="object"&&!!document);o(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));o(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));o(this,"BLINK",this.isBrowser&&!!(window.chrome||hm)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);o(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);o(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));o(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));o(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);o(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),zs;function Mye(){if(zs==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>zs=!0}))}finally{zs=zs||!1}return zs}function mg(e){return Mye()?e:!!e.capture}function pm(e,t=0){return gk(e)?Number(e):arguments.length===2?t:0}function gk(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Hn(e){return e instanceof Te?e.nativeElement:e}var Nye=new Y("cdk-input-modality-detector-options"),Lye={ignoreKeys:[18,17,224,91,16]},bk=650,Vh={passive:!0,capture:!0},Fye=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_listenerCleanups");o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new Gr(null));o(this,"_options");o(this,"_lastTouchMs",0);o(this,"_onKeydown",a=>{var i,r;(r=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&r.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=dn(a))});o(this,"_onMousedown",a=>{Date.now()-this._lastTouchMs<bk||(this._modality.next(mk(a)?"keyboard":"mouse"),this._mostRecentTarget=dn(a))});o(this,"_onTouchstart",a=>{if(fk(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=dn(a)});let a=_(Ne),i=_(it),r=_(Nye,{optional:!0});if(this._options=pe(pe({},Lye),r),this.modalityDetected=this._modality.pipe(df(1)),this.modalityChanged=this.modalityDetected.pipe(Hhe()),this._platform.isBrowser){let s=_(Fi).createRenderer(null,null);this._listenerCleanups=a.runOutsideAngular(()=>[Ta(s,i,"keydown",this._onKeydown,Vh),Ta(s,i,"mousedown",this._onMousedown,Vh),Ta(s,i,"touchstart",this._onTouchstart,Vh)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var a;this._modality.complete(),(a=this._listenerCleanups)==null||a.forEach(i=>i())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pd=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(pd||{}),Vye=new Y("cdk-focus-monitor-default-options"),Nc=mg({passive:!0,capture:!0}),go=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_platform",_(Yt));o(this,"_inputModalityDetector",_(Fye));o(this,"_origin",null);o(this,"_lastFocusOrigin");o(this,"_windowFocused",!1);o(this,"_windowFocusTimeoutId");o(this,"_originTimeoutId");o(this,"_originFromTouchInteraction",!1);o(this,"_elementInfo",new Map);o(this,"_monitoredElementCount",0);o(this,"_rootNodeFocusListenerCount",new Map);o(this,"_detectionMode");o(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});o(this,"_document",_(it,{optional:!0}));o(this,"_stopInputModalityDetector",new me);o(this,"_rootNodeFocusAndBlurListener",a=>{let i=dn(a);for(let r=i;r;r=r.parentElement)a.type==="focus"?this._onFocus(a,r):this._onBlur(a,r)});let a=_(Vye,{optional:!0});this._detectionMode=(a==null?void 0:a.detectionMode)||pd.IMMEDIATE}monitor(a,i=!1){let r=Hn(a);if(!this._platform.isBrowser||r.nodeType!==1)return bt();let s=Pye(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return i&&(l.checkChildren=!0),l.subject;let c={checkChildren:i,subject:new me,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(a){let i=Hn(a),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(a,i,r){let s=Hn(a),l=this._getDocument().activeElement;s===l?this._getClosestElementsInfo(s).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((a,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"}_shouldBeAttributedToTouch(a){return this._detectionMode===pd.EVENTUAL||!!(a!=null&&a.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(a,i){a.classList.toggle("cdk-focused",!!i),a.classList.toggle("cdk-touch-focused",i==="touch"),a.classList.toggle("cdk-keyboard-focused",i==="keyboard"),a.classList.toggle("cdk-mouse-focused",i==="mouse"),a.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(a,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=a,this._originFromTouchInteraction=a==="touch"&&i,this._detectionMode===pd.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?bk:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(a,i){let r=this._elementInfo.get(i),s=dn(a);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(a,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&a.relatedTarget instanceof Node&&i.contains(a.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(a,i){a.subject.observers.length&&this._ngZone.run(()=>a.subject.next(i))}_registerGlobalListeners(a){if(!this._platform.isBrowser)return;let i=a.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nc)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ht(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(a){let i=a.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(a,i,r){this._setClasses(a,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(a){let i=[];return this._elementInfo.forEach((r,s)=>{(s===a||r.checkChildren&&s.contains(a))&&i.push([s,r])}),i}_isLastInteractionFromInputLabel(a){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===a||a.nodeName!=="INPUT"&&a.nodeName!=="TEXTAREA"||a.disabled)return!1;let s=a.labels;if(s){for(let l=0;l<s.length;l++)if(s[l].contains(i))return!0}return!1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),fg=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_focusMonitor",_(go));o(this,"_monitorSubscription");o(this,"_focusOrigin",null);o(this,"cdkFocusChange",new ie)}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,a.nodeType===1&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),Lc=new WeakMap,Pa=(()=>{const t=class t{constructor(){o(this,"_appRef");o(this,"_injector",_(ut));o(this,"_environmentInjector",_(hn))}load(a){let i=this._appRef=this._appRef||this._injector.get(br),r=Lc.get(i);r||(r={loaders:new Set,refs:[]},Lc.set(i,r),i.onDestroy(()=>{var s;(s=Lc.get(i))==null||s.refs.forEach(l=>l.destroy()),Lc.delete(i)})),r.loaders.has(a)||(r.loaders.add(a),r.refs.push(tk(a,{environmentInjector:this._environmentInjector})))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bo=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(a,i){},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}
18
+ `)}`}var us=f1(o1("Optional"),8),hs=f1(o1("SkipSelf"),4);function Kr(e,t){return e.hasOwnProperty(wd)?e[wd]:null}function dpe(e,t,n){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){let i=e[a],r=t[a];if(n&&(i=n(i),r=n(r)),r!==i)return!1}return!0}function upe(e){return e.flat(Number.POSITIVE_INFINITY)}function pf(e,t){e.forEach(n=>Array.isArray(n)?pf(n,t):t(n))}function g1(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ed(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hpe(e,t){let n=[];for(let a=0;a<e;a++)n.push(t);return n}function ppe(e,t,n,a){let i=e.length;if(i==t)e.push(n,a);else if(i===1)e.push(a,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let r=i-2;e[i]=e[r],i--}e[t]=n,e[t+1]=a}}function vu(e,t,n){let a=Hl(e,t);return a>=0?e[a|1]=n:(a=~a,ppe(e,a,t,n)),a}function vh(e,t){let n=Hl(e,t);if(n>=0)return e[n|1]}function Hl(e,t){return mpe(e,t,1)}function mpe(e,t,n){let a=0,i=e.length>>n;for(;i!==a;){let r=a+(i-a>>1),s=e[r<<n];if(t===s)return r<<n;s>t?i=r:a=r+1}return~(i<<n)}var un={},ti=[],Cd=new Y(""),b1=new Y("",-1),v1=new Y(""),y1=class{get(e,t=$r){if(t===$r){let n=new Error(`NullInjectorError: No provider for ${Ri(e)}!`);throw n.name="NullInjectorError",n}return t}};function Zo(e){return e[Xhe]||null}function _1(e){return e[Jhe]||null}function fpe(e){return e[epe]||null}function mf(e){return{ɵproviders:e}}function gpe(...e){return{ɵproviders:x1(!0,e),ɵfromNgModule:!0}}function x1(e,...t){let n=[],a=new Set,i,r=s=>{n.push(s)};return pf(t,s=>{let l=s;Lp(l,r,[],a)&&(i||(i=[]),i.push(l))}),i!==void 0&&w1(i,r),n}function w1(e,t){for(let n=0;n<e.length;n++){let{ngModule:a,providers:i}=e[n];ff(i,r=>{t(r,a)})}}function Lp(e,t,n,a){if(e=La(e),!e)return!1;let i=null,r=B0(e),s=!r&&Zo(e);if(!r&&!s){let c=e.ngModule;if(r=B0(c),r)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=e}let l=a.has(i);if(s){if(l)return!1;if(a.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)Lp(d,t,n,a)}}else if(r){if(r.imports!=null&&!l){a.add(i);let d;try{pf(r.imports,u=>{Lp(u,t,n,a)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&w1(d,t)}if(!l){let d=Kr(i)||(()=>new i);t({provide:i,useFactory:d,deps:ti},i),t({provide:v1,useValue:i,multi:!0},i),t({provide:Cd,useValue:()=>Ce(i),multi:!0},i)}let c=r.providers;if(c!=null&&!l){let d=e;ff(c,u=>{t(u,d)})}}else return!1;return i!==e&&e.providers!==void 0}function ff(e,t){for(let n of e)d1(n)&&(n=n.ɵproviders),Array.isArray(n)?ff(n,t):t(n)}var bpe=Ft({provide:String,useValue:Ft});function k1(e){return e!==null&&typeof e=="object"&&bpe in e}function vpe(e){return!!(e&&e.useExisting)}function ype(e){return!!(e&&e.useFactory)}function Ko(e){return typeof e=="function"}function _pe(e){return!!e.useClass}var gf=new Y(""),od={},W0={},yh;function yu(){return yh===void 0&&(yh=new y1),yh}var hn=class{},bf=class extends hn{constructor(t,n,a,i){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=a,this.scopes=i,Vp(t,s=>this.processProvider(s)),this.records.set(b1,Po(void 0,this)),i.has("environment")&&this.records.set(hn,Po(void 0,this));let r=this.records.get(gf);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(v1,ti,Xe.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let a=n;return this.get(t,a.optional?C_:$r,a)}destroy(){Zs(this),this._destroyed=!0;let t=Ke(null);try{for(let a of this._ngOnDestroyHooks)a.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let a of n)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ke(t)}}onDestroy(t){return Zs(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Zs(this);let n=ir(this),a=ci(void 0);try{return t()}finally{ir(n),ci(a)}}get(t,n=$r,a=Xe.Default){if(Zs(this),t.hasOwnProperty(H0))return t[H0](this);a=bu(a);let i=ir(this),r=ci(void 0);try{if(!(a&Xe.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Cpe(t)&&uf(t);c&&this.injectableDefInScope(c)?l=Po(Fp(t),od):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,a)}let s=a&Xe.Self?yu():this.parent;return n=a&Xe.Optional&&n===$r?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[kd]=s[kd]||[]).unshift(Ri(t)),i)throw s;return lpe(s,t,"R3InjectorError",this.source)}else throw s}finally{ci(r),ir(i)}}resolveInjectorInitializers(){let t=Ke(null),n=ir(this),a=ci(void 0);try{let i=this.get(Cd,ti,Xe.Self);for(let r of i)r()}finally{ir(n),ci(a),Ke(t)}}toString(){let t=[],n=this.records;for(let a of n.keys())t.push(Ri(a));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=La(t);let n=Ko(t)?t:La(t&&t.provide),a=wpe(t);if(!Ko(t)&&t.multi===!0){let i=this.records.get(n);i||(i=Po(void 0,od,!0),i.factory=()=>Np(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,a)}hydrate(t,n,a){let i=Ke(null);try{return n.value===W0?u1(Ri(t)):n.value===od&&(n.value=W0,n.value=n.factory(void 0,a)),typeof n.value=="object"&&n.value&&Epe(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Ke(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=La(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 Fp(e){let t=uf(e),n=t!==null?t.factory:Kr(e);if(n!==null)return n;if(e instanceof Y)throw new ae(204,!1);if(e instanceof Function)return xpe(e);throw new ae(204,!1)}function xpe(e){if(e.length>0)throw new ae(204,!1);let t=Khe(e);return t!==null?()=>t.factory(e):()=>new e}function wpe(e){if(k1(e))return Po(void 0,e.useValue);{let t=E1(e);return Po(t,od)}}function E1(e,t,n){let a;if(Ko(e)){let i=La(e);return Kr(i)||Fp(i)}else if(k1(e))a=()=>La(e.useValue);else if(ype(e))a=()=>e.useFactory(...Np(e.deps||[]));else if(vpe(e))a=(i,r)=>Ce(La(e.useExisting),r!==void 0&&r&Xe.Optional?Xe.Optional:void 0);else{let i=La(e&&(e.useClass||e.provide));if(kpe(e))a=()=>new i(...Np(e.deps));else return Kr(i)||Fp(i)}return a}function Zs(e){if(e.destroyed)throw new ae(205,!1)}function Po(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kpe(e){return!!e.deps}function Epe(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Cpe(e){return typeof e=="function"||typeof e=="object"&&e instanceof Y}function Vp(e,t){for(let n of e)Array.isArray(n)?Vp(n,t):n&&d1(n)?Vp(n.ɵproviders,t):t(n)}function _u(e,t){let n;e instanceof bf?(Zs(e),n=e):n=new m1(e);let a=ir(n),i=ci(void 0);try{return t()}finally{ir(a),ci(i)}}function C1(){return h1()!==void 0||ad()!=null}function Ul(e){if(!C1())throw new ae(-203,!1)}function Spe(e){return typeof e=="function"}var Gn=0,je=1,Le=2,qa=3,Gi=4,pi=5,Qo=6,Ho=7,Ea=8,Xo=9,Un=10,qt=11,ml=12,q0=13,ps=14,_i=15,Qr=16,Mo=17,$i=18,xu=19,S1=20,ur=21,_h=22,Fn=23,Pi=24,hr=25,Gt=26,D1=1,Xr=7,Sd=8,Jo=9,Ua=10;function pr(e){return Array.isArray(e)&&typeof e[D1]=="object"}function $n(e){return Array.isArray(e)&&e[D1]===!0}function vf(e){return(e.flags&4)!==0}function ms(e){return e.componentOffset>-1}function wu(e){return(e.flags&1)===1}function pn(e){return!!e.template}function Dd(e){return(e[Le]&512)!==0}function fs(e){return(e[Le]&256)===256}var Dpe=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function I1(e,t,n,a){t!==null?t.applyValueToInputSignal(t,a):e[n]=a}var $t=(()=>{let e=()=>O1;return e.ngInherit=!0,e})();function O1(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ope),Ipe}function Ipe(){let e=A1(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===un)e.previous=t;else for(let a in t)n[a]=t[a];e.current=null,this.ngOnChanges(t)}}function Ope(e,t,n,a,i){let r=this.declaredInputs[a],s=A1(e)||Tpe(e,{previous:un,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new Dpe(d&&d.currentValue,n,c===un),I1(e,t,i,n)}var T1="__ngSimpleChanges__";function A1(e){return e[T1]||null}function Tpe(e,t){return e[T1]=t}var Jr=function(e,t=null,n){},R1="svg",Ape="math";function mn(e){for(;Array.isArray(e);)e=e[Gn];return e}function P1(e,t){return mn(t[e])}function yn(e,t){return mn(t[e.index])}function yf(e,t){return e.data[t]}function gs(e,t){return e[t]}function _f(e,t,n,a){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=a}function fn(e,t){let n=t[e];return pr(n)?n:n[Gn]}function Rpe(e){return(e[Le]&4)===4}function xf(e){return(e[Le]&128)===128}function Ppe(e){return $n(e[qa])}function eo(e,t){return t==null?null:e[t]}function M1(e){e[Mo]=0}function wf(e){e[Le]&1024||(e[Le]|=1024,xf(e)&&bs(e))}function Mpe(e,t){for(;e>0;)t=t[ps],e--;return t}function Wl(e){var t;return!!(e[Le]&9216||(t=e[Pi])!=null&&t.dirty)}function zp(e){var t;(t=e[Un].changeDetectionScheduler)==null||t.notify(8),e[Le]&64&&(e[Le]|=1024),Wl(e)&&bs(e)}function bs(e){var n;(n=e[Un].changeDetectionScheduler)==null||n.notify(0);let t=to(e);for(;t!==null&&!(t[Le]&8192||(t[Le]|=8192,!xf(t)));)t=to(t)}function N1(e,t){if(fs(e))throw new ae(911,!1);e[ur]===null&&(e[ur]=[]),e[ur].push(t)}function Npe(e,t){if(e[ur]===null)return;let n=e[ur].indexOf(t);n!==-1&&e[ur].splice(n,1)}function to(e){let t=e[qa];return $n(t)?t[qa]:t}function kf(e){return e[Ho]??(e[Ho]=[])}function Ef(e){return e.cleanup??(e.cleanup=[])}function Lpe(e,t,n,a){let i=kf(t);i.push(n),e.firstCreatePass&&Ef(e).push(a,i.length-1)}var We={lFrame:H1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Bp=!1;function Fpe(){return We.lFrame.elementDepthCount}function Vpe(){We.lFrame.elementDepthCount++}function zpe(){We.lFrame.elementDepthCount--}function Bpe(){return We.bindingsEnabled}function L1(){return We.skipHydrationRootTNode!==null}function jpe(e){return We.skipHydrationRootTNode===e}function Hpe(){We.skipHydrationRootTNode=null}function Pe(){return We.lFrame.lView}function zt(){return We.lFrame.tView}function Se(e){return We.lFrame.contextLView=e,e[Ea]}function De(e){return We.lFrame.contextLView=null,e}function Za(){let e=F1();for(;e!==null&&e.type===64;)e=e.parent;return e}function F1(){return We.lFrame.currentTNode}function Upe(){let e=We.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function kr(e,t){let n=We.lFrame;n.currentTNode=e,n.isParent=t}function Cf(){return We.lFrame.isParent}function Sf(){We.lFrame.isParent=!1}function V1(){return We.lFrame.contextLView}function z1(){return Bp}function Id(e){let t=Bp;return Bp=e,t}function Yn(){let e=We.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wpe(){return We.lFrame.bindingIndex}function qpe(e){return We.lFrame.bindingIndex=e}function uo(){return We.lFrame.bindingIndex++}function Df(e){let t=We.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gpe(){return We.lFrame.inI18n}function $pe(e,t){let n=We.lFrame;n.bindingIndex=n.bindingRootIndex=e,jp(t)}function Ype(){return We.lFrame.currentDirectiveIndex}function jp(e){We.lFrame.currentDirectiveIndex=e}function Zpe(e){let t=We.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function If(){return We.lFrame.currentQueryIndex}function ku(e){We.lFrame.currentQueryIndex=e}function Kpe(e){let t=e[je];return t.type===2?t.declTNode:t.type===1?e[pi]:null}function B1(e,t,n){if(n&Xe.SkipSelf){let i=t,r=e;for(;(i=i.parent,i===null&&!(n&Xe.Host))&&(i=Kpe(r),!(i===null||(r=r[ps],i.type&10))););if(i===null)return!1;t=i,e=r}let a=We.lFrame=j1();return a.currentTNode=t,a.lView=e,!0}function Of(e){let t=j1(),n=e[je];We.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function j1(){let e=We.lFrame,t=e===null?null:e.child;return t===null?H1(e):t}function H1(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 U1(){let e=We.lFrame;return We.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var W1=U1;function Tf(){let e=U1();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 Qpe(e){return(We.lFrame.contextLView=Mpe(e,We.lFrame.contextLView))[Ea]}function _n(){return We.lFrame.selectedIndex}function ao(e){We.lFrame.selectedIndex=e}function Eu(){let e=We.lFrame;return yf(e.tView,e.selectedIndex)}function mr(){We.lFrame.currentNamespace=R1}function G0(){Xpe()}function Xpe(){We.lFrame.currentNamespace=null}function Jpe(){return We.lFrame.currentNamespace}var q1=!0;function Cu(){return q1}function Su(e){q1=e}function eme(e,t,n){let{ngOnChanges:a,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(a){let s=O1(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,i),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function Af(e,t){for(let n=t.directiveStart,a=t.directiveEnd;n<a;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=i;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function sd(e,t,n){G1(e,t,3,n)}function ld(e,t,n,a){(e[Le]&3)===n&&G1(e,t,n,a)}function xh(e,t){let n=e[Le];(n&3)===t&&(n&=16383,n+=1,e[Le]=n)}function G1(e,t,n,a){let i=a!==void 0?e[Mo]&65535:0,r=a??-1,s=t.length-1,l=0;for(let c=i;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],a!=null&&l>=a)break}else t[c]<0&&(e[Mo]+=65536),(l<r||r==-1)&&(tme(e,n,t,c),e[Mo]=(e[Mo]&4294901760)+c+2),c++}function $0(e,t){let n=Ke(null);try{t.call(e)}finally{Ke(n)}}function tme(e,t,n,a){let i=n[a]<0,r=n[a+1],s=i?-n[a]:n[a],l=e[s];i?e[Le]>>14<e[Mo]>>16&&(e[Le]&3)===t&&(e[Le]+=16384,$0(l,r)):$0(l,r)}var Uo=-1,ql=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function ame(e){return(e.flags&8)!==0}function ime(e){return(e.flags&16)!==0}function nme(e,t,n){let a=0;for(;a<n.length;){let i=n[a];if(typeof i=="number"){if(i!==0)break;a++;let r=n[a++],s=n[a++],l=n[a++];e.setAttribute(t,s,l,r)}else{let r=i,s=n[++a];rme(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),a++}}return a}function $1(e){return e===3||e===4||e===6}function rme(e){return e.charCodeAt(0)===64}function es(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let a=0;a<t.length;a++){let i=t[a];typeof i=="number"?n=i:n===0||(n===-1||n===2?Y0(e,n,i,null,t[++a]):Y0(e,n,i,null,null))}}return e}function Y0(e,t,n,a,i){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){i!==null&&(e[r+1]=i);return}r++,i!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),i!==null&&e.splice(r++,0,i)}function Y1(e){return e!==Uo}function Od(e){return e&32767}function ome(e){return e>>16}function Td(e,t){let n=ome(e),a=t;for(;n>0;)a=a[ps],n--;return a}var Hp=!0;function Ad(e){let t=Hp;return Hp=e,t}var sme=256,Z1=sme-1,K1=5,lme=0,ln={};function cme(e,t,n){let a;typeof n=="string"?a=n.charCodeAt(0)||0:n.hasOwnProperty(tl)&&(a=n[tl]),a==null&&(a=n[tl]=lme++);let i=a&Z1,r=1<<i;t.data[e+(i>>K1)]|=r}function Rd(e,t){let n=Q1(e,t);if(n!==-1)return n;let a=t[je];a.firstCreatePass&&(e.injectorIndex=t.length,wh(a.data,e),wh(t,null),wh(a.blueprint,null));let i=Rf(e,t),r=e.injectorIndex;if(Y1(i)){let s=Od(i),l=Td(i,t),c=l[je].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=i,r}function wh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Q1(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Rf(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,a=null,i=t;for(;i!==null;){if(a=ax(i),a===null)return Uo;if(n++,i=i[ps],a.injectorIndex!==-1)return a.injectorIndex|n<<16}return Uo}function Up(e,t,n){cme(e,t,n)}function dme(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let a=n.length,i=0;for(;i<a;){let r=n[i];if($1(r))break;if(r===0)i=i+2;else if(typeof r=="number")for(i++;i<a&&typeof n[i]=="string";)i++;else{if(r===t)return n[i+1];i=i+2}}}return null}function X1(e,t,n){if(n&Xe.Optional||e!==void 0)return e;hf()}function J1(e,t,n,a){if(n&Xe.Optional&&a===void 0&&(a=null),(n&(Xe.Self|Xe.Host))===0){let i=e[Xo],r=ci(void 0);try{return i?i.get(t,a,n&Xe.Optional):p1(t,a,n&Xe.Optional)}finally{ci(r)}}return X1(a,t,n)}function ex(e,t,n,a=Xe.Default,i){if(e!==null){if(t[Le]&2048&&!(a&Xe.Self)){let s=mme(e,t,n,a,ln);if(s!==ln)return s}let r=tx(e,t,n,a,ln);if(r!==ln)return r}return J1(t,n,a,i)}function tx(e,t,n,a,i){let r=hme(n);if(typeof r=="function"){if(!B1(t,e,a))return a&Xe.Host?X1(i,n,a):J1(t,n,a,i);try{let s;if(s=r(a),s==null&&!(a&Xe.Optional))hf(n);else return s}finally{W1()}}else if(typeof r=="number"){let s=null,l=Q1(e,t),c=Uo,d=a&Xe.Host?t[_i][pi]:null;for((l===-1||a&Xe.SkipSelf)&&(c=l===-1?Rf(e,t):t[l+8],c===Uo||!K0(a,!1)?l=-1:(s=t[je],l=Od(c),t=Td(c,t)));l!==-1;){let u=t[je];if(Z0(r,l,u.data)){let p=ume(l,t,n,s,a,d);if(p!==ln)return p}c=t[l+8],c!==Uo&&K0(a,t[je].data[l+8]===d)&&Z0(r,l,t)?(s=u,l=Od(c),t=Td(c,t)):l=-1}}return i}function ume(e,t,n,a,i,r){let s=t[je],l=s.data[e+8],c=a==null?ms(l)&&Hp:a!=s&&(l.type&3)!==0,d=i&Xe.Host&&r===l,u=cd(l,s,n,c,d);return u!==null?fl(t,s,u,l,i):ln}function cd(e,t,n,a,i){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,p=a?l:l+u,b=i?l+u:d;for(let g=p;g<b;g++){let w=s[g];if(g<c&&n===w||g>=c&&w.type===n)return g}if(i){let g=s[c];if(g&&pn(g)&&g.type===n)return c}return null}function fl(e,t,n,a,i){let r=e[n],s=t.data;if(r instanceof ql){let l=r;l.resolving&&u1(tpe(s[n]));let c=Ad(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?ci(l.injectImpl):null;B1(e,a,Xe.Default);try{r=e[n]=l.factory(void 0,i,s,e,a),t.firstCreatePass&&n>=a.directiveStart&&eme(n,s[n],t)}finally{d!==null&&ci(d),Ad(c),l.resolving=!1,W1()}}return r}function hme(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(tl)?e[tl]:void 0;return typeof t=="number"?t>=0?t&Z1:pme:t}function Z0(e,t,n){let a=1<<e;return!!(n[t+(e>>K1)]&a)}function K0(e,t){return!(e&Xe.Self)&&!(e&Xe.Host&&t)}var al=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return ex(this._tNode,this._lView,e,bu(n),t)}};function pme(){return new al(Za(),Pe())}function tt(e){return jl(()=>{let t=e.prototype.constructor,n=t[wd]||Wp(t),a=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==a;){let r=i[wd]||Wp(i);if(r&&r!==n)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function Wp(e){return s1(e)?()=>{let t=Wp(La(e));return t&&t()}:Kr(e)}function mme(e,t,n,a,i){let r=e,s=t;for(;r!==null&&s!==null&&s[Le]&2048&&!Dd(s);){let l=tx(r,s,n,a|Xe.Self,ln);if(l!==ln)return l;let c=r.parent;if(!c){let d=s[S1];if(d){let u=d.get(n,ln,a);if(u!==ln)return u}c=ax(s),s=s[ps]}r=c}return i}function ax(e){let t=e[je],n=t.type;return n===2?t.declTNode:n===1?e[pi]:null}function fme(e){return dme(Za(),e)}function Q0(e,t=null,n=null,a){let i=gme(e,t,n,a);return i.resolveInjectorInitializers(),i}function gme(e,t=null,n=null,a,i=new Set){let r=[n||ti,gpe(e)];return a=a||(typeof e=="object"?void 0:Ri(e)),new bf(r,t||yu(),a||null,i)}var an,ut=(an=class{static create(t,n){if(Array.isArray(t))return Q0({name:""},n,t,"");{let a=t.name??"";return Q0({name:a},t.parent,t.providers,a)}}},o(an,"THROW_IF_NOT_FOUND",$r),o(an,"NULL",new y1),o(an,"ɵprov",Z({token:an,providedIn:"any",factory:()=>Ce(b1)})),o(an,"__NG_ELEMENT_ID__",-1),an),vs=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>fme(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},bme=new Y("");bme.__NG_ELEMENT_ID__=e=>{let t=Za();if(t===null)throw new ae(204,!1);if(t.type&2)return t.value;if(e&Xe.Optional)return null;throw new ae(204,!1)};var ix=!1,xi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",vme),o(e,"__NG_ENV_ID__",n=>n),e})(),nx=class extends xi{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return fs(n)?(t(),()=>{}):(N1(n,t),()=>Npe(n,t))}};function vme(){return new nx(Pe())}var ys=class{},rx=new Y("",{providedIn:"root",factory:()=>!1}),ox=new Y(""),sx=new Y(""),Gl=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new Gr(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let a=this.taskId++;return this.pendingTasks.add(a),a}has(a){return this.pendingTasks.has(a)}remove(a){this.pendingTasks.delete(a),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),yme=class extends me{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,C1()&&(this.destroyRef=_(xi,{optional:!0})??void 0,this.pendingTasks=_(Gl,{optional:!0})??void 0)}emit(t){let n=Ke(null);try{super.next(t)}finally{Ke(n)}}subscribe(t,n,a){var c,d,u;let i=t,r=n||(()=>null),s=a;if(t&&typeof t=="object"){let p=t;i=(c=p.next)==null?void 0:c.bind(p),r=(d=p.error)==null?void 0:d.bind(p),s=(u=p.complete)==null?void 0:u.bind(p)}this.__isAsync&&(r=this.wrapInTimeout(r),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:i,error:r,complete:s});return t instanceof Ye&&t.add(l),l}wrapInTimeout(t){return n=>{var i;let a=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var r;try{t(n)}finally{a!==void 0&&((r=this.pendingTasks)==null||r.remove(a))}})}}},ie=yme;function gl(...e){}function lx(e){let t,n;function a(){e=gl;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),a()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),a()})),()=>a()}function X0(e){return queueMicrotask(()=>e()),()=>{e=gl}}var Pf="isAngularZone",Pd=Pf+"_ID",_me=0,Ne=class qp{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ie(!1));o(this,"onMicrotaskEmpty",new ie(!1));o(this,"onStable",new ie(!1));o(this,"onError",new ie(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:r=ix}=t;if(typeof Zone>"u")throw new ae(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&a,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=r,kme(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Pf)===!0}static assertInAngularZone(){if(!qp.isInAngularZone())throw new ae(909,!1)}static assertNotInAngularZone(){if(qp.isInAngularZone())throw new ae(909,!1)}run(t,n,a){return this._inner.run(t,n,a)}runTask(t,n,a,i){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,xme,gl,gl);try{return r.runTask(s,n,a)}finally{r.cancelTask(s)}}runGuarded(t,n,a){return this._inner.runGuarded(t,n,a)}runOutsideAngular(t){return this._outer.run(t)}},xme={};function Mf(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 wme(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){lx(()=>{e.callbackScheduled=!1,Gp(e),e.isCheckStableRunning=!0,Mf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Gp(e)}function kme(e){let t=()=>{wme(e)},n=_me++;e._inner=e._inner.fork({name:"angular",properties:{[Pf]:!0,[Pd]:n,[Pd+n]:!0},onInvokeTask:(a,i,r,s,l,c)=>{if(Cme(c))return a.invokeTask(r,s,l,c);try{return J0(e),a.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),eb(e)}},onInvoke:(a,i,r,s,l,c,d)=>{try{return J0(e),a.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Sme(c)&&t(),eb(e)}},onHasTask:(a,i,r,s)=>{a.hasTask(r,s),i===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Gp(e),Mf(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(a,i,r,s)=>(a.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Gp(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function J0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eb(e){e._nesting--,Mf(e)}var Eme=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ie);o(this,"onMicrotaskEmpty",new ie);o(this,"onStable",new ie);o(this,"onError",new ie)}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,a){return e.apply(t,n)}};function Cme(e){return cx(e,"__ignore_ng_zone__")}function Sme(e){return cx(e,"__scheduler_tick__")}function cx(e,t){var n,a;return!Array.isArray(e)||e.length!==1?!1:((a=(n=e[0])==null?void 0:n.data)==null?void 0:a[t])===!0}var Yi=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},Dme=new Y("",{providedIn:"root",factory:()=>{let e=_(Ne),t=_(Yi);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),dx=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",_(Yi,{optional:!0}));o(this,"destroyRef",_(xi));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new ae(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,a;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((a=this.listeners)==null||a.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(i1(953,!1));return}if(this.listeners===null)return;let t=Ke(null);try{for(let a of this.listeners)try{a(e)}catch(i){(n=this.errorHandler)==null||n.handleError(i)}}finally{Ke(t)}}};function io(e){return new dx}function tb(e,t){return r1(e,t)}function Ime(e){return r1(gu,e)}var ne=(tb.required=Ime,tb);function Ome(){return _s(Za(),Pe())}function _s(e,t){return new Te(yn(e,t))}var Te=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",Ome),e})();function ux(e){return e instanceof Te?e.nativeElement:e}function bl(e){return typeof e=="function"&&e[Ha]!==void 0}function ai(e,t){let n=Hue(e,t==null?void 0:t.equal),a=n[Ha];return n.set=i=>Vl(a,i),n.update=i=>k_(a,i),n.asReadonly=Nf.bind(n),n}function Nf(){let e=this[Ha];if(e.readonlyFn===void 0){let t=()=>this();t[Ha]=e,e.readonlyFn=t}return e.readonlyFn}function hx(e){return bl(e)&&typeof e.set=="function"}function Tme(){return this._results[Symbol.iterator]()}var i_,ts=(i_=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,i_,Tme);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new me)}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=upe(e);(this._changesDetected=!dpe(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 px(e){return(e.flags&128)===128}var mx=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(mx||{}),fx=new Map,Ame=0;function Rme(){return Ame++}function Pme(e){fx.set(e[xu],e)}function $p(e){fx.delete(e[xu])}var ab="__ngContext__";function xs(e,t){pr(t)?(e[ab]=t[xu],Pme(t)):e[ab]=t}function gx(e){return vx(e[ml])}function bx(e){return vx(e[Gi])}function vx(e){for(;e!==null&&!$n(e);)e=e[Gi];return e}var Yp;function Mme(e){Yp=e}function yx(){if(Yp!==void 0)return Yp;if(typeof document<"u")return document;throw new ae(210,!1)}var Du=new Y("",{providedIn:"root",factory:()=>Nme}),Nme="ng",_x=new Y(""),Iu=new Y("",{providedIn:"platform",factory:()=>"unknown"}),Ra=new Y(""),Lf=new Y("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=yx().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),xx=!1,Lme=new Y("",{providedIn:"root",factory:()=>xx}),Ff=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ff||{}),$l=new Y(""),ib=new Set;function ho(e){var t;ib.has(e)||(ib.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Vf=(()=>{class e{constructor(n,a){o(this,"view");o(this,"node");this.view=n,this.node=a}}return o(e,"__NG_ELEMENT_ID__",Fme),e})();function Fme(){return new Vf(Pe(),Za())}var No=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(No||{}),wx=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var a;(a=this.impl)==null||a.execute()}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Vme=[No.EarlyRead,No.Write,No.MixedReadWrite,No.Read],zme=(()=>{const t=class t{constructor(){o(this,"ngZone",_(Ne));o(this,"scheduler",_(ys));o(this,"errorHandler",_(Yi,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);_($l,{optional:!0})}execute(){var a;this.sequences.size>0,this.executing=!0;for(let i of Vme)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[i];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(a=this.errorHandler)==null||a.handleError(s)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(a){let{view:i}=a;i!==void 0?((i[hr]??(i[hr]=[])).push(a),bs(i),i[Le]|=8192):this.executing?this.deferredRegistrations.add(a):this.addSequence(a)}addSequence(a){this.sequences.add(a),this.scheduler.notify(7)}unregister(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))}maybeTrace(a,i){return i?i.run(Ff.AFTER_NEXT_RENDER,a):a()}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Bme=class{constructor(e,t,n,a,i,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=a,this.snapshot=r,this.unregisterOnDestroy=i==null?void 0:i.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[hr];e&&(this.view[hr]=e.filter(a=>a!==this))}};function zf(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut);return ho("NgAfterRender"),kx(e,n,t,!1)}function Wn(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut);return ho("NgAfterNextRender"),kx(e,n,t,!0)}function jme(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 kx(e,t,n,a){let i=t.get(wx);i.impl??(i.impl=t.get(zme));let r=t.get($l,null,{optional:!0}),s=(n==null?void 0:n.phase)??No.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get(xi):null,c=t.get(Vf,null,{optional:!0}),d=new Bme(i.impl,jme(e,s),c==null?void 0:c.view,a,l,r==null?void 0:r.snapshot(null));return i.impl.register(d),d}var Hme=()=>null;function Ex(e,t,n=!1){return Hme()}function Cx(e,t){let n=e.contentQueries;if(n!==null){let a=Ke(null);try{for(let i=0;i<n.length;i+=2){let r=n[i],s=n[i+1];if(s!==-1){let l=e.data[s];ku(r),l.contentQueries(2,t[s],s)}}}finally{Ke(a)}}}function Zp(e,t,n){ku(0);let a=Ke(null);try{t(e,n)}finally{Ke(a)}}function Bf(e,t,n){if(vf(t)){let a=Ke(null);try{let i=t.directiveStart,r=t.directiveEnd;for(let s=i;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{Ke(a)}}}var Vn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Vn||{}),Cc;function Ume(){if(Cc===void 0&&(Cc=null,or.trustedTypes))try{Cc=or.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cc}function Ou(e){var t;return((t=Ume())==null?void 0:t.createHTML(e))||e}var Sc;function Wme(){if(Sc===void 0&&(Sc=null,or.trustedTypes))try{Sc=or.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sc}function nb(e){var t;return((t=Wme())==null?void 0:t.createHTML(e))||e}var po=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${a1})`}},qme=class extends po{getTypeName(){return"HTML"}},Gme=class extends po{getTypeName(){return"Style"}},$me=class extends po{getTypeName(){return"Script"}},Yme=class extends po{getTypeName(){return"URL"}},Zme=class extends po{getTypeName(){return"ResourceURL"}};function Ln(e){return e instanceof po?e.changingThisBreaksApplicationSecurity:e}function Br(e,t){let n=Kme(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${a1})`)}return n===t}function Kme(e){return e instanceof po&&e.getTypeName()||null}function Qme(e){return new qme(e)}function Xme(e){return new Gme(e)}function Jme(e){return new $me(e)}function efe(e){return new Yme(e)}function tfe(e){return new Zme(e)}function afe(e){let t=new nfe(e);return rfe()?new ife(t):t}var ife=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ou(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},nfe=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ou(e),t}};function rfe(){try{return!!new window.DOMParser().parseFromString(Ou(""),"text/html")}catch{return!1}}var ofe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jf(e){return e=String(e),e.match(ofe)?e:"unsafe:"+e}function Zn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Yl(...e){let t={};for(let n of e)for(let a in n)n.hasOwnProperty(a)&&(t[a]=!0);return t}var Sx=Zn("area,br,col,hr,img,wbr"),Dx=Zn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ix=Zn("rp,rt"),sfe=Yl(Ix,Dx),lfe=Yl(Dx,Zn("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")),cfe=Yl(Ix,Zn("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")),rb=Yl(Sx,lfe,cfe,sfe),Ox=Zn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dfe=Zn("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"),ufe=Zn("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"),hfe=Yl(Ox,dfe,ufe),pfe=Zn("script,style,template"),mfe=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,a=[];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){a.push(t),t=bfe(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=gfe(t);if(i){t=i;break}t=a.pop()}}return this.buf.join("")}startElement(e){let t=ob(e).toLowerCase();if(!rb.hasOwnProperty(t))return this.sanitizedSomething=!0,!pfe.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let a=0;a<n.length;a++){let i=n.item(a),r=i.name,s=r.toLowerCase();if(!hfe.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=i.value;Ox[s]&&(l=jf(l)),this.buf.push(" ",r,'="',sb(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=ob(e).toLowerCase();rb.hasOwnProperty(t)&&!Sx.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(sb(e))}};function ffe(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gfe(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Tx(t);return t}function bfe(e){let t=e.firstChild;if(t&&ffe(e,t))throw Tx(t);return t}function ob(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Tx(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var vfe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yfe=/([^\#-~ |!])/g;function sb(e){return e.replace(/&/g,"&amp;").replace(vfe,function(t){let n=t.charCodeAt(0),a=t.charCodeAt(1);return"&#"+((n-55296)*1024+(a-56320)+65536)+";"}).replace(yfe,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Dc;function Ax(e,t){let n=null;try{Dc=Dc||afe(e);let a=t?String(t):"";n=Dc.getInertBodyElement(a);let i=5,r=a;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,a=r,r=n.innerHTML,n=Dc.getInertBodyElement(a)}while(a!==r);let s=new mfe().sanitizeChildren(lb(n)||n);return Ou(s)}finally{if(n){let a=lb(n)||n;for(;a.firstChild;)a.firstChild.remove()}}}function lb(e){return"content"in e&&_fe(e)?e.content:null}function _fe(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xfe=/^>|^->|<!--|-->|--!>|<!-$/g,wfe=/(<|>)/g,kfe="​$1​";function Efe(e){return e.replace(xfe,t=>t.replace(wfe,kfe))}function Cfe(e,t){return e.createText(t)}function Sfe(e,t,n){e.setValue(t,n)}function Dfe(e,t){return e.createComment(Efe(t))}function Rx(e,t,n){return e.createElement(t,n)}function Md(e,t,n,a,i){e.insertBefore(t,n,a,i)}function Px(e,t,n){e.appendChild(t,n)}function cb(e,t,n,a,i){a!==null?Md(e,t,n,a,i):Px(e,t,n)}function Ife(e,t,n){e.removeChild(null,t,n)}function Ofe(e,t,n){e.setAttribute(t,"style",n)}function Tfe(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Mx(e,t,n){let{mergedAttrs:a,classes:i,styles:r}=n;a!==null&&nme(e,t,a),i!==null&&Tfe(e,t,i),r!==null&&Ofe(e,t,r)}var di=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}(di||{});function Nx(e){let t=Lx();return t?nb(t.sanitize(di.HTML,e)||""):Br(e,"HTML")?nb(Ln(e)):Ax(yx(),Zr(e))}function Hf(e){let t=Lx();return t?t.sanitize(di.URL,e)||"":Br(e,"URL")?Ln(e):jf(Zr(e))}function Lx(){let e=Pe();return e&&e[Un].sanitizer}function Afe(e,t,n){let a=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let r=t.length;if(i+r===a||e.charCodeAt(i+r)<=32)return i}n=i+1}}var Fx="ng-template";function Rfe(e,t,n,a){let i=0;if(a){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&Afe(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Uf(e))return!1;if(i=t.indexOf(1,i),i>-1){let r;for(;++i<t.length&&typeof(r=t[i])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Uf(e){return e.type===4&&e.value!==Fx}function Pfe(e,t,n){let a=e.type===4&&!n?Fx:e.value;return t===a}function Mfe(e,t,n){let a=4,i=e.attrs,r=i!==null?Ffe(i):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!Hi(a)&&!Hi(c))return!1;if(s&&Hi(c))continue;s=!1,a=c|a&1;continue}if(!s)if(a&4){if(a=2|a&1,c!==""&&!Pfe(e,c,n)||c===""&&t.length===1){if(Hi(a))return!1;s=!0}}else if(a&8){if(i===null||!Rfe(e,i,c,n)){if(Hi(a))return!1;s=!0}}else{let d=t[++l],u=Nfe(c,i,Uf(e),n);if(u===-1){if(Hi(a))return!1;s=!0;continue}if(d!==""){let p;if(u>r?p="":p=i[u+1].toLowerCase(),a&2&&d!==p){if(Hi(a))return!1;s=!0}}}}return Hi(a)||s}function Hi(e){return(e&1)===0}function Nfe(e,t,n,a){if(t===null)return-1;let i=0;if(a||!n){let r=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++i];for(;typeof l=="string";)l=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=r?1:2}return-1}else return Vfe(t,e)}function Vx(e,t,n=!1){for(let a=0;a<t.length;a++)if(Mfe(e,t[a],n))return!0;return!1}function Lfe(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Ffe(e){for(let t=0;t<e.length;t++){let n=e[t];if($1(n))return t}return e.length}function Vfe(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let a=e[n];if(typeof a=="number")return-1;if(a===t)return n;n++}return-1}function zfe(e,t){e:for(let n=0;n<t.length;n++){let a=t[n];if(e.length===a.length){for(let i=0;i<e.length;i++)if(e[i]!==a[i])continue e;return!0}}return!1}function db(e,t){return e?":not("+t.trim()+")":t}function Bfe(e){let t=e[0],n=1,a=2,i="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(a&2){let l=e[++n];i+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else a&8?i+="."+s:a&4&&(i+=" "+s);else i!==""&&!Hi(s)&&(t+=db(r,i),i=""),a=s,r=r||!Hi(a);n++}return i!==""&&(t+=db(r,i)),t}function jfe(e){return e.map(Bfe).join(",")}function Hfe(e){let t=[],n=[],a=1,i=2;for(;a<e.length;){let r=e[a];if(typeof r=="string")i===2?r!==""&&t.push(r,e[++a]):i===8&&n.push(r);else{if(!Hi(i))break;i=r}a++}return n.length&&t.push(1,...n),t}var ki={};function Wf(e,t,n,a,i,r,s,l,c,d,u){let p=Gt+a,b=p+i,g=Ufe(p,b),w=typeof d=="function"?d():d;return g[je]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:w,incompleteFirstPass:!1,ssrId:u}}function Ufe(e,t){let n=[];for(let a=0;a<t;a++)n.push(a<e?null:ki);return n}function Wfe(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Wf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qf(e,t,n,a,i,r,s,l,c,d,u){let p=t.blueprint.slice();return p[Gn]=i,p[Le]=a|4|128|8|64|1024,(d!==null||e&&e[Le]&2048)&&(p[Le]|=2048),M1(p),p[qa]=p[ps]=e,p[Ea]=n,p[Un]=s||e&&e[Un],p[qt]=l||e&&e[qt],p[Xo]=c||e&&e[Xo]||null,p[pi]=r,p[xu]=Rme(),p[Qo]=u,p[S1]=d,p[_i]=t.type==2?e[_i]:p,p}function qfe(e,t,n){let a=yn(t,e),i=Wfe(n),r=e[Un].rendererFactory,s=Gf(e,qf(e,i,null,zx(n),a,t,null,r.createRenderer(a,n),null,null,null));return e[t.index]=s}function zx(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Bx(e,t,n,a){if(n===0)return-1;let i=t.length;for(let r=0;r<n;r++)t.push(a),e.blueprint.push(a),e.data.push(null);return i}function Gf(e,t){return e[ml]?e[q0][Gi]=t:e[ml]=t,e[q0]=t,t}function C(e=1){jx(zt(),Pe(),_n()+e)}function jx(e,t,n,a){if((t[Le]&3)===3){let i=e.preOrderCheckHooks;i!==null&&sd(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ld(t,i,0,n)}ao(n)}var Tu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tu||{});function Kp(e,t,n,a){let i=Ke(null);try{let[r,s,l]=e.inputs[n],c=null;s&Tu.SignalBased&&(c=t[r][Ha]),c!==null&&c.transformFn!==void 0?a=c.transformFn(a):l!==null&&(a=l.call(t,a)),e.setInput!==null?e.setInput(t,c,a,n,r):I1(t,c,r,a)}finally{Ke(i)}}function Hx(e,t,n,a,i){let r=_n(),s=a&2;try{ao(-1),s&&t.length>Gt&&jx(e,t,Gt,!1),Jr(s?2:0,i),n(a,i)}finally{ao(r)}}function Au(e,t,n){Zfe(e,t,n),(n.flags&64)===64&&Kfe(e,t,n)}function $f(e,t,n=yn){let a=t.localNames;if(a!==null){let i=t.index+1;for(let r=0;r<a.length;r+=2){let s=a[r+1],l=s===-1?n(t,e):e[s];e[i++]=l}}}function Gfe(e,t,n,a){let i=a.get(Lme,xx)||n===Vn.ShadowDom;return e.selectRootElement(t,i)}function $fe(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Yf(e,t,n,a,i,r,s,l){if(!l&&Kf(t,e,n,a,i)){ms(t)&&Yfe(n,t.index);return}if(t.type&3){let c=yn(t,n);a=$fe(a),i=s!=null?s(i,t.value||"",a):i,r.setProperty(c,a,i)}else t.type&12}function Yfe(e,t){let n=fn(t,e);n[Le]&16||(n[Le]|=64)}function Zfe(e,t,n){let a=n.directiveStart,i=n.directiveEnd;ms(n)&&qfe(t,n,e.data[a+n.componentOffset]),e.firstCreatePass||Rd(n,t);let r=n.initialInputs;for(let s=a;s<i;s++){let l=e.data[s],c=fl(t,e,s,n);if(xs(c,t),r!==null&&ege(t,s-a,c,l,n,r),pn(l)){let d=fn(n.index,t);d[Ea]=fl(t,e,s,n)}}}function Kfe(e,t,n){let a=n.directiveStart,i=n.directiveEnd,r=n.index,s=Ype();try{ao(r);for(let l=a;l<i;l++){let c=e.data[l],d=t[l];jp(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Qfe(c,d)}}finally{ao(-1),jp(s)}}function Qfe(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Zf(e,t){let n=e.directiveRegistry,a=null;if(n)for(let i=0;i<n.length;i++){let r=n[i];Vx(t,r.selectors,!1)&&(a??(a=[]),pn(r)?a.unshift(r):a.push(r))}return a}function Xfe(e,t,n,a,i,r){let s=yn(e,t);Jfe(t[qt],s,r,e.value,n,a,i)}function Jfe(e,t,n,a,i,r,s){if(r==null)e.removeAttribute(t,i,n);else{let l=s==null?Zr(r):s(r,a||"",i);e.setAttribute(t,i,l,n)}}function ege(e,t,n,a,i,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];Kp(a,n,c,d)}}function tge(e,t){let n=e[Xo],a=n?n.get(Yi,null):null;a&&a.handleError(t)}function Kf(e,t,n,a,i){var c,d;let r=(c=e.inputs)==null?void 0:c[a],s=(d=e.hostDirectiveInputs)==null?void 0:d[a],l=!1;if(s)for(let u=0;u<s.length;u+=2){let p=s[u],b=s[u+1],g=t.data[p];Kp(g,n[p],b,i),l=!0}if(r)for(let u of r){let p=n[u],b=t.data[u];Kp(b,p,a,i),l=!0}return l}function age(e,t){let n=fn(t,e),a=n[je];ige(a,n);let i=n[Gn];i!==null&&n[Qo]===null&&(n[Qo]=Ex(i,n[Xo])),Qf(a,n,n[Ea]),Jr(19,n[Ea])}function ige(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Qf(e,t,n){var a;Of(t);try{let i=e.viewQuery;i!==null&&Zp(1,i,n);let r=e.template;r!==null&&Hx(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(a=t[$i])==null||a.finishViewCreation(e),e.staticContentQueries&&Cx(e,t),e.staticViewQueries&&Zp(2,e.viewQuery,n);let s=e.components;s!==null&&nge(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[Le]&=-5,Tf()}}function nge(e,t){for(let n=0;n<t.length;n++)age(e,t[n])}function Zl(e,t,n,a){let i=Ke(null);try{let r=t.tView,s=e[Le]&4096?4096:16,l=qf(e,r,n,s,null,t,null,null,(a==null?void 0:a.injector)??null,(a==null?void 0:a.embeddedViewInjector)??null,(a==null?void 0:a.dehydratedView)??null),c=e[t.index];l[Qr]=c;let d=e[$i];return d!==null&&(l[$i]=d.createEmbeddedView(r)),Qf(r,l,n),l}finally{Ke(i)}}function as(e,t){return!t||t.firstChild===null||px(e)}var rge;function Xf(e,t){return rge(e,t)}var sr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(sr||{});function Jf(e){return(e.flags&32)===32}function Lo(e,t,n,a,i){if(a!=null){let r,s=!1;$n(a)?r=a:pr(a)&&(s=!0,a=a[Gn]);let l=mn(a);e===0&&n!==null?i==null?Px(t,n,l):Md(t,n,l,i||null,!0):e===1&&n!==null?Md(t,n,l,i||null,!0):e===2?Ife(t,l,s):e===3&&t.destroyNode(l),r!=null&&fge(t,e,r,n,i)}}function oge(e,t){Ux(e,t),t[Gn]=null,t[pi]=null}function sge(e,t,n,a,i,r){a[Gn]=i,a[pi]=t,Mu(e,a,n,1,i,r)}function Ux(e,t){var n;(n=t[Un].changeDetectionScheduler)==null||n.notify(9),Mu(e,t,t[qt],2,null,null)}function lge(e){let t=e[ml];if(!t)return kh(e[je],e);for(;t;){let n=null;if(pr(t))n=t[ml];else{let a=t[Ua];a&&(n=a)}if(!n){for(;t&&!t[Gi]&&t!==e;)pr(t)&&kh(t[je],t),t=t[qa];t===null&&(t=e),pr(t)&&kh(t[je],t),n=t&&t[Gi]}t=n}}function eg(e,t){let n=e[Jo],a=n.indexOf(t);n.splice(a,1)}function Ru(e,t){if(fs(t))return;let n=t[qt];n.destroyNode&&Mu(e,t,n,3,null,null),lge(t)}function kh(e,t){if(fs(t))return;let n=Ke(null);try{t[Le]&=-129,t[Le]|=256,t[Pi]&&hu(t[Pi]),dge(e,t),cge(e,t),t[je].type===1&&t[qt].destroy();let a=t[Qr];if(a!==null&&$n(t[qa])){a!==t[qa]&&eg(a,t);let i=t[$i];i!==null&&i.detachView(e)}$p(t)}finally{Ke(n)}}function cge(e,t){let n=e.cleanup,a=t[Ho];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?a[l]():a[-l].unsubscribe(),s+=2}else{let l=a[n[s+1]];n[s].call(l)}a!==null&&(t[Ho]=null);let i=t[ur];if(i!==null){t[ur]=null;for(let s=0;s<i.length;s++){let l=i[s];l()}}let r=t[Fn];if(r!==null){t[Fn]=null;for(let s of r)s.destroy()}}function dge(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let a=0;a<n.length;a+=2){let i=t[n[a]];if(!(i instanceof ql)){let r=n[a+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=i[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(i)}finally{}}}}function Wx(e,t,n){return uge(e,t.parent,n)}function uge(e,t,n){let a=t;for(;a!==null&&a.type&168;)t=a,a=t.parent;if(a===null)return n[Gn];if(ms(a)){let{encapsulation:i}=e.data[a.directiveStart+a.componentOffset];if(i===Vn.None||i===Vn.Emulated)return null}return yn(a,n)}function qx(e,t,n){return pge(e,t,n)}function hge(e,t,n){return e.type&40?yn(e,n):null}var pge=hge;function Pu(e,t,n,a){let i=Wx(e,a,t),r=t[qt],s=a.parent||t[pi],l=qx(s,a,t);if(i!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)cb(r,i,n[c],l,!1);else cb(r,i,n,l,!1)}function Ks(e,t){if(t!==null){let n=t.type;if(n&3)return yn(t,e);if(n&4)return Qp(-1,e[t.index]);if(n&8){let a=t.child;if(a!==null)return Ks(e,a);{let i=e[t.index];return $n(i)?Qp(-1,i):mn(i)}}else{if(n&128)return Ks(e,t.next);if(n&32)return Xf(t,e)()||mn(e[t.index]);{let a=Gx(e,t);if(a!==null){if(Array.isArray(a))return a[0];let i=to(e[_i]);return Ks(i,a)}else return Ks(e,t.next)}}}return null}function Gx(e,t){if(t!==null){let n=e[_i][pi],a=t.projection;return n.projection[a]}return null}function Qp(e,t){let n=Ua+e+1;if(n<t.length){let a=t[n],i=a[je].firstChild;if(i!==null)return Ks(a,i)}return t[Xr]}function tg(e,t,n,a,i,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=a[n.index],c=n.type;if(s&&t===0&&(l&&xs(mn(l),a),n.flags|=2),!Jf(n))if(c&8)tg(e,t,n.child,a,i,r,!1),Lo(t,e,i,l,r);else if(c&32){let d=Xf(n,a),u;for(;u=d();)Lo(t,e,i,u,r);Lo(t,e,i,l,r)}else c&16?$x(e,t,a,n,i,r):Lo(t,e,i,l,r);n=s?n.projectionNext:n.next}}function Mu(e,t,n,a,i,r){tg(n,a,e.firstChild,t,i,r,!1)}function mge(e,t,n){let a=t[qt],i=Wx(e,n,t),r=n.parent||t[pi],s=qx(r,n,t);$x(a,0,t,n,i,s)}function $x(e,t,n,a,i,r){let s=n[_i],l=s[pi].projection[a.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Lo(t,e,i,d,r)}else{let c=l,d=s[qa];px(a)&&(c.flags|=128),tg(e,t,c,d,i,r,!0)}}function fge(e,t,n,a,i){let r=n[Xr],s=mn(n);r!==s&&Lo(t,e,a,r,i);for(let l=Ua;l<n.length;l++){let c=n[l];Mu(c[je],c,e,t,a,r)}}function gge(e,t,n,a,i){if(t)i?e.addClass(n,a):e.removeClass(n,a);else{let r=a.indexOf("-")===-1?void 0:sr.DashCase;i==null?e.removeStyle(n,a,r):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),r|=sr.Important),e.setStyle(n,a,i,r))}}function Nd(e,t,n,a,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&a.push(mn(r)),$n(r)&&bge(r,a);let s=n.type;if(s&8)Nd(e,t,n.child,a);else if(s&32){let l=Xf(n,t),c;for(;c=l();)a.push(c)}else if(s&16){let l=Gx(t,n);if(Array.isArray(l))a.push(...l);else{let c=to(t[_i]);Nd(c[je],c,l,a,!0)}}n=i?n.projectionNext:n.next}return a}function bge(e,t){for(let n=Ua;n<e.length;n++){let a=e[n],i=a[je].firstChild;i!==null&&Nd(a[je],a,i,t)}e[Xr]!==e[Gn]&&t.push(e[Xr])}function Yx(e){if(e[hr]!==null){for(let t of e[hr])t.impl.addSequence(t);e[hr].length=0}}var Zx=[];function vge(e){return e[Pi]??yge(e)}function yge(e){let t=Zx.pop()??Object.create(xge);return t.lView=e,t}function _ge(e){e.lView[Pi]!==e&&(e.lView=null,Zx.push(e))}var xge=dt(pe({},cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{bs(e.lView)},consumerOnSignalRead(){this.lView[Pi]=this}});function wge(e){let t=e[Pi]??Object.create(kge);return t.lView=e,t}var kge=dt(pe({},cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=to(e.lView);for(;t&&!Kx(t[je]);)t=to(t);t&&wf(t)},consumerOnSignalRead(){this.lView[Pi]=this}});function Kx(e){return e.type!==2}function Qx(e){if(e[Fn]===null)return;let t=!0;for(;t;){let n=!1;for(let a of e[Fn])a.dirty&&(n=!0,a.zone===null||Zone.current===a.zone?a.run():a.zone.run(()=>a.run()));t=n&&!!(e[Le]&8192)}}var Ege=100;function Xx(e,t=!0,n=0){var i,r;let a=e[Un].rendererFactory;(i=a.begin)==null||i.call(a);try{Cge(e,n)}catch(s){throw t&&tge(e,s),s}finally{(r=a.end)==null||r.call(a)}}function Cge(e,t){let n=z1();try{Id(!0),Xp(e,t);let a=0;for(;Wl(e);){if(a===Ege)throw new ae(103,!1);a++,Xp(e,1)}}finally{Id(n)}}function Sge(e,t,n,a){if(fs(t))return;let i=t[Le],r=!1,s=!1;Of(t);let l=!0,c=null,d=null;Kx(e)?(d=vge(t),c=ll(d)):Lue()===null?(l=!1,d=wge(t),c=ll(d)):t[Pi]&&(hu(t[Pi]),t[Pi]=null);try{M1(t),qpe(e.bindingStartIndex),n!==null&&Hx(e,t,n,2,a);let u=(i&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&sd(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ld(t,g,0,null),xh(t,0)}if(s||Dge(t),Qx(t),Jx(t,0),e.contentQueries!==null&&Cx(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&sd(t,g)}else{let g=e.contentHooks;g!==null&&ld(t,g,1),xh(t,1)}Oge(e,t);let p=e.components;p!==null&&tw(t,p,0);let b=e.viewQuery;if(b!==null&&Zp(2,b,a),!r)if(u){let g=e.viewCheckHooks;g!==null&&sd(t,g)}else{let g=e.viewHooks;g!==null&&ld(t,g,2),xh(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[_h]){for(let g of t[_h])g();t[_h]=null}r||(Yx(t),t[Le]&=-73)}catch(u){throw bs(t),u}finally{d!==null&&(uu(d,c),l&&_ge(d)),Tf()}}function Jx(e,t){for(let n=gx(e);n!==null;n=bx(n))for(let a=Ua;a<n.length;a++){let i=n[a];ew(i,t)}}function Dge(e){for(let t=gx(e);t!==null;t=bx(t)){if(!(t[Le]&2))continue;let n=t[Jo];for(let a=0;a<n.length;a++){let i=n[a];wf(i)}}}function Ige(e,t,n){let a=fn(t,e);ew(a,n),Jr(19,a[Ea])}function ew(e,t){xf(e)&&Xp(e,t)}function Xp(e,t){let n=e[je],a=e[Le],i=e[Pi],r=!!(t===0&&a&16);if(r||(r=!!(a&64&&t===0)),r||(r=!!(a&1024)),r||(r=!!(i!=null&&i.dirty&&ef(i))),r||(r=!1),i&&(i.dirty=!1),e[Le]&=-9217,r)Sge(n,e,n.template,e[Ea]);else if(a&8192){Qx(e),Jx(e,1);let s=n.components;s!==null&&tw(e,s,1),Yx(e)}}function tw(e,t,n){for(let a=0;a<t.length;a++)Ige(e,t[a],n)}function Oge(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let a=0;a<n.length;a++){let i=n[a];if(i<0)ao(~i);else{let r=i,s=n[++a],l=n[++a];$pe(s,r);let c=t[r];Jr(24,c),l(2,c),Jr(25,c)}}}finally{ao(-1)}}function ag(e,t){var a;let n=z1()?64:1088;for((a=e[Un].changeDetectionScheduler)==null?void 0:a.notify(t);e;){e[Le]|=n;let i=to(e);if(Dd(e)&&!i)return e;e=i}return null}function aw(e,t,n,a){return[e,!0,0,t,null,a,null,n,null,null]}function iw(e,t){let n=Ua+t;if(n<e.length)return e[n]}function Kl(e,t,n,a=!0){let i=t[je];if(Tge(i,t,e,n),a){let s=Qp(n,e),l=t[qt],c=l.parentNode(e[Xr]);c!==null&&sge(i,e[pi],l,t,c,s)}let r=t[Qo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function nw(e,t){let n=vl(e,t);return n!==void 0&&Ru(n[je],n),n}function vl(e,t){if(e.length<=Ua)return;let n=Ua+t,a=e[n];if(a){let i=a[Qr];i!==null&&i!==e&&eg(i,a),t>0&&(e[n-1][Gi]=a[Gi]);let r=Ed(e,Ua+t);oge(a[je],a);let s=r[$i];s!==null&&s.detachView(r[je]),a[qa]=null,a[Gi]=null,a[Le]&=-129}return a}function Tge(e,t,n,a){let i=Ua+a,r=n.length;a>0&&(n[i-1][Gi]=t),a<r-Ua?(t[Gi]=n[i],g1(n,Ua+a,t)):(n.push(t),t[Gi]=null),t[qa]=n;let s=t[Qr];s!==null&&n!==s&&rw(s,t);let l=t[$i];l!==null&&l.insertView(e),zp(t),t[Le]|=128}function rw(e,t){let n=e[Jo],a=t[qa];if(pr(a))e[Le]|=2;else{let i=a[qa][_i];t[_i]!==i&&(e[Le]|=2)}n===null?e[Jo]=[t]:n.push(t)}var yl=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[je];return Nd(t,e,t.firstChild,[])}get context(){return this._lView[Ea]}set context(e){this._lView[Ea]=e}get destroyed(){return fs(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[qa];if($n(e)){let t=e[Sd],n=t?t.indexOf(this):-1;n>-1&&(vl(e,n),Ed(t,n))}this._attachedToViewContainer=!1}Ru(this._lView[je],this._lView)}onDestroy(e){N1(this._lView,e)}markForCheck(){ag(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Le]&=-129}reattach(){zp(this._lView),this._lView[Le]|=128}detectChanges(){this._lView[Le]|=1024,Xx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Dd(this._lView),t=this._lView[Qr];t!==null&&!e&&eg(t,this._lView),Ux(this._lView[je],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new ae(902,!1);this._appRef=e;let t=Dd(this._lView),n=this._lView[Qr];n!==null&&!t&&rw(n,this._lView),zp(this._lView)}};function Age(e){return Wl(e._lView)||!!(e._lView[Le]&64)}function Rge(e){wf(e._cdRefInjectingView||e._lView)}var ya=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Nge),e})(),Pge=ya,Mge=class extends Pge{constructor(t,n,a){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=a}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,a){let i=Zl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:a});return new yl(i)}};function Nge(){return Nu(Za(),Pe())}function Nu(e,t){return e.type&4?new Mge(t,e,_s(e,t)):null}function ws(e,t,n,a,i){let r=e.data[t];if(r===null)r=Lge(e,t,n,a,i),Gpe()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=a,r.attrs=i;let s=Upe();r.injectorIndex=s===null?-1:s.injectorIndex}return kr(r,!0),r}function Lge(e,t,n,a,i){let r=F1(),s=Cf(),l=s?r:r&&r.parent,c=e.data[t]=Vge(e,l,n,t,a,i);return Fge(e,c,r,s),c}function Fge(e,t,n,a){e.firstChild===null&&(e.firstChild=t),n!==null&&(a?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Vge(e,t,n,a,i,r){let s=t?t.injectorIndex:-1,l=0;return L1()&&(l|=128),{type:n,index:a,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,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 zge=()=>null;function is(e,t){return zge()}var Bge=class{},ow=class{},jge=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Ri(e)}.`)}},Ep,Ql=(Ep=class{},o(Ep,"NULL",new jge),Ep),Fi=class{},ri=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>Hge()),e})();function Hge(){let e=Pe(),t=Za(),n=fn(t.index,e);return(pr(n)?n:e)[qt]}var Uge=(()=>{const t=class t{};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),Eh={},Wge=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=bu(n);let a=this.injector.get(e,Eh,n);return a!==Eh||t===Eh?a:this.parentInjector.get(e,t,n)}};function Jp(e,t,n){let a=n?e.styles:null,i=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)i=Rp(i,l);else if(r==2){let c=l,d=t[++s];a=Rp(a,c+": "+d+";")}}n?e.styles=a:e.stylesWithoutHost=a,n?e.classes=i:e.classesWithoutHost=i}function aa(e,t=Xe.Default){let n=Pe();if(n===null)return Ce(e,t);let a=Za();return ex(a,n,La(e),t)}function qge(){let e="invalid";throw new Error(e)}function ig(e,t,n,a,i){let r=a===null?null:{"":-1},s=i(e,n);if(s!==null){let l,c=null,d=null,u=$ge(s);u===null?l=s:[l,c,d]=u,Kge(e,t,n,l,r,c,d)}r!==null&&a!==null&&Gge(n,a,r)}function Gge(e,t,n){let a=e.localNames=[];for(let i=0;i<t.length;i+=2){let r=n[t[i+1]];if(r==null)throw new ae(-301,!1);a.push(t[i],r)}}function $ge(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&pn(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let a=null,i=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(a??(a=[]),i??(i=new Map),r??(r=new Map),Yge(s,a,r,i)),s===t&&(a??(a=[]),a.push(s));return a!==null?(a.push(...t===null?e:e.slice(1)),[a,i,r]):null}function Yge(e,t,n,a){let i=t.length;e.findHostDirectiveDefs(e,t,a),n.set(e,[i,t.length-1])}function Zge(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function Kge(e,t,n,a,i,r,s){let l=a.length,c=!1;for(let b=0;b<l;b++){let g=a[b];!c&&pn(g)&&(c=!0,Zge(e,n,b)),Up(Rd(n,t),e,g.type)}a0e(n,e.data.length,l);for(let b=0;b<l;b++){let g=a[b];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,p=Bx(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=a[b];if(n.mergedAttrs=es(n.mergedAttrs,g.hostAttrs),Xge(e,n,t,p,g),t0e(p,g,i),s!==null&&s.has(g)){let[k,S]=s.get(g);n.directiveToIndex.set(g.type,[p,k+n.directiveStart,S+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,p);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let w=g.type.prototype;!d&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),p++}Qge(e,n,r)}function Qge(e,t,n){for(let a=t.directiveStart;a<t.directiveEnd;a++){let i=e.data[a];if(n===null||!n.has(i))ub(0,t,i,a),ub(1,t,i,a),pb(t,a,!1);else{let r=n.get(i);hb(0,t,r,a),hb(1,t,r,a),pb(t,a,!0)}}}function ub(e,t,n,a){let i=e===0?n.inputs:n.outputs;for(let r in i)if(i.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(a),sw(t,r)}}function hb(e,t,n,a){let i=e===0?n.inputs:n.outputs;for(let r in i)if(i.hasOwnProperty(r)){let s=i[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(a,r),sw(t,s)}}function sw(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function pb(e,t,n){let{attrs:a,inputs:i,hostDirectiveInputs:r}=e;if(a===null||!n&&i===null||n&&r===null||Uf(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<a.length;){let c=a[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&i.hasOwnProperty(c)){let d=i[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,a[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],a[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function Xge(e,t,n,a,i){e.data[a]=i;let r=i.factory||(i.factory=Kr(i.type)),s=new ql(r,pn(i),aa);e.blueprint[a]=s,n[a]=s,Jge(e,t,a,Bx(e,n,i.hostVars,ki),i)}function Jge(e,t,n,a,i){let r=i.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;e0e(s)!=l&&s.push(l),s.push(n,a,r)}}function e0e(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function t0e(e,t,n){if(n){if(t.exportAs)for(let a=0;a<t.exportAs.length;a++)n[t.exportAs[a]]=e;pn(t)&&(n[""]=e)}}function a0e(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function lw(e,t,n,a,i,r,s,l){let c=t.consts,d=eo(c,s),u=ws(t,e,2,a,d);return ig(t,n,u,eo(c,l),i),u.mergedAttrs=es(u.mergedAttrs,u.attrs),u.attrs!==null&&Jp(u,u.attrs,!1),u.mergedAttrs!==null&&Jp(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function cw(e,t){Af(e,t),vf(t)&&e.queries.elementEnd(t)}var i0e=class extends Ql{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=Zo(t);return new ng(n,this.ngModule)}};function n0e(e){return Object.keys(e).map(t=>{let[n,a,i]=e[t],r={propName:n,templateName:t,isSignal:(a&Tu.SignalBased)!==0};return i&&(r.transform=i),r})}function r0e(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function o0e(e,t,n){let a=t instanceof hn?t:t==null?void 0:t.injector;return a&&e.getStandaloneInjector!==null&&(a=e.getStandaloneInjector(a)||a),a?new Wge(n,a):n}function s0e(e){let t=e.get(Fi,null);if(t===null)throw new ae(407,!1);let n=e.get(Uge,null),a=e.get(ys,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:a}}function l0e(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Rx(t,n,n==="svg"?R1:n==="math"?Ape:null)}var ng=class extends ow{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=jfe(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=n0e(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=r0e(this.componentDef.outputs)),this.cachedOutputs}create(t,n,a,i){let r=Ke(null);try{let s=this.componentDef,l=a?["ng-version","19.2.18"]:Hfe(this.componentDef.selectors[0]),c=Wf(0,null,null,1,0,null,null,null,null,[l],null),d=o0e(s,i||this.ngModule,t),u=s0e(d),p=u.rendererFactory.createRenderer(null,s),b=a?Gfe(p,a,s.encapsulation,d):l0e(s,p),g=qf(null,c,null,512|zx(s),null,null,u,p,d,null,Ex(b,d,!0));g[Gt]=b,Of(g);let w=null;try{let k=lw(Gt,c,g,"#host",()=>[this.componentDef],!0,0);b&&(Mx(p,b,k),xs(b,g)),Au(c,g,k),Bf(c,k,g),cw(c,k),n!==void 0&&d0e(k,this.ngContentSelectors,n),w=fn(k.index,g),g[Ea]=w[Ea],Qf(c,g,null)}catch(k){throw w!==null&&$p(w),$p(g),k}finally{Jr(23),Tf()}return new c0e(this.componentType,g)}finally{Ke(r)}}},c0e=class extends Bge{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=yf(n[je],Gt),this.location=_s(this._tNode,n),this.instance=fn(this._tNode.index,n)[Ea],this.hostView=this.changeDetectorRef=new yl(n,void 0,!1),this.componentType=t}setInput(t,n){let a=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Kf(a,i[je],i,t,n),this.previousInputValues.set(t,n);let r=fn(a.index,i);ag(r,1)}get injector(){return new al(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function d0e(e,t,n){let a=e.projection=[];for(let i=0;i<t.length;i++){let r=n[i];a.push(r!=null&&r.length?Array.from(r):null)}}var oi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",u0e),e})();function u0e(){let e=Za();return uw(e,Pe())}var h0e=oi,dw=class extends h0e{constructor(t,n,a){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=a}get element(){return _s(this._hostTNode,this._hostLView)}get injector(){return new al(this._hostTNode,this._hostLView)}get parentInjector(){let t=Rf(this._hostTNode,this._hostLView);if(Y1(t)){let n=Td(t,this._hostLView),a=Od(t),i=n[je].data[a+8];return new al(i,n)}else return new al(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=mb(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Ua}createEmbeddedView(t,n,a){let i,r;typeof a=="number"?i=a:a!=null&&(i=a.index,r=a.injector);let s=is(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,i,as(this._hostTNode,s)),l}createComponent(t,n,a,i,r){let s=t&&!Spe(t),l;if(s)l=n;else{let w=n||{};l=w.index,a=w.injector,i=w.projectableNodes,r=w.environmentInjector||w.ngModuleRef}let c=s?t:new ng(Zo(t)),d=a||this.parentInjector;if(!r&&c.ngModule==null){let w=(s?d:this.parentInjector).get(hn,null);w&&(r=w)}let u=Zo(c.componentType??{}),p=is(this._lContainer,(u==null?void 0:u.id)??null),b=null,g=c.create(d,i,b,r);return this.insertImpl(g.hostView,l,as(this._hostTNode,p)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,a){let i=t._lView;if(Ppe(i)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=i[qa],d=new dw(c,c[pi],c[qa]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Kl(s,i,r,a),t.attachToViewContainerRef(),g1(Ch(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=mb(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),a=vl(this._lContainer,n);a&&(Ed(Ch(this._lContainer),n),Ru(a[je],a))}detach(t){let n=this._adjustIndex(t,-1),a=vl(this._lContainer,n);return a&&Ed(Ch(this._lContainer),n)!=null?new yl(a):null}_adjustIndex(t,n=0){return t??this.length+n}};function mb(e){return e[Sd]}function Ch(e){return e[Sd]||(e[Sd]=[])}function uw(e,t){let n,a=t[e.index];return $n(a)?n=a:(n=aw(a,t,null,e),t[e.index]=n,Gf(t,n)),m0e(n,t,e,a),new dw(n,e,t)}function p0e(e,t){let n=e[qt],a=n.createComment(""),i=yn(t,e),r=n.parentNode(i);return Md(n,r,a,n.nextSibling(i),!1),a}var m0e=f0e;function f0e(e,t,n,a){if(e[Xr])return;let i;n.type&8?i=mn(a):i=p0e(t,n),e[Xr]=i}var g0e=class hw{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new hw(this.queryList)}setDirty(){this.queryList.setDirty()}},b0e=class pw{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let a=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let r=0;r<a;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];i.push(l.clone())}return new pw(i)}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++)og(t,n).matches!==null&&this.queries[n].setDirty()}},mw=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=E0e(e):this.predicate=e}},v0e=class fw{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let a=0;a<this.queries.length;a++)this.queries[a].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 a=0;a<this.length;a++){let i=n!==null?n.length:0,r=this.getByIndex(a).embeddedTView(t,i);r&&(r.indexInDeclarationView=a,n!==null?n.push(r):n=[r])}return n!==null?new fw(n):null}template(t,n){for(let a=0;a<this.queries.length;a++)this.queries[a].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},y0e=class gw{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new gw(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,a=t.parent;for(;a!==null&&a.type&8&&a.index!==n;)a=a.parent;return n===(a!==null?a.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let a=this.metadata.predicate;if(Array.isArray(a))for(let i=0;i<a.length;i++){let r=a[i];this.matchTNodeWithReadOption(t,n,_0e(n,r)),this.matchTNodeWithReadOption(t,n,cd(n,t,r,!1,!1))}else a===ya?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,cd(n,t,a,!1,!1))}matchTNodeWithReadOption(t,n,a){if(a!==null){let i=this.metadata.read;if(i!==null)if(i===Te||i===oi||i===ya&&n.type&4)this.addMatch(n.index,-2);else{let r=cd(n,t,i,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,a)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function _0e(e,t){let n=e.localNames;if(n!==null){for(let a=0;a<n.length;a+=2)if(n[a]===t)return n[a+1]}return null}function x0e(e,t){return e.type&11?_s(e,t):e.type&4?Nu(e,t):null}function w0e(e,t,n,a){return n===-1?x0e(t,e):n===-2?k0e(e,t,a):fl(e,e[je],n,t)}function k0e(e,t,n){if(n===Te)return _s(t,e);if(n===ya)return Nu(t,e);if(n===oi)return uw(t,e)}function bw(e,t,n,a){let i=t[$i].queries[a];if(i.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(w0e(t,u,s[c+1],n.metadata.read))}}i.matches=l}return i.matches}function em(e,t,n,a){let i=e.queries.getByIndex(n),r=i.matches;if(r!==null){let s=bw(e,t,i,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)a.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let p=Ua;p<u.length;p++){let b=u[p];b[Qr]===b[qa]&&em(b[je],b,d,a)}if(u[Jo]!==null){let p=u[Jo];for(let b=0;b<p.length;b++){let g=p[b];em(g[je],g,d,a)}}}}}return a}function rg(e,t){return e[$i].queries[t].queryList}function vw(e,t,n){let a=new ts((n&4)===4);return Lpe(e,t,a,a.destroy),(t[$i]??(t[$i]=new b0e)).queries.push(new g0e(a))-1}function yw(e,t,n){let a=zt();return a.firstCreatePass&&(xw(a,new mw(e,t,n),-1),(t&2)===2&&(a.staticViewQueries=!0)),vw(a,Pe(),t)}function _w(e,t,n,a){let i=zt();if(i.firstCreatePass){let r=Za();xw(i,new mw(t,n,a),r.index),C0e(i,e),(n&2)===2&&(i.staticContentQueries=!0)}return vw(i,Pe(),n)}function E0e(e){return e.split(",").map(t=>t.trim())}function xw(e,t,n){e.queries===null&&(e.queries=new v0e),e.queries.track(new y0e(t,n))}function C0e(e,t){let n=e.contentQueries||(e.contentQueries=[]),a=n.length?n[n.length-1]:-1;t!==a&&n.push(e.queries.length-1,t)}function og(e,t){return e.queries.getByIndex(t)}function ww(e,t){let n=e[je],a=og(n,t);return a.crossesNgTemplate?em(n,e,t,[]):bw(n,e,a,t)}function sg(e,t,n){let a,i=__(()=>{a._dirtyCounter();let r=O0e(a,e);if(t&&r===void 0)throw new ae(-951,!1);return r});return a=i[Ha],a._dirtyCounter=ai(0),a._flatValue=void 0,i}function S0e(e){return sg(!0,!1)}function D0e(e){return sg(!0,!0)}function I0e(e){return sg(!1,!1)}function kw(e,t){let n=e[Ha];n._lView=Pe(),n._queryIndex=t,n._queryList=rg(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(a=>a+1))}function O0e(e,t){let n=e._lView,a=e._queryIndex;if(n===void 0||a===void 0||n[Le]&4)return t?void 0:ti;let i=rg(n,a),r=ww(n,a);return i.reset(r,ux),t?i.first:i._changesDetected||e._flatValue===void 0?e._flatValue=i.toArray():e._flatValue}function T0e(e,t){return I0e()}function fb(e,t){return S0e()}function A0e(e,t){return D0e()}var R0e=(fb.required=A0e,fb);function Ew(e,t){let n=Object.create(n1),a=new dx;n.value=e;function i(){return Ll(n),gb(n.value),n.value}return i[Ha]=n,i.asReadonly=Nf.bind(i),i.set=r=>{n.equal(n.value,r)||(Vl(n,r),a.emit(r))},i.update=r=>{gb(n.value),i.set(r(n.value))},i.subscribe=a.subscribe.bind(a),i.destroyRef=a.destroyRef,i}function gb(e){if(e===gu)throw new ae(952,!1)}function bb(e,t){return Ew(e)}function P0e(e){return Ew(gu)}var ks=(bb.required=P0e,bb),_l=class{},Cw=class extends _l{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new i0e(this));o(this,"instance",null);let n=new bf([...t.providers,{provide:_l,useValue:this},{provide:Ql,useValue:this.componentFactoryResolver}],t.parent||yu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function M0e(e,t,n=null){return new Cw({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var N0e=(()=>{const t=class t{constructor(a){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=a}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){let i=x1(!1,a.type),r=i.length>0?M0e([i],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,r)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(let a of this.cachedInjectors.values())a!==null&&a.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",Z({token:t,providedIn:"environment",factory:()=>new t(Ce(hn))}));let e=t;return e})();function X(e){return jl(()=>{let t=Sw(e),n=dt(pe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===mx.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(N0e).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vn.Emulated,styles:e.styles||ti,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ho("NgStandalone"),Dw(n);let a=e.dependencies;return n.directiveDefs=vb(a,!1),n.pipeDefs=vb(a,!0),n.id=B0e(n),n})}function L0e(e){return Zo(e)||_1(e)}function F0e(e){return e!==null}function yt(e){return jl(()=>({type:e.type,bootstrap:e.bootstrap||ti,declarations:e.declarations||ti,imports:e.imports||ti,exports:e.exports||ti,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function V0e(e,t){if(e==null)return un;let n={};for(let a in e)if(e.hasOwnProperty(a)){let i=e[a],r,s,l,c;Array.isArray(i)?(l=i[0],r=i[1],s=i[2]??r,c=i[3]||null):(r=i,s=i,l=Tu.None,c=null),n[r]=[a,l,c],t[r]=s}return n}function z0e(e){if(e==null)return un;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function de(e){return jl(()=>{let t=Sw(e);return Dw(t),t})}function ua(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 Sw(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||un,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ti,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:V0e(e.inputs,t),outputs:z0e(e.outputs),debugInfo:null}}function Dw(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function vb(e,t){if(!e)return null;let n=t?fpe:L0e;return()=>(typeof e=="function"?e():e).map(a=>n(a)).filter(F0e)}function B0e(e){let t=0,n=typeof e.consts=="function"?"":e.consts,a=[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 i of a.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function j0e(e){return Object.getPrototypeOf(e.prototype).constructor}function ze(e){let t=j0e(e.type),n=!0,a=[e];for(;t;){let i;if(pn(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new ae(903,!1);i=t.ɵdir}if(i){if(n){a.push(i);let s=e;s.inputs=Sh(e.inputs),s.declaredInputs=Sh(e.declaredInputs),s.outputs=Sh(e.outputs);let l=i.hostBindings;l&&G0e(e,l);let c=i.viewQuery,d=i.contentQueries;if(c&&W0e(e,c),d&&q0e(e,d),H0e(e,i),Yhe(e.outputs,i.outputs),pn(i)&&i.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let r=i.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===ze&&(n=!1)}}t=Object.getPrototypeOf(t)}U0e(a)}function H0e(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let a=t.inputs[n];a!==void 0&&(e.inputs[n]=a,e.declaredInputs[n]=t.declaredInputs[n])}}function U0e(e){let t=0,n=null;for(let a=e.length-1;a>=0;a--){let i=e[a];i.hostVars=t+=i.hostVars,i.hostAttrs=es(i.hostAttrs,n=es(n,i.hostAttrs))}}function Sh(e){return e===un?{}:e===ti?[]:e}function W0e(e,t){let n=e.viewQuery;n?e.viewQuery=(a,i)=>{t(a,i),n(a,i)}:e.viewQuery=t}function q0e(e,t){let n=e.contentQueries;n?e.contentQueries=(a,i,r)=>{t(a,i,r),n(a,i,r)}:e.contentQueries=t}function G0e(e,t){let n=e.hostBindings;n?e.hostBindings=(a,i)=>{t(a,i),n(a,i)}:e.hostBindings=t}function $0e(e){let t=n=>{let a=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Iw,n.hostDirectives=a?e.map(tm):[e]):a?n.hostDirectives.unshift(...e.map(tm)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Iw(e,t,n){if(e.hostDirectives!==null)for(let a of e.hostDirectives)if(typeof a=="function"){let i=a();for(let r of i)yb(tm(r),t,n)}else yb(a,t,n)}function yb(e,t,n){let a=_1(e.directive);Y0e(a.declaredInputs,e.inputs),Iw(a,t,n),n.set(a,e),t.push(a)}function tm(e){return typeof e=="function"?{directive:La(e),inputs:un,outputs:un}:{directive:La(e.directive),inputs:_b(e.inputs),outputs:_b(e.outputs)}}function _b(e){if(e===void 0||e.length===0)return un;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Y0e(e,t){for(let n in t)if(t.hasOwnProperty(n)){let a=t[n],i=e[n];e[a]=i}}function Ow(e){return lg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Z0e(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),a;for(;!(a=n.next()).done;)t(a.value)}}function lg(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Es(e,t,n){return e[t]=n}function Tw(e,t){return e[t]}function ui(e,t,n){let a=e[t];return Object.is(a,n)?!1:(e[t]=n,!0)}function xl(e,t,n,a){let i=ui(e,t,n);return ui(e,t+1,a)||i}function K0e(e,t,n,a,i){let r=xl(e,t,n,a);return ui(e,t+2,i)||r}function Aw(e,t,n,a,i,r){let s=xl(e,t,n,a);return xl(e,t+2,i,r)||s}function Q0e(e,t,n,a,i,r,s,l,c){let d=t.consts,u=ws(t,e,4,s||null,l||null);ig(t,n,u,eo(d,c),Zf),u.mergedAttrs=es(u.mergedAttrs,u.attrs),Af(t,u);let p=u.tView=Wf(2,u,a,i,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),p.queries=t.queries.embeddedTView(u)),u}function Rw(e,t,n,a,i,r,s,l,c,d){let u=n+Gt,p=t.firstCreatePass?Q0e(u,t,e,a,i,r,s,l,c):t.data[u];kr(p,!1);let b=X0e(t,e);Cu()&&Pu(t,e,b,p),xs(b,e);let g=aw(b,e,b,p);return e[u]=g,Gf(e,g),wu(p)&&Au(t,e,p),c!=null&&$f(e,p,d),p}function V(e,t,n,a,i,r,s,l){let c=Pe(),d=zt(),u=eo(d.consts,r);return Rw(c,d,e,t,n,a,i,u,s,l),V}var X0e=J0e;function J0e(e,t,n,a){return Su(!0),t[qt].createComment("")}var ebe=new Y(""),Pw=(()=>{const t=class t{};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new tbe}));let e=t;return e})(),tbe=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function cg(e){return!!e&&typeof e.then=="function"}function abe(e){return!!e&&typeof e.subscribe=="function"}var ibe=new Y(""),Mw=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((a,i)=>{this.resolve=a,this.reject=i}));o(this,"appInits",_(ibe,{optional:!0})??[]);o(this,"injector",_(ut))}runInitializers(){if(this.initialized)return;let a=[];for(let r of this.appInits){let s=_u(this.injector,r);if(cg(s))a.push(s);else if(abe(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});a.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{i()}).catch(r=>{this.reject(r)}),a.length===0&&i(),this.initialized=!0}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),nbe=new Y("");function rbe(){jue(()=>{throw new ae(600,!1)})}function obe(e){return e.isBoundToModule}var sbe=10,br=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",_(Dme));o(this,"afterRenderManager",_(wx));o(this,"zonelessEnabled",_(rx));o(this,"rootEffectScheduler",_(Pw));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new me);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",_(Gl).hasPendingTasks.pipe(It(a=>!a)));o(this,"_injector",_(hn));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var i;if(this._runningTick)throw new ae(101,!1);let a=Ke(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(i=this.tracingSnapshot)==null||i.dispose(),this.tracingSnapshot=null,Ke(a),this.afterTick.next()}});_($l,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let a;return new Promise(i=>{a=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{a.unsubscribe()})}get injector(){return this._injector}bootstrap(a,i){return this.bootstrapImpl(a,i)}bootstrapImpl(a,i,r=ut.NULL){let s=a instanceof ow;if(!this._injector.get(Mw).done){let g="";throw new ae(405,g)}let l;s?l=a:l=this._injector.get(Ql).resolveComponentFactory(a),this.componentTypes.push(l.componentType);let c=obe(l)?void 0:this._injector.get(_l),d=i||l.selector,u=l.create(r,[],d,c),p=u.location.nativeElement,b=u.injector.get(ebe,null);return b==null||b.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),dd(this.components,u),b==null||b.unregisterApplication(p)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Ff.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Fi,null,{optional:!0}));let a=0;for(;this.dirtyFlags!==0&&a++<sbe;)this.synchronizeOnce()}synchronizeOnce(){var a,i,r,s;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)lbe(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(i=(a=this._rendererFactory)==null?void 0:a.begin)==null||i.call(a),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:a})=>Wl(a))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(a){let i=a;this._views.push(i),i.attachToAppRef(this)}detachView(a){let i=a;dd(this._views,i),i.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a),this._injector.get(nbe,[]).forEach(i=>i(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>dd(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new ae(406,!1);let a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function dd(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function lbe(e,t,n,a){!n&&!Wl(e)||Xx(e,t,n&&!a?0:1)}function be(e,t,n,a){let i=Pe(),r=uo();if(ui(i,r,t)){zt();let s=Eu();Xfe(s,i,e,t,n,a)}return be}function Nw(e,t,n,a){return ui(e,uo(),n)?t+Zr(n)+a:ki}function cbe(e,t,n,a,i,r){let s=Wpe(),l=xl(e,s,n,i);return Df(2),l?t+Zr(n)+a+Zr(i)+r:ki}function Ic(e,t){return e<<17|t<<2}function no(e){return e>>17&32767}function dbe(e){return(e&2)==2}function ube(e,t){return e&131071|t<<17}function am(e){return e|2}function ns(e){return(e&131068)>>2}function Dh(e,t){return e&-131069|t<<2}function hbe(e){return(e&1)===1}function im(e){return e|1}function pbe(e,t,n,a,i,r){let s=r?t.classBindings:t.styleBindings,l=no(s),c=ns(s);e[a]=n;let d=!1,u;if(Array.isArray(n)){let p=n;u=p[1],(u===null||Hl(p,u)>0)&&(d=!0)}else u=n;if(i)if(c!==0){let p=no(e[l+1]);e[a+1]=Ic(p,l),p!==0&&(e[p+1]=Dh(e[p+1],a)),e[l+1]=ube(e[l+1],a)}else e[a+1]=Ic(l,0),l!==0&&(e[l+1]=Dh(e[l+1],a)),l=a;else e[a+1]=Ic(c,0),l===0?l=a:e[c+1]=Dh(e[c+1],a),c=a;d&&(e[a+1]=am(e[a+1])),xb(e,u,a,!0),xb(e,u,a,!1),mbe(t,u,e,a,r),s=Ic(l,c),r?t.classBindings=s:t.styleBindings=s}function mbe(e,t,n,a,i){let r=i?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Hl(r,t)>=0&&(n[a+1]=im(n[a+1]))}function xb(e,t,n,a){let i=e[n+1],r=t===null,s=a?no(i):ns(i),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];fbe(c,t)&&(l=!0,e[s+1]=a?im(d):am(d)),s=a?no(d):ns(d)}l&&(e[n+1]=a?am(i):im(i))}function fbe(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Hl(e,t)>=0:!1}var qi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gbe(e){return e.substring(qi.key,qi.keyEnd)}function bbe(e){return vbe(e),Lw(e,Fw(e,0,qi.textEnd))}function Lw(e,t){let n=qi.textEnd;return n===t?-1:(t=qi.keyEnd=ybe(e,qi.key=t,n),Fw(e,t,n))}function vbe(e){qi.key=0,qi.keyEnd=0,qi.value=0,qi.valueEnd=0,qi.textEnd=e.length}function Fw(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ybe(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function N(e,t,n){let a=Pe(),i=uo();if(ui(a,i,t)){let r=zt(),s=Eu();Yf(r,s,a,e,t,a[qt],n,!1)}return N}function nm(e,t,n,a,i){Kf(t,e,n,i?"class":"style",a)}function Kn(e,t,n){return zw(e,t,n,!1),Kn}function we(e,t){return zw(e,t,null,!0),we}function Mi(e){Bw(Cbe,Vw,e,!0)}function Vw(e,t){for(let n=bbe(t);n>=0;n=Lw(t,n))vu(e,gbe(t),!0)}function zw(e,t,n,a){let i=Pe(),r=zt(),s=Df(2);if(r.firstUpdatePass&&Hw(r,e,s,a),t!==ki&&ui(i,s,t)){let l=r.data[_n()];Uw(r,l,i,i[qt],e,i[s+1]=Dbe(t,n),a,s)}}function Bw(e,t,n,a){let i=zt(),r=Df(2);i.firstUpdatePass&&Hw(i,null,r,a);let s=Pe();if(n!==ki&&ui(s,r,n)){let l=i.data[_n()];if(Ww(l,a)&&!jw(i,r)){let c=l.classesWithoutHost;c!==null&&(n=Rp(c,n||"")),nm(i,l,s,n,a)}else Sbe(i,l,s,s[qt],s[r+1],s[r+1]=Ebe(e,t,n),a,r)}}function jw(e,t){return t>=e.expandoStartIndex}function Hw(e,t,n,a){let i=e.data;if(i[n+1]===null){let r=i[_n()],s=jw(e,n);Ww(r,a)&&t===null&&!s&&(t=!1),t=_be(i,r,t,a),pbe(i,r,t,n,s,a)}}function _be(e,t,n,a){let i=Zpe(e),r=a?t.residualClasses:t.residualStyles;if(i===null)(a?t.classBindings:t.styleBindings)===0&&(n=Ih(null,e,t,n,a),n=wl(n,t.attrs,a),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Ih(i,e,t,n,a),r===null){let l=xbe(e,t,a);l!==void 0&&Array.isArray(l)&&(l=Ih(null,e,t,l[1],a),l=wl(l,t.attrs,a),wbe(e,t,a,l))}else r=kbe(e,t,a)}return r!==void 0&&(a?t.residualClasses=r:t.residualStyles=r),n}function xbe(e,t,n){let a=n?t.classBindings:t.styleBindings;if(ns(a)!==0)return e[no(a)]}function wbe(e,t,n,a){let i=n?t.classBindings:t.styleBindings;e[no(i)]=a}function kbe(e,t,n){let a,i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<i;r++){let s=e[r].hostAttrs;a=wl(a,s,n)}return wl(a,t.attrs,n)}function Ih(e,t,n,a,i){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],a=wl(a,r.hostAttrs,i),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),a}function wl(e,t,n){let a=n?1:2,i=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?i=s:i===a&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vu(e,s,n?!0:t[++r]))}return e===void 0?null:e}function Ebe(e,t,n){if(n==null||n==="")return ti;let a=[],i=Ln(n);if(Array.isArray(i))for(let r=0;r<i.length;r++)e(a,i[r],!0);else if(typeof i=="object")for(let r in i)i.hasOwnProperty(r)&&e(a,r,i[r]);else typeof i=="string"&&t(a,i);return a}function Cbe(e,t,n){let a=String(t);a!==""&&!a.includes(" ")&&vu(e,a,n)}function Sbe(e,t,n,a,i,r,s,l){i===ki&&(i=ti);let c=0,d=0,u=0<i.length?i[0]:null,p=0<r.length?r[0]:null;for(;u!==null||p!==null;){let b=c<i.length?i[c+1]:void 0,g=d<r.length?r[d+1]:void 0,w=null,k;u===p?(c+=2,d+=2,b!==g&&(w=p,k=g)):p===null||u!==null&&u<p?(c+=2,w=u):(d+=2,w=p,k=g),w!==null&&Uw(e,t,n,a,w,k,s,l),u=c<i.length?i[c]:null,p=d<r.length?r[d]:null}}function Uw(e,t,n,a,i,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=hbe(d)?wb(c,t,n,i,ns(d),s):void 0;if(!Ld(u)){Ld(r)||dbe(d)&&(r=wb(c,null,n,i,l,s));let p=P1(_n(),n);gge(a,s,p,i,r)}}function wb(e,t,n,a,i,r){let s=t===null,l;for(;i>0;){let c=e[i],d=Array.isArray(c),u=d?c[1]:c,p=u===null,b=n[i+1];b===ki&&(b=p?ti:void 0);let g=p?vh(b,a):u===a?b:void 0;if(d&&!Ld(g)&&(g=vh(c,a)),Ld(g)&&(l=g,s))return l;let w=e[i+1];i=s?no(w):ns(w)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=vh(c,a))}return l}function Ld(e){return e!==void 0}function Dbe(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ri(Ln(e)))),e}function Ww(e,t){return(e.flags&(t?8:16))!==0}function Ibe(e,t,n){let a=Pe(),i=Nw(a,e,t,n);Bw(vu,Vw,i,!0)}var Obe=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),a=Math.max(e,t),i=this.detach(a);if(a-n>1){let r=this.detach(n);this.attach(n,i),this.attach(a,r)}else this.attach(n,i)}move(e,t){this.attach(t,this.detach(e))}};function Oh(e,t,n,a,i){return e===n&&Object.is(t,a)?1:Object.is(i(e,t),i(n,a))?-1:0}function Tbe(e,t,n){let a,i,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=Oh(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let p=e.at(s),b=t[l],g=Oh(s,p,l,b,n);if(g!==0){g<0&&e.updateValue(s,b),s--,l--;continue}let w=n(r,c),k=n(s,p),S=n(r,d);if(Object.is(S,k)){let A=n(l,b);Object.is(A,w)?(e.swap(r,s),e.updateValue(s,b),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(a??(a=new Cb),i??(i=Eb(e,r,s,n)),rm(e,a,r,S))e.updateValue(r,d),r++,s++;else if(i.has(S))a.set(w,e.detach(r)),s--;else{let A=e.create(r,t[r]);e.attach(r,A),r++,s++}}for(;r<=l;)kb(e,a,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,p=Oh(r,d,r,u,n);if(p!==0)p<0&&e.updateValue(r,u),r++,c=l.next();else{a??(a=new Cb),i??(i=Eb(e,r,s,n));let b=n(r,u);if(rm(e,a,r,b))e.updateValue(r,u),r++,s++,c=l.next();else if(!i.has(b))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);a.set(g,e.detach(r)),s--}}}for(;!c.done;)kb(e,a,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));a==null||a.forEach(l=>{e.destroy(l)})}function rm(e,t,n,a){return t!==void 0&&t.has(a)?(e.attach(n,t.get(a)),t.delete(a),!0):!1}function kb(e,t,n,a,i){if(rm(e,t,a,n(a,i)))e.updateValue(a,i);else{let r=e.create(a,i);e.attach(a,r)}}function Eb(e,t,n,a){let i=new Set;for(let r=t;r<=n;r++)i.add(a(r,e.at(r)));return i}var Cb=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let a=this._vMap;for(;a.has(n);)n=a.get(n);a.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 a=this._vMap;for(;a.has(n);)n=a.get(n),e(n,t)}}};function U(e,t){ho("NgControlFlow");let n=Pe(),a=uo(),i=n[a]!==ki?n[a]:-1,r=i!==-1?Fd(n,Gt+i):void 0,s=0;if(ui(n,a,e)){let l=Ke(null);try{if(r!==void 0&&nw(r,s),e!==-1){let c=Gt+e,d=Fd(n,c),u=om(n[je],c),p=is(d,u.tView.ssrId),b=Zl(n,u,t,{dehydratedView:p});Kl(d,b,s,as(u,p))}}finally{Ke(l)}}else if(r!==void 0){let l=iw(r,s);l!==void 0&&(l[Ea]=t)}}var Abe=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-Ua}};function Ni(e,t){return t}var Rbe=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ga(e,t,n,a,i,r,s,l,c,d,u,p,b){ho("NgControlFlow");let g=Pe(),w=zt(),k=c!==void 0,S=Pe(),A=l?s.bind(S[_i][Ea]):s,B=new Rbe(k,A);S[Gt+e]=B,Rw(g,w,e+1,t,n,a,i,eo(w.consts,r))}var Pbe=class extends Obe{constructor(t,n,a){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=a}get length(){return this.lContainer.length-Ua}at(t){return this.getLView(t)[Ea].$implicit}attach(t,n){let a=n[Qo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Kl(this.lContainer,n,t,as(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Mbe(this.lContainer,t)}create(t,n){var r;let a=is(this.lContainer,this.templateTNode.tView.ssrId),i=Zl(this.hostLView,this.templateTNode,new Abe(this.lContainer,n,t),{dehydratedView:a});return(r=this.operationsCounter)==null||r.recordCreate(),i}destroy(t){var n;Ru(t[je],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[Ea].$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)[Ea].$index=t}getLView(t){return Nbe(this.lContainer,t)}};function $a(e){let t=Ke(null),n=_n();try{let a=Pe(),i=a[je],r=a[n],s=n+1,l=Fd(a,s);if(r.liveCollection===void 0){let d=om(i,s);r.liveCollection=new Pbe(l,a,d)}else r.liveCollection.reset();let c=r.liveCollection;if(Tbe(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=uo(),u=c.length===0;if(ui(a,d,u)){let p=n+2,b=Fd(a,p);if(u){let g=om(i,p),w=is(b,g.tView.ssrId),k=Zl(a,g,void 0,{dehydratedView:w});Kl(b,k,0,as(g,w))}else nw(b,0)}}}finally{Ke(t)}}function Fd(e,t){return e[t]}function Mbe(e,t){return vl(e,t)}function Nbe(e,t){return iw(e,t)}function om(e,t){return yf(e,t)}function D(e,t,n,a){let i=Pe(),r=zt(),s=Gt+e,l=i[qt],c=r.firstCreatePass?lw(s,r,i,t,Zf,Bpe(),n,a):r.data[s],d=Lbe(r,i,c,l,t);i[s]=d;let u=wu(c);return kr(c,!0),Mx(l,d,c),!Jf(c)&&Cu()&&Pu(r,i,d,c),(Fpe()===0||u)&&xs(d,i),Vpe(),u&&(Au(r,i,c),Bf(r,c,i)),a!==null&&$f(i,c),D}function O(){let e=Za();Cf()?Sf():(e=e.parent,kr(e,!1));let t=e;jpe(t)&&Hpe(),zpe();let n=zt();return n.firstCreatePass&&cw(n,t),t.classesWithoutHost!=null&&ame(t)&&nm(n,t,Pe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ime(t)&&nm(n,t,Pe(),t.stylesWithoutHost,!1),O}function H(e,t,n,a){return D(e,t,n,a),O(),H}var Lbe=(e,t,n,a,i,r)=>(Su(!0),Rx(a,i,Jpe()));function Fbe(e,t,n,a,i){let r=t.consts,s=eo(r,a),l=ws(t,e,8,"ng-container",s);s!==null&&Jp(l,s,!0);let c=eo(r,i);return ig(t,n,l,c,Zf),l.mergedAttrs=es(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Xt(e,t,n){let a=Pe(),i=zt(),r=e+Gt,s=i.firstCreatePass?Fbe(r,i,a,t,n):i.data[r];kr(s,!0);let l=Vbe(i,a);return a[r]=l,Cu()&&Pu(i,a,l,s),xs(l,a),wu(s)&&(Au(i,a,s),Bf(i,s,a)),n!=null&&$f(a,s),Xt}function Jt(){let e=Za(),t=zt();return Cf()?Sf():(e=e.parent,kr(e,!1)),t.firstCreatePass&&(Af(t,e),vf(e)&&t.queries.elementEnd(e)),Jt}function Ca(e,t,n){return Xt(e,t,n),Jt(),Ca}var Vbe=(e,t,n,a)=>(Su(!0),Dfe(t[qt],""));function kt(){return Pe()}function xn(e,t,n){let a=Pe(),i=uo();if(ui(a,i,t)){let r=zt(),s=Eu();Yf(r,s,a,e,t,a[qt],n,!0)}return xn}var Or=void 0;function zbe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Bbe=["en",[["a","p"],["AM","PM"],Or],[["AM","PM"],Or,Or],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Or,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Or,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Or,"{1} 'at' {0}",Or],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",zbe],il={};function jbe(e,t,n){typeof t!="string"&&(n=t,t=e[_a.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),il[t]=e,n&&(il[t][_a.ExtraData]=n)}function Zi(e){let t=Hbe(e),n=Sb(t);if(n)return n;let a=t.split("-")[0];if(n=Sb(a),n)return n;if(a==="en")return Bbe;throw new ae(701,!1)}function Sb(e){return e in il||(il[e]=or.ng&&or.ng.common&&or.ng.common.locales&&or.ng.common.locales[e]),il[e]}var _a=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}(_a||{});function Hbe(e){return e.toLowerCase().replace(/_/g,"-")}var sm="en-US";function Ube(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Db(e,t,n){return function a(i){if(i===Function)return n;let r=ms(e)?fn(e.index,t):t;ag(r,5);let s=t[Ea],l=Ib(t,s,n,i),c=a.__ngNextListenerFn__;for(;c;)l=Ib(t,s,c,i)&&l,c=c.__ngNextListenerFn__;return l}}function Ib(e,t,n,a){let i=Ke(null);try{return Jr(6,t,n),n(a)!==!1}catch(r){return Wbe(e,r),!1}finally{Ke(i)}}function Wbe(e,t){let n=e[Xo],a=n?n.get(Yi,null):null;a&&a.handleError(t)}function Ob(e,t,n,a,i,r){let s=t[n],l=t[je],c=l.data[n].outputs[a],d=s[c],u=l.firstCreatePass?Ef(l):null,p=kf(t),b=d.subscribe(r),g=p.length;p.push(r,b),u&&u.push(i,e.index,g,-(g+1))}function xe(e,t,n,a){let i=Pe(),r=zt(),s=Za();return qw(r,i,i[qt],s,e,t,a),xe}function qbe(e,t,n,a){let i=e.cleanup;if(i!=null)for(let r=0;r<i.length-1;r+=2){let s=i[r];if(s===n&&i[r+1]===a){let l=t[Ho],c=i[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function qw(e,t,n,a,i,r,s){var p,b;let l=wu(a),c=e.firstCreatePass?Ef(e):null,d=kf(t),u=!0;if(a.type&3||s){let g=yn(a,t),w=s?s(g):g,k=d.length,S=s?B=>s(mn(B[a.index])):a.index,A=null;if(!s&&l&&(A=qbe(e,t,i,a.index)),A!==null){let B=A.__ngLastListenerFn__||A;B.__ngNextListenerFn__=r,A.__ngLastListenerFn__=r,u=!1}else{r=Db(a,t,r);let B=n.listen(w,i,r);d.push(r,B),c&&c.push(i,S,k,k+1)}}else r=Db(a,t,r);if(u){let g=(p=a.outputs)==null?void 0:p[i],w=(b=a.hostDirectiveOutputs)==null?void 0:b[i];if(w&&w.length)for(let k=0;k<w.length;k+=2){let S=w[k],A=w[k+1];Ob(a,t,S,A,i,r)}if(g&&g.length)for(let k of g)Ob(a,t,k,i,i,r)}}function L(e=1){return Qpe(e)}function Gbe(e,t){let n=null,a=Lfe(e);for(let i=0;i<t.length;i++){let r=t[i];if(r==="*"){n=i;continue}if(a===null?Vx(e,r,!0):zfe(a,r))return i}return n}function st(e){let t=Pe()[_i][pi];if(!t.projection){let n=e?e.length:1,a=t.projection=hpe(n,null),i=a.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?Gbe(r,e):0;s!==null&&(i[s]?i[s].projectionNext=r:a[s]=r,i[s]=r)}r=r.next}}}function Ee(e,t=0,n,a,i,r){let s=Pe(),l=zt(),c=null,d=ws(l,Gt+e,16,null,null);d.projection===null&&(d.projection=t),Sf();let u=!s[Qo]||L1();s[_i][pi].projection[d.projection]===null&&c!==null?$be(s,l,c):u&&!Jf(d)&&mge(l,s,d)}function $be(e,t,n){let a=Gt+n,i=t.data[a],r=e[a],s=is(r,i.tView.ssrId),l=Zl(e,i,void 0,{dehydratedView:s});Kl(r,l,0,as(i,s))}function ft(e,t,n,a){_w(e,t,n,a)}function $e(e,t,n){yw(e,t,n)}function ye(e){let t=Pe(),n=zt(),a=If();ku(a+1);let i=og(n,a);if(e.dirty&&Rpe(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let r=ww(t,a);e.reset(r,ux),e.notifyOnChanges()}return!0}return!1}function _e(){return rg(Pe(),If())}function Ybe(e,t,n,a,i){kw(t,_w(e,n,a,i))}function Zbe(e,t,n,a){kw(e,yw(t,n,a))}function Gw(e=1){ku(If()+e)}function Ya(e){let t=V1();return gs(t,Gt+e)}function F(e,t=""){let n=Pe(),a=zt(),i=e+Gt,r=a.firstCreatePass?ws(a,i,1,t,null):a.data[i],s=Kbe(a,n,r,t);n[i]=s,Cu()&&Pu(a,n,s,r),kr(r,!1)}var Kbe=(e,t,n,a,i)=>(Su(!0),Cfe(t[qt],a));function Re(e){return te("",e,""),Re}function te(e,t,n){let a=Pe(),i=Nw(a,e,t,n);return i!==ki&&$w(a,_n(),i),te}function qn(e,t,n,a,i){let r=Pe(),s=cbe(r,e,t,n,a,i);return s!==ki&&$w(r,_n(),s),qn}function $w(e,t,n){let a=P1(t,e);Sfe(e[qt],a,n)}function Er(e,t,n){hx(t)&&(t=t());let a=Pe(),i=uo();if(ui(a,i,t)){let r=zt(),s=Eu();Yf(r,s,a,e,t,a[qt],n,!1)}return Er}function mo(e,t){let n=hx(e);return n&&e.set(t),n}function Cr(e,t){let n=Pe(),a=zt(),i=Za();return qw(a,n,n[qt],i,e,t),Cr}var Yw={};function dg(e){let t=zt(),n=Pe(),a=e+Gt,i=ws(t,a,128,null,null);return kr(i,!1),_f(t,n,a,Yw),dg}function Tb(e){ho("NgLet");let t=zt(),n=Pe(),a=_n();return _f(t,n,a,e),e}function Ab(e){let t=V1(),n=gs(t,Gt+e);if(n===Yw)throw new ae(314,!1);return n}function Qbe(e,t,n){let a=zt();if(a.firstCreatePass){let i=pn(e);lm(n,a.data,a.blueprint,i,!0),lm(t,a.data,a.blueprint,i,!1)}}function lm(e,t,n,a,i){if(e=La(e),Array.isArray(e))for(let r=0;r<e.length;r++)lm(e[r],t,n,a,i);else{let r=zt(),s=Pe(),l=Za(),c=Ko(e)?e:La(e.provide),d=E1(e),u=l.providerIndexes&1048575,p=l.directiveStart,b=l.providerIndexes>>20;if(Ko(e)||!e.multi){let g=new ql(d,i,aa),w=Ah(c,t,i?u:u+b,p);w===-1?(Up(Rd(l,s),r,c),Th(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[w]=g,s[w]=g)}else{let g=Ah(c,t,u+b,p),w=Ah(c,t,u,u+b),k=g>=0&&n[g],S=w>=0&&n[w];if(i&&!S||!i&&!k){Up(Rd(l,s),r,c);let A=eve(i?Jbe:Xbe,n.length,i,a,d);!i&&S&&(n[w].providerFactory=A),Th(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(A),s.push(A)}else{let A=Zw(n[i?w:g],d,!i&&a);Th(r,e,g>-1?g:w,A)}!i&&a&&S&&n[w].componentProviders++}}}function Th(e,t,n,a){let i=Ko(t),r=_pe(t);if(i||r){let s=(r?La(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[a,s]):l[c+1].push(a,s)}else l.push(n,s)}}}function Zw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ah(e,t,n,a){for(let i=n;i<a;i++)if(t[i]===e)return i;return-1}function Xbe(e,t,n,a,i){return cm(this.multi,[])}function Jbe(e,t,n,a,i){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=fl(a,a[je],this.providerFactory.index,i);s=c.slice(0,l),cm(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],cm(r,s);return s}function cm(e,t){for(let n=0;n<e.length;n++){let a=e[n];t.push(a())}return t}function eve(e,t,n,a,i){let r=new ql(e,n,aa);return r.multi=[],r.index=t,r.componentProviders=0,Zw(r,i,a&&!n),r}function lt(e,t=[]){return n=>{n.providersResolver=(a,i)=>Qbe(a,i?i(e):e,t)}}function gn(e,t,n){let a=Yn()+e,i=Pe();return i[a]===ki?Es(i,a,t()):Tw(i,a)}function ii(e,t,n,a){return Kw(Pe(),Yn(),e,t,n,a)}function tve(e,t,n,a,i){return Qw(Pe(),Yn(),e,t,n,a,i)}function Rb(e,t,n,a,i,r){return Xw(Pe(),Yn(),e,t,n,a,i,r)}function ave(e,t,n,a,i,r,s,l){let c=Yn()+e,d=Pe(),u=Aw(d,c,n,a,i,r);return ui(d,c+4,s)||u?Es(d,c+5,t(n,a,i,r,s)):Tw(d,c+5)}function Lu(e,t){let n=e[t];return n===ki?void 0:n}function Kw(e,t,n,a,i,r){let s=t+n;return ui(e,s,i)?Es(e,s+1,r?a.call(r,i):a(i)):Lu(e,s+1)}function Qw(e,t,n,a,i,r,s){let l=t+n;return xl(e,l,i,r)?Es(e,l+2,s?a.call(s,i,r):a(i,r)):Lu(e,l+2)}function Xw(e,t,n,a,i,r,s,l){let c=t+n;return K0e(e,c,i,r,s)?Es(e,c+3,l?a.call(l,i,r,s):a(i,r,s)):Lu(e,c+3)}function ive(e,t,n,a,i,r,s,l,c){let d=t+n;return Aw(e,d,i,r,s,l)?Es(e,d+4,c?a.call(c,i,r,s,l):a(i,r,s,l)):Lu(e,d+4)}function T(e,t){let n=zt(),a,i=e+Gt;n.firstCreatePass?(a=nve(t,n.pipeRegistry),n.data[i]=a,a.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(i,a.onDestroy)):a=n.data[i];let r=a.factory||(a.factory=Kr(a.type)),s=ci(aa);try{let l=Ad(!1),c=r();return Ad(l),_f(n,Pe(),i,c),c}finally{ci(s)}}function nve(e,t){if(t)for(let n=t.length-1;n>=0;n--){let a=t[n];if(e===a.name)return a}}function M(e,t,n){let a=e+Gt,i=Pe(),r=gs(i,a);return Fu(i,a)?Kw(i,Yn(),t,r.transform,n,r):r.transform(n)}function wt(e,t,n,a){let i=e+Gt,r=Pe(),s=gs(r,i);return Fu(r,i)?Qw(r,Yn(),t,s.transform,n,a,s):s.transform(n,a)}function vr(e,t,n,a,i){let r=e+Gt,s=Pe(),l=gs(s,r);return Fu(s,r)?Xw(s,Yn(),t,l.transform,n,a,i,l):l.transform(n,a,i)}function Yr(e,t,n,a,i,r){let s=e+Gt,l=Pe(),c=gs(l,s);return Fu(l,s)?ive(l,Yn(),t,c.transform,n,a,i,r,c):c.transform(n,a,i,r)}function Fu(e,t){return e[je].data[t].pure}function Vd(e,t){return Nu(e,t)}var rve=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Pb=new rve("19.2.18"),ove=(()=>{const t=class t{constructor(){o(this,"zone",_(Ne));o(this,"changeDetectionScheduler",_(ys));o(this,"applicationRef",_(br));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function sve({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(dt(pe({},lve()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:Cd,multi:!0,useFactory:()=>{let a=_(ove,{optional:!0});return()=>a.initialize()}},{provide:Cd,multi:!0,useFactory:()=>{let a=_(cve);return()=>{a.initialize()}}},t===!0?{provide:ox,useValue:!0}:[],{provide:sx,useValue:n??ix}]}function lve(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var cve=(()=>{const t=class t{constructor(){o(this,"subscription",new Ye);o(this,"initialized",!1);o(this,"zone",_(Ne));o(this,"pendingTasks",_(Gl))}initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{a!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),a??(a=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dve=(()=>{var t;const n=class n{constructor(){o(this,"appRef",_(br));o(this,"taskService",_(Gl));o(this,"ngZone",_(Ne));o(this,"zonelessEnabled",_(rx));o(this,"tracing",_($l,{optional:!0}));o(this,"disableScheduling",_(ox,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new Ye);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Pd):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(_(sx,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Eme||!this.zoneIsDefined))}notify(i){var l;if(!this.zonelessEnabled&&i===5)return;let r=!1;switch(i){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?X0:lx;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Pd+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 i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,X0(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(i){return new(i||n)}),o(n,"ɵprov",Z({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function uve(){return typeof $localize<"u"&&$localize.locale||sm}var Vu=new Y("",{providedIn:"root",factory:()=>_(Vu,Xe.Optional|Xe.SkipSelf)||uve()}),dm=new Y(""),hve=new Y("");function Vs(e){return!e.moduleRef}function pve(e){let t=Vs(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{Vs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let a=t.get(Yi,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r=>{a.handleError(r)}})}),Vs(e)){let r=()=>t.destroy(),s=e.platformInjector.get(dm);s.add(r),t.onDestroy(()=>{i.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(dm);s.add(r),e.moduleRef.onDestroy(()=>{dd(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(r)})}return fve(a,n,()=>{let r=t.get(Mw);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(Vu,sm);if(Ube(s||sm),!t.get(hve,!0))return Vs(e)?t.get(br):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vs(e)){let l=t.get(br);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return mve(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function mve(e,t){let n=e.injector.get(br);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(a=>n.bootstrap(a));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new ae(-403,!1);t.push(e)}function fve(e,t,n){try{let a=n();return cg(a)?a.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}var ud=null;function gve(e=[],t){return ut.create({name:t,providers:[{provide:gf,useValue:"platform"},{provide:dm,useValue:new Set([()=>ud=null])},...e]})}function bve(e=[]){if(ud)return ud;let t=gve(e);return ud=t,rbe(),vve(t),t}function vve(e){let t=e.get(_x,null);_u(e,()=>{t==null||t.forEach(n=>n())})}function yve(){return!1}var Et=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",_ve),e})();function _ve(e){return xve(Za(),Pe(),(e&16)===16)}function xve(e,t,n){if(ms(e)&&!n){let a=fn(e.index,t);return new yl(a,a)}else if(e.type&175){let a=t[_i];return new yl(a,t)}return null}var wve=class{constructor(){}supports(e){return Ow(e)}create(e){return new Eve(e)}},kve=(e,t)=>t,Eve=class{constructor(e){o(this,"length",0);o(this,"collection");o(this,"_linkedRecords",null);o(this,"_unlinkedRecords",null);o(this,"_previousItHead",null);o(this,"_itHead",null);o(this,"_itTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_movesHead",null);o(this,"_movesTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null);o(this,"_identityChangesHead",null);o(this,"_identityChangesTail",null);o(this,"_trackByFn");this._trackByFn=e||kve}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,a=0,i=null;for(;t||n;){let r=!n||t&&t.currentIndex<Nb(n,a,i)?t:n,s=Nb(r,a,i),l=r.currentIndex;if(r===n)a--,n=n._nextRemoved;else if(t=t._next,r.previousIndex==null)a++;else{i||(i=[]);let c=s-a,d=l-a;if(c!=d){for(let p=0;p<c;p++){let b=p<i.length?i[p]:i[p]=0,g=b+p;d<=g&&g<c&&(i[p]=b+1)}let u=r.previousIndex;i[u]=d-c}}s!==l&&e(r,s,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!Ow(e))throw new ae(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,n=!1,a,i,r;if(Array.isArray(e)){this.length=e.length;for(let s=0;s<this.length;s++)i=e[s],r=this._trackByFn(s,i),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,i,r,s),n=!0):(n&&(t=this._verifyReinsertion(t,i,r,s)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else a=0,Z0e(e,s=>{r=this._trackByFn(a,s),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,s,r,a),n=!0):(n&&(t=this._verifyReinsertion(t,s,r,a)),Object.is(t.item,s)||this._addIdentityChange(t,s)),t=t._next,a++}),this.length=a;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,a){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,a)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,a),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,a)):e=this._addAfter(new Cve(t,n),i,a)),e}_verifyReinsertion(e,t,n,a){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,a):e.currentIndex!=a&&(e.currentIndex=a,this._addToMoves(e,a)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let a=e._prevRemoved,i=e._nextRemoved;return a===null?this._removalsHead=i:a._nextRemoved=i,i===null?this._removalsTail=a:i._prevRemoved=a,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){let a=t===null?this._itHead:t._next;return e._next=a,e._prev=t,a===null?this._itTail=e:a._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new Mb),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,n=e._next;return t===null?this._itHead=n:t._next=n,n===null?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Mb),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Cve=class{constructor(e,t){o(this,"item");o(this,"trackById");o(this,"currentIndex",null);o(this,"previousIndex",null);o(this,"_nextPrevious",null);o(this,"_prev",null);o(this,"_next",null);o(this,"_prevDup",null);o(this,"_nextDup",null);o(this,"_prevRemoved",null);o(this,"_nextRemoved",null);o(this,"_nextAdded",null);o(this,"_nextMoved",null);o(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},Sve=class{constructor(){o(this,"_head",null);o(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;n!==null;n=n._nextDup)if((t===null||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let t=e._prevDup,n=e._nextDup;return t===null?this._head=n:t._nextDup=n,n===null?this._tail=t:n._prevDup=t,this._head===null}},Mb=class{constructor(){o(this,"map",new Map)}put(e){let t=e.trackById,n=this.map.get(t);n||(n=new Sve,this.map.set(t,n)),n.add(e)}get(e,t){let n=e,a=this.map.get(n);return a?a.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Nb(e,t,n){let a=e.previousIndex;if(a===null)return a;let i=0;return n&&a<n.length&&(i=n[a]),a+t+i}var Dve=class{constructor(){}supports(e){return e instanceof Map||lg(e)}create(){return new Ive}},Ive=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||lg(e)))throw new ae(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,a)=>{if(t&&t.key===a)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(a,n);t=this._insertBeforeOrAppend(t,i)}}),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 a=this._records.get(e);this._maybeAddToChanges(a,t);let i=a._prev,r=a._next;return i&&(i._next=r),r&&(r._prev=i),a._next=null,a._prev=null,a}let n=new Ove(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))}},Ove=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function Lb(){return new Cs([new wve])}var Cs=(()=>{const t=class t{constructor(a){o(this,"factories");this.factories=a}static create(a,i){if(i!=null){let r=i.factories.slice();a=a.concat(r)}return new t(a)}static extend(a){return{provide:t,useFactory:i=>t.create(a,i||Lb()),deps:[[t,new hs,new us]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i!=null)return i;throw new ae(901,!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:Lb}));let e=t;return e})();function Fb(){return new Jw([new Dve])}var Jw=(()=>{const t=class t{constructor(a){o(this,"factories");this.factories=a}static create(a,i){if(i){let r=i.factories.slice();a=a.concat(r)}return new t(a)}static extend(a){return{provide:t,useFactory:i=>t.create(a,i||Fb()),deps:[[t,new hs,new us]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i)return i;throw new ae(901,!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:Fb}));let e=t;return e})();function Tve(e){let{rootComponent:t,appProviders:n,platformProviders:a,platformRef:i}=e;try{let r=(i==null?void 0:i.injector)??bve(a),s=[sve({}),{provide:ys,useExisting:dve},...n||[]],l=new Cw({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return pve({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function fe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function bn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Nn(e){return $ue(e)}function ta(e,t){return __(e,t==null?void 0:t.equal)}var n_,Ave=(n_=Ha,class{constructor(e){o(this,n_);this[Ha]=e}destroy(){this[Ha].destroy()}});function Xl(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut),a=(t==null?void 0:t.manualCleanup)!==!0?n.get(xi):null,i,r=n.get(Vf,null,{optional:!0}),s=n.get(ys);return r!==null&&!(t!=null&&t.forceRoot)?(i=Mve(r.view,s,e),a instanceof nx&&a._lView===r.view&&(a=null)):i=Nve(e,n.get(Pw),s),i.injector=n,a!==null&&(i.onDestroyFn=a.onDestroy(()=>i.destroy())),new Ave(i)}var ek=dt(pe({},cs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:gl,run(){if(this.dirty=!1,this.hasRun&&!ef(this))return;this.hasRun=!0;let e=a=>(this.cleanupFns??(this.cleanupFns=[])).push(a),t=ll(this),n=Id(!1);try{this.maybeCleanup(),this.fn(e)}finally{Id(n),uu(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Rve=dt(pe({},ek),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){hu(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Pve=dt(pe({},ek),{consumerMarkedDirty(){this.view[Le]|=8192,bs(this.view),this.notifier.notify(13)},destroy(){var e;hu(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Fn])==null||e.delete(this)}});function Mve(e,t,n){let a=Object.create(Pve);return a.view=e,a.zone=typeof Zone<"u"?Zone.current:null,a.notifier=t,a.fn=n,e[Fn]??(e[Fn]=new Set),e[Fn].add(a),a.consumerMarkedDirty(a),a}function Nve(e,t,n){let a=Object.create(Rve);return a.fn=e,a.scheduler=t,a.notifier=n,a.zone=typeof Zone<"u"?Zone.current:null,a.scheduler.schedule(a),a.notifier.notify(12),a}var Lve=e=>e;function Fve(e,t){if(typeof e=="function"){let n=P0(e,Lve,t==null?void 0:t.equal);return Vb(n)}else{let n=P0(e.source,e.computation,e.equal);return Vb(n)}}function Vb(e){let t=e[Ha],n=e;return n.set=a=>Wue(t,a),n.update=a=>que(t,a),n.asReadonly=Nf.bind(e),n}function tk(e,t){let n=Zo(e),a=t.elementInjector||yu();return new ng(n).create(a,t.projectableNodes,t.hostElement,t.environmentInjector)}var Vve={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function zve(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Bve(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Rh;function jve(e,t){if(!Rh){let n=Element.prototype;Rh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Rh.call(e,t):!1}function Hve(e){let t={};return e.forEach(({propName:n,templateName:a,transform:i})=>{t[zve(a)]=[n,i]}),t}function Uve(e,t){return t.get(Ql).resolveComponentFactory(e).inputs}function Wve(e,t){let n=e.childNodes,a=t.map(()=>[]),i=-1;t.some((r,s)=>r==="*"?(i=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=qve(l,t,i);c!==-1&&a[c].push(l)}return a}function qve(e,t,n){let a=n;return Bve(e)&&t.some((i,r)=>i!=="*"&&jve(e,i)?(a=r,!0):!1),a}var Gve=10,$ve=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Ql).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new Yve(this.componentFactory,e,this.inputMap)}},Yve=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new of(1));o(this,"events",this.eventEmitters.pipe(gr(e=>va(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(br),this.cdScheduler=t.get(ys),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=Vve.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Gve))})}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),Age(this.componentRef.hostView)&&(Rge(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ut.create({providers:[],parent:this.injector}),n=Wve(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:a})=>{let i=e.instance[n];return new Ot(r=>{let s=i.subscribe(l=>r.next({name:a,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Zve=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function Kve(e,t){let n=Uve(e,t.injector),a=t.strategyFactory||new $ve(e,t.injector),i=Hve(n);class r extends Zve{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=a.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let p=this[d];delete this[d],c.setInputValue(d,p,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,p){let[b,g]=i[c];this.ngElementStrategy.setInputValue(b,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(i)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var um=new Y("MAT_DATE_LOCALE",{providedIn:"root",factory:Qve});function Qve(){return _(Vu)}var Co="Method not implemented",Ia=class{constructor(){o(this,"locale");o(this,"_localeChanges",new me);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,a){throw new Error(Co)}getHours(e){throw new Error(Co)}getMinutes(e){throw new Error(Co)}getSeconds(e){throw new Error(Co)}parseTime(e,t){throw new Error(Co)}addSeconds(e,t){throw new Error(Co)}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),a=this.isValid(t);return n&&a?!this.compareDate(e,t):n==a}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),a=this.isValid(t);return n&&a?!this.compareTime(e,t):n==a}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},fo=new Y("mat-date-formats"),it=new Y(""),ak=null;function nl(){return ak}function Xve(e){ak??(ak=e)}var Jve=class{},ik=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:()=>_(eye),providedIn:"platform"}));let e=t;return e})(),eye=(()=>{const t=class t extends ik{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",_(it));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nl().getBaseHref(this._doc)}onPopState(i){let r=nl().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=nl().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,r,s){this._history.pushState(i,r,s)}replaceState(i,r,s){this._history.replaceState(i,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",Z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function nk(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function zb(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Hr(e){return e&&e[0]!=="?"?`?${e}`:e}var ug=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:()=>_(aye),providedIn:"root"}));let e=t;return e})(),tye=new Y(""),aye=(()=>{const t=class t extends ug{constructor(i,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=i,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=_(it).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return nk(this._baseHref,i)}path(i=!1){let r=this._platformLocation.pathname+Hr(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?`${r}${s}`:r}pushState(i,r,s,l){let c=this.prepareExternalUrl(s+Hr(l));this._platformLocation.pushState(i,r,c)}replaceState(i,r,s,l){let c=this.prepareExternalUrl(s+Hr(l));this._platformLocation.replaceState(i,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,i)}};o(t,"ɵfac",function(i){return new(i||t)(Ce(ik),Ce(tye,8))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rk=(()=>{const t=class t{constructor(a){o(this,"_subject",new me);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=a;let i=this._locationStrategy.getBaseHref();this._basePath=rye(zb(Bb(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var a;(a=this._urlChangeSubscription)==null||a.unsubscribe(),this._urlChangeListeners=[]}path(a=!1){return this.normalize(this._locationStrategy.path(a))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(a,i=""){return this.path()==this.normalize(a+Hr(i))}normalize(a){return t.stripTrailingSlash(nye(this._basePath,Bb(a)))}prepareExternalUrl(a){return a&&a[0]!=="/"&&(a="/"+a),this._locationStrategy.prepareExternalUrl(a)}go(a,i="",r=null){this._locationStrategy.pushState(r,"",a,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Hr(i)),r)}replaceState(a,i="",r=null){this._locationStrategy.replaceState(r,"",a,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Hr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(a=0){var i,r;(r=(i=this._locationStrategy).historyGo)==null||r.call(i,a)}onUrlChange(a){return this._urlChangeListeners.push(a),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var r;let i=this._urlChangeListeners.indexOf(a);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(a="",i){this._urlChangeListeners.forEach(r=>r(a,i))}subscribe(a,i,r){return this._subject.subscribe({next:a,error:i??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",Hr),o(t,"joinWithSlash",nk),o(t,"stripTrailingSlash",zb),o(t,"ɵfac",function(a){return new(a||t)(Ce(ug))}),o(t,"ɵprov",Z({token:t,factory:()=>iye(),providedIn:"root"}));let e=t;return e})();function iye(){return new rk(Ce(ug))}function nye(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Bb(e){return e.replace(/\/index.html$/,"")}function rye(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Xa=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Xa||{}),Dt=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Dt||{}),fi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(fi||{}),zu={MinusSign:5};function oye(e){return Zi(e)[_a.LocaleId]}function sye(e,t,n){let a=Zi(e),i=[a[_a.DayPeriodsFormat],a[_a.DayPeriodsStandalone]],r=Li(i,t);return Li(r,n)}function lye(e,t,n){let a=Zi(e),i=[a[_a.DaysFormat],a[_a.DaysStandalone]],r=Li(i,t);return Li(r,n)}function cye(e,t,n){let a=Zi(e),i=[a[_a.MonthsFormat],a[_a.MonthsStandalone]],r=Li(i,t);return Li(r,n)}function dye(e,t){let n=Zi(e)[_a.Eras];return Li(n,t)}function Oc(e,t){let n=Zi(e);return Li(n[_a.DateFormat],t)}function Tc(e,t){let n=Zi(e);return Li(n[_a.TimeFormat],t)}function Ac(e,t){let n=Zi(e)[_a.DateTimeFormat];return Li(n,t)}function Bu(e,t){return Zi(e)[_a.NumberSymbols][t]}function ok(e){if(!e[_a.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[_a.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function uye(e){let t=Zi(e);return ok(t),(t[_a.ExtraData][2]||[]).map(n=>typeof n=="string"?Ph(n):[Ph(n[0]),Ph(n[1])])}function hye(e,t,n){let a=Zi(e);ok(a);let i=[a[_a.ExtraData][0],a[_a.ExtraData][1]],r=Li(i,t)||[];return Li(r,n)||[]}function Li(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 Ph(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var pye=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,So={},mye=/((?:[^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 fye(e,t,n,a){let i=Eye(e);t=Pn(n,t)||t;let r=[],s;for(;t;)if(s=mye.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=i.getTimezoneOffset();a&&(l=lk(a,l),i=kye(i,a));let c="";return r.forEach(d=>{let u=xye(d);c+=u?u(i,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function zd(e,t,n){let a=new Date(0);return a.setFullYear(e,t,n),a.setHours(0,0,0),a}function Pn(e,t){let n=oye(e);if(So[n]??(So[n]={}),So[n][t])return So[n][t];let a="";switch(t){case"shortDate":a=Oc(e,fi.Short);break;case"mediumDate":a=Oc(e,fi.Medium);break;case"longDate":a=Oc(e,fi.Long);break;case"fullDate":a=Oc(e,fi.Full);break;case"shortTime":a=Tc(e,fi.Short);break;case"mediumTime":a=Tc(e,fi.Medium);break;case"longTime":a=Tc(e,fi.Long);break;case"fullTime":a=Tc(e,fi.Full);break;case"short":let i=Pn(e,"shortTime"),r=Pn(e,"shortDate");a=Rc(Ac(e,fi.Short),[i,r]);break;case"medium":let s=Pn(e,"mediumTime"),l=Pn(e,"mediumDate");a=Rc(Ac(e,fi.Medium),[s,l]);break;case"long":let c=Pn(e,"longTime"),d=Pn(e,"longDate");a=Rc(Ac(e,fi.Long),[c,d]);break;case"full":let u=Pn(e,"fullTime"),p=Pn(e,"fullDate");a=Rc(Ac(e,fi.Full),[u,p]);break}return a&&(So[n][t]=a),a}function Rc(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,a){return t!=null&&a in t?t[a]:n})),e}function Wi(e,t,n="-",a,i){let r="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return a&&(s=s.slice(s.length-t)),r+s}function gye(e,t){return Wi(e,3).substring(0,t)}function fa(e,t,n=0,a=!1,i=!1){return function(r,s){let l=bye(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return gye(l,t);let c=Bu(s,zu.MinusSign);return Wi(l,t,c,a,i)}}function bye(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 At(e,t,n=Xa.Format,a=!1){return function(i,r){return vye(i,r,e,t,n,a)}}function vye(e,t,n,a,i,r){switch(n){case 2:return cye(t,i,a)[e.getMonth()];case 1:return lye(t,i,a)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=uye(t),u=hye(t,i,a),p=d.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,k=s>=g.hours&&l>=g.minutes,S=s<w.hours||s===w.hours&&l<w.minutes;if(g.hours<w.hours){if(k&&S)return!0}else if(k||S)return!0}else if(b.hours===s&&b.minutes===l)return!0;return!1});if(p!==-1)return u[p]}return sye(t,i,a)[s<12?0:1];case 3:return dye(t,a)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Pc(e){return function(t,n,a){let i=-1*a,r=Bu(n,zu.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?"+":"")+Wi(s,2,r)+Wi(Math.abs(i%60),2,r);case 1:return"GMT"+(i>=0?"+":"")+Wi(s,1,r);case 2:return"GMT"+(i>=0?"+":"")+Wi(s,2,r)+":"+Wi(Math.abs(i%60),2,r);case 3:return a===0?"Z":(i>=0?"+":"")+Wi(s,2,r)+":"+Wi(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var yye=0,hd=4;function _ye(e){let t=zd(e,yye,1).getDay();return zd(e,0,1+(t<=hd?hd:hd+7)-t)}function sk(e){let t=e.getDay(),n=t===0?-3:hd-t;return zd(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Mh(e,t=!1){return function(n,a){let i;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+r)/7)}else{let r=sk(n),s=_ye(r.getFullYear()),l=r.getTime()-s.getTime();i=1+Math.round(l/6048e5)}return Wi(i,e,Bu(a,zu.MinusSign))}}function Mc(e,t=!1){return function(n,a){let i=sk(n).getFullYear();return Wi(i,e,Bu(a,zu.MinusSign),t)}}var Nh={};function xye(e){if(Nh[e])return Nh[e];let t;switch(e){case"G":case"GG":case"GGG":t=At(3,Dt.Abbreviated);break;case"GGGG":t=At(3,Dt.Wide);break;case"GGGGG":t=At(3,Dt.Narrow);break;case"y":t=fa(0,1,0,!1,!0);break;case"yy":t=fa(0,2,0,!0,!0);break;case"yyy":t=fa(0,3,0,!1,!0);break;case"yyyy":t=fa(0,4,0,!1,!0);break;case"Y":t=Mc(1);break;case"YY":t=Mc(2,!0);break;case"YYY":t=Mc(3);break;case"YYYY":t=Mc(4);break;case"M":case"L":t=fa(1,1,1);break;case"MM":case"LL":t=fa(1,2,1);break;case"MMM":t=At(2,Dt.Abbreviated);break;case"MMMM":t=At(2,Dt.Wide);break;case"MMMMM":t=At(2,Dt.Narrow);break;case"LLL":t=At(2,Dt.Abbreviated,Xa.Standalone);break;case"LLLL":t=At(2,Dt.Wide,Xa.Standalone);break;case"LLLLL":t=At(2,Dt.Narrow,Xa.Standalone);break;case"w":t=Mh(1);break;case"ww":t=Mh(2);break;case"W":t=Mh(1,!0);break;case"d":t=fa(2,1);break;case"dd":t=fa(2,2);break;case"c":case"cc":t=fa(7,1);break;case"ccc":t=At(1,Dt.Abbreviated,Xa.Standalone);break;case"cccc":t=At(1,Dt.Wide,Xa.Standalone);break;case"ccccc":t=At(1,Dt.Narrow,Xa.Standalone);break;case"cccccc":t=At(1,Dt.Short,Xa.Standalone);break;case"E":case"EE":case"EEE":t=At(1,Dt.Abbreviated);break;case"EEEE":t=At(1,Dt.Wide);break;case"EEEEE":t=At(1,Dt.Narrow);break;case"EEEEEE":t=At(1,Dt.Short);break;case"a":case"aa":case"aaa":t=At(0,Dt.Abbreviated);break;case"aaaa":t=At(0,Dt.Wide);break;case"aaaaa":t=At(0,Dt.Narrow);break;case"b":case"bb":case"bbb":t=At(0,Dt.Abbreviated,Xa.Standalone,!0);break;case"bbbb":t=At(0,Dt.Wide,Xa.Standalone,!0);break;case"bbbbb":t=At(0,Dt.Narrow,Xa.Standalone,!0);break;case"B":case"BB":case"BBB":t=At(0,Dt.Abbreviated,Xa.Format,!0);break;case"BBBB":t=At(0,Dt.Wide,Xa.Format,!0);break;case"BBBBB":t=At(0,Dt.Narrow,Xa.Format,!0);break;case"h":t=fa(3,1,-12);break;case"hh":t=fa(3,2,-12);break;case"H":t=fa(3,1);break;case"HH":t=fa(3,2);break;case"m":t=fa(4,1);break;case"mm":t=fa(4,2);break;case"s":t=fa(5,1);break;case"ss":t=fa(5,2);break;case"S":t=fa(6,1);break;case"SS":t=fa(6,2);break;case"SSS":t=fa(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Pc(0);break;case"ZZZZZ":t=Pc(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Pc(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Pc(2);break;default:return null}return Nh[e]=t,t}function lk(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function wye(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function kye(e,t,n){let a=e.getTimezoneOffset(),i=lk(t,a);return wye(e,-1*(i-a))}function Eye(e){if(jb(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[i,r=1,s=1]=e.split("-").map(l=>+l);return zd(i,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let a;if(a=e.match(pye))return Cye(a)}let t=new Date(e);if(!jb(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Cye(e){let t=new Date(0),n=0,a=0,i=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),a=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-a,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function jb(e){return e instanceof Date&&!isNaN(e.valueOf())}var Lh=/\s+/,Hb=[],Ss=(()=>{const t=class t{constructor(a,i){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",Hb);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=a,this._renderer=i}set klass(a){this.initialClasses=a!=null?a.trim().split(Lh):Hb}set ngClass(a){this.rawClass=typeof a=="string"?a.trim().split(Lh):a}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(let i of a)this._updateState(i,!0);else if(a!=null)for(let i of Object.keys(a))this._updateState(i,!!a[i]);this._applyStateDiff()}_updateState(a,i){let r=this.stateMap.get(a);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(a,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let a of this.stateMap){let i=a[0],r=a[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(a,i){a=a.trim(),a.length>0&&a.split(Lh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(a){return new(a||t)(aa(Te),aa(ri))}),o(t,"ɵdir",de({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),ck=(()=>{const t=class t{constructor(a,i,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=a,this._differs=i,this._renderer=r}set ngStyle(a){this._ngStyle=a,!this._differ&&a&&(this._differ=this._differs.find(a).create())}ngDoCheck(){if(this._differ){let a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}}_setStyle(a,i){let[r,s]=a.split("."),l=r.indexOf("-")===-1?void 0:sr.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${i}${s}`:i,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(a){a.forEachRemovedItem(i=>this._setStyle(i.key,null)),a.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),a.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};o(t,"ɵfac",function(a){return new(a||t)(aa(Te),aa(Jw),aa(ri))}),o(t,"ɵdir",de({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),hg=(()=>{const t=class t{constructor(a){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=a}ngOnChanges(a){if(this._shouldRecreateView(a)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(a,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(a,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}};o(t,"ɵfac",function(a){return new(a||t)(aa(oi))}),o(t,"ɵdir",de({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[$t]}));let e=t;return e})();function Sye(e,t){return new ae(2100,!1)}var Dye="mediumDate",Iye=new Y(""),Oye=new Y(""),Ds=(()=>{const t=class t{constructor(a,i,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=a,this.defaultTimezone=i,this.defaultOptions=r}transform(a,i,r,s){var l,c;if(a==null||a===""||a!==a)return null;try{let d=i??((l=this.defaultOptions)==null?void 0:l.dateFormat)??Dye,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return fye(a,d,s||this.locale,u)}catch(d){throw Sye(t,d.message)}}};o(t,"ɵfac",function(a){return new(a||t)(aa(Vu,16),aa(Iye,24),aa(Oye,24))}),o(t,"ɵpipe",ua({name:"date",type:t,pure:!0}));let e=t;return e})(),pg=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({}));let e=t;return e})();function dk(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let a=n.indexOf("="),[i,r]=a==-1?[n,""]:[n.slice(0,a),n.slice(a+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}var uk="browser",Tye="server";function Aye(e){return e===uk}function hk(e){return e===Tye}var pk=class{};function ju(e,t,n){return jbe(e,t,n)}function mk(e){return e.buttons===0||e.detail===0}function fk(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 Fh;function Rye(){if(Fh==null){let e=typeof document<"u"?document.head:null;Fh=!!(e&&(e.createShadowRoot||e.attachShadow))}return Fh}function Pye(e){if(Rye()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Wo(){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 dn(e){return e.composedPath?e.composedPath()[0]:e.target}function Ta(e,t,n,a,i){let r=parseInt(Pb.major),s=parseInt(Pb.minor);return r>19||r===19&&s>0||r===0&&s===0?e.listen(t,n,a,i):(t.addEventListener(n,a,i),()=>{t.removeEventListener(n,a,i)})}var hm;try{hm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{hm=!1}var Yt=(()=>{const t=class t{constructor(){o(this,"_platformId",_(Iu));o(this,"isBrowser",this._platformId?Aye(this._platformId):typeof document=="object"&&!!document);o(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));o(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));o(this,"BLINK",this.isBrowser&&!!(window.chrome||hm)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);o(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);o(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));o(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));o(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);o(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),zs;function Mye(){if(zs==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>zs=!0}))}finally{zs=zs||!1}return zs}function mg(e){return Mye()?e:!!e.capture}function pm(e,t=0){return gk(e)?Number(e):arguments.length===2?t:0}function gk(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Hn(e){return e instanceof Te?e.nativeElement:e}var Nye=new Y("cdk-input-modality-detector-options"),Lye={ignoreKeys:[18,17,224,91,16]},bk=650,Vh={passive:!0,capture:!0},Fye=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_listenerCleanups");o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new Gr(null));o(this,"_options");o(this,"_lastTouchMs",0);o(this,"_onKeydown",a=>{var i,r;(r=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&r.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=dn(a))});o(this,"_onMousedown",a=>{Date.now()-this._lastTouchMs<bk||(this._modality.next(mk(a)?"keyboard":"mouse"),this._mostRecentTarget=dn(a))});o(this,"_onTouchstart",a=>{if(fk(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=dn(a)});let a=_(Ne),i=_(it),r=_(Nye,{optional:!0});if(this._options=pe(pe({},Lye),r),this.modalityDetected=this._modality.pipe(df(1)),this.modalityChanged=this.modalityDetected.pipe(Hhe()),this._platform.isBrowser){let s=_(Fi).createRenderer(null,null);this._listenerCleanups=a.runOutsideAngular(()=>[Ta(s,i,"keydown",this._onKeydown,Vh),Ta(s,i,"mousedown",this._onMousedown,Vh),Ta(s,i,"touchstart",this._onTouchstart,Vh)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var a;this._modality.complete(),(a=this._listenerCleanups)==null||a.forEach(i=>i())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pd=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(pd||{}),Vye=new Y("cdk-focus-monitor-default-options"),Nc=mg({passive:!0,capture:!0}),go=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_platform",_(Yt));o(this,"_inputModalityDetector",_(Fye));o(this,"_origin",null);o(this,"_lastFocusOrigin");o(this,"_windowFocused",!1);o(this,"_windowFocusTimeoutId");o(this,"_originTimeoutId");o(this,"_originFromTouchInteraction",!1);o(this,"_elementInfo",new Map);o(this,"_monitoredElementCount",0);o(this,"_rootNodeFocusListenerCount",new Map);o(this,"_detectionMode");o(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});o(this,"_document",_(it,{optional:!0}));o(this,"_stopInputModalityDetector",new me);o(this,"_rootNodeFocusAndBlurListener",a=>{let i=dn(a);for(let r=i;r;r=r.parentElement)a.type==="focus"?this._onFocus(a,r):this._onBlur(a,r)});let a=_(Vye,{optional:!0});this._detectionMode=(a==null?void 0:a.detectionMode)||pd.IMMEDIATE}monitor(a,i=!1){let r=Hn(a);if(!this._platform.isBrowser||r.nodeType!==1)return bt();let s=Pye(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return i&&(l.checkChildren=!0),l.subject;let c={checkChildren:i,subject:new me,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(a){let i=Hn(a),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(a,i,r){let s=Hn(a),l=this._getDocument().activeElement;s===l?this._getClosestElementsInfo(s).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((a,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"}_shouldBeAttributedToTouch(a){return this._detectionMode===pd.EVENTUAL||!!(a!=null&&a.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(a,i){a.classList.toggle("cdk-focused",!!i),a.classList.toggle("cdk-touch-focused",i==="touch"),a.classList.toggle("cdk-keyboard-focused",i==="keyboard"),a.classList.toggle("cdk-mouse-focused",i==="mouse"),a.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(a,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=a,this._originFromTouchInteraction=a==="touch"&&i,this._detectionMode===pd.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?bk:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(a,i){let r=this._elementInfo.get(i),s=dn(a);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(a,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&a.relatedTarget instanceof Node&&i.contains(a.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(a,i){a.subject.observers.length&&this._ngZone.run(()=>a.subject.next(i))}_registerGlobalListeners(a){if(!this._platform.isBrowser)return;let i=a.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nc)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ht(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(a){let i=a.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(a,i,r){this._setClasses(a,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(a){let i=[];return this._elementInfo.forEach((r,s)=>{(s===a||r.checkChildren&&s.contains(a))&&i.push([s,r])}),i}_isLastInteractionFromInputLabel(a){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===a||a.nodeName!=="INPUT"&&a.nodeName!=="TEXTAREA"||a.disabled)return!1;let s=a.labels;if(s){for(let l=0;l<s.length;l++)if(s[l].contains(i))return!0}return!1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),fg=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_focusMonitor",_(go));o(this,"_monitorSubscription");o(this,"_focusOrigin",null);o(this,"cdkFocusChange",new ie)}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,a.nodeType===1&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),Lc=new WeakMap,Pa=(()=>{const t=class t{constructor(){o(this,"_appRef");o(this,"_injector",_(ut));o(this,"_environmentInjector",_(hn))}load(a){let i=this._appRef=this._appRef||this._injector.get(br),r=Lc.get(i);r||(r={loaders:new Set,refs:[]},Lc.set(i,r),i.onDestroy(()=>{var s;(s=Lc.get(i))==null||s.refs.forEach(l=>l.destroy()),Lc.delete(i)})),r.loaders.has(a)||(r.loaders.add(a),r.refs.push(tk(a,{environmentInjector:this._environmentInjector})))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bo=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(a,i){},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}
19
19
  `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Bd(e){return Array.isArray(e)?e:[e]}var Ub=new Set,Tr,zye=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_nonce",_(Lf,{optional:!0}));o(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):jye}matchMedia(a){return(this._platform.WEBKIT||this._platform.BLINK)&&Bye(a,this._nonce),this._matchMedia(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Bye(e,t){if(!Ub.has(e))try{Tr||(Tr=document.createElement("style"),t&&Tr.setAttribute("nonce",t),Tr.setAttribute("type","text/css"),document.head.appendChild(Tr)),Tr.sheet&&(Tr.sheet.insertRule(`@media ${e} {body{ }}`,0),Ub.add(e))}catch(n){console.error(n)}}function jye(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var vk=(()=>{const t=class t{constructor(){o(this,"_mediaMatcher",_(zye));o(this,"_zone",_(Ne));o(this,"_queries",new Map);o(this,"_destroySubject",new me)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(a){return Wb(Bd(a)).some(i=>this._registerQuery(i).mql.matches)}observe(a){let i=Wb(Bd(a)).map(s=>this._registerQuery(s).observable),r=nd(i);return r=hl(r.pipe(ei(1)),r.pipe(df(1),fu(0))),r.pipe(It(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(a){if(this._queries.has(a))return this._queries.get(a);let i=this._mediaMatcher.matchMedia(a),r={observable:new Ot(s=>{let l=c=>this._zone.run(()=>s.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Aa(i),It(({matches:s})=>({query:a,matches:s})),Ht(this._destroySubject)),mql:i};return this._queries.set(a,r),r}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Wb(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function Hye(e){if(e.type==="characterData"&&e.target instanceof Comment)return!0;if(e.type==="childList"){for(let t=0;t<e.addedNodes.length;t++)if(!(e.addedNodes[t]instanceof Comment))return!1;for(let t=0;t<e.removedNodes.length;t++)if(!(e.removedNodes[t]instanceof Comment))return!1;return!0}return!1}var yk=(()=>{const t=class t{create(a){return typeof MutationObserver>"u"?null:new MutationObserver(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Uye=(()=>{const t=class t{constructor(){o(this,"_mutationObserverFactory",_(yk));o(this,"_observedElements",new Map);o(this,"_ngZone",_(Ne))}ngOnDestroy(){this._observedElements.forEach((a,i)=>this._cleanupObserver(i))}observe(a){let i=Hn(a);return new Ot(r=>{let s=this._observeElement(i).pipe(It(l=>l.filter(c=>!Hye(c))),sa(l=>!!l.length)).subscribe(l=>{this._ngZone.run(()=>{r.next(l)})});return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(a){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(a))this._observedElements.get(a).count++;else{let i=new me,r=this._mutationObserverFactory.create(s=>i.next(s));r&&r.observe(a,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(a,{observer:r,stream:i,count:1})}return this._observedElements.get(a).stream})}_unobserveElement(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))}_cleanupObserver(a){if(this._observedElements.has(a)){let{observer:i,stream:r}=this._observedElements.get(a);i&&i.disconnect(),r.complete(),this._observedElements.delete(a)}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Wye=(()=>{const t=class t{constructor(){o(this,"_contentObserver",_(Uye));o(this,"_elementRef",_(Te));o(this,"event",new ie);o(this,"_disabled",!1);o(this,"_debounce");o(this,"_currentSubscription",null)}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(a){this._debounce=pm(a),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let a=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?a.pipe(fu(this.debounce)):a).subscribe(this.event)}_unsubscribe(){var a;(a=this._currentSubscription)==null||a.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",fe],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}));let e=t;return e})(),_k=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({providers:[yk]}));let e=t;return e})(),xk=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt))}isDisabled(a){return a.hasAttribute("disabled")}isVisible(a){return Gye(a)&&getComputedStyle(a).visibility==="visible"}isTabbable(a){if(!this._platform.isBrowser)return!1;let i=qye(e_e(a));if(i&&(qb(i)===-1||!this.isVisible(i)))return!1;let r=a.nodeName.toLowerCase(),s=qb(a);return a.hasAttribute("contenteditable")?s!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Xye(a)?!1:r==="audio"?a.hasAttribute("controls")?s!==-1:!1:r==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||a.hasAttribute("controls"):a.tabIndex>=0}isFocusable(a,i){return Jye(a)&&!this.isDisabled(a)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function qye(e){try{return e.frameElement}catch{return null}}function Gye(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function $ye(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function Yye(e){return Kye(e)&&e.type=="hidden"}function Zye(e){return Qye(e)&&e.hasAttribute("href")}function Kye(e){return e.nodeName.toLowerCase()=="input"}function Qye(e){return e.nodeName.toLowerCase()=="a"}function wk(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function qb(e){if(!wk(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Xye(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function Jye(e){return Yye(e)?!1:$ye(e)||Zye(e)||e.hasAttribute("contenteditable")||wk(e)}function e_e(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var t_e=class{constructor(e,t,n,a,i=!1,r){o(this,"_element");o(this,"_checker");o(this,"_ngZone");o(this,"_document");o(this,"_injector");o(this,"_startAnchor");o(this,"_endAnchor");o(this,"_hasAttached",!1);o(this,"startAnchorListener",()=>this.focusLastTabbableElement());o(this,"endAnchorListener",()=>this.focusFirstTabbableElement());o(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=n,this._document=a,this._injector=r,i||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 a=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(a)return a}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 a=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(a)return a}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?Wn(e,{injector:this._injector}):setTimeout(e)}},kk=(()=>{const t=class t{constructor(){o(this,"_checker",_(xk));o(this,"_ngZone",_(Ne));o(this,"_document",_(it));o(this,"_injector",_(ut));_(Pa).load(bo)}create(a,i=!1){return new t_e(a,this._checker,this._ngZone,this._document,i,this._injector)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),a_e=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_focusTrapFactory",_(kk));o(this,"focusTrap");o(this,"_previouslyFocusedElement",null);o(this,"autoCapture");_(Yt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}get enabled(){var a;return((a=this.focusTrap)==null?void 0:a.enabled)||!1}set enabled(a){this.focusTrap&&(this.focusTrap.enabled=a)}ngOnDestroy(){var a;(a=this.focusTrap)==null||a.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){var a;(a=this.focusTrap)==null||a.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(a){var r;let i=a.autoCapture;i&&!i.firstChange&&this.autoCapture&&((r=this.focusTrap)!=null&&r.hasAttached())&&this._captureFocus()}_captureFocus(){var a;this._previouslyFocusedElement=Wo(),(a=this.focusTrap)==null||a.focusInitialElementWhenReady()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",fe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",fe]},exportAs:["cdkTrapFocus"],features:[$t]}));let e=t;return e})(),i_e=new Y("liveAnnouncerElement",{providedIn:"root",factory:n_e});function n_e(){return null}var r_e=new Y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),o_e=0,Ek=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_defaultOptions",_(r_e,{optional:!0}));o(this,"_liveElement");o(this,"_document",_(it));o(this,"_previousTimeout");o(this,"_currentPromise");o(this,"_currentResolve");let a=_(i_e,{optional:!0});this._liveElement=a||this._createLiveElement()}announce(a,...i){let r=this._defaultOptions,s,l;return i.length===1&&typeof i[0]=="number"?l=i[0]:[s,l]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var c;this._liveElement.textContent=a,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 a,i;clearTimeout(this._previousTimeout),(a=this._liveElement)==null||a.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let a="cdk-live-announcer-element",i=this._document.getElementsByClassName(a),r=this._document.createElement("div");for(let s=0;s<i.length;s++)i[s].remove();return r.classList.add(a),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${o_e++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(a){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let s=i[r],l=s.getAttribute("aria-owns");l?l.indexOf(a)===-1&&s.setAttribute("aria-owns",l+" "+a):s.setAttribute("aria-owns",a)}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lr=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Lr||{}),Gb="cdk-high-contrast-black-on-white",$b="cdk-high-contrast-white-on-black",zh="cdk-high-contrast-active",Ck=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_hasCheckedHighContrastMode");o(this,"_document",_(it));o(this,"_breakpointSubscription");this._breakpointSubscription=_(vk).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Lr.NONE;let a=this._document.createElement("div");a.style.backgroundColor="rgb(1,2,3)",a.style.position="absolute",this._document.body.appendChild(a);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(a):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(a.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Lr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Lr.BLACK_ON_WHITE}return Lr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let a=this._document.body.classList;a.remove(zh,Gb,$b),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Lr.BLACK_ON_WHITE?a.add(zh,Gb):i===Lr.WHITE_ON_BLACK&&a.add(zh,$b)}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Sk=(()=>{const t=class t{constructor(){_(Ck)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({imports:[_k]}));let e=t;return e})(),Bh={},ha=(()=>{const t=class t{constructor(){o(this,"_appId",_(Du))}getId(a){return this._appId!=="ng"&&(a+=this._appId),Bh.hasOwnProperty(a)||(Bh[a]=0),`${a}${Bh[a]++}`}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),s_e=200,l_e=class{constructor(e,t){o(this,"_letterKeyStream",new me);o(this,"_items",[]);o(this,"_selectedItemIndex",-1);o(this,"_pressedLetters",[]);o(this,"_skipPredicateFn");o(this,"_selectedItem",new me);o(this,"selectedItem",this._selectedItem);let n=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:s_e;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(rd(t=>this._pressedLetters.push(t)),fu(e),sa(()=>this._pressedLetters.length>0),It(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var n,a;for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,s=this._items[r];if(!((n=this._skipPredicateFn)!=null&&n.call(this,s))&&((a=s.getLabel)==null?void 0:a.call(s).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(s);break}}this._pressedLetters=[]})}};function Wa(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Dk=class{constructor(e,t){o(this,"_items");o(this,"_activeItemIndex",-1);o(this,"_activeItem",ai(null));o(this,"_wrap",!1);o(this,"_typeaheadSubscription",Ye.EMPTY);o(this,"_itemChangesSubscription");o(this,"_vertical",!0);o(this,"_horizontal");o(this,"_allowedModifierKeys",[]);o(this,"_homeAndEnd",!1);o(this,"_pageUpAndDown",{enabled:!1,delta:10});o(this,"_effectRef");o(this,"_typeahead");o(this,"_skipPredicateFn",e=>e.disabled);o(this,"tabOut",new me);o(this,"change",new me);this._items=e,e instanceof ts?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):bl(e)&&(this._effectRef=Xl(()=>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 l_e(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 a,i;let t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}else return;default:(n||Wa(e,"shiftKey"))&&((a=this._typeahead)==null||a.handleKey(e));return}(i=this._typeahead)==null||i.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 i;let t=this._getItemsArray(),n=typeof e=="number"?e:t.indexOf(e),a=t[n];this._activeItem.set(a??null),this._activeItemIndex=n,(i=this._typeahead)==null||i.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 a=(this._activeItemIndex+e*n+t.length)%t.length,i=t[a];if(!this._skipPredicateFn(i)){this.setActiveItem(a);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 bl(this._items)?this._items():this._items instanceof ts?this._items.toArray():this._items}_itemsChanged(e){var n,a;(n=this._typeahead)==null||n.setItems(e);let t=this._activeItem();if(t){let i=e.indexOf(t);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(i))}}},c_e=class extends Dk{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},gg=class extends Dk{constructor(){super(...arguments);o(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},Ik=" ";function Ok(e,t,n){let a=jd(e,t);n=n.trim(),!a.some(i=>i.trim()===n)&&(a.push(n),e.setAttribute(t,a.join(Ik)))}function mm(e,t,n){let a=jd(e,t);n=n.trim();let i=a.filter(r=>r!==n);i.length?e.setAttribute(t,i.join(Ik)):e.removeAttribute(t)}function jd(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var Tk="cdk-describedby-message",Fc="cdk-describedby-host",fm=0,d_e=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_document",_(it));o(this,"_messageRegistry",new Map);o(this,"_messagesContainer",null);o(this,"_id",`${fm++}`);_(Pa).load(bo),this._id=_(Du)+"-"+fm++}describe(a,i,r){if(!this._canBeDescribed(a,i))return;let s=jh(i,r);typeof i!="string"?(Yb(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,r),this._isElementDescribedByMessage(a,s)||this._addMessageReference(a,s)}removeDescription(a,i,r){var l;if(!i||!this._isElementNode(a))return;let s=jh(i,r);if(this._isElementDescribedByMessage(a,s)&&this._removeMessageReference(a,s),typeof i=="string"){let c=this._messageRegistry.get(s);c&&c.referenceCount===0&&this._deleteMessageElement(s)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let a=this._document.querySelectorAll(`[${Fc}="${this._id}"]`);for(let r=0;r<a.length;r++)this._removeCdkDescribedByReferenceIds(a[r]),a[r].removeAttribute(Fc);(i=this._messagesContainer)==null||i.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(a,i){let r=this._document.createElement("div");Yb(r,this._id),r.textContent=a,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(jh(a,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(a){var i,r;(r=(i=this._messageRegistry.get(a))==null?void 0:i.messageElement)==null||r.remove(),this._messageRegistry.delete(a)}_createMessagesContainer(){if(this._messagesContainer)return;let a="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${a}[platform="server"]`);for(let s=0;s<i.length;s++)i[s].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(a),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(a){let i=jd(a,"aria-describedby").filter(r=>r.indexOf(Tk)!=0);a.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(a,i){let r=this._messageRegistry.get(i);Ok(a,"aria-describedby",r.messageElement.id),a.setAttribute(Fc,this._id),r.referenceCount++}_removeMessageReference(a,i){let r=this._messageRegistry.get(i);r.referenceCount--,mm(a,"aria-describedby",r.messageElement.id),a.removeAttribute(Fc)}_isElementDescribedByMessage(a,i){let r=jd(a,"aria-describedby"),s=this._messageRegistry.get(i),l=s&&s.messageElement.id;return!!l&&r.indexOf(l)!=-1}_canBeDescribed(a,i){if(!this._isElementNode(a))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),s=a.getAttribute("aria-label");return r?!s||s.trim()!==r:!1}_isElementNode(a){return a.nodeType===this._document.ELEMENT_NODE}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function jh(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function Yb(e,t){e.id||(e.id=`${Tk}-${t}-${fm++}`)}var u_e=new Y("cdk-dir-doc",{providedIn:"root",factory:h_e});function h_e(){return _(it)}var p_e=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function m_e(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?p_e.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Fa=(()=>{const t=class t{constructor(){o(this,"value","ltr");o(this,"change",new ie);let a=_(u_e,{optional:!0});if(a){let i=a.body?a.body.dir:null,r=a.documentElement?a.documentElement.dir:null;this.value=m_e(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),kl=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({}));let e=t;return e})();function qo(e){return e!=null&&`${e}`!="false"}function ga(e){return e==null?"":typeof e=="string"?e:`${e}px`}function f_e(e,t=/\s+/){let n=[];if(e!=null){let a=Array.isArray(e)?e:`${e}`.split(t);for(let i of a){let r=`${i}`.trim();r&&n.push(r)}}return n}function Zb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var nn=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(nn||{}),Vc,Ar;function Ak(){if(Ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ar=!1,Ar;if("scrollBehavior"in document.documentElement.style)Ar=!0;else{let e=Element.prototype.scrollTo;e?Ar=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ar=!1}}return Ar}function Bs(){if(typeof document!="object"||!document)return nn.NORMAL;if(Vc==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"),a=n.style;a.width="2px",a.height="1px",e.appendChild(n),document.body.appendChild(e),Vc=nn.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Vc=e.scrollLeft===0?nn.NEGATED:nn.INVERTED),e.remove()}return Vc}var g_e=class{};function Hh(e){return e&&typeof e.connect=="function"&&!(e instanceof nhe)}var rl=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(rl||{}),gm=new Y("_ViewRepeater"),b_e=20,Rk=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_platform",_(Yt));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_cleanupGlobalListener");o(this,"_scrolled",new me);o(this,"_scrolledCount",0);o(this,"scrollContainers",new Map)}register(a){this.scrollContainers.has(a)||this.scrollContainers.set(a,a.elementScrolled().subscribe(()=>this._scrolled.next(a)))}deregister(a){let i=this.scrollContainers.get(a);i&&(i.unsubscribe(),this.scrollContainers.delete(a))}scrolled(a=b_e){return this._platform.isBrowser?new Ot(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=a>0?this._scrolled.pipe(Q_(a)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{var s;r.unsubscribe(),this._scrolledCount--,this._scrolledCount||((s=this._cleanupGlobalListener)==null||s.call(this),this._cleanupGlobalListener=void 0)}}):bt()}ngOnDestroy(){var a;(a=this._cleanupGlobalListener)==null||a.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((i,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(a,i){let r=this.getAncestorScrollContainers(a);return this.scrolled(i).pipe(sa(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(a){let i=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,a)&&i.push(s)}),i}_scrollableContainsElement(a,i){let r=Hn(i),s=a.getElementRef().nativeElement;do if(r==s)return!0;while(r=r.parentElement);return!1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Pk=(()=>{const t=class t{constructor(){o(this,"elementRef",_(Te));o(this,"scrollDispatcher",_(Rk));o(this,"ngZone",_(Ne));o(this,"dir",_(Fa,{optional:!0}));o(this,"_scrollElement",this.elementRef.nativeElement);o(this,"_destroyed",new me);o(this,"_renderer",_(ri));o(this,"_cleanupScroll");o(this,"_elementScrolled",new me)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",a=>this._elementScrolled.next(a))),this.scrollDispatcher.register(this)}ngOnDestroy(){var a;(a=this._cleanupScroll)==null||a.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(a){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";a.left==null&&(a.left=r?a.end:a.start),a.right==null&&(a.right=r?a.start:a.end),a.bottom!=null&&(a.top=i.scrollHeight-i.clientHeight-a.bottom),r&&Bs()!=nn.NORMAL?(a.left!=null&&(a.right=i.scrollWidth-i.clientWidth-a.left),Bs()==nn.INVERTED?a.left=a.right:Bs()==nn.NEGATED&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=i.scrollWidth-i.clientWidth-a.right),this._applyScrollToOptions(a)}_applyScrollToOptions(a){let i=this.elementRef.nativeElement;Ak()?i.scrollTo(a):(a.top!=null&&(i.scrollTop=a.top),a.left!=null&&(i.scrollLeft=a.left))}measureScrollOffset(a){let i="left",r="right",s=this.elementRef.nativeElement;if(a=="top")return s.scrollTop;if(a=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let l=this.dir&&this.dir.value=="rtl";return a=="start"?a=l?r:i:a=="end"&&(a=l?i:r),l&&Bs()==nn.INVERTED?a==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:l&&Bs()==nn.NEGATED?a==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:a==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),v_e=20,Jl=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_listeners");o(this,"_viewportSize");o(this,"_change",new me);o(this,"_document",_(it,{optional:!0}));let a=_(Ne),i=_(Fi).createRenderer(null,null);a.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=s=>this._change.next(s);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var a;(a=this._listeners)==null||a.forEach(i=>i()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let a={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),a}getViewportRect(){let a=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:a.top,left:a.left,bottom:a.top+r,right:a.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let a=this._document,i=this._getWindow(),r=a.documentElement,s=r.getBoundingClientRect(),l=-s.top||a.body.scrollTop||i.scrollY||r.scrollTop||0,c=-s.left||a.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:l,left:c}}change(a=v_e){return a>0?this._change.pipe(Q_(a)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Hd=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({}));let e=t;return e})(),bm=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({imports:[kl,Hd,kl,Hd]}));let e=t;return e})(),bg=class{constructor(){o(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},ro=class extends bg{constructor(t,n,a,i,r){super();o(this,"component");o(this,"viewContainerRef");o(this,"injector");o(this,"componentFactoryResolver");o(this,"projectableNodes");this.component=t,this.viewContainerRef=n,this.injector=a,this.projectableNodes=r}},vo=class extends bg{constructor(t,n,a,i){super();o(this,"templateRef");o(this,"viewContainerRef");o(this,"context");o(this,"injector");this.templateRef=t,this.viewContainerRef=n,this.context=a,this.injector=i}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()}},y_e=class extends bg{constructor(t){super();o(this,"element");this.element=t instanceof Te?t.nativeElement:t}},Hu=class{constructor(){o(this,"_attachedPortal");o(this,"_disposeFn");o(this,"_isDisposed",!1);o(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof ro)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof vo)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof y_e)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)}},__e=class extends Hu{constructor(t,n,a,i,r){super();o(this,"outletElement");o(this,"_appRef");o(this,"_defaultInjector");o(this,"_document");o(this,"attachDomPortal",t=>{let n=t.element;n.parentNode;let a=this._document.createComment("dom-portal");n.parentNode.insertBefore(a,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(n,a)})});this.outletElement=t,this._appRef=a,this._defaultInjector=i,this._document=r}attachComponentPortal(t){let n;if(t.viewContainerRef){let a=t.injector||t.viewContainerRef.injector,i=a.get(_l,null,{optional:!0})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:a,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>n.destroy())}else{let a=this._appRef,i=t.injector||this._defaultInjector||ut.NULL,r=i.get(hn,a.injector);n=tk(t.component,{elementInjector:i,environmentInjector:r,projectableNodes:t.projectableNodes||void 0}),a.attachView(n.hostView),this.setDisposeFn(()=>{a.viewCount>0&&a.detachView(n.hostView),n.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,a=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return a.rootNodes.forEach(i=>this.outletElement.appendChild(i)),a.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(a);i!==-1&&n.remove(i)}),this._attachedPortal=t,a}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},x_e=(()=>{const t=class t extends vo{constructor(){let a=_(ya),i=_(oi);super(a,i)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ze]}));let e=t;return e})(),vn=(()=>{const t=class t extends Hu{constructor(){super();o(this,"_moduleRef",_(_l,{optional:!0}));o(this,"_document",_(it));o(this,"_viewContainerRef",_(oi));o(this,"_isInitialized",!1);o(this,"_attachedRef");o(this,"attached",new ie);o(this,"attachDomPortal",i=>{let r=i.element;r.parentNode;let s=this._document.createComment("dom-portal");i.setAttachedHost(this),r.parentNode.insertBefore(s,r),this._getRootNode().appendChild(r),this._attachedPortal=i,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(r,s)})})}get portal(){return this._attachedPortal}set portal(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&super.detach(),i&&super.attach(i),this._attachedPortal=i||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(i){i.setAttachedHost(this);let r=i.viewContainerRef!=null?i.viewContainerRef:this._viewContainerRef,s=r.createComponent(i.component,{index:r.length,injector:i.injector||r.injector,projectableNodes:i.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=i,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(i){i.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ze]}));let e=t;return e})(),rs=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({}));let e=t;return e})(),Kb=Ak(),w_e=class{constructor(e,t){o(this,"_viewportRuler");o(this,"_previousHTMLStyles",{top:"",left:""});o(this,"_previousScrollPosition");o(this,"_isEnabled",!1);o(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=ga(-this._previousScrollPosition.left),e.style.top=ga(-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,a=t.style,i=n.scrollBehavior||"",r=a.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Kb&&(n.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Kb&&(n.scrollBehavior=i,a.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}},k_e=class{constructor(e,t,n,a){o(this,"_scrollDispatcher");o(this,"_ngZone");o(this,"_viewportRuler");o(this,"_config");o(this,"_scrollSubscription",null);o(this,"_overlayRef");o(this,"_initialScrollPosition");o(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=a}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(sa(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}},Mk=class{enable(){}disable(){}attach(){}};function vm(e,t){return t.some(n=>{let a=e.bottom<n.top,i=e.top>n.bottom,r=e.right<n.left,s=e.left>n.right;return a||i||r||s})}function Qb(e,t){return t.some(n=>{let a=e.top<n.top,i=e.bottom>n.bottom,r=e.left<n.left,s=e.right>n.right;return a||i||r||s})}var E_e=class{constructor(e,t,n,a){o(this,"_scrollDispatcher");o(this,"_viewportRuler");o(this,"_ngZone");o(this,"_config");o(this,"_scrollSubscription",null);o(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=a}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:a}=this._viewportRuler.getViewportSize();vm(t,[{width:n,height:a,bottom:a,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}},C_e=(()=>{const t=class t{constructor(){o(this,"_scrollDispatcher",_(Rk));o(this,"_viewportRuler",_(Jl));o(this,"_ngZone",_(Ne));o(this,"_document",_(it));o(this,"noop",()=>new Mk);o(this,"close",a=>new k_e(this._scrollDispatcher,this._ngZone,this._viewportRuler,a));o(this,"block",()=>new w_e(this._viewportRuler,this._document));o(this,"reposition",a=>new E_e(this._scrollDispatcher,this._viewportRuler,this._ngZone,a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ec=class{constructor(e){o(this,"positionStrategy");o(this,"scrollStrategy",new Mk);o(this,"panelClass","");o(this,"hasBackdrop",!1);o(this,"backdropClass","cdk-overlay-dark-backdrop");o(this,"width");o(this,"height");o(this,"minWidth");o(this,"minHeight");o(this,"maxWidth");o(this,"maxHeight");o(this,"direction");o(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let n of t)e[n]!==void 0&&(this[n]=e[n])}}},S_e=class{constructor(e,t){o(this,"connectionPair");o(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},Nk=(()=>{const t=class t{constructor(){o(this,"_attachedOverlays",[]);o(this,"_document",_(it));o(this,"_isAttached")}ngOnDestroy(){this.detach()}add(a){this.remove(a),this._attachedOverlays.push(a)}remove(a){let i=this._attachedOverlays.indexOf(a);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),D_e=(()=>{const t=class t extends Nk{constructor(){super(...arguments);o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_cleanupKeydown");o(this,"_keydownListener",i=>{let r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[s]._keydownEvents.next(i));break}})}add(i){super.add(i),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var i;this._isAttached&&((i=this._cleanupKeydown)==null||i.call(this),this._isAttached=!1)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=tt(t)))(r||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),I_e=(()=>{const t=class t extends Nk{constructor(){super(...arguments);o(this,"_platform",_(Yt));o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_cursorOriginalValue");o(this,"_cursorStyleIsSet",!1);o(this,"_pointerDownEventTarget");o(this,"_cleanups");o(this,"_pointerDownListener",i=>{this._pointerDownEventTarget=dn(i)});o(this,"_clickListener",i=>{let r=dn(i),s=i.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(Xb(d.overlayElement,r)||Xb(d.overlayElement,s))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(i)):u.next(i)}})}add(i){if(super.add(i),!this._isAttached){let r=this._document.body,s={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[Ta(this._renderer,r,"pointerdown",this._pointerDownListener,s),Ta(this._renderer,r,"click",this._clickListener,s),Ta(this._renderer,r,"auxclick",this._clickListener,s),Ta(this._renderer,r,"contextmenu",this._clickListener,s)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var i;this._isAttached&&((i=this._cleanups)==null||i.forEach(r=>r()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=tt(t)))(r||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Xb(e,t){let n=typeof ShadowRoot<"u"&&ShadowRoot,a=t;for(;a;){if(a===e)return!0;a=n&&a instanceof ShadowRoot?a.host:a.parentNode}return!1}var Lk=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(a,i){},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}
20
20
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),vg=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_containerElement");o(this,"_document",_(it));o(this,"_styleLoader",_(Pa))}ngOnDestroy(){var a;(a=this._containerElement)==null||a.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let a="cdk-overlay-container";if(this._platform.isBrowser||Zb()){let r=this._document.querySelectorAll(`.${a}[platform="server"], .${a}[platform="test"]`);for(let s=0;s<r.length;s++)r[s].remove()}let i=this._document.createElement("div");i.classList.add(a),Zb()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(Lk)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),O_e=class{constructor(e,t,n,a){o(this,"_renderer");o(this,"_ngZone");o(this,"element");o(this,"_cleanupClick");o(this,"_cleanupTransitionEnd");o(this,"_fallbackTimeout");o(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=n,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",a)}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")})}},yg=class{constructor(e,t,n,a,i,r,s,l,c,d=!1,u,p){o(this,"_portalOutlet");o(this,"_host");o(this,"_pane");o(this,"_config");o(this,"_ngZone");o(this,"_keyboardDispatcher");o(this,"_document");o(this,"_location");o(this,"_outsideClickDispatcher");o(this,"_animationsDisabled");o(this,"_injector");o(this,"_renderer");o(this,"_backdropClick",new me);o(this,"_attachments",new me);o(this,"_detachments",new me);o(this,"_positionStrategy");o(this,"_scrollStrategy");o(this,"_locationChanges",Ye.EMPTY);o(this,"_backdropRef",null);o(this,"_previousHostParent");o(this,"_keydownEvents",new me);o(this,"_outsidePointerEvents",new me);o(this,"_renders",new me);o(this,"_afterRenderRef");o(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=n,this._config=a,this._ngZone=i,this._keyboardDispatcher=r,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._renderer=p,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy,this._afterRenderRef=Nn(()=>zf(()=>{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=Wn(()=>{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,a;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(),(a=this._afterNextRenderRef)==null||a.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=pe(pe({},this._config),e),this._updateElementSize()}setDirection(e){this._config=dt(pe({},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=ga(this._config.width),e.height=ga(this._config.height),e.minWidth=ga(this._config.minWidth),e.minHeight=ga(this._config.minHeight),e.maxWidth=ga(this._config.maxWidth),e.maxHeight=ga(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 O_e(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 a=Bd(t||[]).filter(i=>!!i);a.length&&(n?e.classList.add(...a):e.classList.remove(...a))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Ht(va(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)}},Jb="cdk-overlay-connected-position-bounding-box",T_e=/([A-Za-z%]+)$/,Fk=class{constructor(e,t,n,a,i){o(this,"_viewportRuler");o(this,"_document");o(this,"_platform");o(this,"_overlayContainer");o(this,"_overlayRef");o(this,"_isInitialRender");o(this,"_lastBoundingBoxSize",{width:0,height:0});o(this,"_isPushed",!1);o(this,"_canPush",!0);o(this,"_growAfterOpen",!1);o(this,"_hasFlexibleDimensions",!0);o(this,"_positionLocked",!1);o(this,"_originRect");o(this,"_overlayRect");o(this,"_viewportRect");o(this,"_containerRect");o(this,"_viewportMargin",0);o(this,"_scrollables",[]);o(this,"_preferredPositions",[]);o(this,"_origin");o(this,"_pane");o(this,"_isDisposed");o(this,"_boundingBox");o(this,"_lastPosition");o(this,"_lastScrollVisibility");o(this,"_positionChanges",new me);o(this,"_resizeSubscription",Ye.EMPTY);o(this,"_offsetX",0);o(this,"_offsetY",0);o(this,"_transformOriginSelector");o(this,"_appliedPanelClasses",[]);o(this,"_previousPushAmount");o(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=i,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Jb),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,a=this._containerRect,i=[],r;for(let s of this._preferredPositions){let l=this._getOriginPoint(e,a,s),c=this._getOverlayPoint(l,t,s),d=this._getOverlayFit(c,t,n,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){i.push({position:s,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:t})}if(i.length){let s=null,l=-1;for(let c of i){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Rr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Jb),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 a;if(n.originX=="center")a=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;a=n.originX=="start"?r:s}t.left<0&&(a-=t.left);let i;return n.originY=="center"?i=e.top+e.height/2:i=n.originY=="top"?e.top:e.bottom,t.top<0&&(i-=t.top),{x:a,y:i}}_getOverlayPoint(e,t,n){let a;n.overlayX=="center"?a=-t.width/2:n.overlayX==="start"?a=this._isRtl()?-t.width:0:a=this._isRtl()?0:-t.width;let i;return n.overlayY=="center"?i=-t.height/2:i=n.overlayY=="top"?0:-t.height,{x:e.x+a,y:e.y+i}}_getOverlayFit(e,t,n,a){let i=tv(t),{x:r,y:s}=e,l=this._getOffset(a,"x"),c=this._getOffset(a,"y");l&&(r+=l),c&&(s+=c);let d=0-r,u=r+i.width-n.width,p=0-s,b=s+i.height-n.height,g=this._subtractOverflows(i.width,d,u),w=this._subtractOverflows(i.height,p,b),k=g*w;return{visibleArea:k,isCompletelyWithinViewport:i.width*i.height===k,fitsInViewportVertically:w===i.height,fitsInViewportHorizontally:g==i.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){let a=n.bottom-t.y,i=n.right-t.x,r=ev(this._overlayRef.getConfig().minHeight),s=ev(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||r!=null&&r<=a,c=e.fitsInViewportHorizontally||s!=null&&s<=i;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 a=tv(t),i=this._viewportRect,r=Math.max(e.x+a.width-i.width,0),s=Math.max(e.y+a.height-i.height,0),l=Math.max(i.top-n.top-e.y,0),c=Math.max(i.left-n.left-e.x,0),d=0,u=0;return a.width<=i.width?d=c||-r:d=e.x<this._viewportMargin?i.left-n.left-e.x:0,a.height<=i.height?u=l||-s:u=e.y<this._viewportMargin?i.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||!A_e(this._lastScrollVisibility,n)){let a=new S_e(e,n);this._positionChanges.next(a)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,a=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${n} ${a}`}_calculateBoundingBoxRect(e,t){let n=this._viewportRect,a=this._isRtl(),i,r,s;if(t.overlayY==="top")r=e.y,i=n.height-r+this._viewportMargin;else if(t.overlayY==="bottom")s=n.height-e.y+this._viewportMargin*2,i=n.height-s+this._viewportMargin;else{let b=Math.min(n.bottom-e.y+n.top,e.y),g=this._lastBoundingBoxSize.height;i=b*2,r=e.y-b,i>g&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-g/2)}let l=t.overlayX==="start"&&!a||t.overlayX==="end"&&a,c=t.overlayX==="end"&&!a||t.overlayX==="start"&&a,d,u,p;if(c)p=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 b=Math.min(n.right-e.x+n.left,e.x),g=this._lastBoundingBoxSize.width;d=b*2,u=e.x-b,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:r,left:u,bottom:s,right:p,width:d,height:i}}_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 a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right=a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;a.height=ga(n.height),a.top=ga(n.top),a.bottom=ga(n.bottom),a.width=ga(n.width),a.left=ga(n.left),a.right=ga(n.right),t.overlayX==="center"?a.alignItems="center":a.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?a.justifyContent="center":a.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",i&&(a.maxHeight=ga(i)),r&&(a.maxWidth=ga(r))}this._lastBoundingBoxSize=n,Rr(this._boundingBox.style,a)}_resetBoundingBoxStyles(){Rr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Rr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let n={},a=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(a){let d=this._viewportRuler.getViewportScrollPosition();Rr(n,this._getExactOverlayY(t,e,d)),Rr(n,this._getExactOverlayX(t,e,d))}else n.position="static";let s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),n.transform=s.trim(),r.maxHeight&&(a?n.maxHeight=ga(r.maxHeight):i&&(n.maxHeight="")),r.maxWidth&&(a?n.maxWidth=ga(r.maxWidth):i&&(n.maxWidth="")),Rr(this._pane.style,n)}_getExactOverlayY(e,t,n){let a={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;a.bottom=`${r-(i.y+this._overlayRect.height)}px`}else a.top=ga(i.y);return a}_getExactOverlayX(e,t,n){let a={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let s=this._document.documentElement.clientWidth;a.right=`${s-(i.x+this._overlayRect.width)}px`}else a.left=ga(i.x);return a}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Qb(e,n),isOriginOutsideView:vm(e,n),isOverlayClipped:Qb(t,n),isOverlayOutsideView:vm(t,n)}}_subtractOverflows(e,...t){return t.reduce((n,a)=>n-Math.max(a,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&&Bd(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 Te)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 Rr(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(T_e);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 A_e(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var av="cdk-global-overlay-wrapper",R_e=class{constructor(){o(this,"_overlayRef");o(this,"_cssPosition","static");o(this,"_topOffset","");o(this,"_bottomOffset","");o(this,"_alignItems","");o(this,"_xPosition","");o(this,"_xOffset","");o(this,"_width","");o(this,"_height","");o(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(av),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:a,height:i,maxWidth:r,maxHeight:s}=n,l=(a==="100%"||a==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(i==="100%"||i==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",b="",g="",w="";l?w="flex-start":d==="center"?(w="center",p?g=u:b=u):p?d==="left"||d==="end"?(w="flex-end",b=u):(d==="right"||d==="start")&&(w="flex-start",g=u):d==="left"||d==="start"?(w="flex-start",b=u):(d==="right"||d==="end")&&(w="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":b,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,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(av),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},P_e=(()=>{const t=class t{constructor(){o(this,"_viewportRuler",_(Jl));o(this,"_document",_(it));o(this,"_platform",_(Yt));o(this,"_overlayContainer",_(vg))}global(){return new R_e}flexibleConnectedTo(a){return new Fk(a,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),mi=(()=>{const t=class t{constructor(){o(this,"scrollStrategies",_(C_e));o(this,"_overlayContainer",_(vg));o(this,"_positionBuilder",_(P_e));o(this,"_keyboardDispatcher",_(D_e));o(this,"_injector",_(ut));o(this,"_ngZone",_(Ne));o(this,"_document",_(it));o(this,"_directionality",_(Fa));o(this,"_location",_(rk));o(this,"_outsideClickDispatcher",_(I_e));o(this,"_animationsModuleType",_(Ra,{optional:!0}));o(this,"_idGenerator",_(ha));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_appRef");o(this,"_styleLoader",_(Pa))}create(a){this._styleLoader.load(Lk);let i=this._createHostElement(),r=this._createPaneElement(i),s=this._createPortalOutlet(r),l=new ec(a);return l.direction=l.direction||this._directionality.value,new yg(s,i,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(hn),this._renderer)}position(){return this._positionBuilder}_createPaneElement(a){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),a.appendChild(i),i}_createHostElement(){let a=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(a),a}_createPortalOutlet(a){return this._appRef||(this._appRef=this._injector.get(br)),new __e(a,null,this._appRef,this._injector,this._document)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),M_e=[{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"}],Vk=new Y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(mi);return()=>e.scrollStrategies.reposition()}}),Ud=(()=>{const t=class t{constructor(){o(this,"elementRef",_(Te))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}));let e=t;return e})(),iv=(()=>{const t=class t{constructor(){o(this,"_overlay",_(mi));o(this,"_dir",_(Fa,{optional:!0}));o(this,"_overlayRef");o(this,"_templatePortal");o(this,"_backdropSubscription",Ye.EMPTY);o(this,"_attachSubscription",Ye.EMPTY);o(this,"_detachSubscription",Ye.EMPTY);o(this,"_positionSubscription",Ye.EMPTY);o(this,"_offsetX");o(this,"_offsetY");o(this,"_position");o(this,"_scrollStrategyFactory",_(Vk));o(this,"_disposeOnNavigation",!1);o(this,"_ngZone",_(Ne));o(this,"origin");o(this,"positions");o(this,"positionStrategy");o(this,"width");o(this,"height");o(this,"minWidth");o(this,"minHeight");o(this,"backdropClass");o(this,"panelClass");o(this,"viewportMargin",0);o(this,"scrollStrategy");o(this,"open",!1);o(this,"disableClose",!1);o(this,"transformOriginSelector");o(this,"hasBackdrop",!1);o(this,"lockPosition",!1);o(this,"flexibleDimensions",!1);o(this,"growAfterOpen",!1);o(this,"push",!1);o(this,"backdropClick",new ie);o(this,"positionChange",new ie);o(this,"attach",new ie);o(this,"detach",new ie);o(this,"overlayKeydown",new ie);o(this,"overlayOutsideClick",new ie);let a=_(ya),i=_(oi);this._templatePortal=new vo(a,i),this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(a){this._offsetX=a,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(a){this._offsetY=a,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(a){this._disposeOnNavigation=a}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){var a;this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),(a=this._overlayRef)==null||a.dispose()}ngOnChanges(a){var i;this._position&&(this._updatePositionStrategy(this._position),(i=this._overlayRef)==null||i.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply()),a.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=M_e);let a=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=a.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=a.detachments().subscribe(()=>this.detach.emit()),a.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Wa(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),s=dn(i);(!r||r!==s&&!r.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let a=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ec({direction:this._dir||"ltr",positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(a){let i=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 a.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let a=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(a),a}_getOrigin(){return this.origin instanceof Ud?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ud?this.origin.elementRef.nativeElement:this.origin instanceof Te?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(a=>{this.backdropClick.emit(a)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qhe(()=>this.positionChange.observers.length>0)).subscribe(a=>{this._ngZone.run(()=>this.positionChange.emit(a)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){var a;(a=this._overlayRef)==null||a.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({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",fe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",fe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",fe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",fe],push:[2,"cdkConnectedOverlayPush","push",fe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",fe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[$t]}));let e=t;return e})();function N_e(e){return()=>e.scrollStrategies.reposition()}var L_e={provide:Vk,deps:[mi],useFactory:N_e},Uu=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({providers:[mi,L_e],imports:[kl,rs,bm,bm]}));let e=t;return e})(),Do,nv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function rv(){if(Do)return Do;if(typeof document!="object"||!document)return Do=new Set(nv),Do;let e=document.createElement("input");return Do=new Set(nv.filter(t=>(e.setAttribute("type",t),e.type===t))),Do}var Qn=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(a,i){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
21
21
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Oi=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}(Oi||{}),F_e=class{constructor(e,t,n,a=!1){o(this,"_renderer");o(this,"element");o(this,"config");o(this,"_animationForciblyDisabledThroughCss");o(this,"state",Oi.HIDDEN);this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=a}fadeOut(){this._renderer.fadeOutRipple(this)}},ov=mg({passive:!0,capture:!0}),V_e=class{constructor(){o(this,"_events",new Map);o(this,"_delegateEventHandler",e=>{var n;let t=dn(e);t&&((n=this._events.get(e.type))==null||n.forEach((a,i)=>{(i===t||i.contains(t))&&a.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,n,a){let i=this._events.get(t);if(i){let r=i.get(n);r?r.add(a):i.set(n,new Set([a]))}else this._events.set(t,new Map([[n,new Set([a])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,ov)})}removeHandler(e,t,n){let a=this._events.get(e);if(!a)return;let i=a.get(t);i&&(i.delete(n),i.size===0&&a.delete(t),a.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,ov)))}},Wd={enterDuration:225,exitDuration:150},z_e=800,sv=mg({passive:!0,capture:!0}),lv=["mousedown","touchstart"],cv=["mouseup","mouseleave","touchend","touchcancel"],B_e=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(a,i){},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}