@smals-belgium-shared/vidis-medication-scheme-detail 3.4.4-snapshot.3 → 3.4.4-snapshot.5

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(!Ee.lineBreaks&&$n.test(`
9
9
  `))throw new Error("Rule should declare lineBreaks: "+$n);ot.push(P(hr))}}var pr=ce&&ce.fallback,go=b&&!pr?"ym":"gm",Vs=b||pr?"":"|";ye===!0&&(go+="u");var ere=new RegExp(B(ot)+Vs,go);return{regexp:ere,groups:Ve,fast:he,error:ce||on}}function ia(M){var q=qn(Vt(M));return new mt({start:q},"start")}function Ri(M,q,ce){var he=M&&(M.push||M.next);if(he&&!ce[he])throw new Error("Missing state '"+he+"' (in token '"+M.defaultType+"' of state '"+q+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+q+"')")}function Ai(M,q){var ce=M.$all?Vt(M.$all):[];delete M.$all;var he=Object.getOwnPropertyNames(M);q||(q=he[0]);for(var Ce=Object.create(null),ye=0;ye<he.length;ye++){var Ve=he[ye];Ce[Ve]=Vt(M[Ve]).concat(ce)}for(var ye=0;ye<he.length;ye++)for(var Ve=he[ye],ot=Ce[Ve],Ye=Object.create(null),Ee=0;Ee<ot.length;Ee++){var Dt=ot[Ee];if(Dt.include){var dr=[Ee,1];if(Dt.include!==Ve&&!Ye[Dt.include]){Ye[Dt.include]=!0;var hi=Ce[Dt.include];if(!hi)throw new Error("Cannot include nonexistent state '"+Dt.include+"' (in state '"+Ve+"')");for(var Ia=0;Ia<hi.length;Ia++){var hr=hi[Ia];ot.indexOf(hr)===-1&&dr.push(hr)}}ot.splice.apply(ot,dr),Ee--}}for(var $n=Object.create(null),ye=0;ye<he.length;ye++){var Ve=he[ye];$n[Ve]=qn(Ce[Ve],!0)}for(var ye=0;ye<he.length;ye++){for(var fo=he[ye],pr=$n[fo],go=pr.groups,Ee=0;Ee<go.length;Ee++)Ri(go[Ee],fo,$n);for(var Vs=Object.getOwnPropertyNames(pr.fast),Ee=0;Ee<Vs.length;Ee++)Ri(pr.fast[Vs[Ee]],fo,$n)}return new mt($n,q)}function Li(M){for(var q=typeof Map<"u",ce=q?new Map:Object.create(null),he=Object.getOwnPropertyNames(M),Ce=0;Ce<he.length;Ce++){var ye=he[Ce],Ve=M[ye],ot=Array.isArray(Ve)?Ve:[Ve];ot.forEach(function(Ye){if(typeof Ye!="string")throw new Error("keyword must be string (in keyword '"+ye+"')");q?ce.set(Ye,ye):ce[Ye]=ye})}return function(Ye){return q?ce.get(Ye):ce[Ye]}}var mt=function(M,q){this.startState=q,this.states=M,this.buffer="",this.stack=[],this.reset()};mt.prototype.reset=function(M,q){return this.buffer=M||"",this.index=0,this.line=q?q.line:1,this.col=q?q.col:1,this.queuedToken=q?q.queuedToken:null,this.queuedText=q?q.queuedText:"",this.queuedThrow=q?q.queuedThrow:null,this.setState(q?q.state:this.startState),this.stack=q&&q.stack?q.stack.slice():[],this},mt.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}},mt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var q=this.states[M];this.groups=q.groups,this.error=q.error,this.re=q.regexp,this.fast=q.fast}},mt.prototype.popState=function(){this.setState(this.stack.pop())},mt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Ls=b?function(M,q){return M.exec(q)}:function(M,q){var ce=M.exec(q);return ce[0].length===0?null:ce};mt.prototype._getGroup=function(M){for(var q=this.groups.length,ce=0;ce<q;ce++)if(M[ce+1]!==void 0)return this.groups[ce];throw new Error("Cannot find token type for matched text")};function Fs(){return this.value}if(mt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var q=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",q}var ce=this.buffer;if(M!==ce.length){var Ve=this.fast[ce.charCodeAt(M)];if(Ve)return this._token(Ve,ce.charAt(M),M);var he=this.re;he.lastIndex=M;var Ce=Ls(he,ce),ye=this.error;if(Ce==null)return this._token(ye,ce.slice(M,ce.length),M);var Ve=this._getGroup(Ce),ot=Ce[0];return ye.fallback&&Ce.index!==M?(this.queuedGroup=Ve,this.queuedText=ot,this._token(ye,ce.slice(M,Ce.index),M)):this._token(Ve,ot,M)}},mt.prototype._token=function(M,q,ce){var he=0;if(M.lineBreaks){var Ce=/\n/g,ye=1;if(q===`
10
10
  `)he=1;else for(;Ce.exec(q);)he++,ye=Ce.lastIndex}var Ve={type:typeof M.type=="function"&&M.type(q)||M.defaultType,value:typeof M.value=="function"?M.value(q):q,text:q,toString:Fs,offset:ce,lineBreaks:he,line:this.line,col:this.col},ot=q.length;if(this.index+=ot,this.line+=he,he!==0?this.col=ot-ye+1:this.col+=ot,M.shouldThrow){var Ye=new Error(this.formatError(Ve,"invalid syntax"));throw Ye}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ve},typeof Symbol<"u"&&Symbol.iterator){var Fi=function(M){this.lexer=M};Fi.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Fi.prototype[Symbol.iterator]=function(){return this},mt.prototype[Symbol.iterator]=function(){return new Fi(this)}}return mt.prototype.formatError=function(he,q){if(he==null)var ce=this.buffer.slice(this.index),he={text:ce,offset:this.index,lineBreaks:ce.indexOf(`
11
11
  `)===-1?0:1,line:this.line,col:this.col};var Ce=2,ye=Math.max(he.line-Ce,1),Ve=he.line+Ce,ot=String(Ve).length,Ye=Ae(this.buffer,this.line-he.line+Ce+1).slice(0,5),Ee=[];Ee.push(q+" at line "+he.line+" col "+he.col+":"),Ee.push("");for(var Dt=0;Dt<Ye.length;Dt++){var dr=Ye[Dt],hi=ye+Dt;Ee.push(xe(String(hi),ot)+" "+dr),hi===he.line&&Ee.push(xe("",ot+he.col+1)+"^")}return Ee.join(`
12
- `)},mt.prototype.clone=function(){return new mt(this.states,this.state)},mt.prototype.has=function(M){return!0},{compile:ia,states:Ai,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Li}})})(hm);var wae=hm.exports;(function(p){var f=Kc&&Kc.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let y=f(wae);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:b=>b.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:b=>b.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:b=>b.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:b=>b.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:b=>b.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:b=>b.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:b=>b.substring(0,b.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=y.default.states(p.states)})(dm),Object.defineProperty(po,"__esModule",{value:!0});var pm=po.parse=po.ParseError=void 0;let mm=dm,Ns=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Jc=p=>p==="plural"||p==="select"||p==="selectordinal";function Eae(p,f){let y="",b="";for(let _ of f){let E=_.ctx.text;switch(b+=E,_.type){case"content":y+=_.value;break;case"argument":case"function":case"octothorpe":y+=E;break;default:throw new Bt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:y.trim(),ctx:Object.assign({},f[0].ctx,{text:b})}]}let Sae=["number","date","time","spellout","ordinal","duration"],fm=["zero","one","two","few","many","other"];class Bt extends Error{constructor(f,y){super(mm.lexer.formatError(f,y))}}po.ParseError=Bt;class kae{constructor(f,y){var b,_,E,k;this.lexer=mm.lexer.reset(f),this.cardinalKeys=(b=y==null?void 0:y.cardinal)!==null&&b!==void 0?b:fm,this.ordinalKeys=(_=y==null?void 0:y.ordinal)!==null&&_!==void 0?_:fm,this.strict=(E=y==null?void 0:y.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=y==null?void 0:y.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,y,b){if(b[0]==="="){if(y==="select")throw new Bt(f,`The case ${b} is not valid with select`)}else if(y!=="select"){let _=y==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(b)){let E=`The ${y} case ${b} is not valid in this locale`;throw new Bt(f,E)}}}parseSelect(f,y,b,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:b};_==="plural"||_==="selectordinal"?y=!0:this.strict&&(y=!1);for(let D of this.lexer)switch(D.type){case"offset":if(_==="select")throw new Bt(D,"Unexpected plural offset for select");if(k.cases.length>0)throw new Bt(D,"Plural offset must be set before cases");k.pluralOffset=Number(D.value),b.text+=D.text,b.lineBreaks+=D.lineBreaks;break;case"case":{this.checkSelectKey(D,_,D.value),k.cases.push({key:D.value,tokens:this.parseBody(y),ctx:Ns(D)});break}case"end":return k;default:throw new Bt(D,`Unexpected lexer token: ${D.type}`)}throw new Bt(null,"Unexpected message end")}parseArgToken(f,y){let b=Ns(f),_=this.lexer.next();if(!_)throw new Bt(null,"Unexpected message end");if(b.text+=_.text,b.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!Sae.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Bt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:b};case"func-simple":{let E=this.lexer.next();if(!E)throw new Bt(null,"Unexpected message end");if(E.type!=="end")throw new Bt(E,`Unexpected lexer token: ${E.type}`);if(b.text+=E.text,Jc(_.value.toLowerCase()))throw new Bt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:b}}case"func-args":{if(Jc(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Bt(_,k)}let E=this.parseBody(this.strict?!1:y);return this.strict&&E.length>0&&(E=Eae(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:b}}case"select":if(Jc(_.value))return this.parseSelect(f,y,b,_.value);throw new Bt(_,`Unexpected select type ${_.value}`);default:throw new Bt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,y){let b=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),b.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),b.push({type:"octothorpe",ctx:Ns(E)});else{if(E.type==="end"&&!y)return b;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let D=`Unsupported escape pattern: ${k}`;throw new Bt(E,D)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Ns(E)},b.push(_))}}if(y)return b;throw new Bt(null,"Unexpected message end")}}function Cae(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new kae(p,f).parse()}pm=po.parse=Cae;function mo(p){return mo[p]||(mo[p]=new Intl.NumberFormat(p))}function Iae(p,f,y){return mo(p).format(f-y)}function Dae(p,f,y,b){var _=f-y;if(isNaN(_))throw new Error("`"+b+"` or its offset is not a number");return mo(p).format(_)}function Tae(p,f,y,b,_){if({}.hasOwnProperty.call(b,p))return b[p];f&&(p-=f);var E=y(p,_);return E in b?b[E]:b.other}function Oae(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Pae(p,f){for(var y=0;y<p.length;++y)if(!f||f[p[y]]===void 0)throw new Error("Message requires argument '".concat(p[y],"'"))}var Nae=Object.freeze({__proto__:null,_nf:mo,number:Iae,plural:Tae,reqArgs:Pae,select:Oae,strictNumber:Dae});function Mae(p,f,y){var b={day:"numeric",month:"short",year:"numeric"};switch(y){case"full":b.weekday="long";case"long":b.month="long";break;case"short":b.month="numeric"}return new Date(p).toLocaleDateString(f,b)}function Rae(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var y=p%60,b=[Math.round(y)===y?y:y.toFixed(3)];p<60?b.unshift(0):(p=Math.round((p-Number(b[0]))/60),b.unshift(p%60),p>=60&&(p=Math.round((p-Number(b[0]))/60),b.unshift(p)));var _=b.shift();return f+_+":"+b.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var Xc={};function Ms(p,f){var y=String(p)+JSON.stringify(f);return Xc[y]||(Xc[y]=new Intl.NumberFormat(p,f)),Xc[y]}function Aae(p,f,y,b){var _=y&&y.split(":")||[],E=_[0],k=_[1],D={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||b,minimumFractionDigits:2,maximumFractionDigits:2}};return Ms(f,D[E]||{}).format(p)}var Lae=function(p,f,y){return Ms(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Fae=function(p,f){return Ms(f,{maximumFractionDigits:0}).format(p)},Vae=function(p,f){return Ms(f,{style:"percent"}).format(p)};function jae(p,f,y){var b={second:"numeric",minute:"numeric",hour:"numeric"};switch(y){case"full":case"long":b.timeZoneName="short";break;case"short":delete b.second}return new Date(p).toLocaleTimeString(f,b)}var Qc=Object.freeze({__proto__:null,date:Mae,duration:Rae,numberCurrency:Lae,numberFmt:Aae,numberInteger:Fae,numberPercent:Vae,time:jae}),Bae={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}},eu=xae(Bae);function zae(p){let f=0;for(let y=0;y<p.length;++y){let b=p.charCodeAt(y);f=(f<<5)-f+b,f|=0}return f}function na(p,f){f&&(p+=" "+zae(p).toString(36));let y=p.trim().replace(/\W+/g,"_");return eu.ES3[y]||eu.ESnext[y]||/^\d/.test(y)?"_"+y:y}function tu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!eu.ES3[f])return p?p+"."+f:f;{let y=JSON.stringify(f);return p?p+"["+y+"]":y}}var Hae=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Uae=new RegExp("^"+Hae.join("|^"));function Gae(p,f){var y=Uae.test(f),b=JSON.stringify(y?"‏":"‎");return"".concat(b," + ").concat(p," + ").concat(b)}var Wae="@messageformat/runtime",qae="@messageformat/runtime/lib/cardinals",gm="@messageformat/runtime/lib/plurals",$ae="@messageformat/runtime/lib/formatters",Yae=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,y,b){var _,E,k=this,D=this.options,P=D.localeCodeFromKey,B=D.requireAllArguments,de=D.strict,xe=D.strictPluralKeys;if(typeof f=="object"){var Ae={};try{for(var ne=n(Object.keys(f)),tt=ne.next();!tt.done;tt=ne.next()){var wt=tt.value,Vt=P?P(wt):wt,on=b&&Vt&&b[Vt]||y;Ae[wt]=this.compile(f[wt],on,b)}}catch(mt){_={error:mt}}finally{try{tt&&!tt.done&&(E=ne.return)&&E.call(ne)}finally{if(_)throw _.error}}return Ae}this.plural=y;var qn={cardinal:y.cardinals,ordinal:y.ordinals,strict:de,strictPluralKeys:xe};this.arguments=[];var ia=pm(f,qn).map(function(mt){return k.token(mt,null)}),Ri=this.arguments.length>0,Ai=this.concatenate(ia,!0);if(B&&Ri){this.setRuntimeFn("reqArgs");var Li=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Li,", d); return ").concat(Ai,"; }")}return"(".concat(Ri?"d":"",") => ").concat(Ai)},p.prototype.cases=function(f,y){var b=this,_=!0,E=f.cases.map(function(de){var xe=de.key,Ae=de.tokens;xe==="other"&&(_=!1);var ne=Ae.map(function(tt){return b.token(tt,y)});return"".concat(tu(null,xe.replace(/^=/,"")),": ").concat(b.concatenate(ne,!1))});if(_){var k=f.type,D=this.plural,P=D.cardinals,B=D.ordinals;if(k==="select"||k==="plural"&&P.includes("other")||k==="selectordinal"&&B.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,y){var b=this.options.returnType==="values";return b&&(y||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,y){if(f.type==="content")return JSON.stringify(f.value);var b=this.plural,_=b.id,E=b.lc,k,D;switch("arg"in f?(this.arguments.push(f.arg),k=[tu("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?Gae(String(k[0]),E):String(k[0]);case"select":D="select",y&&this.options.strict&&(y=null),k.push(this.cases(f,y)),this.setRuntimeFn("select");break;case"selectordinal":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var P=this.options.customFormatters[f.key],B=P&&"module"in P&&typeof P.module=="function";if(!P){if(f.key==="date"){D=this.setDateFormatter(f,k,y);break}else if(f.key==="number"){D=this.setNumberFormatter(f,k,y);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){y&&this.options.strict&&(y=null);var de=this.getFormatterArg(f,y);de&&k.push(de)}D=B?na("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(D,f.key);break}case"octothorpe":if(!y)return'"#"';k=[JSON.stringify(this.plural.locale),tu("d",y.arg),y.pluralOffset||0],this.options.strict?(D="strictNumber",k.push(JSON.stringify(y.arg)),this.setRuntimeFn("strictNumber")):(D="number",this.setRuntimeFn("number"));break}if(!D)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(D,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,y){if(na(f)!==f)throw new SyntaxError("Reserved word used as ".concat(y," identifier: ").concat(f));var b=this.runtime[f];if(!b||b.type===y)return b;throw new TypeError("Cannot override ".concat(b.type," runtime function as ").concat(y,": ").concat(f))},p.prototype.setLocale=function(f,y){var b=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,D=_.isDefault,P,B,de;if(!y&&D&&E){if(b)return;P=function(xe){return E(xe)},B=qae,de=function(){return String(E)}}else{if(b&&(!D||b.module===gm))return;P=function(xe,Ae){return k(xe,Ae)},B=D?gm:k.module||null,de=function(){return String(k)}}this.runtime[f]=Object.assign(P,{id:f,module:B,toString:de,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(Nae[f],{id:f,module:Wae,type:"runtime"}))},p.prototype.getFormatterArg=function(f,y){var b,_,E,k,D=this,P=f.key,B=f.param,de=this.options.customFormatters[P]||vm(P)&&Qc[P];if(!de||!B)return null;var xe="arg"in de&&de.arg||"string";if(xe==="options"){var Ae="";try{for(var ne=n(B),tt=ne.next();!tt.done;tt=ne.next()){var wt=tt.value;if(wt.type==="content")Ae+=wt.value;else throw new SyntaxError("Expected literal options for ".concat(P," formatter"))}}catch(Fi){b={error:Fi}}finally{try{tt&&!tt.done&&(_=ne.return)&&_.call(ne)}finally{if(b)throw b.error}}var Vt={};try{for(var on=n(Ae.split(",")),qn=on.next();!qn.done;qn=on.next()){var ia=qn.value,Ri=ia.indexOf(":");if(Ri===-1)Vt[ia.trim()]=null;else{var Ai=ia.substring(0,Ri).trim(),Li=ia.substring(Ri+1).trim();if(Li==="true")Vt[Ai]=!0;else if(Li==="false")Vt[Ai]=!1;else if(Li==="null")Vt[Ai]=null;else{var mt=Number(Li);Vt[Ai]=Number.isFinite(mt)?mt:Li}}}}catch(Fi){E={error:Fi}}finally{try{qn&&!qn.done&&(k=on.return)&&k.call(on)}finally{if(E)throw E.error}}return JSON.stringify(Vt)}else{var Ls=B.map(function(Fi){return D.token(Fi,y)});if(xe==="raw")return"[".concat(Ls.join(", "),"]");var Fs=Ls.join(" + ");return Fs?"(".concat(Fs,").trim()"):'""'}},p.prototype.setFormatter=function(f,y){if(!this.runtimeIncludes(f,"formatter")){var b=this.options.customFormatters[y||f];if(b){var _=typeof b=="function"?{formatter:b}:b;this.runtime[f]=Object.assign(_.formatter.bind({}),i(i({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in b&&b.module&&b.id?{id:na(b.id),module:typeof b.module=="function"?b.module(this.plural.locale):b.module}:{id:null,module:null})}else if(vm(f))this.runtime[f]=Object.assign(Qc[f],{type:"formatter"},{id:f,module:$ae});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale,D=E&&E.length===1&&E[0];if(D&&D.type==="content"&&/^\s*::/.test(D.value)){var P=D.value.trim().substr(2),B=na("date_".concat(k,"_").concat(P),!0);if(!this.runtimeIncludes(B,"formatter")){var de=Lt(k,P,this.options.timeZone);this.runtime[B]=Object.assign(de,{id:B,module:null,toString:function(){return xt(k,P,_.options.timeZone)},type:"formatter"})}return B}if(y.push(JSON.stringify(k)),E&&E.length>0){b&&this.options.strict&&(b=null);var xe=E.map(function(Ae){return _.token(Ae,b)});y.push("("+(xe.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return y.unshift(JSON.stringify(k)),y.push("0"),this.setRuntimeFn("number"),"number";if(y.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var D=E[0].value.trim();switch(D){case"currency":return y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var P=D.match(/^currency:([A-Z]+)$/);if(P)return y.push(JSON.stringify(P[1])),this.setFormatter("numberCurrency"),"numberCurrency";var B=na("number_".concat(k,"_").concat(D),!0);if(!this.runtimeIncludes(B,"formatter")){var de=this.options.currency,xe=bae(k,D,de);this.runtime[B]=Object.assign(xe,{id:null,module:null,toString:function(){return _ae(k,D,de)},type:"formatter"})}return B}b&&this.options.strict&&(b=null);var Ae=E.map(function(ne){return _.token(ne,b)});return y.push("("+(Ae.join(" + ")||'""')+").trim()"),y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function vm(p){return p in Qc}let U=p=>p==1?"one":"other",Ti=p=>p==0||p==1?"one":"other",ui=p=>p>=0&&p<=1?"one":"other",Wt=p=>{let f=String(p).split("."),y=!f[1];return p==1&&y?"one":"other"},je=p=>"other",Oi=p=>p==1?"one":p==2?"two":"other";var Zae=Object.freeze({__proto__:null,af:U,ak:Ti,am:ui,an:U,ar:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},ars:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},as:ui,asa:U,ast:Wt,az:U,bal:U,be:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2);return b==1&&_!=11?"one":b>=2&&b<=4&&(_<12||_>14)?"few":y&&b==0||b>=5&&b<=9||_>=11&&_<=14?"many":"other"},bem:U,bez:U,bg:U,bho:Ti,bm:je,bn:ui,bo:je,br:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2),E=y&&f[0].slice(-6);return b==1&&_!=11&&_!=71&&_!=91?"one":b==2&&_!=12&&_!=72&&_!=92?"two":(b==3||b==4||b==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&y&&E==0?"many":"other"},brx:U,bs:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},ca:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},ce:U,ceb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:U,chr:U,ckb:U,cs:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),y=f[0],b=Number(f[0])==p;return p==1||!b&&(y==0||y==1)?"one":"other"},de:Wt,doi:ui,dsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:U,dz:je,ee:U,el:U,en:Wt,eo:U,es:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1?"one":y!=0&&_==0&&b?"many":"other"},et:Wt,eu:U,fa:ui,ff:p=>p>=0&&p<2?"one":"other",fi:Wt,fil:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:U,fr:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p>=0&&p<2?"one":y!=0&&_==0&&b?"many":"other"},fur:U,fy:Wt,ga:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Wt,gsw:U,gu:ui,guw:Ti,gv:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(E==0||E==20||E==40||E==60||E==80)?"few":b?"other":"many"},ha:U,haw:U,he:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return y==1&&b||y==0&&!b?"one":y==2&&b?"two":"other"},hi:ui,hnj:je,hr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:U,hy:p=>p>=0&&p<2?"one":"other",ia:Wt,id:je,ig:je,ii:je,io:Wt,is:p=>{let f=String(p).split("."),y=f[0],b=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=y.slice(-1),k=y.slice(-2);return _&&E==1&&k!=11||b%10==1&&b%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},iu:Oi,ja:je,jbo:je,jgo:U,jmc:U,jv:je,jw:je,ka:U,kab:p=>p>=0&&p<2?"one":"other",kaj:U,kcg:U,kde:je,kea:je,kk:U,kkj:U,kl:U,km:je,kn:ui,ko:je,ks:U,ksb:U,ksh:p=>p==0?"zero":p==1?"one":"other",ku:U,kw:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2),_=y&&f[0].slice(-3),E=y&&f[0].slice(-5),k=y&&f[0].slice(-6);return p==0?"zero":p==1?"one":b==2||b==22||b==42||b==62||b==82||y&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":b==3||b==23||b==43||b==63||b==83?"few":p!=1&&(b==1||b==21||b==41||b==61||b==81)?"many":"other"},ky:U,lag:p=>{let f=String(p).split("."),y=f[0];return p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:U,lg:U,lij:Wt,lkt:je,ln:Ti,lo:je,lt:p=>{let f=String(p).split("."),y=f[1]||"",b=Number(f[0])==p,_=b&&f[0].slice(-1),E=b&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":y!=0?"many":"other"},lv:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),P=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&P==1&&D!=11||b!=2&&P==1?"one":"other"},mas:U,mg:Ti,mgo:U,mk:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":"other"},ml:U,mn:U,mo:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:U,ms:je,mt:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||b>=3&&b<=10?"few":b>=11&&b<=19?"many":"other"},my:je,nah:U,naq:Oi,nb:U,nd:U,ne:U,nl:Wt,nn:U,nnh:U,no:U,nqo:je,nr:U,nso:Ti,ny:U,nyn:U,om:U,or:U,os:U,osa:je,pa:Ti,pap:U,pcm:ui,pl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return p==1&&b?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&y!=1&&(_==0||_==1)||b&&_>=5&&_<=9||b&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),P=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&P==1&&D!=11||b!=2&&P==1?"one":"other"},ps:U,pt:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return y==0||y==1?"one":y!=0&&_==0&&b?"many":"other"},pt_PT:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},rm:U,ro:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:U,ru:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},rwk:U,sah:je,saq:U,sat:Oi,sc:Wt,scn:Wt,sd:U,sdh:U,se:Oi,seh:U,ses:je,sg:je,sh:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},shi:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"";return p==0||p==1||y==0&&b==1?"one":"other"},sk:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},sl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(_==3||_==4)||!b?"few":"other"},sma:Oi,smi:Oi,smj:Oi,smn:Oi,sms:Oi,sn:U,so:U,sq:U,sr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},ss:U,ssy:U,st:U,su:je,sv:Wt,sw:Wt,syr:U,ta:U,te:U,teo:U,th:je,ti:Ti,tig:U,tk:U,tl:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:U,to:je,tpi:je,tr:U,ts:U,tzm:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:U,uk:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},und:je,ur:Wt,uz:U,ve:U,vec:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},vi:je,vo:U,vun:U,wa:Ti,wae:U,wo:je,xh:U,xog:U,yi:Wt,yo:je,yue:je,zh:je,zu:ui});let Pi="zero",X="one",rt="two",De="few",Te="many",R="other",F={cardinal:[X,R],ordinal:[R]},Ca={cardinal:[X,R],ordinal:[X,R]},Ue={cardinal:[R],ordinal:[R]},di={cardinal:[X,rt,R],ordinal:[R]};var ym=Object.freeze({__proto__:null,af:F,ak:F,am:F,an:F,ar:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[R]},ars:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[R]},as:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},asa:F,ast:F,az:{cardinal:[X,R],ordinal:[X,De,Te,R]},bal:Ca,be:{cardinal:[X,De,Te,R],ordinal:[De,R]},bem:F,bez:F,bg:F,bho:F,bm:Ue,bn:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},bo:Ue,br:{cardinal:[X,rt,De,Te,R],ordinal:[R]},brx:F,bs:{cardinal:[X,De,R],ordinal:[R]},ca:{cardinal:[X,Te,R],ordinal:[X,rt,De,R]},ce:F,ceb:F,cgg:F,chr:F,ckb:F,cs:{cardinal:[X,De,Te,R],ordinal:[R]},cy:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[Pi,X,rt,De,Te,R]},da:F,de:F,doi:F,dsb:{cardinal:[X,rt,De,R],ordinal:[R]},dv:F,dz:Ue,ee:F,el:F,en:{cardinal:[X,R],ordinal:[X,rt,De,R]},eo:F,es:{cardinal:[X,Te,R],ordinal:[R]},et:F,eu:F,fa:F,ff:F,fi:F,fil:Ca,fo:F,fr:{cardinal:[X,Te,R],ordinal:[X,R]},fur:F,fy:F,ga:{cardinal:[X,rt,De,Te,R],ordinal:[X,R]},gd:{cardinal:[X,rt,De,R],ordinal:[X,rt,De,R]},gl:F,gsw:F,gu:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},guw:F,gv:{cardinal:[X,rt,De,Te,R],ordinal:[R]},ha:F,haw:F,he:di,hi:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},hnj:Ue,hr:{cardinal:[X,De,R],ordinal:[R]},hsb:{cardinal:[X,rt,De,R],ordinal:[R]},hu:Ca,hy:Ca,ia:F,id:Ue,ig:Ue,ii:Ue,io:F,is:F,it:{cardinal:[X,Te,R],ordinal:[Te,R]},iu:di,ja:Ue,jbo:Ue,jgo:F,jmc:F,jv:Ue,jw:Ue,ka:{cardinal:[X,R],ordinal:[X,Te,R]},kab:F,kaj:F,kcg:F,kde:Ue,kea:Ue,kk:{cardinal:[X,R],ordinal:[Te,R]},kkj:F,kl:F,km:Ue,kn:F,ko:Ue,ks:F,ksb:F,ksh:{cardinal:[Pi,X,R],ordinal:[R]},ku:F,kw:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[X,Te,R]},ky:F,lag:{cardinal:[Pi,X,R],ordinal:[R]},lb:F,lg:F,lij:{cardinal:[X,R],ordinal:[Te,R]},lkt:Ue,ln:F,lo:{cardinal:[R],ordinal:[X,R]},lt:{cardinal:[X,De,Te,R],ordinal:[R]},lv:{cardinal:[Pi,X,R],ordinal:[R]},mas:F,mg:F,mgo:F,mk:{cardinal:[X,R],ordinal:[X,rt,Te,R]},ml:F,mn:F,mo:{cardinal:[X,De,R],ordinal:[X,R]},mr:{cardinal:[X,R],ordinal:[X,rt,De,R]},ms:{cardinal:[R],ordinal:[X,R]},mt:{cardinal:[X,rt,De,Te,R],ordinal:[R]},my:Ue,nah:F,naq:di,nb:F,nd:F,ne:Ca,nl:F,nn:F,nnh:F,no:F,nqo:Ue,nr:F,nso:F,ny:F,nyn:F,om:F,or:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},os:F,osa:Ue,pa:F,pap:F,pcm:F,pl:{cardinal:[X,De,Te,R],ordinal:[R]},prg:{cardinal:[Pi,X,R],ordinal:[R]},ps:F,pt:{cardinal:[X,Te,R],ordinal:[R]},pt_PT:{cardinal:[X,Te,R],ordinal:[R]},rm:F,ro:{cardinal:[X,De,R],ordinal:[X,R]},rof:F,ru:{cardinal:[X,De,Te,R],ordinal:[R]},rwk:F,sah:Ue,saq:F,sat:di,sc:{cardinal:[X,R],ordinal:[Te,R]},scn:{cardinal:[X,R],ordinal:[Te,R]},sd:F,sdh:F,se:di,seh:F,ses:Ue,sg:Ue,sh:{cardinal:[X,De,R],ordinal:[R]},shi:{cardinal:[X,De,R],ordinal:[R]},si:F,sk:{cardinal:[X,De,Te,R],ordinal:[R]},sl:{cardinal:[X,rt,De,R],ordinal:[R]},sma:di,smi:di,smj:di,smn:di,sms:di,sn:F,so:F,sq:{cardinal:[X,R],ordinal:[X,Te,R]},sr:{cardinal:[X,De,R],ordinal:[R]},ss:F,ssy:F,st:F,su:Ue,sv:Ca,sw:F,syr:F,ta:F,te:F,teo:F,th:Ue,ti:F,tig:F,tk:{cardinal:[X,R],ordinal:[De,R]},tl:Ca,tn:F,to:Ue,tpi:Ue,tr:F,ts:F,tzm:F,ug:F,uk:{cardinal:[X,De,Te,R],ordinal:[De,R]},und:Ue,ur:F,uz:F,ve:F,vec:{cardinal:[X,Te,R],ordinal:[Te,R]},vi:{cardinal:[R],ordinal:[X,R]},vo:F,vun:F,wa:F,wae:F,wo:Ue,xh:F,xog:F,yi:F,yo:Ue,yue:Ue,zh:Ue,zu:F});let Q=(p,f)=>f?"other":p==1?"one":"other",Ni=(p,f)=>f?"other":p==0||p==1?"one":"other",ur=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",On=(p,f)=>{let y=String(p).split("."),b=!y[1];return f?"other":p==1&&b?"one":"other"},Ge=(p,f)=>"other",Mi=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Rs=Object.freeze({__proto__:null,af:Q,ak:Ni,am:ur,an:Q,ar:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:Q,ast:On,az:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-1),E=b.slice(-2),k=b.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||k==100||k==200||k==300||k==400||k==500||k==600||k==700||k==800||k==900?"few":b==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:Q,bez:Q,bg:Q,bho:Ni,bm:Ge,bn:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",bo:Ge,br:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2),k=b&&y[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&b&&k==0?"many":"other"},brx:Q,bs:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},ca:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},ce:Q,ceb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},cgg:Q,chr:Q,ckb:Q,cs:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let y=String(p).split("."),b=y[0],_=Number(y[0])==p;return f?"other":p==1||!_&&(b==0||b==1)?"one":"other"},de:On,doi:ur,dsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==4?"few":"other"},dv:Q,dz:Ge,ee:Q,el:Q,en:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&b?"one":"other"},eo:Q,es:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1?"one":b!=0&&E==0&&_?"many":"other"},et:On,eu:Q,fa:ur,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:On,fil:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},fo:Q,fr:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":b!=0&&E==0&&_?"many":"other"},fur:Q,fy:On,ga:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:On,gsw:Q,gu:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",guw:Ni,gv:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(k==0||k==20||k==40||k==60||k==80)?"few":_?"other":"many"},ha:Q,haw:Q,he:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":b==1&&_||b==0&&!_?"one":b==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:Ge,hr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},hsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:On,id:Ge,ig:Ge,ii:Ge,io:On,is:(p,f)=>{let y=String(p).split("."),b=y[0],_=(y[1]||"").replace(/0+$/,""),E=Number(y[0])==p,k=b.slice(-1),D=b.slice(-2);return f?"other":E&&k==1&&D!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},iu:Mi,ja:Ge,jbo:Ge,jgo:Q,jmc:Q,jv:Ge,jw:Ge,ka:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-2);return f?b==1?"one":b==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:Q,kcg:Q,kde:Ge,kea:Ge,kk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||b&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:Q,kl:Q,km:Ge,kn:ur,ko:Ge,ks:Q,ksb:Q,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:Q,kw:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2),E=b&&y[0].slice(-3),k=b&&y[0].slice(-5),D=b&&y[0].slice(-6);return f?b&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||b&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&D==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:Q,lag:(p,f)=>{let y=String(p).split("."),b=y[0];return f?"other":p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:Q,lg:Q,lij:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&b?"one":"other"},lkt:Ge,ln:Ni,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-2),B=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&B==1&&P!=11||_!=2&&B==1?"one":"other"},mas:Q,mg:Ni,mgo:Q,mk:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?k==1&&D!=11?"one":k==2&&D!=12?"two":(k==7||k==8)&&D!=17&&D!=18?"many":"other":E&&k==1&&D!=11||P==1&&B!=11?"one":"other"},ml:Q,mn:Q,mo:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Ge,nah:Q,naq:Mi,nb:Q,nd:Q,ne:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?b&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:On,nn:Q,nnh:Q,no:Q,nqo:Ge,nr:Q,nso:Ni,ny:Q,nyn:Q,om:Q,or:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==5||b&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:Q,osa:Ge,pa:Ni,pap:Q,pcm:ur,pl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&b!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-2),B=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&B==1&&P!=11||_!=2&&B==1?"one":"other"},ps:Q,pt:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":b==0||b==1?"one":b!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},rm:Q,ro:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:Q,ru:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":_&&E==1&&k!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&k>=11&&k<=14?"many":"other"},rwk:Q,sah:Ge,saq:Q,sat:Mi,sc:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},scn:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},sd:Q,sdh:Q,se:Mi,seh:Q,ses:Ge,sg:Ge,sh:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},shi:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"";return f?"other":p==0||p==1||b==0&&_==1?"one":"other"},sk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Mi,smi:Mi,smj:Mi,smn:Mi,sms:Mi,sn:Q,so:Q,sq:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},ss:Q,ssy:Q,st:Q,su:Ge,sv:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&b?"one":"other"},sw:On,syr:Q,ta:Q,te:Q,teo:Q,th:Ge,ti:Ni,tig:Q,tk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},tn:Q,to:Ge,tpi:Ge,tr:Q,ts:Q,tzm:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:Q,uk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-1),B=b.slice(-2);return f?k==3&&D!=13?"few":"other":_&&P==1&&B!=11?"one":_&&P>=2&&P<=4&&(B<12||B>14)?"few":_&&P==0||_&&P>=5&&P<=9||_&&B>=11&&B<=14?"many":"other"},und:Ge,ur:On,uz:Q,ve:Q,vec:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:Q,vun:Q,wa:Ni,wae:Q,wo:Ge,xh:Q,xog:Q,yi:On,yo:Ge,yue:Ge,zh:Ge,zu:ur});function nu(p){if(typeof p!="string"||p.length<2)throw new RangeError("Invalid language tag: ".concat(p));if(p.startsWith("pt-PT"))return"pt-PT";var f=p.match(/.+?(?=[-_])/);return f?f[0]:p}function As(p){if(typeof p=="function"){var f=nu(p.name);return{isDefault:!1,id:na(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var y=nu(p),b=na(y);return Xae(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:Zae[b],getPlural:Rs[b],cardinals:ym[b].cardinal,ordinals:ym[b].ordinal}:null}function Kae(p){var f=Object.keys(Rs).filter(function(y){return y!==p});return f.unshift(p),f.map(As)}function Jae(p){var f=nu(p);return na(f)in Rs}function Xae(p){return p in Rs}var Qae=function(){function p(f,y){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:y&&y.strictNumberSign||!1,strictPluralKeys:!0},y),f==="*")this.plurals=Kae(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(As).filter(Boolean);else if(f){var b=As(f);b&&(this.plurals=[b])}if(this.plurals.length===0){var b=As(p.defaultLocale);this.plurals=[b]}}return p.escape=function(f,y){var b=y?/[#{}]/g:/[{}]/g;return String(f).replace(b,"'$&'")},p.supportedLocalesOf=function(f){var y=Array.isArray(f)?f:[f];return y.filter(Jae)},p.prototype.resolvedOptions=function(){return i(i({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var y,b,_=new Yae(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],D=[];try{for(var P=n(Object.entries(_.runtime)),B=P.next();!B.done;B=P.next()){var de=a(B.value,2),xe=de[0],Ae=de[1];k.push(xe),D.push(Ae)}}catch(tt){y={error:tt}}finally{try{B&&!B.done&&(b=P.return)&&b.call(P)}finally{if(y)throw y.error}}var ne=new(Function.bind.apply(Function,r(r([void 0],a(k),!1),[E],!1)));return ne.apply(void 0,r([],a(D),!1))},p.defaultLocale="en",p}();return Qae})}),In=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var i=function n(a,r){t(this,n),this.data=a,this.text=r.text||a,this.options=r};e.default=i}),dre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,L){for(var N=0;N<L.length;N++){var re=L[N];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(T,re.key,re)}}return function(T,L,N){return L&&S(T.prototype,L),N&&S(T,N),T}}(),i=In(),n=a(i);function a(S){return S&&S.__esModule?S:{default:S}}function r(S,T){if(!(S instanceof T))throw new TypeError("Cannot call a class as a function")}function o(S,T){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:S}function l(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(S,T):S.__proto__=T)}var u=function(S){l(T,S);function T(L,N){return r(this,T),L=L.toUpperCase(),N.mod43&&(L+=g(w(L))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,L,N))}return t(T,[{key:"encode",value:function(){for(var L=m("*"),N=0;N<this.data.length;N++)L+=m(this.data[N])+"0";return L+=m("*"),{data:L,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(n.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],h=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(S){return v(x(S))}function v(S){return h[S].toString(2)}function g(S){return c[S]}function x(S){return c.indexOf(S)}function w(S){for(var T=0,L=0;L<S.length;L++)T+=x(S[L]);return T=T%43,T}e.CODE39=u}),is=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function i(c,h,m){return h in c?Object.defineProperty(c,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[h]=m,c}var n=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},i(t,o,n),i(t,l,a),i(t,u,r),t),e.SWAP={101:n,100:a,99:r},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),uc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){o(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(w){return w.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var w=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+w.result+m.getBar((w.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var w=void 0,S=void 0;if(v[0]>=200){S=v.shift()-105;var T=a.SWAP[S];T!==void 0?w=m.next(v,g+1,T):((x===a.SET_A||x===a.SET_B)&&S===a.SHIFT&&(v[0]=x===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),w=m.next(v,g+1,x))}else S=m.correctIndex(v,x),w=m.next(v,g+1,x);var L=m.getBar(S),N=S*g;return{result:L+w.result,checksum:N+w.checksum}}}]),m}(n.default);e.default=c}),hre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=is(),i=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,u){var c=u?t.A_CHARS:t.B_CHARS,h=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(h)return h[1]+"Ì"+o(l.substring(h[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+r(l.substring(m.length),!u)}function o(l){var u=a(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var h=i(l)>=n(l);return u+String.fromCharCode(h?206:205)+r(l,h)}e.default=function(l){var u=void 0,c=a(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var h=i(l)>n(l);u=(h?t.A_START_CHAR:t.B_START_CHAR)+r(l,h)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),pre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uc(),i=r(t),n=hre(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(i.default);e.default=c}),mre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=pre(),i=c(t),n=mre(),a=c(n),r=fre(),o=c(r),l=gre(),u=c(l);function c(h){return h&&h.__esModule?h:{default:h}}e.CODE128=i.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=u.default}),as=me(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"]}),rs=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=as(),i=function(n,a,r){var o=n.split("").map(function(u,c){return t.BINARIES[a[c]]}).map(function(u,c){return u?u[n[c]]:""});if(r){var l=n.length-1;o=o.map(function(u,c){return c<l?u+r:u})}return o.join("")};e.default=i}),d0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){u(this,g);var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.fontSize=!w.flat&&w.fontSize>w.width*10?w.width*10:w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,w){return this.text.substr(x,w)}},{key:"leftEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"rightText",value:function(x,w){return this.text.substr(x,w)}},{key:"rightEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},w={height:this.guardHeight};return[{data:i.SIDE_BIN,options:w},{data:this.leftEncode(),text:this.leftText(),options:x},{data:i.MIDDLE_BIN,options:w},{data:this.rightEncode(),text:this.rightText(),options:x},{data:i.SIDE_BIN,options:w}]}},{key:"encodeFlat",value:function(){var x=[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),g}(o.default);e.default=m}),yre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=function v(g,x,w){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,x);if(S===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:v(T,x,w)}else{if("value"in S)return S.value;var L=S.get;return L===void 0?void 0:L.call(w)}},n=as(),a=d0(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){var g=v.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,w,S){return S%2?x+w*3:x+w},0);return(10-g%10)%10},m=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=h(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.lastChar=w.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===h(this.data)}},{key:"leftText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),w=n.EAN13_STRUCTURE[this.data[0]];return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,w)}},{key:"rightText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(x.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(x.push({data:"00"}),x.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),x}}]),g}(r.default);e.default=m}),bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var w=g[x];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),i=function m(v,g,x){v===null&&(v=Function.prototype);var w=Object.getOwnPropertyDescriptor(v,g);if(w===void 0){var S=Object.getPrototypeOf(v);return S===null?void 0:m(S,g,x)}else{if("value"in w)return w.value;var T=w.get;return T===void 0?void 0:T.call(x)}},n=d0(),a=r(n);function r(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,x,w){return w%2?g+x:g+x*3},0);return(10-v%10)%10},h=function(m){u(v,m);function v(g,x){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,x))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=h}),_re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,w){for(var S=0;S<w.length;S++){var T=w[S];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(x,T.key,T)}}return function(x,w,S){return w&&g(x.prototype,w),S&&g(x,S),x}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,x){if(!(g instanceof x))throw new TypeError("Cannot call a class as a function")}function c(g,x){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:g}function h(g,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);g.prototype=Object.create(x&&x.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(g,x):g.__proto__=x)}var m=function(g){var x=g.split("").map(function(w){return+w}).reduce(function(w,S,T){return T%2?w+S*9:w+S*3},0);return x%10},v=function(g){h(x,g);function x(w,S){return u(this,x),c(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,w,S))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var w=i.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),x}(o.default);e.default=v}),xre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=i.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(o.default);e.default=m}),h0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}();e.checksum=m;var i=rs(),n=o(i),a=In(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.displayValue=w.displayValue,w.fontSize>w.width*10?S.fontSize=w.width*10:S.fontSize=w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var x="";return x+="101",x+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),x+="101",{data:x,text:this.text}}},{key:"guardedEncoding",value:function(){var x=[];return this.displayValue&&x.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),x.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),x.push({data:"01010",options:{height:this.guardHeight}}),x.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&x.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),x}}]),g}(r.default);function m(v){var g=0,x;for(x=1;x<11;x+=2)g+=parseInt(v[x]);for(x=0;x<11;x+=2)g+=parseInt(v[x])*3;return(10-g%10)%10}e.default=h}),wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(S,T){for(var L=0;L<T.length;L++){var N=T[L];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(S,N.key,N)}}return function(S,T,L){return T&&w(S.prototype,T),L&&w(S,L),S}}(),i=rs(),n=l(i),a=In(),r=l(a),o=h0();function l(w){return w&&w.__esModule?w:{default:w}}function u(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function c(w,S){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:w}function h(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(w,S):w.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(w){h(S,w);function S(T,L){u(this,S);var N=c(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,L));if(N.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)N.middleDigits=T,N.upcA=x(T,"0"),N.text=L.text||""+N.upcA[0]+T+N.upcA[N.upcA.length-1],N.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(N.middleDigits=T.substring(1,T.length-1),N.upcA=x(N.middleDigits,T[0]),N.upcA[N.upcA.length-1]===T[T.length-1])N.isValid=!0;else return c(N);else return c(N);return N.displayValue=L.displayValue,L.fontSize>L.width*10?N.fontSize=L.width*10:N.fontSize=L.fontSize,N.guardHeight=L.height+N.fontSize/2+L.textMargin,N}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 T="";return T+="101",T+=this.encodeMiddleDigits(),T+="010101",{data:T,text:this.text}}},{key:"guardedEncoding",value:function(){var T=[];return this.displayValue&&T.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),T.push({data:"101",options:{height:this.guardHeight}}),T.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),T.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&T.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),T}},{key:"encodeMiddleDigits",value:function(){var T=this.upcA[0],L=this.upcA[this.upcA.length-1],N=v[parseInt(L)][parseInt(T)];return(0,n.default)(this.middleDigits,N)}}]),S}(r.default);function x(w,S){for(var T=parseInt(w[w.length-1]),L=m[T],N="",re=0,ve=0;ve<L.length;ve++){var ke=L[ve];ke==="X"?N+=w[re++]:N+=ke}return N=""+S+N,""+N+(0,o.checksum)(N)}e.default=g}),Ere=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=yre(),i=g(t),n=bre(),a=g(n),r=_re(),o=g(r),l=xre(),u=g(l),c=h0(),h=g(c),m=wre(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=i.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=h.default,e.UPCE=v.default}),Sre=me(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"]}),p0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=Sre(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data:i.START_BIN+g+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=i.BINARIES[v[1]];return i.BINARIES[v[0]].split("").map(function(x,w){return(x==="1"?"111":"1")+(g[w]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=c}),kre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=p0(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){var m=h.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,x){return v+g*(3-x%2*2)},0);return Math.ceil(m/10)*10-m},c=function(h){l(m,h);function m(v,g){return r(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),Cre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=p0(),i=r(t),n=kre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.ITF=i.default,e.ITF14=a.default}),os=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){l(m,h);function m(v,g){return r(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),w=x.toString(2);w=c(w,4-w.length);for(var S=0;S<w.length;S++)v+=w[S]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(h,m){for(var v=0;v<m;v++)h="0"+h;return h}e.default=u}),dc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=i;function t(n){for(var a=0,r=0;r<n.length;r++){var o=parseInt(n[r]);(r+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function i(n){for(var a=0,r=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=r[o%r.length]*l}return(11-a%11)%11}}),Ire=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod10)(m),v))}return h}(i.default);e.default=u}),Dre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod11)(m),v))}return h}(i.default);e.default=u}),Tre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Ore=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Pre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=os(),i=m(t),n=Ire(),a=m(n),r=Dre(),o=m(r),l=Tre(),u=m(l),c=Ore(),h=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=i.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=h.default}),Nre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h);var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v));return g.number=parseInt(m,10),g}return t(h,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),h}(n.default);e.pharmacode=u}),Mre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(h,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),h}(n.default);e.codabar=u}),Rre=me(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"]}}),m0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=Rre(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(S){return i.MULTI_SYMBOLS[S]||S}),g=v.map(function(S){return m.getEncoding(S)}).join(""),x=m.checksum(v,20),w=m.checksum(v.concat(x),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(x)+m.getEncoding(w)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return i.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return i.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return i.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var x=v.slice().reverse().reduce(function(w,S,T){var L=T%g+1;return w+m.symbolValue(S)*L},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=c}),Are=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=m0(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),h}(n.default);e.default=u}),Lre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=m0(),i=r(t),n=Are(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=i.default,e.CODE93FullASCII=a.default}),Fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),h}(n.default);e.GenericBarcode=u}),Vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=dre(),i=vre(),n=Ere(),a=Cre(),r=Pre(),o=Nre(),l=Mre(),u=Lre(),c=Fre();e.default={CODE39:t.CODE39,CODE128:i.CODE128,CODE128A:i.CODE128A,CODE128B:i.CODE128B,CODE128C:i.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),hc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r])}return i};e.default=function(i,n){return t({},i,n)}}),jre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=[];function a(r){if(Array.isArray(r))for(var o=0;o<r.length;o++)a(r[o]);else r.text=r.text||"",r.data=r.data||"",n.push(r)}return a(i),n}}),Bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){return i.marginTop=i.marginTop||i.margin,i.marginBottom=i.marginBottom||i.margin,i.marginRight=i.marginRight||i.margin,i.marginLeft=i.marginLeft||i.margin,i}}),f0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof i[a]=="string"&&(i[a]=parseInt(i[a],10)));return typeof i.displayValue=="string"&&(i.displayValue=i.displayValue!="false"),i}}),g0=me(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}),zre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=f0(),i=r(t),n=g0(),a=r(n);function r(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in a.default)a.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,i.default)(u),u}e.default=o}),v0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=hc(),i=n(t);function n(h){return h&&h.__esModule?h:{default:h}}function a(h,m){return m.height+(m.displayValue&&h.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(h,m,v){if(v.displayValue&&m<h){if(v.textAlign=="center")return Math.floor((h-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(h-m)}return 0}function o(h,m,v){for(var g=0;g<h.length;g++){var x=h[g],w=(0,i.default)(m,x.options),S;w.displayValue?S=c(x.text,w,v):S=0;var T=x.data.length*w.width;x.width=Math.ceil(Math.max(S,T)),x.height=a(x,w),x.barcodePadding=r(S,T,w)}}function l(h){for(var m=0,v=0;v<h.length;v++)m+=h[v].width;return m}function u(h){for(var m=0,v=0;v<h.length;v++)h[v].height>m&&(m=h[v].height);return m}function c(h,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var x=g.measureText(h);if(!x)return 0;var w=x.width;return w}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),Hre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,h){for(var m=0;m<h.length;m++){var v=h[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,h,m){return h&&u(c.prototype,h),m&&u(c,m),c}}(),i=hc(),n=r(i),a=v0();function r(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l=function(){function u(c,h,m){o(this,u),this.canvas=c,this.encodings=h,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var h=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(h,this.encodings[c]),this.drawCanvasText(h,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,c);var h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=h+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,h){var m=this.canvas.getContext("2d"),v=h.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var x=0;x<v.length;x++){var w=x*c.width+h.barcodePadding;v[x]==="1"?m.fillRect(w,g,c.width,c.height):v[x]&&m.fillRect(w,g,c.width,c.height*v[x])}}},{key:"drawCanvasText",value:function(c,h){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,x;c.textPosition=="top"?x=c.marginTop+c.fontSize-c.textMargin:x=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||h.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=h.width-1,m.textAlign="right"):(g=h.width/2,m.textAlign="center"),m.fillText(h.text,g,x)}}},{key:"moveCanvasDrawing",value:function(c){var h=this.canvas.getContext("2d");h.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),Ure=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=hc(),n=r(i),a=v0();function r(c){return c&&c.__esModule?c:{default:c}}function o(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(h,m,v){o(this,c),this.svg=h,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var h=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),x=this.createGroup(h,g.marginTop,this.svg);this.setGroupOptions(x,g),this.drawSvgBarcode(x,g,v),this.drawSVGText(x,g,v),h+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=h+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(h,m,v){var g=v.data,x;m.textPosition=="top"?x=m.fontSize+m.textMargin:x=0;for(var w=0,S=0,T=0;T<g.length;T++)S=T*m.width+v.barcodePadding,g[T]==="1"?w++:w>0&&(this.drawRect(S-m.width*w,x,m.width*w,m.height,h),w=0);w>0&&this.drawRect(S-m.width*(w-1),x,m.width*w,m.height,h)}},{key:"drawSVGText",value:function(h,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,w;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?w=m.fontSize-m.textMargin:w=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",w),g.appendChild(this.document.createTextNode(v.text)),h.appendChild(g)}}},{key:"setSvgAttributes",value:function(h,m){var v=this.svg;v.setAttribute("width",h+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+h+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1"),v.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(h,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+h+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(h,m){h.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(h,m,v,g,x){var w=this.document.createElementNS(l,"rect");return w.setAttribute("x",h),w.setAttribute("y",m),w.setAttribute("width",v),w.setAttribute("height",g),x.appendChild(w),w}}]),c}();e.default=u}),Gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r,o,l){i(this,a),this.object=r,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),Wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Hre(),i=l(t),n=Ure(),a=l(n),r=Gre(),o=l(r);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:i.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),y0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function i(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var a=function(l){n(u,l);function u(c,h){t(this,u);var m=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=h,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),r=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=o}),qre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},i=zre(),n=l(i),a=Wre(),r=l(a),o=y0();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return h(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],x=0;x<v.length;x++)g.push(u(v[x]));return g}}function h(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),$re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r){i(this,a),this.api=r}return t(a,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var o=r.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),Yre=me((e,t)=>{var i=Vre(),n=N(i),a=hc(),r=N(a),o=jre(),l=N(o),u=Bre(),c=N(u),h=qre(),m=N(h),v=f0(),g=N(v),x=$re(),w=N(x),S=y0(),T=g0(),L=N(T);function N(ie){return ie&&ie.__esModule?ie:{default:ie}}var re=function(){},ve=function(ie,J,Ie){var V=new re;if(typeof ie>"u")throw Error("No element to render on was provided.");return V._renderProperties=(0,m.default)(ie),V._encodings=[],V._options=L.default,V._errorHandler=new w.default(V),typeof J<"u"&&(Ie=Ie||{},Ie.format||(Ie.format=Qe()),V.options(Ie)[Ie.format](J,Ie).render()),V};ve.getModule=function(ie){return n.default[ie]};for(ke in n.default)n.default.hasOwnProperty(ke)&&Lt(n.default,ke);var ke;function Lt(ie,J){re.prototype[J]=re.prototype[J.toUpperCase()]=re.prototype[J.toLowerCase()]=function(Ie,V){var H=this;return H._errorHandler.wrapBarcodeCall(function(){V.text=typeof V.text>"u"?void 0:""+V.text;var te=(0,r.default)(H._options,V);te=(0,g.default)(te);var Ne=ie[J],Je=xt(Ie,Ne,te);return H._encodings.push(Je),H})}}function xt(ie,J,Ie){ie=""+ie;var V=new J(ie,Ie);if(!V.valid())throw new S.InvalidInputException(V.constructor.name,ie);var H=V.encode();H=(0,l.default)(H);for(var te=0;te<H.length;te++)H[te].options=(0,r.default)(Ie,H[te].options);return H}function Qe(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}re.prototype.options=function(ie){return this._options=(0,r.default)(this._options,ie),this},re.prototype.blank=function(ie){var J=new Array(ie+1).join("0");return this._encodings.push({data:J}),this},re.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ie;for(var J in this._renderProperties){ie=this._renderProperties[J];var Ie=(0,r.default)(this._options,ie.options);Ie.format=="auto"&&(Ie.format=Qe()),this._errorHandler.wrapBarcodeCall(function(){var V=Ie.value,H=n.default[Ie.format.toUpperCase()],te=xt(V,H,Ie);It(ie,te,Ie)})}}},re.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var ie=0;ie<this._renderProperties.length;ie++)It(this._renderProperties[ie],this._encodings,this._options);else It(this._renderProperties,this._encodings,this._options);return this},re.prototype._defaults=L.default;function It(ie,J,Ie){J=(0,l.default)(J);for(var V=0;V<J.length;V++)J[V].options=(0,r.default)(Ie,J[V].options),(0,c.default)(J[V].options);(0,c.default)(Ie);var H=ie.renderer,te=new H(ie.element,J,Ie);te.render(),ie.afterRender&&ie.afterRender()}typeof window<"u"&&(window.JsBarcode=ve),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ie,J){var Ie=[];return jQuery(this).each(function(){Ie.push(this)}),ve(Ie,ie,J)}),t.exports=ve});function dh(e,t){return Object.is(e,t)}var Et=null,cl=!1,hh=1,Sn=Symbol("SIGNAL");function Oe(e){let t=Et;return Et=e,t}function Zre(){return Et}var $r={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 pc(e){if(cl)throw new Error("");if(Et===null)return;Et.consumerOnSignalRead(e);let t=Et.nextProducerIndex++;if(vc(Et),t<Et.producerNode.length&&Et.producerNode[t]!==e&&Fo(Et)){let i=Et.producerNode[t];gc(i,Et.producerIndexOfThis[t])}Et.producerNode[t]!==e&&(Et.producerNode[t]=e,Et.producerIndexOfThis[t]=Fo(Et)?x0(e,Et,t):0),Et.producerLastReadVersion[t]=e.version}function Kre(){hh++}function ss(e){if(!(Fo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===hh)){if(!e.producerMustRecompute(e)&&!ph(e)){Il(e);return}e.producerRecomputeValue(e),Il(e)}}function b0(e){if(e.liveConsumerNode===void 0)return;let t=cl;cl=!0;try{for(let i of e.liveConsumerNode)i.dirty||Jre(i)}finally{cl=t}}function _0(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function Jre(e){var t;e.dirty=!0,b0(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Il(e){e.dirty=!1,e.lastCleanEpoch=hh}function Lo(e){return e&&(e.nextProducerIndex=0),Oe(e)}function mc(e,t){if(Oe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Fo(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)gc(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ph(e){vc(e);for(let t=0;t<e.producerNode.length;t++){let i=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==i.version||(ss(i),n!==i.version))return!0}return!1}function fc(e){if(vc(e),Fo(e))for(let t=0;t<e.producerNode.length;t++)gc(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 x0(e,t,i){if(w0(e),e.liveConsumerNode.length===0&&E0(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=x0(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function gc(e,t){if(w0(e),e.liveConsumerNode.length===1&&E0(e))for(let n=0;n<e.producerNode.length;n++)gc(e.producerNode[n],e.producerIndexOfThis[n]);let i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];vc(a),a.producerIndexOfThis[n]=t}}function Fo(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function vc(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function w0(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function E0(e){return e.producerNode!==void 0}function Xre(e,t){let i=Object.create(Qre);i.computation=e,t!==void 0&&(i.equal=t);let n=()=>{if(ss(i),pc(i),i.value===ma)throw i.error;return i.value};return n[Sn]=i,n}var ja=Symbol("UNSET"),Ir=Symbol("COMPUTING"),ma=Symbol("ERRORED"),Qre=yt(ue({},$r),{value:ja,dirty:!0,error:null,equal:dh,kind:"computed",producerMustRecompute(e){return e.value===ja||e.value===Ir},producerRecomputeValue(e){if(e.value===Ir)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ir;let i=Lo(e),n,a=!1;try{n=e.computation(),Oe(null),a=t!==ja&&t!==ma&&n!==ma&&e.equal(t,n)}catch(r){n=ma,e.error=r}finally{mc(e,i)}if(a){e.value=t;return}e.value=n,e.version++}});function eoe(){throw new Error}var S0=eoe;function k0(e){S0(e)}function toe(e){S0=e}function noe(e,t){let i=Object.create(I0);i.value=e,t!==void 0&&(i.equal=t);let n=()=>(pc(i),i.value);return n[Sn]=i,n}function yc(e,t){_0()||k0(e),e.equal(e.value,t)||(e.value=t,ioe(e))}function C0(e,t){_0()||k0(e),yc(e,t(e.value))}var I0=yt(ue({},$r),{equal:dh,value:void 0,kind:"signal"});function ioe(e){e.version++,Kre(),b0(e)}function Sm(e,t,i){let n=Object.create(ooe);n.source=e,n.computation=t,i!=null&&(n.equal=i);let a=()=>{if(ss(n),pc(n),n.value===ma)throw n.error;return n.value};return a[Sn]=n,a}function aoe(e,t){ss(e),yc(e,t),Il(e)}function roe(e,t){ss(e),C0(e,t),Il(e)}var ooe=yt(ue({},$r),{value:ja,dirty:!0,error:null,equal:dh,kind:"linkedSignal",producerMustRecompute(e){return e.value===ja||e.value===Ir},producerRecomputeValue(e){if(e.value===Ir)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ir;let i=Lo(e),n;try{let a=e.source(),r=t===ja||t===ma?void 0:{source:e.sourceValue,value:t};n=e.computation(a,r),e.sourceValue=a}catch(a){n=ma,e.error=a}finally{mc(e,i)}if(t!==ja&&n!==ma&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function soe(e){let t=Oe(null);try{return e()}finally{Oe(t)}}var id;function ul(){return id}function oa(e){let t=id;return id=e,t}var D0=Symbol("NotFound");function it(e){return typeof e=="function"}function mh(e){let t=e(i=>{Error.call(i),i.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var iu=mh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
12
+ `)},mt.prototype.clone=function(){return new mt(this.states,this.state)},mt.prototype.has=function(M){return!0},{compile:ia,states:Ai,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Li}})})(hm);var wae=hm.exports;(function(p){var f=Kc&&Kc.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let y=f(wae);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:b=>b.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:b=>b.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:b=>b.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:b=>b.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:b=>b.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:b=>b.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:b=>b.substring(0,b.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=y.default.states(p.states)})(dm),Object.defineProperty(po,"__esModule",{value:!0});var pm=po.parse=po.ParseError=void 0;let mm=dm,Ns=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Jc=p=>p==="plural"||p==="select"||p==="selectordinal";function Eae(p,f){let y="",b="";for(let _ of f){let E=_.ctx.text;switch(b+=E,_.type){case"content":y+=_.value;break;case"argument":case"function":case"octothorpe":y+=E;break;default:throw new Bt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:y.trim(),ctx:Object.assign({},f[0].ctx,{text:b})}]}let Sae=["number","date","time","spellout","ordinal","duration"],fm=["zero","one","two","few","many","other"];class Bt extends Error{constructor(f,y){super(mm.lexer.formatError(f,y))}}po.ParseError=Bt;class kae{constructor(f,y){var b,_,E,k;this.lexer=mm.lexer.reset(f),this.cardinalKeys=(b=y==null?void 0:y.cardinal)!==null&&b!==void 0?b:fm,this.ordinalKeys=(_=y==null?void 0:y.ordinal)!==null&&_!==void 0?_:fm,this.strict=(E=y==null?void 0:y.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=y==null?void 0:y.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,y,b){if(b[0]==="="){if(y==="select")throw new Bt(f,`The case ${b} is not valid with select`)}else if(y!=="select"){let _=y==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(b)){let E=`The ${y} case ${b} is not valid in this locale`;throw new Bt(f,E)}}}parseSelect(f,y,b,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:b};_==="plural"||_==="selectordinal"?y=!0:this.strict&&(y=!1);for(let D of this.lexer)switch(D.type){case"offset":if(_==="select")throw new Bt(D,"Unexpected plural offset for select");if(k.cases.length>0)throw new Bt(D,"Plural offset must be set before cases");k.pluralOffset=Number(D.value),b.text+=D.text,b.lineBreaks+=D.lineBreaks;break;case"case":{this.checkSelectKey(D,_,D.value),k.cases.push({key:D.value,tokens:this.parseBody(y),ctx:Ns(D)});break}case"end":return k;default:throw new Bt(D,`Unexpected lexer token: ${D.type}`)}throw new Bt(null,"Unexpected message end")}parseArgToken(f,y){let b=Ns(f),_=this.lexer.next();if(!_)throw new Bt(null,"Unexpected message end");if(b.text+=_.text,b.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!Sae.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Bt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:b};case"func-simple":{let E=this.lexer.next();if(!E)throw new Bt(null,"Unexpected message end");if(E.type!=="end")throw new Bt(E,`Unexpected lexer token: ${E.type}`);if(b.text+=E.text,Jc(_.value.toLowerCase()))throw new Bt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:b}}case"func-args":{if(Jc(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Bt(_,k)}let E=this.parseBody(this.strict?!1:y);return this.strict&&E.length>0&&(E=Eae(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:b}}case"select":if(Jc(_.value))return this.parseSelect(f,y,b,_.value);throw new Bt(_,`Unexpected select type ${_.value}`);default:throw new Bt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,y){let b=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),b.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),b.push({type:"octothorpe",ctx:Ns(E)});else{if(E.type==="end"&&!y)return b;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let D=`Unsupported escape pattern: ${k}`;throw new Bt(E,D)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Ns(E)},b.push(_))}}if(y)return b;throw new Bt(null,"Unexpected message end")}}function Cae(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new kae(p,f).parse()}pm=po.parse=Cae;function mo(p){return mo[p]||(mo[p]=new Intl.NumberFormat(p))}function Iae(p,f,y){return mo(p).format(f-y)}function Dae(p,f,y,b){var _=f-y;if(isNaN(_))throw new Error("`"+b+"` or its offset is not a number");return mo(p).format(_)}function Tae(p,f,y,b,_){if({}.hasOwnProperty.call(b,p))return b[p];f&&(p-=f);var E=y(p,_);return E in b?b[E]:b.other}function Oae(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Pae(p,f){for(var y=0;y<p.length;++y)if(!f||f[p[y]]===void 0)throw new Error("Message requires argument '".concat(p[y],"'"))}var Nae=Object.freeze({__proto__:null,_nf:mo,number:Iae,plural:Tae,reqArgs:Pae,select:Oae,strictNumber:Dae});function Mae(p,f,y){var b={day:"numeric",month:"short",year:"numeric"};switch(y){case"full":b.weekday="long";case"long":b.month="long";break;case"short":b.month="numeric"}return new Date(p).toLocaleDateString(f,b)}function Rae(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var y=p%60,b=[Math.round(y)===y?y:y.toFixed(3)];p<60?b.unshift(0):(p=Math.round((p-Number(b[0]))/60),b.unshift(p%60),p>=60&&(p=Math.round((p-Number(b[0]))/60),b.unshift(p)));var _=b.shift();return f+_+":"+b.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var Xc={};function Ms(p,f){var y=String(p)+JSON.stringify(f);return Xc[y]||(Xc[y]=new Intl.NumberFormat(p,f)),Xc[y]}function Aae(p,f,y,b){var _=y&&y.split(":")||[],E=_[0],k=_[1],D={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||b,minimumFractionDigits:2,maximumFractionDigits:2}};return Ms(f,D[E]||{}).format(p)}var Lae=function(p,f,y){return Ms(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Fae=function(p,f){return Ms(f,{maximumFractionDigits:0}).format(p)},Vae=function(p,f){return Ms(f,{style:"percent"}).format(p)};function jae(p,f,y){var b={second:"numeric",minute:"numeric",hour:"numeric"};switch(y){case"full":case"long":b.timeZoneName="short";break;case"short":delete b.second}return new Date(p).toLocaleTimeString(f,b)}var Qc=Object.freeze({__proto__:null,date:Mae,duration:Rae,numberCurrency:Lae,numberFmt:Aae,numberInteger:Fae,numberPercent:Vae,time:jae}),Bae={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}},eu=xae(Bae);function zae(p){let f=0;for(let y=0;y<p.length;++y){let b=p.charCodeAt(y);f=(f<<5)-f+b,f|=0}return f}function na(p,f){f&&(p+=" "+zae(p).toString(36));let y=p.trim().replace(/\W+/g,"_");return eu.ES3[y]||eu.ESnext[y]||/^\d/.test(y)?"_"+y:y}function tu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!eu.ES3[f])return p?p+"."+f:f;{let y=JSON.stringify(f);return p?p+"["+y+"]":y}}var Hae=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Uae=new RegExp("^"+Hae.join("|^"));function Gae(p,f){var y=Uae.test(f),b=JSON.stringify(y?"‏":"‎");return"".concat(b," + ").concat(p," + ").concat(b)}var Wae="@messageformat/runtime",qae="@messageformat/runtime/lib/cardinals",gm="@messageformat/runtime/lib/plurals",$ae="@messageformat/runtime/lib/formatters",Yae=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,y,b){var _,E,k=this,D=this.options,P=D.localeCodeFromKey,B=D.requireAllArguments,de=D.strict,xe=D.strictPluralKeys;if(typeof f=="object"){var Ae={};try{for(var ne=n(Object.keys(f)),tt=ne.next();!tt.done;tt=ne.next()){var wt=tt.value,Vt=P?P(wt):wt,on=b&&Vt&&b[Vt]||y;Ae[wt]=this.compile(f[wt],on,b)}}catch(mt){_={error:mt}}finally{try{tt&&!tt.done&&(E=ne.return)&&E.call(ne)}finally{if(_)throw _.error}}return Ae}this.plural=y;var qn={cardinal:y.cardinals,ordinal:y.ordinals,strict:de,strictPluralKeys:xe};this.arguments=[];var ia=pm(f,qn).map(function(mt){return k.token(mt,null)}),Ri=this.arguments.length>0,Ai=this.concatenate(ia,!0);if(B&&Ri){this.setRuntimeFn("reqArgs");var Li=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Li,", d); return ").concat(Ai,"; }")}return"(".concat(Ri?"d":"",") => ").concat(Ai)},p.prototype.cases=function(f,y){var b=this,_=!0,E=f.cases.map(function(de){var xe=de.key,Ae=de.tokens;xe==="other"&&(_=!1);var ne=Ae.map(function(tt){return b.token(tt,y)});return"".concat(tu(null,xe.replace(/^=/,"")),": ").concat(b.concatenate(ne,!1))});if(_){var k=f.type,D=this.plural,P=D.cardinals,B=D.ordinals;if(k==="select"||k==="plural"&&P.includes("other")||k==="selectordinal"&&B.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,y){var b=this.options.returnType==="values";return b&&(y||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,y){if(f.type==="content")return JSON.stringify(f.value);var b=this.plural,_=b.id,E=b.lc,k,D;switch("arg"in f?(this.arguments.push(f.arg),k=[tu("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?Gae(String(k[0]),E):String(k[0]);case"select":D="select",y&&this.options.strict&&(y=null),k.push(this.cases(f,y)),this.setRuntimeFn("select");break;case"selectordinal":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var P=this.options.customFormatters[f.key],B=P&&"module"in P&&typeof P.module=="function";if(!P){if(f.key==="date"){D=this.setDateFormatter(f,k,y);break}else if(f.key==="number"){D=this.setNumberFormatter(f,k,y);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){y&&this.options.strict&&(y=null);var de=this.getFormatterArg(f,y);de&&k.push(de)}D=B?na("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(D,f.key);break}case"octothorpe":if(!y)return'"#"';k=[JSON.stringify(this.plural.locale),tu("d",y.arg),y.pluralOffset||0],this.options.strict?(D="strictNumber",k.push(JSON.stringify(y.arg)),this.setRuntimeFn("strictNumber")):(D="number",this.setRuntimeFn("number"));break}if(!D)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(D,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,y){if(na(f)!==f)throw new SyntaxError("Reserved word used as ".concat(y," identifier: ").concat(f));var b=this.runtime[f];if(!b||b.type===y)return b;throw new TypeError("Cannot override ".concat(b.type," runtime function as ").concat(y,": ").concat(f))},p.prototype.setLocale=function(f,y){var b=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,D=_.isDefault,P,B,de;if(!y&&D&&E){if(b)return;P=function(xe){return E(xe)},B=qae,de=function(){return String(E)}}else{if(b&&(!D||b.module===gm))return;P=function(xe,Ae){return k(xe,Ae)},B=D?gm:k.module||null,de=function(){return String(k)}}this.runtime[f]=Object.assign(P,{id:f,module:B,toString:de,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(Nae[f],{id:f,module:Wae,type:"runtime"}))},p.prototype.getFormatterArg=function(f,y){var b,_,E,k,D=this,P=f.key,B=f.param,de=this.options.customFormatters[P]||vm(P)&&Qc[P];if(!de||!B)return null;var xe="arg"in de&&de.arg||"string";if(xe==="options"){var Ae="";try{for(var ne=n(B),tt=ne.next();!tt.done;tt=ne.next()){var wt=tt.value;if(wt.type==="content")Ae+=wt.value;else throw new SyntaxError("Expected literal options for ".concat(P," formatter"))}}catch(Fi){b={error:Fi}}finally{try{tt&&!tt.done&&(_=ne.return)&&_.call(ne)}finally{if(b)throw b.error}}var Vt={};try{for(var on=n(Ae.split(",")),qn=on.next();!qn.done;qn=on.next()){var ia=qn.value,Ri=ia.indexOf(":");if(Ri===-1)Vt[ia.trim()]=null;else{var Ai=ia.substring(0,Ri).trim(),Li=ia.substring(Ri+1).trim();if(Li==="true")Vt[Ai]=!0;else if(Li==="false")Vt[Ai]=!1;else if(Li==="null")Vt[Ai]=null;else{var mt=Number(Li);Vt[Ai]=Number.isFinite(mt)?mt:Li}}}}catch(Fi){E={error:Fi}}finally{try{qn&&!qn.done&&(k=on.return)&&k.call(on)}finally{if(E)throw E.error}}return JSON.stringify(Vt)}else{var Ls=B.map(function(Fi){return D.token(Fi,y)});if(xe==="raw")return"[".concat(Ls.join(", "),"]");var Fs=Ls.join(" + ");return Fs?"(".concat(Fs,").trim()"):'""'}},p.prototype.setFormatter=function(f,y){if(!this.runtimeIncludes(f,"formatter")){var b=this.options.customFormatters[y||f];if(b){var _=typeof b=="function"?{formatter:b}:b;this.runtime[f]=Object.assign(_.formatter.bind({}),i(i({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in b&&b.module&&b.id?{id:na(b.id),module:typeof b.module=="function"?b.module(this.plural.locale):b.module}:{id:null,module:null})}else if(vm(f))this.runtime[f]=Object.assign(Qc[f],{type:"formatter"},{id:f,module:$ae});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale,D=E&&E.length===1&&E[0];if(D&&D.type==="content"&&/^\s*::/.test(D.value)){var P=D.value.trim().substr(2),B=na("date_".concat(k,"_").concat(P),!0);if(!this.runtimeIncludes(B,"formatter")){var de=Lt(k,P,this.options.timeZone);this.runtime[B]=Object.assign(de,{id:B,module:null,toString:function(){return xt(k,P,_.options.timeZone)},type:"formatter"})}return B}if(y.push(JSON.stringify(k)),E&&E.length>0){b&&this.options.strict&&(b=null);var xe=E.map(function(Ae){return _.token(Ae,b)});y.push("("+(xe.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return y.unshift(JSON.stringify(k)),y.push("0"),this.setRuntimeFn("number"),"number";if(y.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var D=E[0].value.trim();switch(D){case"currency":return y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var P=D.match(/^currency:([A-Z]+)$/);if(P)return y.push(JSON.stringify(P[1])),this.setFormatter("numberCurrency"),"numberCurrency";var B=na("number_".concat(k,"_").concat(D),!0);if(!this.runtimeIncludes(B,"formatter")){var de=this.options.currency,xe=bae(k,D,de);this.runtime[B]=Object.assign(xe,{id:null,module:null,toString:function(){return _ae(k,D,de)},type:"formatter"})}return B}b&&this.options.strict&&(b=null);var Ae=E.map(function(ne){return _.token(ne,b)});return y.push("("+(Ae.join(" + ")||'""')+").trim()"),y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function vm(p){return p in Qc}let U=p=>p==1?"one":"other",Ti=p=>p==0||p==1?"one":"other",ui=p=>p>=0&&p<=1?"one":"other",Wt=p=>{let f=String(p).split("."),y=!f[1];return p==1&&y?"one":"other"},je=p=>"other",Oi=p=>p==1?"one":p==2?"two":"other";var Zae=Object.freeze({__proto__:null,af:U,ak:Ti,am:ui,an:U,ar:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},ars:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},as:ui,asa:U,ast:Wt,az:U,bal:U,be:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2);return b==1&&_!=11?"one":b>=2&&b<=4&&(_<12||_>14)?"few":y&&b==0||b>=5&&b<=9||_>=11&&_<=14?"many":"other"},bem:U,bez:U,bg:U,bho:Ti,bm:je,bn:ui,bo:je,br:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2),E=y&&f[0].slice(-6);return b==1&&_!=11&&_!=71&&_!=91?"one":b==2&&_!=12&&_!=72&&_!=92?"two":(b==3||b==4||b==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&y&&E==0?"many":"other"},brx:U,bs:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},ca:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},ce:U,ceb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:U,chr:U,ckb:U,cs:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),y=f[0],b=Number(f[0])==p;return p==1||!b&&(y==0||y==1)?"one":"other"},de:Wt,doi:ui,dsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:U,dz:je,ee:U,el:U,en:Wt,eo:U,es:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1?"one":y!=0&&_==0&&b?"many":"other"},et:Wt,eu:U,fa:ui,ff:p=>p>=0&&p<2?"one":"other",fi:Wt,fil:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:U,fr:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p>=0&&p<2?"one":y!=0&&_==0&&b?"many":"other"},fur:U,fy:Wt,ga:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Wt,gsw:U,gu:ui,guw:Ti,gv:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(E==0||E==20||E==40||E==60||E==80)?"few":b?"other":"many"},ha:U,haw:U,he:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return y==1&&b||y==0&&!b?"one":y==2&&b?"two":"other"},hi:ui,hnj:je,hr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:U,hy:p=>p>=0&&p<2?"one":"other",ia:Wt,id:je,ig:je,ii:je,io:Wt,is:p=>{let f=String(p).split("."),y=f[0],b=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=y.slice(-1),k=y.slice(-2);return _&&E==1&&k!=11||b%10==1&&b%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},iu:Oi,ja:je,jbo:je,jgo:U,jmc:U,jv:je,jw:je,ka:U,kab:p=>p>=0&&p<2?"one":"other",kaj:U,kcg:U,kde:je,kea:je,kk:U,kkj:U,kl:U,km:je,kn:ui,ko:je,ks:U,ksb:U,ksh:p=>p==0?"zero":p==1?"one":"other",ku:U,kw:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2),_=y&&f[0].slice(-3),E=y&&f[0].slice(-5),k=y&&f[0].slice(-6);return p==0?"zero":p==1?"one":b==2||b==22||b==42||b==62||b==82||y&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":b==3||b==23||b==43||b==63||b==83?"few":p!=1&&(b==1||b==21||b==41||b==61||b==81)?"many":"other"},ky:U,lag:p=>{let f=String(p).split("."),y=f[0];return p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:U,lg:U,lij:Wt,lkt:je,ln:Ti,lo:je,lt:p=>{let f=String(p).split("."),y=f[1]||"",b=Number(f[0])==p,_=b&&f[0].slice(-1),E=b&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":y!=0?"many":"other"},lv:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),P=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&P==1&&D!=11||b!=2&&P==1?"one":"other"},mas:U,mg:Ti,mgo:U,mk:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":"other"},ml:U,mn:U,mo:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:U,ms:je,mt:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||b>=3&&b<=10?"few":b>=11&&b<=19?"many":"other"},my:je,nah:U,naq:Oi,nb:U,nd:U,ne:U,nl:Wt,nn:U,nnh:U,no:U,nqo:je,nr:U,nso:Ti,ny:U,nyn:U,om:U,or:U,os:U,osa:je,pa:Ti,pap:U,pcm:ui,pl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return p==1&&b?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&y!=1&&(_==0||_==1)||b&&_>=5&&_<=9||b&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),P=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&P==1&&D!=11||b!=2&&P==1?"one":"other"},ps:U,pt:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return y==0||y==1?"one":y!=0&&_==0&&b?"many":"other"},pt_PT:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},rm:U,ro:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:U,ru:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},rwk:U,sah:je,saq:U,sat:Oi,sc:Wt,scn:Wt,sd:U,sdh:U,se:Oi,seh:U,ses:je,sg:je,sh:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},shi:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"";return p==0||p==1||y==0&&b==1?"one":"other"},sk:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},sl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(_==3||_==4)||!b?"few":"other"},sma:Oi,smi:Oi,smj:Oi,smn:Oi,sms:Oi,sn:U,so:U,sq:U,sr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},ss:U,ssy:U,st:U,su:je,sv:Wt,sw:Wt,syr:U,ta:U,te:U,teo:U,th:je,ti:Ti,tig:U,tk:U,tl:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:U,to:je,tpi:je,tr:U,ts:U,tzm:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:U,uk:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},und:je,ur:Wt,uz:U,ve:U,vec:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},vi:je,vo:U,vun:U,wa:Ti,wae:U,wo:je,xh:U,xog:U,yi:Wt,yo:je,yue:je,zh:je,zu:ui});let Pi="zero",X="one",rt="two",De="few",Te="many",R="other",F={cardinal:[X,R],ordinal:[R]},Ca={cardinal:[X,R],ordinal:[X,R]},Ue={cardinal:[R],ordinal:[R]},di={cardinal:[X,rt,R],ordinal:[R]};var ym=Object.freeze({__proto__:null,af:F,ak:F,am:F,an:F,ar:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[R]},ars:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[R]},as:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},asa:F,ast:F,az:{cardinal:[X,R],ordinal:[X,De,Te,R]},bal:Ca,be:{cardinal:[X,De,Te,R],ordinal:[De,R]},bem:F,bez:F,bg:F,bho:F,bm:Ue,bn:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},bo:Ue,br:{cardinal:[X,rt,De,Te,R],ordinal:[R]},brx:F,bs:{cardinal:[X,De,R],ordinal:[R]},ca:{cardinal:[X,Te,R],ordinal:[X,rt,De,R]},ce:F,ceb:F,cgg:F,chr:F,ckb:F,cs:{cardinal:[X,De,Te,R],ordinal:[R]},cy:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[Pi,X,rt,De,Te,R]},da:F,de:F,doi:F,dsb:{cardinal:[X,rt,De,R],ordinal:[R]},dv:F,dz:Ue,ee:F,el:F,en:{cardinal:[X,R],ordinal:[X,rt,De,R]},eo:F,es:{cardinal:[X,Te,R],ordinal:[R]},et:F,eu:F,fa:F,ff:F,fi:F,fil:Ca,fo:F,fr:{cardinal:[X,Te,R],ordinal:[X,R]},fur:F,fy:F,ga:{cardinal:[X,rt,De,Te,R],ordinal:[X,R]},gd:{cardinal:[X,rt,De,R],ordinal:[X,rt,De,R]},gl:F,gsw:F,gu:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},guw:F,gv:{cardinal:[X,rt,De,Te,R],ordinal:[R]},ha:F,haw:F,he:di,hi:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},hnj:Ue,hr:{cardinal:[X,De,R],ordinal:[R]},hsb:{cardinal:[X,rt,De,R],ordinal:[R]},hu:Ca,hy:Ca,ia:F,id:Ue,ig:Ue,ii:Ue,io:F,is:F,it:{cardinal:[X,Te,R],ordinal:[Te,R]},iu:di,ja:Ue,jbo:Ue,jgo:F,jmc:F,jv:Ue,jw:Ue,ka:{cardinal:[X,R],ordinal:[X,Te,R]},kab:F,kaj:F,kcg:F,kde:Ue,kea:Ue,kk:{cardinal:[X,R],ordinal:[Te,R]},kkj:F,kl:F,km:Ue,kn:F,ko:Ue,ks:F,ksb:F,ksh:{cardinal:[Pi,X,R],ordinal:[R]},ku:F,kw:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[X,Te,R]},ky:F,lag:{cardinal:[Pi,X,R],ordinal:[R]},lb:F,lg:F,lij:{cardinal:[X,R],ordinal:[Te,R]},lkt:Ue,ln:F,lo:{cardinal:[R],ordinal:[X,R]},lt:{cardinal:[X,De,Te,R],ordinal:[R]},lv:{cardinal:[Pi,X,R],ordinal:[R]},mas:F,mg:F,mgo:F,mk:{cardinal:[X,R],ordinal:[X,rt,Te,R]},ml:F,mn:F,mo:{cardinal:[X,De,R],ordinal:[X,R]},mr:{cardinal:[X,R],ordinal:[X,rt,De,R]},ms:{cardinal:[R],ordinal:[X,R]},mt:{cardinal:[X,rt,De,Te,R],ordinal:[R]},my:Ue,nah:F,naq:di,nb:F,nd:F,ne:Ca,nl:F,nn:F,nnh:F,no:F,nqo:Ue,nr:F,nso:F,ny:F,nyn:F,om:F,or:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},os:F,osa:Ue,pa:F,pap:F,pcm:F,pl:{cardinal:[X,De,Te,R],ordinal:[R]},prg:{cardinal:[Pi,X,R],ordinal:[R]},ps:F,pt:{cardinal:[X,Te,R],ordinal:[R]},pt_PT:{cardinal:[X,Te,R],ordinal:[R]},rm:F,ro:{cardinal:[X,De,R],ordinal:[X,R]},rof:F,ru:{cardinal:[X,De,Te,R],ordinal:[R]},rwk:F,sah:Ue,saq:F,sat:di,sc:{cardinal:[X,R],ordinal:[Te,R]},scn:{cardinal:[X,R],ordinal:[Te,R]},sd:F,sdh:F,se:di,seh:F,ses:Ue,sg:Ue,sh:{cardinal:[X,De,R],ordinal:[R]},shi:{cardinal:[X,De,R],ordinal:[R]},si:F,sk:{cardinal:[X,De,Te,R],ordinal:[R]},sl:{cardinal:[X,rt,De,R],ordinal:[R]},sma:di,smi:di,smj:di,smn:di,sms:di,sn:F,so:F,sq:{cardinal:[X,R],ordinal:[X,Te,R]},sr:{cardinal:[X,De,R],ordinal:[R]},ss:F,ssy:F,st:F,su:Ue,sv:Ca,sw:F,syr:F,ta:F,te:F,teo:F,th:Ue,ti:F,tig:F,tk:{cardinal:[X,R],ordinal:[De,R]},tl:Ca,tn:F,to:Ue,tpi:Ue,tr:F,ts:F,tzm:F,ug:F,uk:{cardinal:[X,De,Te,R],ordinal:[De,R]},und:Ue,ur:F,uz:F,ve:F,vec:{cardinal:[X,Te,R],ordinal:[Te,R]},vi:{cardinal:[R],ordinal:[X,R]},vo:F,vun:F,wa:F,wae:F,wo:Ue,xh:F,xog:F,yi:F,yo:Ue,yue:Ue,zh:Ue,zu:F});let Q=(p,f)=>f?"other":p==1?"one":"other",Ni=(p,f)=>f?"other":p==0||p==1?"one":"other",ur=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",On=(p,f)=>{let y=String(p).split("."),b=!y[1];return f?"other":p==1&&b?"one":"other"},Ge=(p,f)=>"other",Mi=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Rs=Object.freeze({__proto__:null,af:Q,ak:Ni,am:ur,an:Q,ar:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:Q,ast:On,az:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-1),E=b.slice(-2),k=b.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||k==100||k==200||k==300||k==400||k==500||k==600||k==700||k==800||k==900?"few":b==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:Q,bez:Q,bg:Q,bho:Ni,bm:Ge,bn:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",bo:Ge,br:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2),k=b&&y[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&b&&k==0?"many":"other"},brx:Q,bs:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},ca:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},ce:Q,ceb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},cgg:Q,chr:Q,ckb:Q,cs:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let y=String(p).split("."),b=y[0],_=Number(y[0])==p;return f?"other":p==1||!_&&(b==0||b==1)?"one":"other"},de:On,doi:ur,dsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==4?"few":"other"},dv:Q,dz:Ge,ee:Q,el:Q,en:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&b?"one":"other"},eo:Q,es:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1?"one":b!=0&&E==0&&_?"many":"other"},et:On,eu:Q,fa:ur,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:On,fil:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},fo:Q,fr:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":b!=0&&E==0&&_?"many":"other"},fur:Q,fy:On,ga:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:On,gsw:Q,gu:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",guw:Ni,gv:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(k==0||k==20||k==40||k==60||k==80)?"few":_?"other":"many"},ha:Q,haw:Q,he:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":b==1&&_||b==0&&!_?"one":b==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:Ge,hr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},hsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:On,id:Ge,ig:Ge,ii:Ge,io:On,is:(p,f)=>{let y=String(p).split("."),b=y[0],_=(y[1]||"").replace(/0+$/,""),E=Number(y[0])==p,k=b.slice(-1),D=b.slice(-2);return f?"other":E&&k==1&&D!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},iu:Mi,ja:Ge,jbo:Ge,jgo:Q,jmc:Q,jv:Ge,jw:Ge,ka:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-2);return f?b==1?"one":b==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:Q,kcg:Q,kde:Ge,kea:Ge,kk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||b&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:Q,kl:Q,km:Ge,kn:ur,ko:Ge,ks:Q,ksb:Q,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:Q,kw:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2),E=b&&y[0].slice(-3),k=b&&y[0].slice(-5),D=b&&y[0].slice(-6);return f?b&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||b&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&D==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:Q,lag:(p,f)=>{let y=String(p).split("."),b=y[0];return f?"other":p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:Q,lg:Q,lij:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&b?"one":"other"},lkt:Ge,ln:Ni,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-2),B=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&B==1&&P!=11||_!=2&&B==1?"one":"other"},mas:Q,mg:Ni,mgo:Q,mk:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?k==1&&D!=11?"one":k==2&&D!=12?"two":(k==7||k==8)&&D!=17&&D!=18?"many":"other":E&&k==1&&D!=11||P==1&&B!=11?"one":"other"},ml:Q,mn:Q,mo:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Ge,nah:Q,naq:Mi,nb:Q,nd:Q,ne:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?b&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:On,nn:Q,nnh:Q,no:Q,nqo:Ge,nr:Q,nso:Ni,ny:Q,nyn:Q,om:Q,or:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==5||b&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:Q,osa:Ge,pa:Ni,pap:Q,pcm:ur,pl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&b!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-2),B=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&B==1&&P!=11||_!=2&&B==1?"one":"other"},ps:Q,pt:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":b==0||b==1?"one":b!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},rm:Q,ro:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:Q,ru:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":_&&E==1&&k!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&k>=11&&k<=14?"many":"other"},rwk:Q,sah:Ge,saq:Q,sat:Mi,sc:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},scn:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},sd:Q,sdh:Q,se:Mi,seh:Q,ses:Ge,sg:Ge,sh:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},shi:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"";return f?"other":p==0||p==1||b==0&&_==1?"one":"other"},sk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Mi,smi:Mi,smj:Mi,smn:Mi,sms:Mi,sn:Q,so:Q,sq:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},ss:Q,ssy:Q,st:Q,su:Ge,sv:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&b?"one":"other"},sw:On,syr:Q,ta:Q,te:Q,teo:Q,th:Ge,ti:Ni,tig:Q,tk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},tn:Q,to:Ge,tpi:Ge,tr:Q,ts:Q,tzm:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:Q,uk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-1),B=b.slice(-2);return f?k==3&&D!=13?"few":"other":_&&P==1&&B!=11?"one":_&&P>=2&&P<=4&&(B<12||B>14)?"few":_&&P==0||_&&P>=5&&P<=9||_&&B>=11&&B<=14?"many":"other"},und:Ge,ur:On,uz:Q,ve:Q,vec:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:Q,vun:Q,wa:Ni,wae:Q,wo:Ge,xh:Q,xog:Q,yi:On,yo:Ge,yue:Ge,zh:Ge,zu:ur});function nu(p){if(typeof p!="string"||p.length<2)throw new RangeError("Invalid language tag: ".concat(p));if(p.startsWith("pt-PT"))return"pt-PT";var f=p.match(/.+?(?=[-_])/);return f?f[0]:p}function As(p){if(typeof p=="function"){var f=nu(p.name);return{isDefault:!1,id:na(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var y=nu(p),b=na(y);return Xae(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:Zae[b],getPlural:Rs[b],cardinals:ym[b].cardinal,ordinals:ym[b].ordinal}:null}function Kae(p){var f=Object.keys(Rs).filter(function(y){return y!==p});return f.unshift(p),f.map(As)}function Jae(p){var f=nu(p);return na(f)in Rs}function Xae(p){return p in Rs}var Qae=function(){function p(f,y){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:y&&y.strictNumberSign||!1,strictPluralKeys:!0},y),f==="*")this.plurals=Kae(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(As).filter(Boolean);else if(f){var b=As(f);b&&(this.plurals=[b])}if(this.plurals.length===0){var b=As(p.defaultLocale);this.plurals=[b]}}return p.escape=function(f,y){var b=y?/[#{}]/g:/[{}]/g;return String(f).replace(b,"'$&'")},p.supportedLocalesOf=function(f){var y=Array.isArray(f)?f:[f];return y.filter(Jae)},p.prototype.resolvedOptions=function(){return i(i({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var y,b,_=new Yae(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],D=[];try{for(var P=n(Object.entries(_.runtime)),B=P.next();!B.done;B=P.next()){var de=a(B.value,2),xe=de[0],Ae=de[1];k.push(xe),D.push(Ae)}}catch(tt){y={error:tt}}finally{try{B&&!B.done&&(b=P.return)&&b.call(P)}finally{if(y)throw y.error}}var ne=new(Function.bind.apply(Function,r(r([void 0],a(k),!1),[E],!1)));return ne.apply(void 0,r([],a(D),!1))},p.defaultLocale="en",p}();return Qae})}),In=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var i=function n(a,r){t(this,n),this.data=a,this.text=r.text||a,this.options=r};e.default=i}),dre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,L){for(var N=0;N<L.length;N++){var re=L[N];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(T,re.key,re)}}return function(T,L,N){return L&&S(T.prototype,L),N&&S(T,N),T}}(),i=In(),n=a(i);function a(S){return S&&S.__esModule?S:{default:S}}function r(S,T){if(!(S instanceof T))throw new TypeError("Cannot call a class as a function")}function o(S,T){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:S}function l(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(S,T):S.__proto__=T)}var u=function(S){l(T,S);function T(L,N){return r(this,T),L=L.toUpperCase(),N.mod43&&(L+=g(w(L))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,L,N))}return t(T,[{key:"encode",value:function(){for(var L=m("*"),N=0;N<this.data.length;N++)L+=m(this.data[N])+"0";return L+=m("*"),{data:L,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(n.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],h=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(S){return v(x(S))}function v(S){return h[S].toString(2)}function g(S){return c[S]}function x(S){return c.indexOf(S)}function w(S){for(var T=0,L=0;L<S.length;L++)T+=x(S[L]);return T=T%43,T}e.CODE39=u}),is=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function i(c,h,m){return h in c?Object.defineProperty(c,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[h]=m,c}var n=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},i(t,o,n),i(t,l,a),i(t,u,r),t),e.SWAP={101:n,100:a,99:r},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),uc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){o(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(w){return w.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var w=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+w.result+m.getBar((w.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var w=void 0,S=void 0;if(v[0]>=200){S=v.shift()-105;var T=a.SWAP[S];T!==void 0?w=m.next(v,g+1,T):((x===a.SET_A||x===a.SET_B)&&S===a.SHIFT&&(v[0]=x===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),w=m.next(v,g+1,x))}else S=m.correctIndex(v,x),w=m.next(v,g+1,x);var L=m.getBar(S),N=S*g;return{result:L+w.result,checksum:N+w.checksum}}}]),m}(n.default);e.default=c}),hre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=is(),i=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,u){var c=u?t.A_CHARS:t.B_CHARS,h=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(h)return h[1]+"Ì"+o(l.substring(h[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+r(l.substring(m.length),!u)}function o(l){var u=a(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var h=i(l)>=n(l);return u+String.fromCharCode(h?206:205)+r(l,h)}e.default=function(l){var u=void 0,c=a(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var h=i(l)>n(l);u=(h?t.A_START_CHAR:t.B_START_CHAR)+r(l,h)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),pre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uc(),i=r(t),n=hre(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(i.default);e.default=c}),mre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=pre(),i=c(t),n=mre(),a=c(n),r=fre(),o=c(r),l=gre(),u=c(l);function c(h){return h&&h.__esModule?h:{default:h}}e.CODE128=i.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=u.default}),as=me(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"]}),rs=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=as(),i=function(n,a,r){var o=n.split("").map(function(u,c){return t.BINARIES[a[c]]}).map(function(u,c){return u?u[n[c]]:""});if(r){var l=n.length-1;o=o.map(function(u,c){return c<l?u+r:u})}return o.join("")};e.default=i}),d0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){u(this,g);var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.fontSize=!w.flat&&w.fontSize>w.width*10?w.width*10:w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,w){return this.text.substr(x,w)}},{key:"leftEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"rightText",value:function(x,w){return this.text.substr(x,w)}},{key:"rightEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},w={height:this.guardHeight};return[{data:i.SIDE_BIN,options:w},{data:this.leftEncode(),text:this.leftText(),options:x},{data:i.MIDDLE_BIN,options:w},{data:this.rightEncode(),text:this.rightText(),options:x},{data:i.SIDE_BIN,options:w}]}},{key:"encodeFlat",value:function(){var x=[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),g}(o.default);e.default=m}),yre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=function v(g,x,w){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,x);if(S===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:v(T,x,w)}else{if("value"in S)return S.value;var L=S.get;return L===void 0?void 0:L.call(w)}},n=as(),a=d0(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){var g=v.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,w,S){return S%2?x+w*3:x+w},0);return(10-g%10)%10},m=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=h(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.lastChar=w.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===h(this.data)}},{key:"leftText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),w=n.EAN13_STRUCTURE[this.data[0]];return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,w)}},{key:"rightText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(x.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(x.push({data:"00"}),x.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),x}}]),g}(r.default);e.default=m}),bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var w=g[x];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),i=function m(v,g,x){v===null&&(v=Function.prototype);var w=Object.getOwnPropertyDescriptor(v,g);if(w===void 0){var S=Object.getPrototypeOf(v);return S===null?void 0:m(S,g,x)}else{if("value"in w)return w.value;var T=w.get;return T===void 0?void 0:T.call(x)}},n=d0(),a=r(n);function r(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,x,w){return w%2?g+x:g+x*3},0);return(10-v%10)%10},h=function(m){u(v,m);function v(g,x){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,x))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=h}),_re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,w){for(var S=0;S<w.length;S++){var T=w[S];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(x,T.key,T)}}return function(x,w,S){return w&&g(x.prototype,w),S&&g(x,S),x}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,x){if(!(g instanceof x))throw new TypeError("Cannot call a class as a function")}function c(g,x){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:g}function h(g,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);g.prototype=Object.create(x&&x.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(g,x):g.__proto__=x)}var m=function(g){var x=g.split("").map(function(w){return+w}).reduce(function(w,S,T){return T%2?w+S*9:w+S*3},0);return x%10},v=function(g){h(x,g);function x(w,S){return u(this,x),c(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,w,S))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var w=i.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),x}(o.default);e.default=v}),xre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=i.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(o.default);e.default=m}),h0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}();e.checksum=m;var i=rs(),n=o(i),a=In(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.displayValue=w.displayValue,w.fontSize>w.width*10?S.fontSize=w.width*10:S.fontSize=w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var x="";return x+="101",x+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),x+="101",{data:x,text:this.text}}},{key:"guardedEncoding",value:function(){var x=[];return this.displayValue&&x.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),x.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),x.push({data:"01010",options:{height:this.guardHeight}}),x.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&x.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),x}}]),g}(r.default);function m(v){var g=0,x;for(x=1;x<11;x+=2)g+=parseInt(v[x]);for(x=0;x<11;x+=2)g+=parseInt(v[x])*3;return(10-g%10)%10}e.default=h}),wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(S,T){for(var L=0;L<T.length;L++){var N=T[L];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(S,N.key,N)}}return function(S,T,L){return T&&w(S.prototype,T),L&&w(S,L),S}}(),i=rs(),n=l(i),a=In(),r=l(a),o=h0();function l(w){return w&&w.__esModule?w:{default:w}}function u(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function c(w,S){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:w}function h(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(w,S):w.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(w){h(S,w);function S(T,L){u(this,S);var N=c(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,L));if(N.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)N.middleDigits=T,N.upcA=x(T,"0"),N.text=L.text||""+N.upcA[0]+T+N.upcA[N.upcA.length-1],N.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(N.middleDigits=T.substring(1,T.length-1),N.upcA=x(N.middleDigits,T[0]),N.upcA[N.upcA.length-1]===T[T.length-1])N.isValid=!0;else return c(N);else return c(N);return N.displayValue=L.displayValue,L.fontSize>L.width*10?N.fontSize=L.width*10:N.fontSize=L.fontSize,N.guardHeight=L.height+N.fontSize/2+L.textMargin,N}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 T="";return T+="101",T+=this.encodeMiddleDigits(),T+="010101",{data:T,text:this.text}}},{key:"guardedEncoding",value:function(){var T=[];return this.displayValue&&T.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),T.push({data:"101",options:{height:this.guardHeight}}),T.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),T.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&T.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),T}},{key:"encodeMiddleDigits",value:function(){var T=this.upcA[0],L=this.upcA[this.upcA.length-1],N=v[parseInt(L)][parseInt(T)];return(0,n.default)(this.middleDigits,N)}}]),S}(r.default);function x(w,S){for(var T=parseInt(w[w.length-1]),L=m[T],N="",re=0,ve=0;ve<L.length;ve++){var ke=L[ve];ke==="X"?N+=w[re++]:N+=ke}return N=""+S+N,""+N+(0,o.checksum)(N)}e.default=g}),Ere=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=yre(),i=g(t),n=bre(),a=g(n),r=_re(),o=g(r),l=xre(),u=g(l),c=h0(),h=g(c),m=wre(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=i.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=h.default,e.UPCE=v.default}),Sre=me(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"]}),p0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=Sre(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data:i.START_BIN+g+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=i.BINARIES[v[1]];return i.BINARIES[v[0]].split("").map(function(x,w){return(x==="1"?"111":"1")+(g[w]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=c}),kre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=p0(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){var m=h.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,x){return v+g*(3-x%2*2)},0);return Math.ceil(m/10)*10-m},c=function(h){l(m,h);function m(v,g){return r(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),Cre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=p0(),i=r(t),n=kre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.ITF=i.default,e.ITF14=a.default}),os=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){l(m,h);function m(v,g){return r(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),w=x.toString(2);w=c(w,4-w.length);for(var S=0;S<w.length;S++)v+=w[S]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(h,m){for(var v=0;v<m;v++)h="0"+h;return h}e.default=u}),dc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=i;function t(n){for(var a=0,r=0;r<n.length;r++){var o=parseInt(n[r]);(r+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function i(n){for(var a=0,r=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=r[o%r.length]*l}return(11-a%11)%11}}),Ire=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod10)(m),v))}return h}(i.default);e.default=u}),Dre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod11)(m),v))}return h}(i.default);e.default=u}),Tre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Ore=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Pre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=os(),i=m(t),n=Ire(),a=m(n),r=Dre(),o=m(r),l=Tre(),u=m(l),c=Ore(),h=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=i.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=h.default}),Nre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h);var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v));return g.number=parseInt(m,10),g}return t(h,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),h}(n.default);e.pharmacode=u}),Mre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(h,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),h}(n.default);e.codabar=u}),Rre=me(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"]}}),m0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=Rre(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(S){return i.MULTI_SYMBOLS[S]||S}),g=v.map(function(S){return m.getEncoding(S)}).join(""),x=m.checksum(v,20),w=m.checksum(v.concat(x),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(x)+m.getEncoding(w)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return i.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return i.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return i.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var x=v.slice().reverse().reduce(function(w,S,T){var L=T%g+1;return w+m.symbolValue(S)*L},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=c}),Are=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=m0(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),h}(n.default);e.default=u}),Lre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=m0(),i=r(t),n=Are(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=i.default,e.CODE93FullASCII=a.default}),Fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),h}(n.default);e.GenericBarcode=u}),Vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=dre(),i=vre(),n=Ere(),a=Cre(),r=Pre(),o=Nre(),l=Mre(),u=Lre(),c=Fre();e.default={CODE39:t.CODE39,CODE128:i.CODE128,CODE128A:i.CODE128A,CODE128B:i.CODE128B,CODE128C:i.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),hc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r])}return i};e.default=function(i,n){return t({},i,n)}}),jre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=[];function a(r){if(Array.isArray(r))for(var o=0;o<r.length;o++)a(r[o]);else r.text=r.text||"",r.data=r.data||"",n.push(r)}return a(i),n}}),Bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){return i.marginTop=i.marginTop||i.margin,i.marginBottom=i.marginBottom||i.margin,i.marginRight=i.marginRight||i.margin,i.marginLeft=i.marginLeft||i.margin,i}}),f0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof i[a]=="string"&&(i[a]=parseInt(i[a],10)));return typeof i.displayValue=="string"&&(i.displayValue=i.displayValue!="false"),i}}),g0=me(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}),zre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=f0(),i=r(t),n=g0(),a=r(n);function r(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in a.default)a.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,i.default)(u),u}e.default=o}),v0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=hc(),i=n(t);function n(h){return h&&h.__esModule?h:{default:h}}function a(h,m){return m.height+(m.displayValue&&h.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(h,m,v){if(v.displayValue&&m<h){if(v.textAlign=="center")return Math.floor((h-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(h-m)}return 0}function o(h,m,v){for(var g=0;g<h.length;g++){var x=h[g],w=(0,i.default)(m,x.options),S;w.displayValue?S=c(x.text,w,v):S=0;var T=x.data.length*w.width;x.width=Math.ceil(Math.max(S,T)),x.height=a(x,w),x.barcodePadding=r(S,T,w)}}function l(h){for(var m=0,v=0;v<h.length;v++)m+=h[v].width;return m}function u(h){for(var m=0,v=0;v<h.length;v++)h[v].height>m&&(m=h[v].height);return m}function c(h,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var x=g.measureText(h);if(!x)return 0;var w=x.width;return w}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),Hre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,h){for(var m=0;m<h.length;m++){var v=h[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,h,m){return h&&u(c.prototype,h),m&&u(c,m),c}}(),i=hc(),n=r(i),a=v0();function r(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l=function(){function u(c,h,m){o(this,u),this.canvas=c,this.encodings=h,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var h=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(h,this.encodings[c]),this.drawCanvasText(h,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,c);var h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=h+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,h){var m=this.canvas.getContext("2d"),v=h.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var x=0;x<v.length;x++){var w=x*c.width+h.barcodePadding;v[x]==="1"?m.fillRect(w,g,c.width,c.height):v[x]&&m.fillRect(w,g,c.width,c.height*v[x])}}},{key:"drawCanvasText",value:function(c,h){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,x;c.textPosition=="top"?x=c.marginTop+c.fontSize-c.textMargin:x=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||h.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=h.width-1,m.textAlign="right"):(g=h.width/2,m.textAlign="center"),m.fillText(h.text,g,x)}}},{key:"moveCanvasDrawing",value:function(c){var h=this.canvas.getContext("2d");h.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),Ure=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=hc(),n=r(i),a=v0();function r(c){return c&&c.__esModule?c:{default:c}}function o(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(h,m,v){o(this,c),this.svg=h,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var h=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),x=this.createGroup(h,g.marginTop,this.svg);this.setGroupOptions(x,g),this.drawSvgBarcode(x,g,v),this.drawSVGText(x,g,v),h+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=h+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(h,m,v){var g=v.data,x;m.textPosition=="top"?x=m.fontSize+m.textMargin:x=0;for(var w=0,S=0,T=0;T<g.length;T++)S=T*m.width+v.barcodePadding,g[T]==="1"?w++:w>0&&(this.drawRect(S-m.width*w,x,m.width*w,m.height,h),w=0);w>0&&this.drawRect(S-m.width*(w-1),x,m.width*w,m.height,h)}},{key:"drawSVGText",value:function(h,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,w;g.setAttribute("font-family",m.font),g.setAttribute("font-size",m.fontSize),m.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),m.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),m.textPosition=="top"?w=m.fontSize-m.textMargin:w=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",w),g.appendChild(this.document.createTextNode(v.text)),h.appendChild(g)}}},{key:"setSvgAttributes",value:function(h,m){var v=this.svg;v.setAttribute("width",h+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+h+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1")}},{key:"createGroup",value:function(h,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+h+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(h,m){h.setAttribute("fill",m.lineColor)}},{key:"drawRect",value:function(h,m,v,g,x){var w=this.document.createElementNS(l,"rect");return w.setAttribute("x",h),w.setAttribute("y",m),w.setAttribute("width",v),w.setAttribute("height",g),x.appendChild(w),w}}]),c}();e.default=u}),Gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r,o,l){i(this,a),this.object=r,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),Wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Hre(),i=l(t),n=Ure(),a=l(n),r=Gre(),o=l(r);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:i.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),y0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function i(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var a=function(l){n(u,l);function u(c,h){t(this,u);var m=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=h,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),r=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=o}),qre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},i=zre(),n=l(i),a=Wre(),r=l(a),o=y0();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return h(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],x=0;x<v.length;x++)g.push(u(v[x]));return g}}function h(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),$re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r){i(this,a),this.api=r}return t(a,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var o=r.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),Yre=me((e,t)=>{var i=Vre(),n=N(i),a=hc(),r=N(a),o=jre(),l=N(o),u=Bre(),c=N(u),h=qre(),m=N(h),v=f0(),g=N(v),x=$re(),w=N(x),S=y0(),T=g0(),L=N(T);function N(ie){return ie&&ie.__esModule?ie:{default:ie}}var re=function(){},ve=function(ie,J,Ie){var V=new re;if(typeof ie>"u")throw Error("No element to render on was provided.");return V._renderProperties=(0,m.default)(ie),V._encodings=[],V._options=L.default,V._errorHandler=new w.default(V),typeof J<"u"&&(Ie=Ie||{},Ie.format||(Ie.format=Qe()),V.options(Ie)[Ie.format](J,Ie).render()),V};ve.getModule=function(ie){return n.default[ie]};for(ke in n.default)n.default.hasOwnProperty(ke)&&Lt(n.default,ke);var ke;function Lt(ie,J){re.prototype[J]=re.prototype[J.toUpperCase()]=re.prototype[J.toLowerCase()]=function(Ie,V){var H=this;return H._errorHandler.wrapBarcodeCall(function(){V.text=typeof V.text>"u"?void 0:""+V.text;var te=(0,r.default)(H._options,V);te=(0,g.default)(te);var Ne=ie[J],Je=xt(Ie,Ne,te);return H._encodings.push(Je),H})}}function xt(ie,J,Ie){ie=""+ie;var V=new J(ie,Ie);if(!V.valid())throw new S.InvalidInputException(V.constructor.name,ie);var H=V.encode();H=(0,l.default)(H);for(var te=0;te<H.length;te++)H[te].options=(0,r.default)(Ie,H[te].options);return H}function Qe(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}re.prototype.options=function(ie){return this._options=(0,r.default)(this._options,ie),this},re.prototype.blank=function(ie){var J=new Array(ie+1).join("0");return this._encodings.push({data:J}),this},re.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ie;for(var J in this._renderProperties){ie=this._renderProperties[J];var Ie=(0,r.default)(this._options,ie.options);Ie.format=="auto"&&(Ie.format=Qe()),this._errorHandler.wrapBarcodeCall(function(){var V=Ie.value,H=n.default[Ie.format.toUpperCase()],te=xt(V,H,Ie);It(ie,te,Ie)})}}},re.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var ie=0;ie<this._renderProperties.length;ie++)It(this._renderProperties[ie],this._encodings,this._options);else It(this._renderProperties,this._encodings,this._options);return this},re.prototype._defaults=L.default;function It(ie,J,Ie){J=(0,l.default)(J);for(var V=0;V<J.length;V++)J[V].options=(0,r.default)(Ie,J[V].options),(0,c.default)(J[V].options);(0,c.default)(Ie);var H=ie.renderer,te=new H(ie.element,J,Ie);te.render(),ie.afterRender&&ie.afterRender()}typeof window<"u"&&(window.JsBarcode=ve),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ie,J){var Ie=[];return jQuery(this).each(function(){Ie.push(this)}),ve(Ie,ie,J)}),t.exports=ve});function dh(e,t){return Object.is(e,t)}var Et=null,cl=!1,hh=1,Sn=Symbol("SIGNAL");function Oe(e){let t=Et;return Et=e,t}function Zre(){return Et}var $r={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 pc(e){if(cl)throw new Error("");if(Et===null)return;Et.consumerOnSignalRead(e);let t=Et.nextProducerIndex++;if(vc(Et),t<Et.producerNode.length&&Et.producerNode[t]!==e&&Fo(Et)){let i=Et.producerNode[t];gc(i,Et.producerIndexOfThis[t])}Et.producerNode[t]!==e&&(Et.producerNode[t]=e,Et.producerIndexOfThis[t]=Fo(Et)?x0(e,Et,t):0),Et.producerLastReadVersion[t]=e.version}function Kre(){hh++}function ss(e){if(!(Fo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===hh)){if(!e.producerMustRecompute(e)&&!ph(e)){Il(e);return}e.producerRecomputeValue(e),Il(e)}}function b0(e){if(e.liveConsumerNode===void 0)return;let t=cl;cl=!0;try{for(let i of e.liveConsumerNode)i.dirty||Jre(i)}finally{cl=t}}function _0(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function Jre(e){var t;e.dirty=!0,b0(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Il(e){e.dirty=!1,e.lastCleanEpoch=hh}function Lo(e){return e&&(e.nextProducerIndex=0),Oe(e)}function mc(e,t){if(Oe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Fo(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)gc(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ph(e){vc(e);for(let t=0;t<e.producerNode.length;t++){let i=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==i.version||(ss(i),n!==i.version))return!0}return!1}function fc(e){if(vc(e),Fo(e))for(let t=0;t<e.producerNode.length;t++)gc(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 x0(e,t,i){if(w0(e),e.liveConsumerNode.length===0&&E0(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=x0(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function gc(e,t){if(w0(e),e.liveConsumerNode.length===1&&E0(e))for(let n=0;n<e.producerNode.length;n++)gc(e.producerNode[n],e.producerIndexOfThis[n]);let i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];vc(a),a.producerIndexOfThis[n]=t}}function Fo(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function vc(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function w0(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function E0(e){return e.producerNode!==void 0}function Xre(e,t){let i=Object.create(Qre);i.computation=e,t!==void 0&&(i.equal=t);let n=()=>{if(ss(i),pc(i),i.value===ma)throw i.error;return i.value};return n[Sn]=i,n}var ja=Symbol("UNSET"),Ir=Symbol("COMPUTING"),ma=Symbol("ERRORED"),Qre=yt(ue({},$r),{value:ja,dirty:!0,error:null,equal:dh,kind:"computed",producerMustRecompute(e){return e.value===ja||e.value===Ir},producerRecomputeValue(e){if(e.value===Ir)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ir;let i=Lo(e),n,a=!1;try{n=e.computation(),Oe(null),a=t!==ja&&t!==ma&&n!==ma&&e.equal(t,n)}catch(r){n=ma,e.error=r}finally{mc(e,i)}if(a){e.value=t;return}e.value=n,e.version++}});function eoe(){throw new Error}var S0=eoe;function k0(e){S0(e)}function toe(e){S0=e}function noe(e,t){let i=Object.create(I0);i.value=e,t!==void 0&&(i.equal=t);let n=()=>(pc(i),i.value);return n[Sn]=i,n}function yc(e,t){_0()||k0(e),e.equal(e.value,t)||(e.value=t,ioe(e))}function C0(e,t){_0()||k0(e),yc(e,t(e.value))}var I0=yt(ue({},$r),{equal:dh,value:void 0,kind:"signal"});function ioe(e){e.version++,Kre(),b0(e)}function Sm(e,t,i){let n=Object.create(ooe);n.source=e,n.computation=t,i!=null&&(n.equal=i);let a=()=>{if(ss(n),pc(n),n.value===ma)throw n.error;return n.value};return a[Sn]=n,a}function aoe(e,t){ss(e),yc(e,t),Il(e)}function roe(e,t){ss(e),C0(e,t),Il(e)}var ooe=yt(ue({},$r),{value:ja,dirty:!0,error:null,equal:dh,kind:"linkedSignal",producerMustRecompute(e){return e.value===ja||e.value===Ir},producerRecomputeValue(e){if(e.value===Ir)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ir;let i=Lo(e),n;try{let a=e.source(),r=t===ja||t===ma?void 0:{source:e.sourceValue,value:t};n=e.computation(a,r),e.sourceValue=a}catch(a){n=ma,e.error=a}finally{mc(e,i)}if(t!==ja&&n!==ma&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function soe(e){let t=Oe(null);try{return e()}finally{Oe(t)}}var id;function ul(){return id}function oa(e){let t=id;return id=e,t}var D0=Symbol("NotFound");function it(e){return typeof e=="function"}function mh(e){let t=e(i=>{Error.call(i),i.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var iu=mh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
13
  ${t.map((i,n)=>`${n+1}) ${i.toString()}`).join(`
14
14
  `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Dl(e,t){if(e){let i=e.indexOf(t);0<=i&&e.splice(i,1)}}var pn=class ad{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:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let r of i)r.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(it(n))try{n()}catch(r){t=r instanceof iu?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{km(r)}catch(o){t=t??[],o instanceof iu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new iu(t)}}add(t){var i;if(t&&t!==this)if(this.closed)km(t);else{if(t instanceof ad){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}}_hasParent(t){let{_parentage:i}=this;return i===t||Array.isArray(i)&&i.includes(t)}_addParent(t){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t}_removeParent(t){let{_parentage:i}=this;i===t?this._parentage=null:Array.isArray(i)&&Dl(i,t)}remove(t){let{_finalizers:i}=this;i&&Dl(i,t),t instanceof ad&&t._removeParent(this)}};pn.EMPTY=(()=>{let e=new pn;return e.closed=!0,e})();var T0=pn.EMPTY;function O0(e){return e instanceof pn||e&&"closed"in e&&it(e.remove)&&it(e.add)&&it(e.unsubscribe)}function km(e){it(e)?e():e.unsubscribe()}var loe={Promise:void 0},coe={setTimeout(e,t,...i){return setTimeout(e,t,...i)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function P0(e){coe.setTimeout(()=>{throw e})}function rd(){}function dl(e){e()}var fh=class extends pn{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,O0(e)&&e.add(this)):this.destination=hoe}static create(e,t,i){return new Vo(e,t,i)}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()}}},uoe=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){js(i)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){js(i)}else js(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){js(t)}}},Vo=class extends fh{constructor(e,t,i){super();let n;it(e)||!e?n={next:e??void 0,error:t??void 0,complete:i??void 0}:n=e,this.destination=new uoe(n)}};function js(e){P0(e)}function doe(e){throw e}var hoe={closed:!0,next:rd,error:doe,complete:rd},gh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Yr(e){return e}function poe(e){return e.length===0?Yr:e.length===1?e[0]:function(t){return e.reduce((i,n)=>n(i),t)}}var ht=(()=>{class e{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new e;return n.source=this,n.operator=i,n}subscribe(i,n,a){let r=foe(i)?i:new Vo(i,n,a);return dl(()=>{let{operator:o,source:l}=this;r.add(o?o.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=Cm(n),new n((a,r)=>{let o=new Vo({next:l=>{try{i(l)}catch(u){r(u),o.unsubscribe()}},error:r,complete:a});this.subscribe(o)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[gh](){return this}pipe(...i){return poe(i)(this)}toPromise(i){return i=Cm(i),new i((n,a)=>{let r;this.subscribe(o=>r=o,o=>a(o),()=>n(r))})}}return e.create=t=>new e(t),e})();function Cm(e){var t;return(t=e??loe.Promise)!==null&&t!==void 0?t:Promise}function moe(e){return e&&it(e.next)&&it(e.error)&&it(e.complete)}function foe(e){return e&&e instanceof fh||moe(e)&&O0(e)}function goe(e){return it(e==null?void 0:e.lift)}function tn(e){return t=>{if(goe(t))return t.lift(function(i){try{return e(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function $t(e,t,i,n,a){return new voe(e,t,i,n,a)}var voe=class extends fh{constructor(e,t,i,n,a,r){super(e),this.onFinalize=a,this.shouldUnsubscribe=r,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(o){e.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}},yoe=mh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),be=(()=>{class e extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new Im(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new yoe}next(i){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:a,observers:r}=this;return n||a?T0:(this.currentObservers=null,r.push(i),new pn(()=>{this.currentObservers=null,Dl(r,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:a,isStopped:r}=this;n?i.error(a):r&&i.complete()}asObservable(){let i=new ht;return i.source=this,i}}return e.create=(t,i)=>new Im(t,i),e})(),Im=class extends be{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.next)===null||i===void 0||i.call(t,e)}error(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.error)===null||i===void 0||i.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,i;return(i=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&i!==void 0?i:T0}},vh=class extends be{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:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}},yh={now(){return(yh.delegate||Date).now()},delegate:void 0},N0=class extends be{constructor(e=1/0,t=1/0,i=yh){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=i,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:i,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:r}=this;t||(i.push(e),!n&&i.push(a.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:n}=this,a=n.slice();for(let r=0;r<a.length&&!e.closed;r+=i?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<i.length&&i.splice(0,i.length-a),!n){let r=t.now(),o=0;for(let l=1;l<i.length&&i[l]<=r;l+=2)o=l;o&&i.splice(0,o+1)}}},boe=class extends pn{constructor(e,t){super()}schedule(e,t=0){return this}},od={setInterval(e,t,...i){let{delegate:n}=od;return n!=null&&n.setInterval?n.setInterval(e,t,...i):setInterval(e,t,...i)},clearInterval(e){return clearInterval(e)},delegate:void 0},_oe=class extends boe{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var i;if(this.closed)return this;this.state=e;let n=this.id,a=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(a,n,t)),this.pending=!0,this.delay=t,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,i=0){return od.setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return t;t!=null&&od.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(e,t);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i=!1,n;try{this.work(e)}catch(a){i=!0,n=a||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Dl(i,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},sd=class M0{constructor(t,i=M0.now){this.schedulerActionCtor=t,this.now=i}schedule(t,i=0,n){return new this.schedulerActionCtor(this,t).schedule(n,i)}};sd.now=yh.now;var xoe=class extends sd{constructor(e,t=sd.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}},bh=new xoe(_oe),woe=bh,R0=new ht(e=>e.complete());function A0(e){return e&&it(e.schedule)}function _h(e){return e[e.length-1]}function L0(e){return it(_h(e))?e.pop():void 0}function ls(e){return A0(_h(e))?e.pop():void 0}function Eoe(e,t){return typeof _h(e)=="number"?e.pop():t}function Soe(e,t,i,n){function a(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function l(h){try{c(n.next(h))}catch(m){o(m)}}function u(h){try{c(n.throw(h))}catch(m){o(m)}}function c(h){h.done?r(h.value):a(h.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Dm(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dr(e){return this instanceof Dr?(this.v=e,this):new Dr(e)}function koe(e,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(e,t||[]),a,r=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(g){return function(x){return Promise.resolve(x).then(g,m)}}function l(g,x){n[g]&&(a[g]=function(w){return new Promise(function(S,T){r.push([g,w,S,T])>1||u(g,w)})},x&&(a[g]=x(a[g])))}function u(g,x){try{c(n[g](x))}catch(w){v(r[0][3],w)}}function c(g){g.value instanceof Dr?Promise.resolve(g.value.v).then(h,m):v(r[0][2],g)}function h(g){u("next",g)}function m(g){u("throw",g)}function v(g,x){g(x),r.shift(),r.length&&u(r[0][0],r[0][1])}}function Coe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof Dm=="function"?Dm(e):e[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(r){i[r]=e[r]&&function(o){return new Promise(function(l,u){o=e[r](o),a(l,u,o.done,o.value)})}}function a(r,o,l,u){Promise.resolve(u).then(function(c){r({value:c,done:l})},o)}}var F0=e=>e&&typeof e.length=="number"&&typeof e!="function";function V0(e){return it(e==null?void 0:e.then)}function j0(e){return it(e[gh])}function B0(e){return Symbol.asyncIterator&&it(e==null?void 0:e[Symbol.asyncIterator])}function z0(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 Ioe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var H0=Ioe();function U0(e){return it(e==null?void 0:e[H0])}function G0(e){return koe(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:i,done:n}=yield Dr(t.read());if(n)return yield Dr(void 0);yield yield Dr(i)}}finally{t.releaseLock()}})}function W0(e){return it(e==null?void 0:e.getReader)}function gn(e){if(e instanceof ht)return e;if(e!=null){if(j0(e))return Doe(e);if(F0(e))return Toe(e);if(V0(e))return Ooe(e);if(B0(e))return q0(e);if(U0(e))return Poe(e);if(W0(e))return Noe(e)}throw z0(e)}function Doe(e){return new ht(t=>{let i=e[gh]();if(it(i.subscribe))return i.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Toe(e){return new ht(t=>{for(let i=0;i<e.length&&!t.closed;i++)t.next(e[i]);t.complete()})}function Ooe(e){return new ht(t=>{e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,P0)})}function Poe(e){return new ht(t=>{for(let i of e)if(t.next(i),t.closed)return;t.complete()})}function q0(e){return new ht(t=>{Moe(e,t).catch(i=>t.error(i))})}function Noe(e){return q0(G0(e))}function Moe(e,t){var i,n,a,r;return Soe(this,void 0,void 0,function*(){try{for(i=Coe(e);n=yield i.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(r=i.return)&&(yield r.call(i))}finally{if(a)throw a.error}}t.complete()})}function $i(e,t,i,n=0,a=!1){let r=t.schedule(function(){i(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(r),!a)return r}function $0(e,t=0){return tn((i,n)=>{i.subscribe($t(n,a=>$i(n,e,()=>n.next(a),t),()=>$i(n,e,()=>n.complete(),t),a=>$i(n,e,()=>n.error(a),t)))})}function Y0(e,t=0){return tn((i,n)=>{n.add(e.schedule(()=>i.subscribe(n),t))})}function Roe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Aoe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Loe(e,t){return new ht(i=>{let n=0;return t.schedule(function(){n===e.length?i.complete():(i.next(e[n++]),i.closed||this.schedule())})})}function Foe(e,t){return new ht(i=>{let n;return $i(i,t,()=>{n=e[H0](),$i(i,t,()=>{let a,r;try{({value:a,done:r}=n.next())}catch(o){i.error(o);return}r?i.complete():i.next(a)},0,!0)}),()=>it(n==null?void 0:n.return)&&n.return()})}function Z0(e,t){if(!e)throw new Error("Iterable cannot be null");return new ht(i=>{$i(i,t,()=>{let n=e[Symbol.asyncIterator]();$i(i,t,()=>{n.next().then(a=>{a.done?i.complete():i.next(a.value)})},0,!0)})})}function Voe(e,t){return Z0(G0(e),t)}function joe(e,t){if(e!=null){if(j0(e))return Roe(e,t);if(F0(e))return Loe(e,t);if(V0(e))return Aoe(e,t);if(B0(e))return Z0(e,t);if(U0(e))return Foe(e,t);if(W0(e))return Voe(e,t)}throw z0(e)}function nr(e,t){return t?joe(e,t):gn(e)}function vt(...e){let t=ls(e);return nr(e,t)}function Boe(e,t){let i=it(e)?e:()=>e,n=a=>a.error(i());return new ht(n)}function Oo(e){return!!e&&(e instanceof ht||it(e.lift)&&it(e.subscribe))}var zoe=mh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Hoe(e,t){return new Promise((i,n)=>{let a=!1,r;e.subscribe({next:o=>{r=o,a=!0},error:n,complete:()=>{a?i(r):n(new zoe)}})})}function Uoe(e){return e instanceof Date&&!isNaN(e)}function zt(e,t){return tn((i,n)=>{let a=0;i.subscribe($t(n,r=>{n.next(e.call(t,r,a++))}))})}var{isArray:Goe}=Array;function Woe(e,t){return Goe(t)?e(...t):e(t)}function K0(e){return zt(t=>Woe(e,t))}var{isArray:qoe}=Array,{getPrototypeOf:$oe,prototype:Yoe,keys:Zoe}=Object;function J0(e){if(e.length===1){let t=e[0];if(qoe(t))return{args:t,keys:null};if(Koe(t)){let i=Zoe(t);return{args:i.map(n=>t[n]),keys:i}}}return{args:e,keys:null}}function Koe(e){return e&&typeof e=="object"&&$oe(e)===Yoe}function X0(e,t){return e.reduce((i,n,a)=>(i[n]=t[a],i),{})}function Joe(...e){let t=ls(e),i=L0(e),{args:n,keys:a}=J0(e);if(n.length===0)return nr([],t);let r=new ht(Xoe(n,t,a?o=>X0(a,o):Yr));return i?r.pipe(K0(i)):r}function Xoe(e,t,i=Yr){return n=>{Tm(t,()=>{let{length:a}=e,r=new Array(a),o=a,l=a;for(let u=0;u<a;u++)Tm(t,()=>{let c=nr(e[u],t),h=!1;c.subscribe($t(n,m=>{r[u]=m,h||(h=!0,l--),l||n.next(i(r.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Tm(e,t,i){e?$i(i,e,t):t()}function Qoe(e,t,i,n,a,r,o,l){let u=[],c=0,h=0,m=!1,v=()=>{m&&!u.length&&!c&&t.complete()},g=w=>c<n?x(w):u.push(w),x=w=>{c++;let S=!1;gn(i(w,h++)).subscribe($t(t,T=>{t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;u.length&&c<n;){let T=u.shift();o?$i(t,o,()=>x(T)):x(T)}v()}catch(T){t.error(T)}}))};return e.subscribe($t(t,g,()=>{m=!0,v()})),()=>{}}function jo(e,t,i=1/0){return it(t)?jo((n,a)=>zt((r,o)=>t(n,r,a,o))(gn(e(n,a))),i):(typeof t=="number"&&(i=t),tn((n,a)=>Qoe(n,a,e,i)))}function Q0(e=1/0){return jo(Yr,e)}function ese(){return Q0(1)}function Bo(...e){return ese()(nr(e,ls(e)))}function Tl(e){return new ht(t=>{gn(e()).subscribe(t)})}function ev(...e){let t=L0(e),{args:i,keys:n}=J0(e),a=new ht(r=>{let{length:o}=i;if(!o){r.complete();return}let l=new Array(o),u=o,c=o;for(let h=0;h<o;h++){let m=!1;gn(i[h]).subscribe($t(r,v=>{m||(m=!0,c--),l[h]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||r.next(n?X0(n,l):l),r.complete())}))}});return t?a.pipe(K0(t)):a}function tse(e=0,t,i=woe){let n=-1;return t!=null&&(A0(t)?i=t:n=t),new ht(a=>{let r=Uoe(e)?+e-i.now():e;r<0&&(r=0);let o=0;return i.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},r)})}function cs(...e){let t=ls(e),i=Eoe(e,1/0),n=e;return n.length?n.length===1?gn(n[0]):Q0(i)(nr(n,t)):R0}function bi(e,t){return tn((i,n)=>{let a=0;i.subscribe($t(n,r=>e.call(t,r,a++)&&n.next(r)))})}function nse(e){return tn((t,i)=>{let n=!1,a=null,r=null,o=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,n){n=!1;let c=a;a=null,i.next(c)}o&&i.complete()},u=()=>{r=null,o&&i.complete()};t.subscribe($t(i,c=>{n=!0,a=c,r||gn(e(c)).subscribe(r=$t(i,l,u))},()=>{o=!0,(!n||!r||r.closed)&&i.complete()}))})}function tv(e,t=bh){return nse(()=>tse(e,t))}function nv(e){return tn((t,i)=>{let n=null,a=!1,r;n=t.subscribe($t(i,void 0,void 0,o=>{r=gn(e(o,nv(e)(t))),n?(n.unsubscribe(),n=null,r.subscribe(i)):a=!0})),a&&(n.unsubscribe(),n=null,r.subscribe(i))})}function iv(e,t){return it(t)?jo(e,t,1):jo(e,1)}function av(e,t=bh){return tn((i,n)=>{let a=null,r=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let c=r;r=null,n.next(c)}};function u(){let c=o+e,h=t.now();if(h<c){a=this.schedule(void 0,c-h),n.add(a);return}l()}i.subscribe($t(n,c=>{r=c,o=t.now(),a||(a=t.schedule(u,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{r=a=null}))})}function jn(e){return e<=0?()=>R0:tn((t,i)=>{let n=0;t.subscribe($t(i,a=>{++n<=e&&(i.next(a),e<=n&&i.complete())}))})}function ise(e,t=Yr){return e=e??ase,tn((i,n)=>{let a,r=!0;i.subscribe($t(n,o=>{let l=t(o);(r||!e(a,l))&&(r=!1,a=l,n.next(o))}))})}function ase(e,t){return e===t}function rv(e){return tn((t,i)=>{try{t.subscribe(i)}finally{i.add(e)}})}function ov(e={}){let{connector:t=()=>new be,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return r=>{let o,l,u,c=0,h=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=u=void 0,h=m=!1},x=()=>{let w=o;g(),w==null||w.unsubscribe()};return tn((w,S)=>{c++,!m&&!h&&v();let T=u=u??t();S.add(()=>{c--,c===0&&!m&&!h&&(l=au(x,a))}),T.subscribe(S),!o&&c>0&&(o=new Vo({next:L=>T.next(L),error:L=>{m=!0,v(),l=au(g,i,L),T.error(L)},complete:()=>{h=!0,v(),l=au(g,n),T.complete()}}),gn(w).subscribe(o))})(r)}}function au(e,t,...i){if(t===!0){e();return}if(t===!1)return;let n=new Vo({next:()=>{n.unsubscribe(),e()}});return gn(t(...i)).subscribe(n)}function Om(e,t,i){let n;return n=e,ov({connector:()=>new N0(n,t,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function sv(e){return bi((t,i)=>e<=i)}function Tr(...e){let t=ls(e);return tn((i,n)=>{(t?Bo(e,i,t):Bo(e,i)).subscribe(n)})}function zo(e,t){return tn((i,n)=>{let a=null,r=0,o=!1,l=()=>o&&!a&&n.complete();i.subscribe($t(n,u=>{a==null||a.unsubscribe();let c=0,h=r++;gn(e(u,h)).subscribe(a=$t(n,m=>n.next(t?t(u,m,h,c++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function zi(e){return tn((t,i)=>{gn(e).subscribe($t(i,()=>i.complete(),rd)),!i.closed&&t.subscribe(i)})}function hl(e,t,i){let n=it(e)||t||i?{next:e,error:t,complete:i}:e;return n?tn((a,r)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe($t(r,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),r.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),r.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),r.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Yr}var lv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Z=class extends Error{constructor(t,i){super(cv(t,i));s(this,"code");this.code=t}};function rse(e){return`NG0${Math.abs(e)}`}function cv(e,t){return`${rse(e)}${t?": "+t:""}`}var uv=Symbol("InputSignalNode#UNSET"),ose=yt(ue({},I0),{transformFn:void 0,applyValueToInputSignal(e,t){yc(e,t)}});function dv(e,t){let i=Object.create(ose);i.value=e,i.transformFn=t==null?void 0:t.transform;function n(){if(pc(i),i.value===uv){let a=null;throw new Z(-950,a)}return i.value}return n[Sn]=i,n}function us(e){return{toString:e}.toString()}var Bs="__parameters__";function sse(e){return function(...t){}}function hv(e,t,i){return us(()=>{let n=sse();function a(...r){if(this instanceof a)return n.apply(this,r),this;let o=new a(...r);return l.annotation=o,l;function l(u,c,h){let m=u.hasOwnProperty(Bs)?u[Bs]:Object.defineProperty(u,Bs,{value:[]})[Bs];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(o),u}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var wr=globalThis;function at(e){for(let t in e)if(e[t]===at)return t;throw Error("Could not find renamed property on target object.")}function lse(e,t){for(let i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function Bn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Bn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let i=e.toString();if(i==null)return""+i;let n=i.indexOf(`
15
15
  `);return n>=0?i.slice(0,n):i}function ld(e,t){return e?t?`${e} ${t}`:e:t||""}var cse=at({__forward_ref__:at});function pv(e){return e.__forward_ref__=pv,e.toString=function(){return Bn(this())},e}function qt(e){return mv(e)?e():e}function mv(e){return typeof e=="function"&&e.hasOwnProperty(cse)&&e.__forward_ref__===pv}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nn(e){return{providers:e.providers||[],imports:e.imports||[]}}function xh(e){return Pm(e,fv)||Pm(e,gv)}function Pm(e,t){return e.hasOwnProperty(t)?e[t]:null}function use(e){return e&&(e[fv]||e[gv])||null}function Nm(e){return e&&(e.hasOwnProperty(Mm)||e.hasOwnProperty(dse))?e[Mm]:null}var fv=at({ɵprov:at}),Mm=at({ɵinj:at}),gv=at({ngInjectableDef:at}),dse=at({ngInjectorDef:at}),se=class{constructor(e,t){s(this,"_desc");s(this,"ngMetadataName","InjectionToken");s(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=W({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vv(e){return e&&!!e.ɵproviders}var hse=at({ɵcmp:at}),pse=at({ɵdir:at}),mse=at({ɵpipe:at}),Ol=at({ɵfac:at}),Po=at({__NG_ELEMENT_ID__:at}),Rm=at({__NG_ENV_ID__:at});function bc(e){return typeof e=="string"?e:e==null?"":String(e)}function fse(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():bc(e)}function yv(e,t){throw new Z(-200,e)}function wh(e,t){throw new Z(-201,!1)}var Me=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}(Me||{}),cd;function bv(){return cd}function dn(e){let t=cd;return cd=e,t}function _v(e,t,i){let n=xh(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&Me.Optional)return null;if(t!==void 0)return t;wh()}var gse={},Wa=gse,ud="__NG_DI_FLAG__",xv=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let i=t;return this.injector.get(e,i.optional?D0:Wa,i)}},Pl="ngTempTokenPath",vse="ngTokenPath",yse=/\n/gm,bse="ɵ",Am="__source";function _se(e,t=Me.Default){if(ul()===void 0)throw new Z(-203,!1);if(ul()===null)return _v(e,void 0,t);{let i=ul(),n;return i instanceof xv?n=i.injector:n=i,n.get(e,t&Me.Optional?null:void 0,t)}}function pe(e,t=Me.Default){return(bv()||_se)(qt(e),t)}function C(e,t=Me.Default){return pe(e,_c(t))}function _c(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function dd(e){let t=[];for(let i=0;i<e.length;i++){let n=qt(e[i]);if(Array.isArray(n)){if(n.length===0)throw new Z(900,!1);let a,r=Me.Default;for(let o=0;o<n.length;o++){let l=n[o],u=xse(l);typeof u=="number"?u===-1?a=l.token:r|=u:a=l}t.push(pe(a,r))}else t.push(pe(n))}return t}function wv(e,t){return e[ud]=t,e.prototype[ud]=t,e}function xse(e){return e[ud]}function wse(e,t,i,n){let a=e[Pl];throw t[Am]&&a.unshift(t[Am]),e.message=Ese(`
16
16
  `+e.message,a,i,n),e[vse]=a,e[Pl]=null,e}function Ese(e,t,i,n=null){e=e&&e.charAt(0)===`
17
17
  `&&e.charAt(1)==bse?e.slice(2):e;let a=Bn(t);if(Array.isArray(t))a=t.map(Bn).join(" -> ");else if(typeof t=="object"){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];r.push(o+":"+(typeof l=="string"?JSON.stringify(l):Bn(l)))}a=`{${r.join(", ")}}`}return`${i}${n?"("+n+")":""}[${a}]: ${e.replace(yse,`
18
- `)}`}var Sse=wv(hv("Optional"),8),kse=wv(hv("SkipSelf"),4);function qa(e,t){return e.hasOwnProperty(Ol)?e[Ol]:null}function Cse(e,t,i){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],r=t[n];if(i&&(a=i(a),r=i(r)),r!==a)return!1}return!0}function Ise(e){return e.flat(Number.POSITIVE_INFINITY)}function Eh(e,t){e.forEach(i=>Array.isArray(i)?Eh(i,t):t(i))}function Ev(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Nl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dse(e,t){let i=[];for(let n=0;n<e;n++)i.push(t);return i}function Tse(e,t,i,n){let a=e.length;if(a==t)e.push(i,n);else if(a===1)e.push(n,e[0]),e[0]=i;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=i,e[t+1]=n}}function Sh(e,t,i){let n=ds(e,t);return n>=0?e[n|1]=i:(n=~n,Tse(e,n,t,i)),n}function ru(e,t){let i=ds(e,t);if(i>=0)return e[i|1]}function ds(e,t){return Ose(e,t,1)}function Ose(e,t,i){let n=0,a=e.length>>i;for(;a!==n;){let r=n+(a-n>>1),o=e[r<<i];if(t===o)return r<<i;o>t?a=r:n=r+1}return~(a<<i)}var xi={},hn=[],Ml=new se(""),Sv=new se("",-1),kv=new se(""),Cv=class{get(e,t=Wa){if(t===Wa){let i=new Error(`NullInjectorError: No provider for ${Bn(e)}!`);throw i.name="NullInjectorError",i}return t}};function Lr(e){return e[hse]||null}function Iv(e){return e[pse]||null}function Pse(e){return e[mse]||null}function kh(e){return{ɵproviders:e}}function Nse(...e){return{ɵproviders:Dv(!0,e),ɵfromNgModule:!0}}function Dv(e,...t){let i=[],n=new Set,a,r=o=>{i.push(o)};return Eh(t,o=>{let l=o;hd(l,r,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Tv(a,r),i}function Tv(e,t){for(let i=0;i<e.length;i++){let{ngModule:n,providers:a}=e[i];Ch(a,r=>{t(r,n)})}}function hd(e,t,i,n){if(e=qt(e),!e)return!1;let a=null,r=Nm(e),o=!r&&Lr(e);if(!r&&!o){let u=e.ngModule;if(r=Nm(u),r)a=u;else return!1}else{if(o&&!o.standalone)return!1;a=e}let l=n.has(a);if(o){if(l)return!1;if(n.add(a),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)hd(c,t,i,n)}}else if(r){if(r.imports!=null&&!l){n.add(a);let c;try{Eh(r.imports,h=>{hd(h,t,i,n)&&(c||(c=[]),c.push(h))})}finally{}c!==void 0&&Tv(c,t)}if(!l){let c=qa(a)||(()=>new a);t({provide:a,useFactory:c,deps:hn},a),t({provide:kv,useValue:a,multi:!0},a),t({provide:Ml,useValue:()=>pe(a),multi:!0},a)}let u=r.providers;if(u!=null&&!l){let c=e;Ch(u,h=>{t(h,c)})}}else return!1;return a!==e&&e.providers!==void 0}function Ch(e,t){for(let i of e)vv(i)&&(i=i.ɵproviders),Array.isArray(i)?Ch(i,t):t(i)}var Mse=at({provide:String,useValue:at});function Ov(e){return e!==null&&typeof e=="object"&&Mse in e}function Rse(e){return!!(e&&e.useExisting)}function Ase(e){return!!(e&&e.useFactory)}function Fr(e){return typeof e=="function"}function Lse(e){return!!e.useClass}var Ih=new se(""),pl={},Lm={},ou;function xc(){return ou===void 0&&(ou=new Cv),ou}var wi=class{},Dh=class extends wi{constructor(t,i,n,a){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=i,this.source=n,this.scopes=a,md(t,o=>this.processProvider(o)),this.records.set(Sv,Er(void 0,this)),a.has("environment")&&this.records.set(wi,Er(void 0,this));let r=this.records.get(Ih);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(kv,hn,Me.Self))}get destroyed(){return this._destroyed}retrieve(t,i){let n=i;return this.get(t,n.optional?D0:Wa,n)}destroy(){ko(this),this._destroyed=!0;let t=Oe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oe(t)}}onDestroy(t){return ko(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ko(this);let i=oa(this),n=dn(void 0);try{return t()}finally{oa(i),dn(n)}}get(t,i=Wa,n=Me.Default){if(ko(this),t.hasOwnProperty(Rm))return t[Rm](this);n=_c(n);let a=oa(this),r=dn(void 0);try{if(!(n&Me.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=zse(t)&&xh(t);u&&this.injectableDefInScope(u)?l=Er(pd(t),pl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Me.Self?xc():this.parent;return i=n&Me.Optional&&i===Wa?null:i,o.get(t,i)}catch(o){if(o.name==="NullInjectorError"){if((o[Pl]=o[Pl]||[]).unshift(Bn(t)),a)throw o;return wse(o,t,"R3InjectorError",this.source)}else throw o}finally{dn(r),oa(a)}}resolveInjectorInitializers(){let t=Oe(null),i=oa(this),n=dn(void 0);try{let a=this.get(Ml,hn,Me.Self);for(let r of a)r()}finally{oa(i),dn(n),Oe(t)}}toString(){let t=[],i=this.records;for(let n of i.keys())t.push(Bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qt(t);let i=Fr(t)?t:qt(t&&t.provide),n=Vse(t);if(!Fr(t)&&t.multi===!0){let a=this.records.get(i);a||(a=Er(void 0,pl,!0),a.factory=()=>dd(a.multi),this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,n)}hydrate(t,i,n){let a=Oe(null);try{return i.value===Lm?yv(Bn(t)):i.value===pl&&(i.value=Lm,i.value=i.factory(void 0,n)),typeof i.value=="object"&&i.value&&Bse(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Oe(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let i=qt(t.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){let i=this._onDestroyHooks.indexOf(t);i!==-1&&this._onDestroyHooks.splice(i,1)}};function pd(e){let t=xh(e),i=t!==null?t.factory:qa(e);if(i!==null)return i;if(e instanceof se)throw new Z(204,!1);if(e instanceof Function)return Fse(e);throw new Z(204,!1)}function Fse(e){if(e.length>0)throw new Z(204,!1);let t=use(e);return t!==null?()=>t.factory(e):()=>new e}function Vse(e){if(Ov(e))return Er(void 0,e.useValue);{let t=Pv(e);return Er(t,pl)}}function Pv(e,t,i){let n;if(Fr(e)){let a=qt(e);return qa(a)||pd(a)}else if(Ov(e))n=()=>qt(e.useValue);else if(Ase(e))n=()=>e.useFactory(...dd(e.deps||[]));else if(Rse(e))n=(a,r)=>pe(qt(e.useExisting),r!==void 0&&r&Me.Optional?Me.Optional:void 0);else{let a=qt(e&&(e.useClass||e.provide));if(jse(e))n=()=>new a(...dd(e.deps));else return qa(a)||pd(a)}return n}function ko(e){if(e.destroyed)throw new Z(205,!1)}function Er(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function jse(e){return!!e.deps}function Bse(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function zse(e){return typeof e=="function"||typeof e=="object"&&e instanceof se}function md(e,t){for(let i of e)Array.isArray(i)?md(i,t):i&&vv(i)?md(i.ɵproviders,t):t(i)}function wc(e,t){let i;e instanceof Dh?(ko(e),i=e):i=new xv(e);let n=oa(i),a=dn(void 0);try{return t()}finally{oa(n),dn(a)}}function Nv(){return bv()!==void 0||ul()!=null}function hs(e){if(!Nv())throw new Z(-203,!1)}function Hse(e){return typeof e=="function"}var Ji=0,Se=1,_e=2,en=3,ti=4,vn=5,Vr=6,Or=7,Ut=8,jr=9,Zi=10,Ct=11,Ho=12,Fm=13,Zr=14,Hn=15,$a=16,Sr=17,ni=18,Ec=19,Mv=20,fa=21,su=22,Hi=23,zn=24,ga=25,bt=26,Rv=1,Ya=7,Rl=8,Br=9,Xt=10;function va(e){return Array.isArray(e)&&typeof e[Rv]=="object"}function Xi(e){return Array.isArray(e)&&e[Rv]===!0}function Th(e){return(e.flags&4)!==0}function Kr(e){return e.componentOffset>-1}function Sc(e){return(e.flags&1)===1}function Ei(e){return!!e.template}function Al(e){return(e[_e]&512)!==0}function Jr(e){return(e[_e]&256)===256}var Use=class{constructor(e,t,i){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}};function Av(e,t,i,n){t!==null?t.applyValueToInputSignal(t,n):e[i]=n}var Oh=(()=>{let e=()=>Lv;return e.ngInherit=!0,e})();function Lv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wse),Gse}function Gse(){let e=Vv(this),t=e==null?void 0:e.current;if(t){let i=e.previous;if(i===xi)e.previous=t;else for(let n in t)i[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Wse(e,t,i,n,a){let r=this.declaredInputs[n],o=Vv(e)||qse(e,{previous:xi,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new Use(c&&c.currentValue,i,u===xi),Av(e,t,a,i)}var Fv="__ngSimpleChanges__";function Vv(e){return e[Fv]||null}function qse(e,t){return e[Fv]=t}var Za=function(e,t=null,i){},$se="svg",Yse="math";function Si(e){for(;Array.isArray(e);)e=e[Ji];return e}function jv(e,t){return Si(t[e])}function Ii(e,t){return Si(t[e.index])}function Ph(e,t){return e.data[t]}function ps(e,t){return e[t]}function Nh(e,t,i,n){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}function ki(e,t){let i=t[e];return va(i)?i:i[Ji]}function Zse(e){return(e[_e]&4)===4}function Mh(e){return(e[_e]&128)===128}function Kse(e){return Xi(e[en])}function Ka(e,t){return t==null?null:e[t]}function Bv(e){e[Sr]=0}function Rh(e){e[_e]&1024||(e[_e]|=1024,Mh(e)&&Xr(e))}function Jse(e,t){for(;e>0;)t=t[Zr],e--;return t}function ms(e){var t;return!!(e[_e]&9216||(t=e[zn])!=null&&t.dirty)}function fd(e){var t;(t=e[Zi].changeDetectionScheduler)==null||t.notify(8),e[_e]&64&&(e[_e]|=1024),ms(e)&&Xr(e)}function Xr(e){var i;(i=e[Zi].changeDetectionScheduler)==null||i.notify(0);let t=Ja(e);for(;t!==null&&!(t[_e]&8192||(t[_e]|=8192,!Mh(t)));)t=Ja(t)}function zv(e,t){if(Jr(e))throw new Z(911,!1);e[fa]===null&&(e[fa]=[]),e[fa].push(t)}function Xse(e,t){if(e[fa]===null)return;let i=e[fa].indexOf(t);i!==-1&&e[fa].splice(i,1)}function Ja(e){let t=e[en];return Xi(t)?t[en]:t}function Ah(e){return e[Or]??(e[Or]=[])}function Lh(e){return e.cleanup??(e.cleanup=[])}function Qse(e,t,i,n){let a=Ah(t);a.push(i),e.firstCreatePass&&Lh(e).push(n,a.length-1)}var Pe={lFrame:Kv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},gd=!1;function ele(){return Pe.lFrame.elementDepthCount}function tle(){Pe.lFrame.elementDepthCount++}function nle(){Pe.lFrame.elementDepthCount--}function ile(){return Pe.bindingsEnabled}function Hv(){return Pe.skipHydrationRootTNode!==null}function ale(e){return Pe.skipHydrationRootTNode===e}function rle(){Pe.skipHydrationRootTNode=null}function we(){return Pe.lFrame.lView}function pt(){return Pe.lFrame.tView}function ya(e){return Pe.lFrame.contextLView=e,e[Ut]}function ba(e){return Pe.lFrame.contextLView=null,e}function cn(){let e=Uv();for(;e!==null&&e.type===64;)e=e.parent;return e}function Uv(){return Pe.lFrame.currentTNode}function ole(){let e=Pe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ea(e,t){let i=Pe.lFrame;i.currentTNode=e,i.isParent=t}function Fh(){return Pe.lFrame.isParent}function Vh(){Pe.lFrame.isParent=!1}function Gv(){return Pe.lFrame.contextLView}function Wv(){return gd}function Ll(e){let t=gd;return gd=e,t}function Qr(){let e=Pe.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sle(e){return Pe.lFrame.bindingIndex=e}function eo(){return Pe.lFrame.bindingIndex++}function qv(e){let t=Pe.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function lle(){return Pe.lFrame.inI18n}function cle(e,t){let i=Pe.lFrame;i.bindingIndex=i.bindingRootIndex=e,vd(t)}function ule(){return Pe.lFrame.currentDirectiveIndex}function vd(e){Pe.lFrame.currentDirectiveIndex=e}function dle(e){let t=Pe.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $v(){return Pe.lFrame.currentQueryIndex}function jh(e){Pe.lFrame.currentQueryIndex=e}function hle(e){let t=e[Se];return t.type===2?t.declTNode:t.type===1?e[vn]:null}function Yv(e,t,i){if(i&Me.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(i&Me.Host))&&(a=hle(r),!(a===null||(r=r[Zr],a.type&10))););if(a===null)return!1;t=a,e=r}let n=Pe.lFrame=Zv();return n.currentTNode=t,n.lView=e,!0}function Bh(e){let t=Zv(),i=e[Se];Pe.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Zv(){let e=Pe.lFrame,t=e===null?null:e.child;return t===null?Kv(e):t}function Kv(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 Jv(){let e=Pe.lFrame;return Pe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xv=Jv;function zh(){let e=Jv();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 ple(e){return(Pe.lFrame.contextLView=Jse(e,Pe.lFrame.contextLView))[Ut]}function Qi(){return Pe.lFrame.selectedIndex}function Xa(e){Pe.lFrame.selectedIndex=e}function Hh(){let e=Pe.lFrame;return Ph(e.tView,e.selectedIndex)}function mle(){return Pe.lFrame.currentNamespace}var Qv=!0;function kc(){return Qv}function Cc(e){Qv=e}function fle(e,t,i){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(n){let o=Lv(t);(i.preOrderHooks??(i.preOrderHooks=[])).push(e,o),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,o)}a&&(i.preOrderHooks??(i.preOrderHooks=[])).push(0-e,a),r&&((i.preOrderHooks??(i.preOrderHooks=[])).push(e,r),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,r))}function Uh(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i<n;i++){let a=e.data[i].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-i,r),o&&((e.contentHooks??(e.contentHooks=[])).push(i,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(i,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-i,l),u&&((e.viewHooks??(e.viewHooks=[])).push(i,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(i,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(i,c)}}function ml(e,t,i){ey(e,t,3,i)}function fl(e,t,i,n){(e[_e]&3)===i&&ey(e,t,i,n)}function lu(e,t){let i=e[_e];(i&3)===t&&(i&=16383,i+=1,e[_e]=i)}function ey(e,t,i,n){let a=n!==void 0?e[Sr]&65535:0,r=n??-1,o=t.length-1,l=0;for(let u=a;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[Sr]+=65536),(l<r||r==-1)&&(gle(e,i,t,u),e[Sr]=(e[Sr]&4294901760)+u+2),u++}function Vm(e,t){let i=Oe(null);try{t.call(e)}finally{Oe(i)}}function gle(e,t,i,n){let a=i[n]<0,r=i[n+1],o=a?-i[n]:i[n],l=e[o];a?e[_e]>>14<e[Sr]>>16&&(e[_e]&3)===t&&(e[_e]+=16384,Vm(l,r)):Vm(l,r)}var Pr=-1,fs=class{constructor(e,t,i){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=i}};function vle(e){return(e.flags&8)!==0}function yle(e){return(e.flags&16)!==0}function ble(e,t,i){let n=0;for(;n<i.length;){let a=i[n];if(typeof a=="number"){if(a!==0)break;n++;let r=i[n++],o=i[n++],l=i[n++];e.setAttribute(t,o,l,r)}else{let r=a,o=i[++n];_le(r)?e.setProperty(t,r,o):e.setAttribute(t,r,o),n++}}return n}function ty(e){return e===3||e===4||e===6}function _le(e){return e.charCodeAt(0)===64}function zr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let i=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?i=a:i===0||(i===-1||i===2?jm(e,i,a,null,t[++n]):jm(e,i,a,null,null))}}return e}function jm(e,t,i,n,a){let r=0,o=e.length;if(t===-1)o=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===i){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}o!==-1&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,i),a!==null&&e.splice(r++,0,a)}function ny(e){return e!==Pr}function Fl(e){return e&32767}function xle(e){return e>>16}function Vl(e,t){let i=xle(e),n=t;for(;i>0;)n=n[Zr],i--;return n}var yd=!0;function jl(e){let t=yd;return yd=e,t}var wle=256,iy=wle-1,ay=5,Ele=0,_i={};function Sle(e,t,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Po)&&(n=i[Po]),n==null&&(n=i[Po]=Ele++);let a=n&iy,r=1<<a;t.data[e+(a>>ay)]|=r}function Bl(e,t){let i=ry(e,t);if(i!==-1)return i;let n=t[Se];n.firstCreatePass&&(e.injectorIndex=t.length,cu(n.data,e),cu(t,null),cu(n.blueprint,null));let a=Gh(e,t),r=e.injectorIndex;if(ny(a)){let o=Fl(a),l=Vl(a,t),u=l[Se].data;for(let c=0;c<8;c++)t[r+c]=l[o+c]|u[o+c]}return t[r+8]=a,r}function cu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ry(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Gh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let i=0,n=null,a=t;for(;a!==null;){if(n=uy(a),n===null)return Pr;if(i++,a=a[Zr],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Pr}function bd(e,t,i){Sle(e,t,i)}function kle(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let i=e.attrs;if(i){let n=i.length,a=0;for(;a<n;){let r=i[a];if(ty(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<n&&typeof i[a]=="string";)a++;else{if(r===t)return i[a+1];a=a+2}}}return null}function oy(e,t,i){if(i&Me.Optional||e!==void 0)return e;wh()}function sy(e,t,i,n){if(i&Me.Optional&&n===void 0&&(n=null),(i&(Me.Self|Me.Host))===0){let a=e[jr],r=dn(void 0);try{return a?a.get(t,n,i&Me.Optional):_v(t,n,i&Me.Optional)}finally{dn(r)}}return oy(n,t,i)}function ly(e,t,i,n=Me.Default,a){if(e!==null){if(t[_e]&2048&&!(n&Me.Self)){let o=Tle(e,t,i,n,_i);if(o!==_i)return o}let r=cy(e,t,i,n,_i);if(r!==_i)return r}return sy(t,i,n,a)}function cy(e,t,i,n,a){let r=Ile(i);if(typeof r=="function"){if(!Yv(t,e,n))return n&Me.Host?oy(a,i,n):sy(t,i,n,a);try{let o;if(o=r(n),o==null&&!(n&Me.Optional))wh(i);else return o}finally{Xv()}}else if(typeof r=="number"){let o=null,l=ry(e,t),u=Pr,c=n&Me.Host?t[Hn][vn]:null;for((l===-1||n&Me.SkipSelf)&&(u=l===-1?Gh(e,t):t[l+8],u===Pr||!zm(n,!1)?l=-1:(o=t[Se],l=Fl(u),t=Vl(u,t)));l!==-1;){let h=t[Se];if(Bm(r,l,h.data)){let m=Cle(l,t,i,o,n,c);if(m!==_i)return m}u=t[l+8],u!==Pr&&zm(n,t[Se].data[l+8]===c)&&Bm(r,l,t)?(o=h,l=Fl(u),t=Vl(u,t)):l=-1}}return a}function Cle(e,t,i,n,a,r){let o=t[Se],l=o.data[e+8],u=n==null?Kr(l)&&yd:n!=o&&(l.type&3)!==0,c=a&Me.Host&&r===l,h=gl(l,o,i,u,c);return h!==null?Uo(t,o,h,l,a):_i}function gl(e,t,i,n,a){let r=e.providerIndexes,o=t.data,l=r&1048575,u=e.directiveStart,c=e.directiveEnd,h=r>>20,m=n?l:l+h,v=a?l+h:c;for(let g=m;g<v;g++){let x=o[g];if(g<u&&i===x||g>=u&&x.type===i)return g}if(a){let g=o[u];if(g&&Ei(g)&&g.type===i)return u}return null}function Uo(e,t,i,n,a){let r=e[i],o=t.data;if(r instanceof fs){let l=r;l.resolving&&yv(fse(o[i]));let u=jl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?dn(l.injectImpl):null;Yv(e,n,Me.Default);try{r=e[i]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&i>=n.directiveStart&&fle(i,o[i],t)}finally{c!==null&&dn(c),jl(u),l.resolving=!1,Xv()}}return r}function Ile(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Po)?e[Po]:void 0;return typeof t=="number"?t>=0?t&iy:Dle:t}function Bm(e,t,i){let n=1<<e;return!!(i[t+(e>>ay)]&n)}function zm(e,t){return!(e&Me.Self)&&!(e&Me.Host&&t)}var No=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,i){return ly(this._tNode,this._lView,e,_c(i),t)}};function Dle(){return new No(cn(),we())}function Gt(e){return us(()=>{let t=e.prototype.constructor,i=t[Ol]||_d(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let r=a[Ol]||_d(a);if(r&&r!==i)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function _d(e){return mv(e)?()=>{let t=_d(qt(e));return t&&t()}:qa(e)}function Tle(e,t,i,n,a){let r=e,o=t;for(;r!==null&&o!==null&&o[_e]&2048&&!Al(o);){let l=cy(r,o,i,n|Me.Self,_i);if(l!==_i)return l;let u=r.parent;if(!u){let c=o[Mv];if(c){let h=c.get(i,_i,n);if(h!==_i)return h}u=uy(o),o=o[Zr]}r=u}return a}function uy(e){let t=e[Se],i=t.type;return i===2?t.declTNode:i===1?e[vn]:null}function Ole(e){return kle(cn(),e)}function Hm(e,t=null,i=null,n){let a=Ple(e,t,i,n);return a.resolveInjectorInitializers(),a}function Ple(e,t=null,i=null,n,a=new Set){let r=[i||hn,Nse(e)];return n=n||(typeof e=="object"?void 0:Bn(e)),new Dh(r,t||xc(),n||null,a)}var pi,st=(pi=class{static create(t,i){if(Array.isArray(t))return Hm({name:""},i,t,"");{let n=t.name??"";return Hm({name:n},t.parent,t.providers,n)}}},s(pi,"THROW_IF_NOT_FOUND",Wa),s(pi,"NULL",new Cv),s(pi,"ɵprov",W({token:pi,providedIn:"any",factory:()=>pe(Sv)})),s(pi,"__NG_ELEMENT_ID__",-1),pi),Nle=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>Ole(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},Mle=new se("");Mle.__NG_ELEMENT_ID__=e=>{let t=cn();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Me.Optional)return null;throw new Z(204,!1)};var dy=!1,ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Rle),s(e,"__NG_ENV_ID__",i=>i),e})(),hy=class extends ii{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let i=this._lView;return Jr(i)?(t(),()=>{}):(zv(i,t),()=>Xse(i,t))}};function Rle(){return new hy(we())}var to=class{},py=new se("",{providedIn:"root",factory:()=>!1}),my=new se(""),fy=new se(""),gs=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new vh(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Ale=class extends be{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Nv()&&(this.destroyRef=C(ii,{optional:!0})??void 0,this.pendingTasks=C(gs,{optional:!0})??void 0)}emit(t){let i=Oe(null);try{super.next(t)}finally{Oe(i)}}subscribe(t,i,n){var u,c,h;let a=t,r=i||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(u=m.next)==null?void 0:u.bind(m),r=(c=m.error)==null?void 0:c.bind(m),o=(h=m.complete)==null?void 0:h.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:r,complete:o});return t instanceof pn&&t.add(l),l}wrapInTimeout(t){return i=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(i)}finally{n!==void 0&&((r=this.pendingTasks)==null||r.remove(n))}})}}},Ht=Ale;function Go(...e){}function gy(e){let t,i;function n(){e=Go;try{i!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(i),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(i=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Um(e){return queueMicrotask(()=>e()),()=>{e=Go}}var Wh="isAngularZone",zl=Wh+"_ID",Lle=0,We=class xd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht(!1));s(this,"onMicrotaskEmpty",new Ht(!1));s(this,"onStable",new Ht(!1));s(this,"onError",new Ht(!1));let{enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=dy}=t;if(typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=r,jle(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wh)===!0}static assertInAngularZone(){if(!xd.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(xd.isInAngularZone())throw new Z(909,!1)}run(t,i,n){return this._inner.run(t,i,n)}runTask(t,i,n,a){let r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+a,t,Fle,Go,Go);try{return r.runTask(o,i,n)}finally{r.cancelTask(o)}}runGuarded(t,i,n){return this._inner.runGuarded(t,i,n)}runOutsideAngular(t){return this._outer.run(t)}},Fle={};function qh(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 Vle(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){gy(()=>{e.callbackScheduled=!1,wd(e),e.isCheckStableRunning=!0,qh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wd(e)}function jle(e){let t=()=>{Vle(e)},i=Lle++;e._inner=e._inner.fork({name:"angular",properties:{[Wh]:!0,[zl]:i,[zl+i]:!0},onInvokeTask:(n,a,r,o,l,u)=>{if(zle(u))return n.invokeTask(r,o,l,u);try{return Gm(e),n.invokeTask(r,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Wm(e)}},onInvoke:(n,a,r,o,l,u,c)=>{try{return Gm(e),n.invoke(r,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Hle(u)&&t(),Wm(e)}},onHasTask:(n,a,r,o)=>{n.hasTask(r,o),a===r&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,wd(e),qh(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function wd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Gm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wm(e){e._nesting--,qh(e)}var Ble=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht);s(this,"onMicrotaskEmpty",new Ht);s(this,"onStable",new Ht);s(this,"onError",new Ht)}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}};function zle(e){return vy(e,"__ignore_ng_zone__")}function Hle(e){return vy(e,"__scheduler_tick__")}function vy(e,t){var i,n;return!Array.isArray(e)||e.length!==1?!1:((n=(i=e[0])==null?void 0:i.data)==null?void 0:n[t])===!0}var ai=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},Ule=new se("",{providedIn:"root",factory:()=>{let e=C(We),t=C(ai);return i=>e.runOutsideAngular(()=>t.handleError(i))}}),Gle=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(ai,{optional:!0}));s(this,"destroyRef",C(ii));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var i,n;let t=(i=this.listeners)==null?void 0:i.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var i;if(this.destroyed){console.warn(cv(953,!1));return}if(this.listeners===null)return;let t=Oe(null);try{for(let n of this.listeners)try{n(e)}catch(a){(i=this.errorHandler)==null||i.handleError(a)}}finally{Oe(t)}}};function qm(e){return new Gle}function $m(e,t){return dv(e,t)}function Wle(e){return dv(uv,e)}var fe=($m.required=Wle,$m);function qle(){return no(cn(),we())}function no(e,t){return new At(Ii(e,t))}var At=(()=>{class e{constructor(i){s(this,"nativeElement");this.nativeElement=i}}return s(e,"__NG_ELEMENT_ID__",qle),e})();function $le(e){return e instanceof At?e.nativeElement:e}function Ym(e){return typeof e=="function"&&e[Sn]!==void 0}function Ed(e,t){let i=noe(e,t==null?void 0:t.equal),n=i[Sn];return i.set=a=>yc(n,a),i.update=a=>C0(n,a),i.asReadonly=yy.bind(i),i}function yy(){let e=this[Sn];if(e.readonlyFn===void 0){let t=()=>this();t[Sn]=e,e.readonlyFn=t}return e.readonlyFn}function Yle(){return this._results[Symbol.iterator]()}var o0,Hl=(o0=Symbol.iterator,class{constructor(e=!1){s(this,"_emitDistinctChangesOnly");s(this,"dirty",!0);s(this,"_onDirty");s(this,"_results",[]);s(this,"_changesDetected",!1);s(this,"_changes");s(this,"length",0);s(this,"first");s(this,"last");s(this,o0,Yle);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new be)}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 i=Ise(e);(this._changesDetected=!Cse(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[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 by(e){return(e.flags&128)===128}var _y=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(_y||{}),xy=new Map,Zle=0;function Kle(){return Zle++}function Jle(e){xy.set(e[Ec],e)}function Sd(e){xy.delete(e[Ec])}var Zm="__ngContext__";function io(e,t){va(t)?(e[Zm]=t[Ec],Jle(t)):e[Zm]=t}function wy(e){return Sy(e[Ho])}function Ey(e){return Sy(e[ti])}function Sy(e){for(;e!==null&&!Xi(e);)e=e[ti];return e}var kd;function Xle(e){kd=e}function Qle(){if(kd!==void 0)return kd;if(typeof document<"u")return document;throw new Z(210,!1)}var $h=new se("",{providedIn:"root",factory:()=>ece}),ece="ng",ky=new se(""),Ic=new se("",{providedIn:"platform",factory:()=>"unknown"}),ir=new se(""),Yh=new se("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=Qle().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Cy=!1,tce=new se("",{providedIn:"root",factory:()=>Cy}),Zh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Zh||{}),vs=new se(""),Km=new Set;function ar(e){var t;Km.has(e)||(Km.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Kh=(()=>{class e{constructor(i,n){s(this,"view");s(this,"node");this.view=i,this.node=n}}return s(e,"__NG_ELEMENT_ID__",nce),e})();function nce(){return new Kh(we(),cn())}var kr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(kr||{}),Iy=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),ice=[kr.EarlyRead,kr.Write,kr.MixedReadWrite,kr.Read],ace=(()=>{const t=class t{constructor(){s(this,"ngZone",C(We));s(this,"scheduler",C(to));s(this,"errorHandler",C(ai,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(vs,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of ice)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[a];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:a}=n;a!==void 0?((a[ga]??(a[ga]=[])).push(n),Xr(a),a[_e]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,a){return a?a.run(Zh.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),rce=class{constructor(e,t,i,n,a,r=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=i,this.once=n,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,i;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(i=this.view)==null?void 0:i[ga];e&&(this.view[ga]=e.filter(n=>n!==this))}};function Dy(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return ar("NgAfterRender"),Ty(e,i,t,!1)}function Jh(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return ar("NgAfterNextRender"),Ty(e,i,t,!0)}function oce(e,t){if(e instanceof Function){let i=[void 0,void 0,void 0,void 0];return i[t]=e,i}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ty(e,t,i,n){let a=t.get(Iy);a.impl??(a.impl=t.get(ace));let r=t.get(vs,null,{optional:!0}),o=(i==null?void 0:i.phase)??kr.MixedReadWrite,l=(i==null?void 0:i.manualCleanup)!==!0?t.get(ii):null,u=t.get(Kh,null,{optional:!0}),c=new rce(a.impl,oce(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return a.impl.register(c),c}var sce=()=>null;function Oy(e,t,i=!1){return sce()}function Py(e,t){let i=e.contentQueries;if(i!==null){let n=Oe(null);try{for(let a=0;a<i.length;a+=2){let r=i[a],o=i[a+1];if(o!==-1){let l=e.data[o];jh(r),l.contentQueries(2,t[o],o)}}}finally{Oe(n)}}}function Cd(e,t,i){jh(0);let n=Oe(null);try{t(e,i)}finally{Oe(n)}}function Xh(e,t,i){if(Th(t)){let n=Oe(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let o=a;o<r;o++){let l=e.data[o];if(l.contentQueries){let u=i[o];l.contentQueries(1,u,o)}}}finally{Oe(n)}}}var Ui=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ui||{}),zs;function lce(){if(zs===void 0&&(zs=null,wr.trustedTypes))try{zs=wr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zs}function Dc(e){var t;return((t=lce())==null?void 0:t.createHTML(e))||e}var rr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lv})`}},cce=class extends rr{getTypeName(){return"HTML"}},uce=class extends rr{getTypeName(){return"Style"}},dce=class extends rr{getTypeName(){return"Script"}},hce=class extends rr{getTypeName(){return"URL"}},pce=class extends rr{getTypeName(){return"ResourceURL"}};function sa(e){return e instanceof rr?e.changingThisBreaksApplicationSecurity:e}function yr(e,t){let i=mce(e);if(i!=null&&i!==t){if(i==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${lv})`)}return i===t}function mce(e){return e instanceof rr&&e.getTypeName()||null}function fce(e){return new cce(e)}function gce(e){return new uce(e)}function vce(e){return new dce(e)}function yce(e){return new hce(e)}function bce(e){return new pce(e)}function _ce(e){let t=new wce(e);return Ece()?new xce(t):t}var xce=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(Dc(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):((t=i.firstChild)==null||t.remove(),i)}catch{return null}}},wce=class{constructor(e){s(this,"defaultDoc");s(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Dc(e),t}};function Ece(){try{return!!new window.DOMParser().parseFromString(Dc(""),"text/html")}catch{return!1}}var Sce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qh(e){return e=String(e),e.match(Sce)?e:"unsafe:"+e}function ea(e){let t={};for(let i of e.split(","))t[i]=!0;return t}function ys(...e){let t={};for(let i of e)for(let n in i)i.hasOwnProperty(n)&&(t[n]=!0);return t}var Ny=ea("area,br,col,hr,img,wbr"),My=ea("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ry=ea("rp,rt"),kce=ys(Ry,My),Cce=ys(My,ea("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")),Ice=ys(Ry,ea("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")),Jm=ys(Ny,Cce,Ice,kce),Ay=ea("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dce=ea("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"),Tce=ea("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"),Oce=ys(Ay,Dce,Tce),Pce=ea("script,style,template"),Nce=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,i=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild){n.push(t),t=Ace(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=Rce(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Xm(e).toLowerCase();if(!Jm.hasOwnProperty(t))return this.sanitizedSomething=!0,!Pce.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let i=e.attributes;for(let n=0;n<i.length;n++){let a=i.item(n),r=a.name,o=r.toLowerCase();if(!Oce.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Ay[o]&&(l=Qh(l)),this.buf.push(" ",r,'="',Qm(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Xm(e).toLowerCase();Jm.hasOwnProperty(t)&&!Ny.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Qm(e))}};function Mce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Rce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ly(t);return t}function Ace(e){let t=e.firstChild;if(t&&Mce(e,t))throw Ly(t);return t}function Xm(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ly(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Lce=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fce=/([^\#-~ |!])/g;function Qm(e){return e.replace(/&/g,"&amp;").replace(Lce,function(t){let i=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(Fce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hs;function Vce(e,t){let i=null;try{Hs=Hs||_ce(e);let n=t?String(t):"";i=Hs.getInertBodyElement(n);let a=5,r=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=r,r=i.innerHTML,i=Hs.getInertBodyElement(n)}while(n!==r);let o=new Nce().sanitizeChildren(ef(i)||i);return Dc(o)}finally{if(i){let n=ef(i)||i;for(;n.firstChild;)n.firstChild.remove()}}}function ef(e){return"content"in e&&jce(e)?e.content:null}function jce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Bce=/^>|^->|<!--|-->|--!>|<!-$/g,zce=/(<|>)/g,Hce="​$1​";function Uce(e){return e.replace(Bce,t=>t.replace(zce,Hce))}function Gce(e,t){return e.createText(t)}function Wce(e,t,i){e.setValue(t,i)}function qce(e,t){return e.createComment(Uce(t))}function Fy(e,t,i){return e.createElement(t,i)}function Ul(e,t,i,n,a){e.insertBefore(t,i,n,a)}function Vy(e,t,i){e.appendChild(t,i)}function tf(e,t,i,n,a){n!==null?Ul(e,t,i,n,a):Vy(e,t,i)}function $ce(e,t,i){e.removeChild(null,t,i)}function Yce(e,t,i){e.setAttribute(t,"style",i)}function Zce(e,t,i){i===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function jy(e,t,i){let{mergedAttrs:n,classes:a,styles:r}=i;n!==null&&ble(e,t,n),a!==null&&Zce(e,t,a),r!==null&&Yce(e,t,r)}var wn=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}(wn||{});function By(e){let t=Kce();return t?t.sanitize(wn.URL,e)||"":yr(e,"URL")?sa(e):Qh(bc(e))}function Kce(){let e=we();return e&&e[Zi].sanitizer}function Jce(e,t,i){let n=e.length;for(;;){let a=e.indexOf(t,i);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===n||e.charCodeAt(a+r)<=32)return a}i=a+1}}var zy="ng-template";function Xce(e,t,i,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&Jce(t[a+1].toLowerCase(),i,0)!==-1)return!0}else if(ep(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===i)return!0}return!1}function ep(e){return e.type===4&&e.value!==zy}function Qce(e,t,i){let n=e.type===4&&!i?zy:e.value;return t===n}function eue(e,t,i){let n=4,a=e.attrs,r=a!==null?iue(a):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Yn(n)&&!Yn(u))return!1;if(o&&Yn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!Qce(e,u,i)||u===""&&t.length===1){if(Yn(n))return!1;o=!0}}else if(n&8){if(a===null||!Xce(e,a,u,i)){if(Yn(n))return!1;o=!0}}else{let c=t[++l],h=tue(u,a,ep(e),i);if(h===-1){if(Yn(n))return!1;o=!0;continue}if(c!==""){let m;if(h>r?m="":m=a[h+1].toLowerCase(),n&2&&c!==m){if(Yn(n))return!1;o=!0}}}}return Yn(n)||o}function Yn(e){return(e&1)===0}function tue(e,t,i,n){if(t===null)return-1;let a=0;if(n||!i){let r=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)r=!0;else if(o===1||o===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=r?1:2}return-1}else return aue(t,e)}function Hy(e,t,i=!1){for(let n=0;n<t.length;n++)if(eue(e,t[n],i))return!0;return!1}function nue(e){let t=e.attrs;if(t!=null){let i=t.indexOf(5);if(!(i&1))return t[i+1]}return null}function iue(e){for(let t=0;t<e.length;t++){let i=e[t];if(ty(i))return t}return e.length}function aue(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){let n=e[i];if(typeof n=="number")return-1;if(n===t)return i;i++}return-1}function rue(e,t){e:for(let i=0;i<t.length;i++){let n=t[i];if(e.length===n.length){for(let a=0;a<e.length;a++)if(e[a]!==n[a])continue e;return!0}}return!1}function nf(e,t){return e?":not("+t.trim()+")":t}function oue(e){let t=e[0],i=1,n=2,a="",r=!1;for(;i<e.length;){let o=e[i];if(typeof o=="string")if(n&2){let l=e[++i];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!Yn(o)&&(t+=nf(r,a),a=""),n=o,r=r||!Yn(n);i++}return a!==""&&(t+=nf(r,a)),t}function sue(e){return e.map(oue).join(",")}function lue(e){let t=[],i=[],n=1,a=2;for(;n<e.length;){let r=e[n];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++n]):a===8&&i.push(r);else{if(!Yn(a))break;a=r}n++}return i.length&&t.push(1,...i),t}var ri={};function tp(e,t,i,n,a,r,o,l,u,c,h){let m=bt+n,v=m+a,g=cue(m,v),x=typeof c=="function"?c():c;return g[Se]={type:e,blueprint:g,template:i,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:x,incompleteFirstPass:!1,ssrId:h}}function cue(e,t){let i=[];for(let n=0;n<t;n++)i.push(n<e?null:ri);return i}function uue(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=tp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function np(e,t,i,n,a,r,o,l,u,c,h){let m=t.blueprint.slice();return m[Ji]=a,m[_e]=n|4|128|8|64|1024,(c!==null||e&&e[_e]&2048)&&(m[_e]|=2048),Bv(m),m[en]=m[Zr]=e,m[Ut]=i,m[Zi]=o||e&&e[Zi],m[Ct]=l||e&&e[Ct],m[jr]=u||e&&e[jr]||null,m[vn]=r,m[Ec]=Kle(),m[Vr]=h,m[Mv]=c,m[Hn]=t.type==2?e[Hn]:m,m}function due(e,t,i){let n=Ii(t,e),a=uue(i),r=e[Zi].rendererFactory,o=ip(e,np(e,a,null,Uy(i),n,t,null,r.createRenderer(n,i),null,null,null));return e[t.index]=o}function Uy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Gy(e,t,i,n){if(i===0)return-1;let a=t.length;for(let r=0;r<i;r++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function ip(e,t){return e[Ho]?e[Fm][ti]=t:e[Ho]=t,e[Fm]=t,t}function O(e=1){Wy(pt(),we(),Qi()+e)}function Wy(e,t,i,n){if((t[_e]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ml(t,a,i)}else{let a=e.preOrderHooks;a!==null&&fl(t,a,0,i)}Xa(i)}var Tc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tc||{});function Id(e,t,i,n){let a=Oe(null);try{let[r,o,l]=e.inputs[i],u=null;o&Tc.SignalBased&&(u=t[r][Sn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,i,r):Av(t,u,r,n)}finally{Oe(a)}}function qy(e,t,i,n,a){let r=Qi(),o=n&2;try{Xa(-1),o&&t.length>bt&&Wy(e,t,bt,!1),Za(o?2:0,a),i(n,a)}finally{Xa(r)}}function Oc(e,t,i){fue(e,t,i),(i.flags&64)===64&&gue(e,t,i)}function ap(e,t,i=Ii){let n=t.localNames;if(n!==null){let a=t.index+1;for(let r=0;r<n.length;r+=2){let o=n[r+1],l=o===-1?i(t,e):e[o];e[a++]=l}}}function hue(e,t,i,n){let a=n.get(tce,Cy)||i===Ui.ShadowDom;return e.selectRootElement(t,a)}function pue(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function $y(e,t,i,n,a,r,o,l){if(!l&&op(t,e,i,n,a)){Kr(t)&&mue(i,t.index);return}if(t.type&3){let u=Ii(t,i);n=pue(n),a=o!=null?o(a,t.value||"",n):a,r.setProperty(u,n,a)}else t.type&12}function mue(e,t){let i=ki(t,e);i[_e]&16||(i[_e]|=64)}function fue(e,t,i){let n=i.directiveStart,a=i.directiveEnd;Kr(i)&&due(t,i,e.data[n+i.componentOffset]),e.firstCreatePass||Bl(i,t);let r=i.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],u=Uo(t,e,o,i);if(io(u,t),r!==null&&_ue(t,o-n,u,l,i,r),Ei(l)){let c=ki(i.index,t);c[Ut]=Uo(t,e,o,i)}}}function gue(e,t,i){let n=i.directiveStart,a=i.directiveEnd,r=i.index,o=ule();try{Xa(r);for(let l=n;l<a;l++){let u=e.data[l],c=t[l];vd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&vue(u,c)}}finally{Xa(-1),vd(o)}}function vue(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function rp(e,t){let i=e.directiveRegistry,n=null;if(i)for(let a=0;a<i.length;a++){let r=i[a];Hy(t,r.selectors,!1)&&(n??(n=[]),Ei(r)?n.unshift(r):n.push(r))}return n}function yue(e,t,i,n,a,r){let o=Ii(e,t);bue(t[Ct],o,r,e.value,i,n,a)}function bue(e,t,i,n,a,r,o){if(r==null)e.removeAttribute(t,a,i);else{let l=o==null?bc(r):o(r,n||"",a);e.setAttribute(t,a,l,i)}}function _ue(e,t,i,n,a,r){let o=r[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];Id(n,i,u,c)}}function xue(e,t){let i=e[jr],n=i?i.get(ai,null):null;n&&n.handleError(t)}function op(e,t,i,n,a){var u,c;let r=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let h=0;h<o.length;h+=2){let m=o[h],v=o[h+1],g=t.data[m];Id(g,i[m],v,a),l=!0}if(r)for(let h of r){let m=i[h],v=t.data[h];Id(v,m,n,a),l=!0}return l}function wue(e,t){let i=ki(t,e),n=i[Se];Eue(n,i);let a=i[Ji];a!==null&&i[Vr]===null&&(i[Vr]=Oy(a,i[jr])),sp(n,i,i[Ut]),Za(19,i[Ut])}function Eue(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}function sp(e,t,i){var n;Bh(t);try{let a=e.viewQuery;a!==null&&Cd(1,a,i);let r=e.template;r!==null&&qy(e,t,r,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[ni])==null||n.finishViewCreation(e),e.staticContentQueries&&Py(e,t),e.staticViewQueries&&Cd(2,e.viewQuery,i);let o=e.components;o!==null&&Sue(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,zh()}}function Sue(e,t){for(let i=0;i<t.length;i++)wue(e,t[i])}function bs(e,t,i,n){let a=Oe(null);try{let r=t.tView,o=e[_e]&4096?4096:16,l=np(e,r,i,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[$a]=u;let c=e[ni];return c!==null&&(l[ni]=c.createEmbeddedView(r)),sp(r,l,i),l}finally{Oe(a)}}function Hr(e,t){return!t||t.firstChild===null||by(e)}var kue;function lp(e,t){return kue(e,t)}var ua=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ua||{});function cp(e){return(e.flags&32)===32}function Cr(e,t,i,n,a){if(n!=null){let r,o=!1;Xi(n)?r=n:va(n)&&(o=!0,n=n[Ji]);let l=Si(n);e===0&&i!==null?a==null?Vy(t,i,l):Ul(t,i,l,a||null,!0):e===1&&i!==null?Ul(t,i,l,a||null,!0):e===2?$ce(t,l,o):e===3&&t.destroyNode(l),r!=null&&Aue(t,e,r,i,a)}}function Cue(e,t){Yy(e,t),t[Ji]=null,t[vn]=null}function Iue(e,t,i,n,a,r){n[Ji]=a,n[vn]=t,Mc(e,n,i,1,a,r)}function Yy(e,t){var i;(i=t[Zi].changeDetectionScheduler)==null||i.notify(9),Mc(e,t,t[Ct],2,null,null)}function Due(e){let t=e[Ho];if(!t)return uu(e[Se],e);for(;t;){let i=null;if(va(t))i=t[Ho];else{let n=t[Xt];n&&(i=n)}if(!i){for(;t&&!t[ti]&&t!==e;)va(t)&&uu(t[Se],t),t=t[en];t===null&&(t=e),va(t)&&uu(t[Se],t),i=t&&t[ti]}t=i}}function up(e,t){let i=e[Br],n=i.indexOf(t);i.splice(n,1)}function Pc(e,t){if(Jr(t))return;let i=t[Ct];i.destroyNode&&Mc(e,t,i,3,null,null),Due(t)}function uu(e,t){if(Jr(t))return;let i=Oe(null);try{t[_e]&=-129,t[_e]|=256,t[zn]&&fc(t[zn]),Oue(e,t),Tue(e,t),t[Se].type===1&&t[Ct].destroy();let n=t[$a];if(n!==null&&Xi(t[en])){n!==t[en]&&up(n,t);let a=t[ni];a!==null&&a.detachView(e)}Sd(t)}finally{Oe(i)}}function Tue(e,t){let i=e.cleanup,n=t[Or];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let l=i[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[i[o+1]];i[o].call(l)}n!==null&&(t[Or]=null);let a=t[fa];if(a!==null){t[fa]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let r=t[Hi];if(r!==null){t[Hi]=null;for(let o of r)o.destroy()}}function Oue(e,t){let i;if(e!=null&&(i=e.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let a=t[i[n]];if(!(a instanceof fs)){let r=i[n+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){let l=a[r[o]],u=r[o+1];try{u.call(l)}finally{}}else try{r.call(a)}finally{}}}}function Zy(e,t,i){return Pue(e,t.parent,i)}function Pue(e,t,i){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return i[Ji];if(Kr(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===Ui.None||a===Ui.Emulated)return null}return Ii(n,i)}function Ky(e,t,i){return Mue(e,t,i)}function Nue(e,t,i){return e.type&40?Ii(e,i):null}var Mue=Nue;function Nc(e,t,i,n){let a=Zy(e,n,t),r=t[Ct],o=n.parent||t[vn],l=Ky(o,n,t);if(a!=null)if(Array.isArray(i))for(let u=0;u<i.length;u++)tf(r,a,i[u],l,!1);else tf(r,a,i,l,!1)}function Co(e,t){if(t!==null){let i=t.type;if(i&3)return Ii(t,e);if(i&4)return Dd(-1,e[t.index]);if(i&8){let n=t.child;if(n!==null)return Co(e,n);{let a=e[t.index];return Xi(a)?Dd(-1,a):Si(a)}}else{if(i&128)return Co(e,t.next);if(i&32)return lp(t,e)()||Si(e[t.index]);{let n=Jy(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Ja(e[Hn]);return Co(a,n)}else return Co(e,t.next)}}}return null}function Jy(e,t){if(t!==null){let i=e[Hn][vn],n=t.projection;return i.projection[n]}return null}function Dd(e,t){let i=Xt+e+1;if(i<t.length){let n=t[i],a=n[Se].firstChild;if(a!==null)return Co(n,a)}return t[Ya]}function dp(e,t,i,n,a,r,o){for(;i!=null;){if(i.type===128){i=i.next;continue}let l=n[i.index],u=i.type;if(o&&t===0&&(l&&io(Si(l),n),i.flags|=2),!cp(i))if(u&8)dp(e,t,i.child,n,a,r,!1),Cr(t,e,a,l,r);else if(u&32){let c=lp(i,n),h;for(;h=c();)Cr(t,e,a,h,r);Cr(t,e,a,l,r)}else u&16?Xy(e,t,n,i,a,r):Cr(t,e,a,l,r);i=o?i.projectionNext:i.next}}function Mc(e,t,i,n,a,r){dp(i,n,e.firstChild,t,a,r,!1)}function Rue(e,t,i){let n=t[Ct],a=Zy(e,i,t),r=i.parent||t[vn],o=Ky(r,i,t);Xy(n,0,t,i,a,o)}function Xy(e,t,i,n,a,r){let o=i[Hn],l=o[vn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];Cr(t,e,a,c,r)}else{let u=l,c=o[en];by(n)&&(u.flags|=128),dp(e,t,u,c,a,r,!0)}}function Aue(e,t,i,n,a){let r=i[Ya],o=Si(i);r!==o&&Cr(t,e,n,r,a);for(let l=Xt;l<i.length;l++){let u=i[l];Mc(u[Se],u,e,t,n,r)}}function Lue(e,t,i,n,a){if(t)a?e.addClass(i,n):e.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:ua.DashCase;a==null?e.removeStyle(i,n,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=ua.Important),e.setStyle(i,n,a,r))}}function Gl(e,t,i,n,a=!1){for(;i!==null;){if(i.type===128){i=a?i.projectionNext:i.next;continue}let r=t[i.index];r!==null&&n.push(Si(r)),Xi(r)&&Fue(r,n);let o=i.type;if(o&8)Gl(e,t,i.child,n);else if(o&32){let l=lp(i,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=Jy(t,i);if(Array.isArray(l))n.push(...l);else{let u=Ja(t[Hn]);Gl(u[Se],u,l,n,!0)}}i=a?i.projectionNext:i.next}return n}function Fue(e,t){for(let i=Xt;i<e.length;i++){let n=e[i],a=n[Se].firstChild;a!==null&&Gl(n[Se],n,a,t)}e[Ya]!==e[Ji]&&t.push(e[Ya])}function Qy(e){if(e[ga]!==null){for(let t of e[ga])t.impl.addSequence(t);e[ga].length=0}}var eb=[];function Vue(e){return e[zn]??jue(e)}function jue(e){let t=eb.pop()??Object.create(zue);return t.lView=e,t}function Bue(e){e.lView[zn]!==e&&(e.lView=null,eb.push(e))}var zue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Xr(e.lView)},consumerOnSignalRead(){this.lView[zn]=this}});function Hue(e){let t=e[zn]??Object.create(Uue);return t.lView=e,t}var Uue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ja(e.lView);for(;t&&!tb(t[Se]);)t=Ja(t);t&&Rh(t)},consumerOnSignalRead(){this.lView[zn]=this}});function tb(e){return e.type!==2}function nb(e){if(e[Hi]===null)return;let t=!0;for(;t;){let i=!1;for(let n of e[Hi])n.dirty&&(i=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=i&&!!(e[_e]&8192)}}var Gue=100;function ib(e,t=!0,i=0){var a,r;let n=e[Zi].rendererFactory;(a=n.begin)==null||a.call(n);try{Wue(e,i)}catch(o){throw t&&xue(e,o),o}finally{(r=n.end)==null||r.call(n)}}function Wue(e,t){let i=Wv();try{Ll(!0),Td(e,t);let n=0;for(;ms(e);){if(n===Gue)throw new Z(103,!1);n++,Td(e,1)}}finally{Ll(i)}}function que(e,t,i,n){if(Jr(t))return;let a=t[_e],r=!1,o=!1;Bh(t);let l=!0,u=null,c=null;tb(e)?(c=Vue(t),u=Lo(c)):Zre()===null?(l=!1,c=Hue(t),u=Lo(c)):t[zn]&&(fc(t[zn]),t[zn]=null);try{Bv(t),sle(e.bindingStartIndex),i!==null&&qy(e,t,i,2,n);let h=(a&3)===3;if(!r)if(h){let g=e.preOrderCheckHooks;g!==null&&ml(t,g,null)}else{let g=e.preOrderHooks;g!==null&&fl(t,g,0,null),lu(t,0)}if(o||$ue(t),nb(t),ab(t,0),e.contentQueries!==null&&Py(e,t),!r)if(h){let g=e.contentCheckHooks;g!==null&&ml(t,g)}else{let g=e.contentHooks;g!==null&&fl(t,g,1),lu(t,1)}Zue(e,t);let m=e.components;m!==null&&ob(t,m,0);let v=e.viewQuery;if(v!==null&&Cd(2,v,n),!r)if(h){let g=e.viewCheckHooks;g!==null&&ml(t,g)}else{let g=e.viewHooks;g!==null&&fl(t,g,2),lu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[su]){for(let g of t[su])g();t[su]=null}r||(Qy(t),t[_e]&=-73)}catch(h){throw Xr(t),h}finally{c!==null&&(mc(c,u),l&&Bue(c)),zh()}}function ab(e,t){for(let i=wy(e);i!==null;i=Ey(i))for(let n=Xt;n<i.length;n++){let a=i[n];rb(a,t)}}function $ue(e){for(let t=wy(e);t!==null;t=Ey(t)){if(!(t[_e]&2))continue;let i=t[Br];for(let n=0;n<i.length;n++){let a=i[n];Rh(a)}}}function Yue(e,t,i){let n=ki(t,e);rb(n,i),Za(19,n[Ut])}function rb(e,t){Mh(e)&&Td(e,t)}function Td(e,t){let i=e[Se],n=e[_e],a=e[zn],r=!!(t===0&&n&16);if(r||(r=!!(n&64&&t===0)),r||(r=!!(n&1024)),r||(r=!!(a!=null&&a.dirty&&ph(a))),r||(r=!1),a&&(a.dirty=!1),e[_e]&=-9217,r)que(i,e,i.template,e[Ut]);else if(n&8192){nb(e),ab(e,1);let o=i.components;o!==null&&ob(e,o,1),Qy(e)}}function ob(e,t,i){for(let n=0;n<t.length;n++)Yue(e,t[n],i)}function Zue(e,t){let i=e.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let a=i[n];if(a<0)Xa(~a);else{let r=a,o=i[++n],l=i[++n];cle(o,r);let u=t[r];Za(24,u),l(2,u),Za(25,u)}}}finally{Xa(-1)}}function hp(e,t){var n;let i=Wv()?64:1088;for((n=e[Zi].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[_e]|=i;let a=Ja(e);if(Al(e)&&!a)return e;e=a}return null}function sb(e,t,i,n){return[e,!0,0,t,null,n,null,i,null,null]}function lb(e,t){let i=Xt+t;if(i<e.length)return e[i]}function _s(e,t,i,n=!0){let a=t[Se];if(Kue(a,t,e,i),n){let o=Dd(i,e),l=t[Ct],u=l.parentNode(e[Ya]);u!==null&&Iue(a,e[vn],l,t,u,o)}let r=t[Vr];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function cb(e,t){let i=Wo(e,t);return i!==void 0&&Pc(i[Se],i),i}function Wo(e,t){if(e.length<=Xt)return;let i=Xt+t,n=e[i];if(n){let a=n[$a];a!==null&&a!==e&&up(a,n),t>0&&(e[i-1][ti]=n[ti]);let r=Nl(e,Xt+t);Cue(n[Se],n);let o=r[ni];o!==null&&o.detachView(r[Se]),n[en]=null,n[ti]=null,n[_e]&=-129}return n}function Kue(e,t,i,n){let a=Xt+n,r=i.length;n>0&&(i[a-1][ti]=t),n<r-Xt?(t[ti]=i[a],Ev(i,Xt+n,t)):(i.push(t),t[ti]=null),t[en]=i;let o=t[$a];o!==null&&i!==o&&ub(o,t);let l=t[ni];l!==null&&l.insertView(e),fd(t),t[_e]|=128}function ub(e,t){let i=e[Br],n=t[en];if(va(n))e[_e]|=2;else{let a=n[en][Hn];t[Hn]!==a&&(e[_e]|=2)}i===null?e[Br]=[t]:i.push(t)}var qo=class{constructor(e,t,i=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=i}get rootNodes(){let e=this._lView,t=e[Se];return Gl(t,e,t.firstChild,[])}get context(){return this._lView[Ut]}set context(e){this._lView[Ut]=e}get destroyed(){return Jr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[en];if(Xi(e)){let t=e[Rl],i=t?t.indexOf(this):-1;i>-1&&(Wo(e,i),Nl(t,i))}this._attachedToViewContainer=!1}Pc(this._lView[Se],this._lView)}onDestroy(e){zv(this._lView,e)}markForCheck(){hp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_e]&=-129}reattach(){fd(this._lView),this._lView[_e]|=128}detectChanges(){this._lView[_e]|=1024,ib(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Al(this._lView),t=this._lView[$a];t!==null&&!e&&up(t,this._lView),Yy(this._lView[Se],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=Al(this._lView),i=this._lView[$a];i!==null&&!t&&ub(i,this._lView),fd(this._lView)}};function Jue(e){return ms(e._lView)||!!(e._lView[_e]&64)}function Xue(e){Rh(e._cdRefInjectingView||e._lView)}var Ur=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",tde),e})(),Que=Ur,ede=class extends Que{constructor(t,i,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=i,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,n){let a=bs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:n});return new qo(a)}};function tde(){return Rc(cn(),we())}function Rc(e,t){return e.type&4?new ede(t,e,no(e,t)):null}function ao(e,t,i,n,a){let r=e.data[t];if(r===null)r=nde(e,t,i,n,a),lle()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=a;let o=ole();r.injectorIndex=o===null?-1:o.injectorIndex}return Ea(r,!0),r}function nde(e,t,i,n,a){let r=Uv(),o=Fh(),l=o?r:r&&r.parent,u=e.data[t]=ade(e,l,i,t,n,a);return ide(e,u,r,o),u}function ide(e,t,i,n){e.firstChild===null&&(e.firstChild=t),i!==null&&(n?i.child==null&&t.parent!==null&&(i.child=t):i.next===null&&(i.next=t,t.prev=i))}function ade(e,t,i,n,a,r){let o=t?t.injectorIndex:-1,l=0;return Hv()&&(l|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var rde=()=>null;function Gr(e,t){return rde()}var ode=class{},db=class{},sde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Bn(e)}.`)}},td,xs=(td=class{},s(td,"NULL",new sde),td),oi=class{},ro=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>lde()),e})();function lde(){let e=we(),t=cn(),i=ki(t.index,e);return(va(i)?i:e)[Ct]}var cde=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),du={},ude=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,i){i=_c(i);let n=this.injector.get(e,du,i);return n!==du||t===du?n:this.parentInjector.get(e,t,i)}};function Od(e,t,i){let n=i?e.styles:null,a=i?e.classes:null,r=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")r=l;else if(r==1)a=ld(a,l);else if(r==2){let u=l,c=t[++o];n=ld(n,u+": "+c+";")}}i?e.styles=n:e.stylesWithoutHost=n,i?e.classes=a:e.classesWithoutHost=a}function Qt(e,t=Me.Default){let i=we();if(i===null)return pe(e,t);let n=cn();return ly(n,i,qt(e),t)}function pp(e,t,i,n,a){let r=n===null?null:{"":-1},o=a(e,i);if(o!==null){let l,u=null,c=null,h=hde(o);h===null?l=o:[l,u,c]=h,fde(e,t,i,l,r,u,c)}r!==null&&n!==null&&dde(i,n,r)}function dde(e,t,i){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=i[t[a+1]];if(r==null)throw new Z(-301,!1);n.push(t[a],r)}}function hde(e){let t=null,i=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Ei(l)&&(t=l),l.findHostDirectiveDefs!==null){i=!0;break}}if(!i)return null;let n=null,a=null,r=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),r??(r=new Map),pde(o,n,r,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,r]):null}function pde(e,t,i,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),i.set(e,[a,t.length-1])}function mde(e,t,i){t.componentOffset=i,(e.components??(e.components=[])).push(t.index)}function fde(e,t,i,n,a,r,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&Ei(g)&&(u=!0,mde(e,i,v)),bd(Bl(i,t),e,g.type)}xde(i,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,h=!1,m=Gy(e,t,l,null);l>0&&(i.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(i.mergedAttrs=zr(i.mergedAttrs,g.hostAttrs),vde(e,i,t,m,g),_de(m,g,a),o!==null&&o.has(g)){let[w,S]=o.get(g);i.directiveToIndex.set(g.type,[m,w+i.directiveStart,S+i.directiveStart])}else(r===null||!r.has(g))&&i.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(i.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(i.flags|=64);let x=g.type.prototype;!c&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(i.index),c=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(i.index),h=!0),m++}gde(e,i,r)}function gde(e,t,i){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(i===null||!i.has(a))af(0,t,a,n),af(1,t,a,n),of(t,n,!1);else{let r=i.get(a);rf(0,t,r,n),rf(1,t,r,n),of(t,n,!0)}}}function af(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[r]??(o[r]=[]),o[r].push(n),hb(t,r)}}function rf(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,r),hb(t,o)}}function hb(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function of(e,t,i){let{attrs:n,inputs:a,hostDirectiveInputs:r}=e;if(n===null||!i&&a===null||i&&r===null||ep(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!i&&a.hasOwnProperty(u)){let c=a[u];for(let h of c)if(h===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(i&&r.hasOwnProperty(u)){let c=r[u];for(let h=0;h<c.length;h+=2)if(c[h]===t){o??(o=[]),o.push(c[h+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function vde(e,t,i,n,a){e.data[n]=a;let r=a.factory||(a.factory=qa(a.type)),o=new fs(r,Ei(a),Qt);e.blueprint[n]=o,i[n]=o,yde(e,t,n,Gy(e,i,a.hostVars,ri),a)}function yde(e,t,i,n,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;bde(o)!=l&&o.push(l),o.push(i,n,r)}}function bde(e){let t=e.length;for(;t>0;){let i=e[--t];if(typeof i=="number"&&i<0)return i}return 0}function _de(e,t,i){if(i){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)i[t.exportAs[n]]=e;Ei(t)&&(i[""]=e)}}function xde(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function pb(e,t,i,n,a,r,o,l){let u=t.consts,c=Ka(u,o),h=ao(t,e,2,n,c);return pp(t,i,h,Ka(u,l),a),h.mergedAttrs=zr(h.mergedAttrs,h.attrs),h.attrs!==null&&Od(h,h.attrs,!1),h.mergedAttrs!==null&&Od(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function mb(e,t){Uh(e,t),Th(t)&&e.queries.elementEnd(t)}var wde=class extends xs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let i=Lr(t);return new mp(i,this.ngModule)}};function Ede(e){return Object.keys(e).map(t=>{let[i,n,a]=e[t],r={propName:i,templateName:t,isSignal:(n&Tc.SignalBased)!==0};return a&&(r.transform=a),r})}function Sde(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function kde(e,t,i){let n=t instanceof wi?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new ude(i,n):i}function Cde(e){let t=e.get(oi,null);if(t===null)throw new Z(407,!1);let i=e.get(cde,null),n=e.get(to,null);return{rendererFactory:t,sanitizer:i,changeDetectionScheduler:n}}function Ide(e,t){let i=(e.selectors[0][0]||"div").toLowerCase();return Fy(t,i,i==="svg"?$se:i==="math"?Yse:null)}var mp=class extends db{constructor(t,i){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=sue(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}get inputs(){return this.cachedInputs??(this.cachedInputs=Ede(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=Sde(this.componentDef.outputs)),this.cachedOutputs}create(t,i,n,a){let r=Oe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.17"]:lue(this.componentDef.selectors[0]),u=tp(0,null,null,1,0,null,null,null,null,[l],null),c=kde(o,a||this.ngModule,t),h=Cde(c),m=h.rendererFactory.createRenderer(null,o),v=n?hue(m,n,o.encapsulation,c):Ide(o,m),g=np(null,u,null,512|Uy(o),null,null,h,m,c,null,Oy(v,c,!0));g[bt]=v,Bh(g);let x=null;try{let w=pb(bt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(jy(m,v,w),io(v,g)),Oc(u,g,w),Xh(u,w,g),mb(u,w),i!==void 0&&Tde(w,this.ngContentSelectors,i),x=ki(w.index,g),g[Ut]=x[Ut],sp(u,g,null)}catch(w){throw x!==null&&Sd(x),Sd(g),w}finally{Za(23),zh()}return new Dde(this.componentType,g)}finally{Oe(r)}}},Dde=class extends ode{constructor(t,i){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=i,this._tNode=Ph(i[Se],bt),this.location=no(this._tNode,i),this.instance=ki(this._tNode.index,i)[Ut],this.hostView=this.changeDetectorRef=new qo(i,void 0,!1),this.componentType=t}setInput(t,i){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;let a=this._rootLView;op(n,a[Se],a,t,i),this.previousInputValues.set(t,i);let r=ki(n.index,a);hp(r,1)}get injector(){return new No(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Tde(e,t,i){let n=e.projection=[];for(let a=0;a<t.length;a++){let r=i[a];n.push(r!=null&&r.length?Array.from(r):null)}}var ws=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Ode),e})();function Ode(){let e=cn();return gb(e,we())}var Pde=ws,fb=class extends Pde{constructor(t,i,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=i,this._hostLView=n}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new No(this._hostTNode,this._hostLView)}get parentInjector(){let t=Gh(this._hostTNode,this._hostLView);if(ny(t)){let i=Vl(t,this._hostLView),n=Fl(t),a=i[Se].data[n+8];return new No(a,i)}else return new No(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let i=sf(this._lContainer);return i!==null&&i[t]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(t,i,n){let a,r;typeof n=="number"?a=n:n!=null&&(a=n.index,r=n.injector);let o=Gr(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(i||{},r,o);return this.insertImpl(l,a,Hr(this._hostTNode,o)),l}createComponent(t,i,n,a,r){let o=t&&!Hse(t),l;if(o)l=i;else{let x=i||{};l=x.index,n=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let u=o?t:new mp(Lr(t)),c=n||this.parentInjector;if(!r&&u.ngModule==null){let x=(o?c:this.parentInjector).get(wi,null);x&&(r=x)}let h=Lr(u.componentType??{}),m=Gr(this._lContainer,(h==null?void 0:h.id)??null),v=null,g=u.create(c,a,v,r);return this.insertImpl(g.hostView,l,Hr(this._hostTNode,m)),g}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,n){let a=t._lView;if(Kse(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[en],c=new fb(u,u[vn],u[en]);c.detach(c.indexOf(t))}}let r=this._adjustIndex(i),o=this._lContainer;return _s(o,a,r,n),t.attachToViewContainerRef(),Ev(hu(o),r,t),t}move(t,i){return this.insert(t,i)}indexOf(t){let i=sf(this._lContainer);return i!==null?i.indexOf(t):-1}remove(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);n&&(Nl(hu(this._lContainer),i),Pc(n[Se],n))}detach(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);return n&&Nl(hu(this._lContainer),i)!=null?new qo(n):null}_adjustIndex(t,i=0){return t??this.length+i}};function sf(e){return e[Rl]}function hu(e){return e[Rl]||(e[Rl]=[])}function gb(e,t){let i,n=t[e.index];return Xi(n)?i=n:(i=sb(n,t,null,e),t[e.index]=i,ip(t,i)),Mde(i,t,e,n),new fb(i,e,t)}function Nde(e,t){let i=e[Ct],n=i.createComment(""),a=Ii(t,e),r=i.parentNode(a);return Ul(i,r,n,i.nextSibling(a),!1),n}var Mde=Rde;function Rde(e,t,i,n){if(e[Ya])return;let a;i.type&8?a=Si(n):a=Nde(t,i),e[Ya]=a}var Ade=class vb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new vb(this.queryList)}setDirty(){this.queryList.setDirty()}},Lde=class yb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let i=t.queries;if(i!==null){let n=t.contentQueries!==null?t.contentQueries[0]:i.length,a=[];for(let r=0;r<n;r++){let o=i.getByIndex(r),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new yb(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)fp(t,i).matches!==null&&this.queries[i].setDirty()}},bb=class{constructor(e,t,i=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=i,typeof e=="string"?this.predicate=qde(e):this.predicate=e}},Fde=class _b{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let n=0;n<this.length;n++){let a=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(t,a);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new _b(i):null}template(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Vde=class xb{constructor(t,i=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new xb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let r=n[a];this.matchTNodeWithReadOption(t,i,jde(i,r)),this.matchTNodeWithReadOption(t,i,gl(i,t,r,!1,!1))}else n===Ur?i.type&4&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,gl(i,t,n,!1,!1))}matchTNodeWithReadOption(t,i,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===At||a===ws||a===Ur&&i.type&4)this.addMatch(i.index,-2);else{let r=gl(i,t,a,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(t,i){this.matches===null?this.matches=[t,i]:this.matches.push(t,i)}};function jde(e,t){let i=e.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===t)return i[n+1]}return null}function Bde(e,t){return e.type&11?no(e,t):e.type&4?Rc(e,t):null}function zde(e,t,i,n){return i===-1?Bde(t,e):i===-2?Hde(e,t,n):Uo(e,e[Se],i,t)}function Hde(e,t,i){if(i===At)return no(t,e);if(i===Ur)return Rc(t,e);if(i===ws)return gb(t,e)}function wb(e,t,i,n){let a=t[ni].queries[n];if(a.matches===null){let r=e.data,o=i.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let h=r[c];l.push(zde(t,h,o[u+1],i.metadata.read))}}a.matches=l}return a.matches}function Pd(e,t,i,n){let a=e.queries.getByIndex(i),r=a.matches;if(r!==null){let o=wb(e,t,a,i);for(let l=0;l<r.length;l+=2){let u=r[l];if(u>0)n.push(o[l/2]);else{let c=r[l+1],h=t[-u];for(let m=Xt;m<h.length;m++){let v=h[m];v[$a]===v[en]&&Pd(v[Se],v,c,n)}if(h[Br]!==null){let m=h[Br];for(let v=0;v<m.length;v++){let g=m[v];Pd(g[Se],g,c,n)}}}}}return n}function Ude(e,t){return e[ni].queries[t].queryList}function Eb(e,t,i){let n=new Hl((i&4)===4);return Qse(e,t,n,n.destroy),(t[ni]??(t[ni]=new Lde)).queries.push(new Ade(n))-1}function Gde(e,t,i){let n=pt();return n.firstCreatePass&&(Sb(n,new bb(e,t,i),-1),(t&2)===2&&(n.staticViewQueries=!0)),Eb(n,we(),t)}function Wde(e,t,i,n){let a=pt();if(a.firstCreatePass){let r=cn();Sb(a,new bb(t,i,n),r.index),$de(a,e)}return Eb(a,we(),i)}function qde(e){return e.split(",").map(t=>t.trim())}function Sb(e,t,i){e.queries===null&&(e.queries=new Fde),e.queries.track(new Vde(t,i))}function $de(e,t){let i=e.contentQueries||(e.contentQueries=[]),n=i.length?i[i.length-1]:-1;t!==n&&i.push(e.queries.length-1,t)}function fp(e,t){return e.queries.getByIndex(t)}function Yde(e,t){let i=e[Se],n=fp(i,t);return n.crossesNgTemplate?Pd(i,e,t,[]):wb(i,e,n,t)}var $o=class{},kb=class extends $o{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new wde(this));s(this,"instance",null);let i=new Dh([...t.providers,{provide:$o,useValue:this},{provide:xs,useValue:this.componentFactoryResolver}],t.parent||xc(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zde(e,t,i=null){return new kb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}var Kde=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let a=Dv(!1,n.type),r=a.length>0?Zde([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",W({token:t,providedIn:"environment",factory:()=>new t(pe(wi))}));let e=t;return e})();function Re(e){return us(()=>{let t=Cb(e),i=yt(ue({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===_y.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Kde).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ui.Emulated,styles:e.styles||hn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ar("NgStandalone"),Ib(i);let n=e.dependencies;return i.directiveDefs=lf(n,!1),i.pipeDefs=lf(n,!0),i.id=the(i),i})}function Jde(e){return Lr(e)||Iv(e)}function Xde(e){return e!==null}function an(e){return us(()=>({type:e.type,bootstrap:e.bootstrap||hn,declarations:e.declarations||hn,imports:e.imports||hn,exports:e.exports||hn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Qde(e,t){if(e==null)return xi;let i={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],r,o,l,u;Array.isArray(a)?(l=a[0],r=a[1],o=a[2]??r,u=a[3]||null):(r=a,o=a,l=Tc.None,u=null),i[r]=[n,l,u],t[r]=o}return i}function ehe(e){if(e==null)return xi;let t={};for(let i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function rn(e){return us(()=>{let t=Cb(e);return Ib(t),t})}function Yt(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 Cb(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||xi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||hn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Qde(e.inputs,t),outputs:ehe(e.outputs),debugInfo:null}}function Ib(e){var t;(t=e.features)==null||t.forEach(i=>i(e))}function lf(e,t){if(!e)return null;let i=t?Pse:Jde;return()=>(typeof e=="function"?e():e).map(n=>i(n)).filter(Xde)}function the(e){let t=0,i=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,i,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of n.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function nhe(e){return Object.getPrototypeOf(e.prototype).constructor}function Gn(e){let t=nhe(e.type),i=!0,n=[e];for(;t;){let a;if(Ei(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(i){n.push(a);let o=e;o.inputs=pu(e.inputs),o.declaredInputs=pu(e.declaredInputs),o.outputs=pu(e.outputs);let l=a.hostBindings;l&&she(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&rhe(e,u),c&&ohe(e,c),ihe(e,a),lse(e.outputs,a.outputs),Ei(a)&&a.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let o=0;o<r.length;o++){let l=r[o];l&&l.ngInherit&&l(e),l===Gn&&(i=!1)}}t=Object.getPrototypeOf(t)}ahe(n)}function ihe(e,t){for(let i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;let n=t.inputs[i];n!==void 0&&(e.inputs[i]=n,e.declaredInputs[i]=t.declaredInputs[i])}}function ahe(e){let t=0,i=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=zr(a.hostAttrs,i=zr(i,a.hostAttrs))}}function pu(e){return e===xi?{}:e===hn?[]:e}function rhe(e,t){let i=e.viewQuery;i?e.viewQuery=(n,a)=>{t(n,a),i(n,a)}:e.viewQuery=t}function ohe(e,t){let i=e.contentQueries;i?e.contentQueries=(n,a,r)=>{t(n,a,r),i(n,a,r)}:e.contentQueries=t}function she(e,t){let i=e.hostBindings;i?e.hostBindings=(n,a)=>{t(n,a),i(n,a)}:e.hostBindings=t}function lhe(e){let t=i=>{let n=Array.isArray(e);i.hostDirectives===null?(i.findHostDirectiveDefs=Db,i.hostDirectives=n?e.map(Nd):[e]):n?i.hostDirectives.unshift(...e.map(Nd)):i.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Db(e,t,i){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let r of a)cf(Nd(r),t,i)}else cf(n,t,i)}function cf(e,t,i){let n=Iv(e.directive);che(n.declaredInputs,e.inputs),Db(n,t,i),i.set(n,e),t.push(n)}function Nd(e){return typeof e=="function"?{directive:qt(e),inputs:xi,outputs:xi}:{directive:qt(e.directive),inputs:uf(e.inputs),outputs:uf(e.outputs)}}function uf(e){if(e===void 0||e.length===0)return xi;let t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function che(e,t){for(let i in t)if(t.hasOwnProperty(i)){let n=t[i],a=e[i];e[n]=a}}function Tb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Es(e,t,i){return e[t]=i}function Ob(e,t){return e[t]}function kn(e,t,i){let n=e[t];return Object.is(n,i)?!1:(e[t]=i,!0)}function Wl(e,t,i,n){let a=kn(e,t,i);return kn(e,t+1,n)||a}function uhe(e,t,i,n,a){let r=Wl(e,t,i,n);return kn(e,t+2,a)||r}function dhe(e,t,i,n,a,r){let o=Wl(e,t,i,n);return Wl(e,t+2,a,r)||o}function hhe(e,t,i,n,a,r,o,l,u){let c=t.consts,h=ao(t,e,4,o||null,l||null);pp(t,i,h,Ka(c,u),rp),h.mergedAttrs=zr(h.mergedAttrs,h.attrs),Uh(t,h);let m=h.tView=tp(2,h,n,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,h),m.queries=t.queries.embeddedTView(h)),h}function Pb(e,t,i,n,a,r,o,l,u,c){let h=i+bt,m=t.firstCreatePass?hhe(h,t,e,n,a,r,o,l,u):t.data[h];Ea(m,!1);let v=phe(t,e);kc()&&Nc(t,e,v,m),io(v,e);let g=sb(v,e,v,m);return e[h]=g,ip(e,g),Sc(m)&&Oc(t,e,m),u!=null&&ap(e,m,c),m}function oe(e,t,i,n,a,r,o,l){let u=we(),c=pt(),h=Ka(c.consts,r);return Pb(u,c,e,t,i,n,a,h,o,l),oe}var phe=mhe;function mhe(e,t,i,n){return Cc(!0),t[Ct].createComment("")}var fhe=new se(""),Nb=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new ghe}));let e=t;return e})(),ghe=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,i=this.queues.get(t);i.has(e)&&(i.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(e)||(this.queuedEffectCount++,i.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 Mb(e){return!!e&&typeof e.then=="function"}function vhe(e){return!!e&&typeof e.subscribe=="function"}var yhe=new se(""),Rb=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",C(yhe,{optional:!0})??[]);s(this,"injector",C(st))}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=wc(this.injector,r);if(Mb(o))n.push(o);else if(vhe(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(r=>{this.reject(r)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bhe=new se("");function _he(){toe(()=>{throw new Z(600,!1)})}function xhe(e){return e.isBoundToModule}var whe=10,xa=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(Ule));s(this,"afterRenderManager",C(Iy));s(this,"zonelessEnabled",C(py));s(this,"rootEffectScheduler",C(Nb));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new be);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",C(gs).hasPendingTasks.pipe(zt(n=>!n)));s(this,"_injector",C(wi));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let n=Oe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,Oe(n),this.afterTick.next()}});C(vs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(a=>{n=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,r=st.NULL){let o=n instanceof db;if(!this._injector.get(Rb).done){let g="";throw new Z(405,g)}let l;o?l=n:l=this._injector.get(xs).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=xhe(l)?void 0:this._injector.get($o),c=a||l.selector,h=l.create(r,[],c,u),m=h.location.nativeElement,v=h.injector.get(fhe,null);return v==null||v.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),vl(this.components,h),v==null||v.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Zh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<whe;)this.synchronizeOnce()}synchronizeOnce(){var n,a,r,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)Ehe(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(n=this._rendererFactory)==null?void 0:n.begin)==null||a.call(n),(o=(r=this._rendererFactory)==null?void 0:r.end)==null||o.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ms(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let a=n;this._views.push(a),a.attachToAppRef(this)}detachView(n){let a=n;vl(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(bhe,[]).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Z(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function vl(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}function Ehe(e,t,i,n){!i&&!ms(e)||ib(e,t,i&&!n?0:1)}function jt(e,t,i,n){let a=we(),r=eo();if(kn(a,r,t)){pt();let o=Hh();yue(o,a,e,t,i,n)}return jt}function She(e,t,i,n){return kn(e,eo(),i)?t+bc(i)+n:ri}function Us(e,t){return e<<17|t<<2}function Qa(e){return e>>17&32767}function khe(e){return(e&2)==2}function Che(e,t){return e&131071|t<<17}function Md(e){return e|2}function Wr(e){return(e&131068)>>2}function mu(e,t){return e&-131069|t<<2}function Ihe(e){return(e&1)===1}function Rd(e){return e|1}function Dhe(e,t,i,n,a,r){let o=r?t.classBindings:t.styleBindings,l=Qa(o),u=Wr(o);e[n]=i;let c=!1,h;if(Array.isArray(i)){let m=i;h=m[1],(h===null||ds(m,h)>0)&&(c=!0)}else h=i;if(a)if(u!==0){let m=Qa(e[l+1]);e[n+1]=Us(m,l),m!==0&&(e[m+1]=mu(e[m+1],n)),e[l+1]=Che(e[l+1],n)}else e[n+1]=Us(l,0),l!==0&&(e[l+1]=mu(e[l+1],n)),l=n;else e[n+1]=Us(u,0),l===0?l=n:e[u+1]=mu(e[u+1],n),u=n;c&&(e[n+1]=Md(e[n+1])),df(e,h,n,!0),df(e,h,n,!1),The(t,h,e,n,r),o=Us(l,u),r?t.classBindings=o:t.styleBindings=o}function The(e,t,i,n,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&ds(r,t)>=0&&(i[n+1]=Rd(i[n+1]))}function df(e,t,i,n){let a=e[i+1],r=t===null,o=n?Qa(a):Wr(a),l=!1;for(;o!==0&&(l===!1||r);){let u=e[o],c=e[o+1];Ohe(u,t)&&(l=!0,e[o+1]=n?Rd(c):Md(c)),o=n?Qa(c):Wr(c)}l&&(e[i+1]=n?Md(a):Rd(a))}function Ohe(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ds(e,t)>=0:!1}var Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Phe(e){return e.substring(Qn.key,Qn.keyEnd)}function Nhe(e){return Mhe(e),Ab(e,Lb(e,0,Qn.textEnd))}function Ab(e,t){let i=Qn.textEnd;return i===t?-1:(t=Qn.keyEnd=Rhe(e,Qn.key=t,i),Lb(e,t,i))}function Mhe(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function Lb(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function Rhe(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}function $(e,t,i){let n=we(),a=eo();if(kn(n,a,t)){let r=pt(),o=Hh();$y(r,o,n,e,t,n[Ct],i,!1)}return $}function Ad(e,t,i,n,a){op(t,e,i,a?"class":"style",n)}function gp(e,t,i){return Fb(e,t,i,!1),gp}function mn(e,t){return Fb(e,t,null,!0),mn}function Ss(e){Lhe(Hhe,Ahe,e,!0)}function Ahe(e,t){for(let i=Nhe(t);i>=0;i=Ab(t,i))Sh(e,Phe(t),!0)}function Fb(e,t,i,n){let a=we(),r=pt(),o=qv(2);if(r.firstUpdatePass&&jb(r,e,o,n),t!==ri&&kn(a,o,t)){let l=r.data[Qi()];Bb(r,l,a,a[Ct],e,a[o+1]=Ghe(t,i),n,o)}}function Lhe(e,t,i,n){let a=pt(),r=qv(2);a.firstUpdatePass&&jb(a,null,r,n);let o=we();if(i!==ri&&kn(o,r,i)){let l=a.data[Qi()];if(zb(l,n)&&!Vb(a,r)){let u=l.classesWithoutHost;u!==null&&(i=ld(u,i||"")),Ad(a,l,o,i,n)}else Uhe(a,l,o,o[Ct],o[r+1],o[r+1]=zhe(e,t,i),n,r)}}function Vb(e,t){return t>=e.expandoStartIndex}function jb(e,t,i,n){let a=e.data;if(a[i+1]===null){let r=a[Qi()],o=Vb(e,i);zb(r,n)&&t===null&&!o&&(t=!1),t=Fhe(a,r,t,n),Dhe(a,r,t,i,o,n)}}function Fhe(e,t,i,n){let a=dle(e),r=n?t.residualClasses:t.residualStyles;if(a===null)(n?t.classBindings:t.styleBindings)===0&&(i=fu(null,e,t,i,n),i=Yo(i,t.attrs,n),r=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(i=fu(a,e,t,i,n),r===null){let l=Vhe(e,t,n);l!==void 0&&Array.isArray(l)&&(l=fu(null,e,t,l[1],n),l=Yo(l,t.attrs,n),jhe(e,t,n,l))}else r=Bhe(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),i}function Vhe(e,t,i){let n=i?t.classBindings:t.styleBindings;if(Wr(n)!==0)return e[Qa(n)]}function jhe(e,t,i,n){let a=i?t.classBindings:t.styleBindings;e[Qa(a)]=n}function Bhe(e,t,i){let n,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let o=e[r].hostAttrs;n=Yo(n,o,i)}return Yo(n,t.attrs,i)}function fu(e,t,i,n,a){let r=null,o=i.directiveEnd,l=i.directiveStylingLast;for(l===-1?l=i.directiveStart:l++;l<o&&(r=t[l],n=Yo(n,r.hostAttrs,a),r!==e);)l++;return e!==null&&(i.directiveStylingLast=l),n}function Yo(e,t,i){let n=i?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Sh(e,o,i?!0:t[++r]))}return e===void 0?null:e}function zhe(e,t,i){if(i==null||i==="")return hn;let n=[],a=sa(i);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(n,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(n,r,a[r]);else typeof a=="string"&&t(n,a);return n}function Hhe(e,t,i){let n=String(t);n!==""&&!n.includes(" ")&&Sh(e,n,i)}function Uhe(e,t,i,n,a,r,o,l){a===ri&&(a=hn);let u=0,c=0,h=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;h!==null||m!==null;){let v=u<a.length?a[u+1]:void 0,g=c<r.length?r[c+1]:void 0,x=null,w;h===m?(u+=2,c+=2,v!==g&&(x=m,w=g)):m===null||h!==null&&h<m?(u+=2,x=h):(c+=2,x=m,w=g),x!==null&&Bb(e,t,i,n,x,w,o,l),h=u<a.length?a[u]:null,m=c<r.length?r[c]:null}}function Bb(e,t,i,n,a,r,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],h=Ihe(c)?hf(u,t,i,a,Wr(c),o):void 0;if(!ql(h)){ql(r)||khe(c)&&(r=hf(u,null,i,a,l,o));let m=jv(Qi(),i);Lue(n,o,m,a,r)}}function hf(e,t,i,n,a,r){let o=t===null,l;for(;a>0;){let u=e[a],c=Array.isArray(u),h=c?u[1]:u,m=h===null,v=i[a+1];v===ri&&(v=m?hn:void 0);let g=m?ru(v,n):h===n?v:void 0;if(c&&!ql(g)&&(g=ru(u,n)),ql(g)&&(l=g,o))return l;let x=e[a+1];a=o?Qa(x):Wr(x)}if(t!==null){let u=r?t.residualClasses:t.residualStyles;u!=null&&(l=ru(u,n))}return l}function ql(e){return e!==void 0}function Ghe(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Bn(sa(e)))),e}function zb(e,t){return(e.flags&(t?8:16))!==0}var Whe=class{destroy(e){}updateValue(e,t){}swap(e,t){let i=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-i>1){let r=this.detach(i);this.attach(i,a),this.attach(n,r)}else this.attach(i,a)}move(e,t){this.attach(t,this.detach(e))}};function gu(e,t,i,n,a){return e===i&&Object.is(t,n)?1:Object.is(a(e,t),a(i,n))?-1:0}function qhe(e,t,i){let n,a,r=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=o&&r<=l;){let u=e.at(r),c=t[r],h=gu(r,u,r,c,i);if(h!==0){h<0&&e.updateValue(r,c),r++;continue}let m=e.at(o),v=t[l],g=gu(o,m,l,v,i);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let x=i(r,u),w=i(o,m),S=i(r,c);if(Object.is(S,w)){let T=i(l,v);Object.is(T,x)?(e.swap(r,o),e.updateValue(o,v),l--,o--):e.move(o,r),e.updateValue(r,c),r++;continue}if(n??(n=new ff),a??(a=mf(e,r,o,i)),Ld(e,n,r,S))e.updateValue(r,c),r++,o++;else if(a.has(S))n.set(x,e.detach(r)),o--;else{let T=e.create(r,t[r]);e.attach(r,T),r++,o++}}for(;r<=l;)pf(e,n,i,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&r<=o;){let c=e.at(r),h=u.value,m=gu(r,c,r,h,i);if(m!==0)m<0&&e.updateValue(r,h),r++,u=l.next();else{n??(n=new ff),a??(a=mf(e,r,o,i));let v=i(r,h);if(Ld(e,n,r,v))e.updateValue(r,h),r++,o++,u=l.next();else if(!a.has(v))e.attach(r,e.create(r,h)),r++,o++,u=l.next();else{let g=i(r,c);n.set(g,e.detach(r)),o--}}}for(;!u.done;)pf(e,n,i,e.length,u.value),u=l.next()}for(;r<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Ld(e,t,i,n){return t!==void 0&&t.has(n)?(e.attach(i,t.get(n)),t.delete(n),!0):!1}function pf(e,t,i,n,a){if(Ld(e,t,n,i(n,a)))e.updateValue(n,a);else{let r=e.create(n,a);e.attach(n,r)}}function mf(e,t,i,n){let a=new Set;for(let r=t;r<=i;r++)a.add(n(r,e.at(r)));return a}var ff=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let i=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(i);)i=n.get(i);n.set(i,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,i]of this.kvMap)if(e(i,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(i);)i=n.get(i),e(i,t)}}};function ee(e,t){ar("NgControlFlow");let i=we(),n=eo(),a=i[n]!==ri?i[n]:-1,r=a!==-1?$l(i,bt+a):void 0,o=0;if(kn(i,n,e)){let l=Oe(null);try{if(r!==void 0&&cb(r,o),e!==-1){let u=bt+e,c=$l(i,u),h=Fd(i[Se],u),m=Gr(c,h.tView.ssrId),v=bs(i,h,t,{dehydratedView:m});_s(c,v,o,Hr(h,m))}}finally{Oe(l)}}else if(r!==void 0){let l=lb(r,o);l!==void 0&&(l[Ut]=t)}}var $he=class{constructor(e,t,i){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-Xt}};function ks(e,t){return t}var Yhe=class{constructor(e,t,i){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=i}};function oo(e,t,i,n,a,r,o,l,u,c,h,m,v){ar("NgControlFlow");let g=we(),x=pt(),w=u!==void 0,S=we(),T=o,L=new Yhe(w,T);S[bt+e]=L,Pb(g,x,e+1,t,i,n,a,Ka(x.consts,r))}var Zhe=class extends Whe{constructor(t,i,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=i,this.templateTNode=n}get length(){return this.lContainer.length-Xt}at(t){return this.getLView(t)[Ut].$implicit}attach(t,i){let n=i[Vr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),_s(this.lContainer,i,t,Hr(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Khe(this.lContainer,t)}create(t,i){var r;let n=Gr(this.lContainer,this.templateTNode.tView.ssrId),a=bs(this.hostLView,this.templateTNode,new $he(this.lContainer,i,t),{dehydratedView:n});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var i;Pc(t[Se],t),(i=this.operationsCounter)==null||i.recordDestroy()}updateValue(t,i){this.getLView(t)[Ut].$implicit=i}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)[Ut].$index=t}getLView(t){return Jhe(this.lContainer,t)}};function so(e){let t=Oe(null),i=Qi();try{let n=we(),a=n[Se],r=n[i],o=i+1,l=$l(n,o);if(r.liveCollection===void 0){let c=Fd(a,o);r.liveCollection=new Zhe(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(qhe(u,e,r.trackByFn),u.updateIndexes(),r.hasEmptyBlock){let c=eo(),h=u.length===0;if(kn(n,c,h)){let m=i+2,v=$l(n,m);if(h){let g=Fd(a,m),x=Gr(v,g.tView.ssrId),w=bs(n,g,void 0,{dehydratedView:x});_s(v,w,0,Hr(g,x))}else cb(v,0)}}}finally{Oe(t)}}function $l(e,t){return e[t]}function Khe(e,t){return Wo(e,t)}function Jhe(e,t){return lb(e,t)}function Fd(e,t){return Ph(e,t)}function j(e,t,i,n){let a=we(),r=pt(),o=bt+e,l=a[Ct],u=r.firstCreatePass?pb(o,r,a,t,rp,ile(),i,n):r.data[o],c=Xhe(r,a,u,l,t);a[o]=c;let h=Sc(u);return Ea(u,!0),jy(l,c,u),!cp(u)&&kc()&&Nc(r,a,c,u),(ele()===0||h)&&io(c,a),tle(),h&&(Oc(r,a,u),Xh(r,u,a)),n!==null&&ap(a,u),j}function z(){let e=cn();Fh()?Vh():(e=e.parent,Ea(e,!1));let t=e;ale(t)&&rle(),nle();let i=pt();return i.firstCreatePass&&mb(i,t),t.classesWithoutHost!=null&&vle(t)&&Ad(i,t,we(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yle(t)&&Ad(i,t,we(),t.stylesWithoutHost,!1),z}function le(e,t,i,n){return j(e,t,i,n),z(),le}var Xhe=(e,t,i,n,a,r)=>(Cc(!0),Fy(n,a,mle()));function Qhe(e,t,i,n,a){let r=t.consts,o=Ka(r,n),l=ao(t,e,8,"ng-container",o);o!==null&&Od(l,o,!0);let u=Ka(r,a);return pp(t,i,l,u,rp),l.mergedAttrs=zr(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Hb(e,t,i){let n=we(),a=pt(),r=e+bt,o=a.firstCreatePass?Qhe(r,a,n,t,i):a.data[r];Ea(o,!0);let l=epe(a,n);return n[r]=l,kc()&&Nc(a,n,l,o),io(l,n),Sc(o)&&(Oc(a,n,o),Xh(a,o,n)),i!=null&&ap(n,o),Hb}function Ub(){let e=cn(),t=pt();return Fh()?Vh():(e=e.parent,Ea(e,!1)),t.firstCreatePass&&(Uh(t,e),Th(e)&&t.queries.elementEnd(e)),Ub}function Sa(e,t,i){return Hb(e,t,i),Ub(),Sa}var epe=(e,t,i,n)=>(Cc(!0),qce(t[Ct],""));function Ac(){return we()}function Lc(e,t,i){let n=we(),a=eo();if(kn(n,a,t)){let r=pt(),o=Hh();$y(r,o,n,e,t,n[Ct],i,!0)}return Lc}var Da=void 0;function tpe(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var npe=["en",[["a","p"],["AM","PM"],Da],[["AM","PM"],Da,Da],[["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"]],Da,[["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"]],Da,[["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}",Da,"{1} 'at' {0}",Da],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",tpe],Mo={};function ipe(e,t,i){typeof t!="string"&&(i=t,t=e[Mt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Mo[t]=e,i&&(Mo[t][Mt.ExtraData]=i)}function si(e){let t=ape(e),i=gf(t);if(i)return i;let n=t.split("-")[0];if(i=gf(n),i)return i;if(n==="en")return npe;throw new Z(701,!1)}function gf(e){return e in Mo||(Mo[e]=wr.ng&&wr.ng.common&&wr.ng.common.locales&&wr.ng.common.locales[e]),Mo[e]}var Mt=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}(Mt||{});function ape(e){return e.toLowerCase().replace(/_/g,"-")}var Vd="en-US";function rpe(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function vf(e,t,i){return function n(a){if(a===Function)return i;let r=Kr(e)?ki(e.index,t):t;hp(r,5);let o=t[Ut],l=yf(t,o,i,a),u=n.__ngNextListenerFn__;for(;u;)l=yf(t,o,u,a)&&l,u=u.__ngNextListenerFn__;return l}}function yf(e,t,i,n){let a=Oe(null);try{return Za(6,t,i),i(n)!==!1}catch(r){return ope(e,r),!1}finally{Oe(a)}}function ope(e,t){let i=e[jr],n=i?i.get(ai,null):null;n&&n.handleError(t)}function bf(e,t,i,n,a,r){let o=t[i],l=t[Se],u=l.data[i].outputs[n],c=o[u],h=l.firstCreatePass?Lh(l):null,m=Ah(t),v=c.subscribe(r),g=m.length;m.push(r,v),h&&h.push(a,e.index,g,-(g+1))}function Di(e,t,i,n){let a=we(),r=pt(),o=cn();return lpe(r,a,a[Ct],o,e,t,n),Di}function spe(e,t,i,n){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let o=a[r];if(o===i&&a[r+1]===n){let l=t[Or],u=a[r+2];return l.length>u?l[u]:null}typeof o=="string"&&(r+=2)}return null}function lpe(e,t,i,n,a,r,o){var m,v;let l=Sc(n),u=e.firstCreatePass?Lh(e):null,c=Ah(t),h=!0;if(n.type&3||o){let g=Ii(n,t),x=o?o(g):g,w=c.length,S=o?L=>o(Si(L[n.index])):n.index,T=null;if(!o&&l&&(T=spe(e,t,a,n.index)),T!==null){let L=T.__ngLastListenerFn__||T;L.__ngNextListenerFn__=r,T.__ngLastListenerFn__=r,h=!1}else{r=vf(n,t,r);let L=i.listen(x,a,r);c.push(r,L),u&&u.push(a,S,w,w+1)}}else r=vf(n,t,r);if(h){let g=(m=n.outputs)==null?void 0:m[a],x=(v=n.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let S=x[w],T=x[w+1];bf(n,t,S,T,a,r)}if(g&&g.length)for(let w of g)bf(n,t,w,a,a,r)}}function ae(e=1){return ple(e)}function cpe(e,t){let i=null,n=nue(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){i=a;continue}if(n===null?Hy(e,r,!0):rue(n,r))return a}return i}function Dn(e){let t=we()[Hn][vn];if(!t.projection){let i=e?e.length:1,n=t.projection=Dse(i,null),a=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?cpe(r,e):0;o!==null&&(a[o]?a[o].projectionNext=r:n[o]=r,a[o]=r)}r=r.next}}}function nt(e,t=0,i,n,a,r){let o=we(),l=pt(),u=null,c=ao(l,bt+e,16,null,null);c.projection===null&&(c.projection=t),Vh();let h=!o[Vr]||Hv();o[Hn][vn].projection[c.projection]===null&&u!==null?upe(o,l,u):h&&!cp(c)&&Rue(l,o,c)}function upe(e,t,i){let n=bt+i,a=t.data[n],r=e[n],o=Gr(r,a.tView.ssrId),l=bs(e,a,void 0,{dehydratedView:o});_s(r,l,0,Hr(a,o))}function Aa(e,t,i,n){Wde(e,t,i,n)}function Yl(e,t,i){Gde(e,t,i)}function Kn(e){let t=we(),i=pt(),n=$v();jh(n+1);let a=fp(i,n);if(e.dirty&&Zse(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Yde(t,n);e.reset(r,$le),e.notifyOnChanges()}return!0}return!1}function Jn(){return Ude(we(),$v())}function or(e){let t=Gv();return ps(t,bt+e)}function ge(e,t=""){let i=we(),n=pt(),a=e+bt,r=n.firstCreatePass?ao(n,a,1,t,null):n.data[a],o=dpe(n,i,r,t);i[a]=o,kc()&&Nc(n,i,o,r),Ea(r,!1)}var dpe=(e,t,i,n,a)=>(Cc(!0),Gce(t[Ct],n));function Nt(e){return qe("",e,""),Nt}function qe(e,t,i){let n=we(),a=She(n,e,t,i);return a!==ri&&hpe(n,Qi(),a),qe}function hpe(e,t,i){let n=jv(t,e);Wce(e[Ct],n,i)}var Gb={};function Wb(e){let t=pt(),i=we(),n=e+bt,a=ao(t,n,128,null,null);return Ea(a,!1),Nh(t,i,n,Gb),Wb}function _f(e){ar("NgLet");let t=pt(),i=we(),n=Qi();return Nh(t,i,n,e),e}function xf(e){let t=Gv(),i=ps(t,bt+e);if(i===Gb)throw new Z(314,!1);return i}function ppe(e,t,i){let n=pt();if(n.firstCreatePass){let a=Ei(e);jd(i,n.data,n.blueprint,a,!0),jd(t,n.data,n.blueprint,a,!1)}}function jd(e,t,i,n,a){if(e=qt(e),Array.isArray(e))for(let r=0;r<e.length;r++)jd(e[r],t,i,n,a);else{let r=pt(),o=we(),l=cn(),u=Fr(e)?e:qt(e.provide),c=Pv(e),h=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Fr(e)||!e.multi){let g=new fs(c,a,Qt),x=yu(u,t,a?h:h+v,m);x===-1?(bd(Bl(l,o),r,u),vu(r,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(g),o.push(g)):(i[x]=g,o[x]=g)}else{let g=yu(u,t,h+v,m),x=yu(u,t,h,h+v),w=g>=0&&i[g],S=x>=0&&i[x];if(a&&!S||!a&&!w){bd(Bl(l,o),r,u);let T=gpe(a?fpe:mpe,i.length,a,n,c);!a&&S&&(i[x].providerFactory=T),vu(r,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(T),o.push(T)}else{let T=qb(i[a?x:g],c,!a&&n);vu(r,e,g>-1?g:x,T)}!a&&n&&S&&i[x].componentProviders++}}}function vu(e,t,i,n){let a=Fr(t),r=Lse(t);if(a||r){let o=(r?qt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let u=l.indexOf(i);u===-1?l.push(i,[n,o]):l[u+1].push(n,o)}else l.push(i,o)}}}function qb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function yu(e,t,i,n){for(let a=i;a<n;a++)if(t[a]===e)return a;return-1}function mpe(e,t,i,n,a){return Bd(this.multi,[])}function fpe(e,t,i,n,a){let r=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Uo(n,n[Se],this.providerFactory.index,a);o=u.slice(0,l),Bd(r,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Bd(r,o);return o}function Bd(e,t){for(let i=0;i<e.length;i++){let n=e[i];t.push(n())}return t}function gpe(e,t,i,n,a){let r=new fs(e,i,Qt);return r.multi=[],r.index=t,r.componentProviders=0,qb(r,a,n&&!i),r}function $b(e,t=[]){return i=>{i.providersResolver=(n,a)=>ppe(n,a?a(e):e,t)}}function vpe(e,t,i){let n=Qr()+e,a=we();return a[n]===ri?Es(a,n,t()):Ob(a,n)}function Cn(e,t,i,n){return Yb(we(),Qr(),e,t,i,n)}function ype(e,t,i,n,a,r,o,l){let u=Qr()+e,c=we(),h=dhe(c,u,i,n,a,r);return kn(c,u+4,o)||h?Es(c,u+5,t(i,n,a,r,o)):Ob(c,u+5)}function vp(e,t){let i=e[t];return i===ri?void 0:i}function Yb(e,t,i,n,a,r){let o=t+i;return kn(e,o,a)?Es(e,o+1,r?n.call(r,a):n(a)):vp(e,o+1)}function bpe(e,t,i,n,a,r,o){let l=t+i;return Wl(e,l,a,r)?Es(e,l+2,o?n.call(o,a,r):n(a,r)):vp(e,l+2)}function _pe(e,t,i,n,a,r,o,l){let u=t+i;return uhe(e,u,a,r,o)?Es(e,u+3,l?n.call(l,a,r,o):n(a,r,o)):vp(e,u+3)}function A(e,t){let i=pt(),n,a=e+bt;i.firstCreatePass?(n=xpe(t,i.pipeRegistry),i.data[a]=n,n.onDestroy&&(i.destroyHooks??(i.destroyHooks=[])).push(a,n.onDestroy)):n=i.data[a];let r=n.factory||(n.factory=qa(n.type)),o=dn(Qt);try{let l=jl(!1),u=r();return jl(l),Nh(i,we(),a,u),u}finally{dn(o)}}function xpe(e,t){if(t)for(let i=t.length-1;i>=0;i--){let n=t[i];if(e===n.name)return n}}function Y(e,t,i){let n=e+bt,a=we(),r=ps(a,n);return yp(a,n)?Yb(a,Qr(),t,r.transform,i,r):r.transform(i)}function dt(e,t,i,n){let a=e+bt,r=we(),o=ps(r,a);return yp(r,a)?bpe(r,Qr(),t,o.transform,i,n,o):o.transform(i,n)}function fn(e,t,i,n,a){let r=e+bt,o=we(),l=ps(o,r);return yp(o,r)?_pe(o,Qr(),t,l.transform,i,n,a,l):l.transform(i,n,a)}function yp(e,t){return e[Se].data[t].pure}function Zl(e,t){return Rc(e,t)}var wpe=class{constructor(e){s(this,"full");s(this,"major");s(this,"minor");s(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},wf=new wpe("19.2.17"),Epe=(()=>{const t=class t{constructor(){s(this,"zone",C(We));s(this,"changeDetectionScheduler",C(to));s(this,"applicationRef",C(xa));s(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Spe({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??(e=()=>new We(yt(ue({},kpe()),{scheduleInRootZone:i}))),[{provide:We,useFactory:e},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Epe,{optional:!0});return()=>n.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Cpe);return()=>{n.initialize()}}},t===!0?{provide:my,useValue:!0}:[],{provide:fy,useValue:i??dy}]}function kpe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Cpe=(()=>{const t=class t{constructor(){s(this,"subscription",new pn);s(this,"initialized",!1);s(this,"zone",C(We));s(this,"pendingTasks",C(gs))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{We.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{We.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ipe=(()=>{var t;const i=class i{constructor(){s(this,"appRef",C(xa));s(this,"taskService",C(gs));s(this,"ngZone",C(We));s(this,"zonelessEnabled",C(py));s(this,"tracing",C(vs,{optional:!0}));s(this,"disableScheduling",C(my,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new pn);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(zl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(fy,{optional:!0})??!1));s(this,"cancelScheduledCallback",null);s(this,"useMicrotaskScheduler",!1);s(this,"runningTick",!1);s(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Ble||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Um:gy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(zl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Um(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};s(i,"ɵfac",function(a){return new(a||i)}),s(i,"ɵprov",W({token:i,factory:i.ɵfac,providedIn:"root"}));let e=i;return e})();function Dpe(){return typeof $localize<"u"&&$localize.locale||Vd}var Fc=new se("",{providedIn:"root",factory:()=>C(Fc,Me.Optional|Me.SkipSelf)||Dpe()}),zd=new se(""),Tpe=new se("");function vo(e){return!e.moduleRef}function Ope(e){let t=vo(e)?e.r3Injector:e.moduleRef.injector,i=t.get(We);return i.run(()=>{vo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(ai,null),a;if(i.runOutsideAngular(()=>{a=i.onError.subscribe({next:r=>{n.handleError(r)}})}),vo(e)){let r=()=>t.destroy(),o=e.platformInjector.get(zd);o.add(r),t.onDestroy(()=>{a.unsubscribe(),o.delete(r)})}else{let r=()=>e.moduleRef.destroy(),o=e.platformInjector.get(zd);o.add(r),e.moduleRef.onDestroy(()=>{vl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(r)})}return Npe(n,i,()=>{let r=t.get(Rb);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Fc,Vd);if(rpe(o||Vd),!t.get(Tpe,!0))return vo(e)?t.get(xa):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vo(e)){let l=t.get(xa);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Ppe(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Ppe(e,t){let i=e.injector.get(xa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>i.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(i);else throw new Z(-403,!1);t.push(e)}function Npe(e,t,i){try{let n=i();return Mb(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var yl=null;function Mpe(e=[],t){return st.create({name:t,providers:[{provide:Ih,useValue:"platform"},{provide:zd,useValue:new Set([()=>yl=null])},...e]})}function Rpe(e=[]){if(yl)return yl;let t=Mpe(e);return yl=t,_he(),Ape(t),t}function Ape(e){let t=e.get(ky,null);wc(e,()=>{t==null||t.forEach(i=>i())})}function Lpe(){return!1}var sr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Fpe),e})();function Fpe(e){return Vpe(cn(),we(),(e&16)===16)}function Vpe(e,t,i){if(Kr(e)&&!i){let n=ki(e.index,t);return new qo(n,n)}else if(e.type&175){let n=t[Hn];return new qo(n,t)}return null}var jpe=class{constructor(){}supports(e){return e instanceof Map||Tb(e)}create(){return new Bpe}},Bpe=class{constructor(){s(this,"_records",new Map);s(this,"_mapHead",null);s(this,"_appendAfter",null);s(this,"_previousMapHead",null);s(this,"_changesHead",null);s(this,"_changesTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Tb(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(i,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,i);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let a=n._prev,r=n._next;return a&&(a._next=r),r&&(r._prev=a),n._next=null,n._prev=null,n}let i=new zpe(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_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(i=>t(e[i],i))}},zpe=class{constructor(e){s(this,"key");s(this,"previousValue",null);s(this,"currentValue",null);s(this,"_nextPrevious",null);s(this,"_next",null);s(this,"_prev",null);s(this,"_nextAdded",null);s(this,"_nextRemoved",null);s(this,"_nextChanged",null);this.key=e}};function Ef(){return new bp([new jpe])}var bp=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let r=a.factories.slice();n=n.concat(r)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||Ef()),deps:[[t,new kse,new Sse]]}}find(n){let a=this.factories.find(r=>r.supports(n));if(a)return a;throw new Z(901,!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:Ef}));let e=t;return e})();function Hpe(e){let{rootComponent:t,appProviders:i,platformProviders:n,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Rpe(n),o=[Spe({}),{provide:to,useExisting:Ipe},...i||[]],l=new kb({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Ope({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function ei(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Vc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Upe(e){return soe(e)}function Gi(e,t){return Xre(e,t==null?void 0:t.equal)}var s0,Gpe=(s0=Sn,class{constructor(e){s(this,s0);this[Sn]=e}destroy(){this[Sn].destroy()}});function _p(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st),n=(t==null?void 0:t.manualCleanup)!==!0?i.get(ii):null,a,r=i.get(Kh,null,{optional:!0}),o=i.get(to);return r!==null&&!(t!=null&&t.forceRoot)?(a=$pe(r.view,o,e),n instanceof hy&&n._lView===r.view&&(n=null)):a=Ype(e,i.get(Nb),o),a.injector=i,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new Gpe(a)}var Zb=yt(ue({},$r),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Go,run(){if(this.dirty=!1,this.hasRun&&!ph(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Lo(this),i=Ll(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ll(i),mc(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Wpe=yt(ue({},Zb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){fc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),qpe=yt(ue({},Zb),{consumerMarkedDirty(){this.view[_e]|=8192,Xr(this.view),this.notifier.notify(13)},destroy(){var e;fc(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Hi])==null||e.delete(this)}});function $pe(e,t,i){let n=Object.create(qpe);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=i,e[Hi]??(e[Hi]=new Set),e[Hi].add(n),n.consumerMarkedDirty(n),n}function Ype(e,t,i){let n=Object.create(Wpe);return n.fn=e,n.scheduler=t,n.notifier=i,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var Zpe=e=>e;function Kpe(e,t){if(typeof e=="function"){let i=Sm(e,Zpe,t==null?void 0:t.equal);return Sf(i)}else{let i=Sm(e.source,e.computation,e.equal);return Sf(i)}}function Sf(e){let t=e[Sn],i=e;return i.set=n=>aoe(t,n),i.update=n=>roe(t,n),i.asReadonly=yy.bind(e),i}function Kb(e,t){let i=Lr(e),n=t.elementInjector||xc();return new mp(i).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var Jpe={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function Xpe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Qpe(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var bu;function eme(e,t){if(!bu){let i=Element.prototype;bu=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?bu.call(e,t):!1}function tme(e){let t={};return e.forEach(({propName:i,templateName:n,transform:a})=>{t[Xpe(n)]=[i,a]}),t}function nme(e,t){return t.get(xs).resolveComponentFactory(e).inputs}function ime(e,t){let i=e.childNodes,n=t.map(()=>[]),a=-1;t.some((r,o)=>r==="*"?(a=o,!0):!1);for(let r=0,o=i.length;r<o;++r){let l=i[r],u=ame(l,t,a);u!==-1&&n[u].push(l)}return n}function ame(e,t,i){let n=i;return Qpe(e)&&t.some((a,r)=>a!=="*"&&eme(e,a)?(n=r,!0):!1),n}var rme=10,ome=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(xs).resolveComponentFactory(e);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(e){return new sme(this.componentFactory,e,this.inputMap)}},sme=class{constructor(e,t,i){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new N0(1));s(this,"events",this.eventEmitters.pipe(zo(e=>cs(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=i,this.ngZone=this.injector.get(We),this.appRef=this.injector.get(xa),this.cdScheduler=t.get(to),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=Jpe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},rme))})}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),Jue(this.componentRef.hostView)&&(Xue(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=st.create({providers:[],parent:this.injector}),i=ime(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,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:i,templateName:n})=>{let a=e.instance[i];return new ht(r=>{let o=a.subscribe(l=>r.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},lme=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function cme(e,t){let i=nme(e,t.injector),n=t.strategyFactory||new ome(e,t.injector),a=tme(i);class r extends lme{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);i.forEach(({propName:c,transform:h})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,h)})}return this._ngElementStrategy}attributeChangedCallback(u,c,h,m){let[v,g]=a[u];this.ngElementStrategy.setInputValue(v,h,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(r,"observedAttributes",Object.keys(a)),i.forEach(({propName:o,transform:l})=>{Object.defineProperty(r.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),r}var He=new se(""),Jb=null;function Ro(){return Jb}function ume(e){Jb??(Jb=e)}var dme=class{},Xb=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(hme),providedIn:"platform"}));let e=t;return e})(),hme=(()=>{const t=class t extends Xb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(He));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ro().getBaseHref(this._doc)}onPopState(a){let r=Ro().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=Ro().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,o){this._history.pushState(a,r,o)}replaceState(a,r,o){this._history.replaceState(a,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",W({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Qb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function kf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ba(e){return e&&e[0]!=="?"?`?${e}`:e}var xp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(mme),providedIn:"root"}));let e=t;return e})(),pme=new se(""),mme=(()=>{const t=class t extends xp{constructor(a,r){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((o=C(He).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return Qb(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+Ba(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${r}${o}`:r}pushState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.pushState(a,r,u)}replaceState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.replaceState(a,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(Xb),pe(pme,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),e1=(()=>{const t=class t{constructor(n){s(this,"_subject",new be);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=vme(kf(Cf(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+Ba(a))}normalize(n){return t.stripTrailingSlash(gme(this._basePath,Cf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",r=null){this._locationStrategy.pushState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}replaceState(n,a="",r=null){this._locationStrategy.replaceState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(r=>r(n,a))}subscribe(n,a,r){return this._subject.subscribe({next:n,error:a??void 0,complete:r??void 0})}};s(t,"normalizeQueryParams",Ba),s(t,"joinWithSlash",Qb),s(t,"stripTrailingSlash",kf),s(t,"ɵfac",function(n){return new(n||t)(pe(xp))}),s(t,"ɵprov",W({token:t,factory:()=>fme(),providedIn:"root"}));let e=t;return e})();function fme(){return new e1(pe(xp))}function gme(e,t){if(!e||!t.startsWith(e))return t;let i=t.substring(e.length);return i===""||["/",";","?","#"].includes(i[0])?i:t}function Cf(e){return e.replace(/\/index.html$/,"")}function vme(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var sn=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(sn||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),_n=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(_n||{}),jc={MinusSign:5};function yme(e){return si(e)[Mt.LocaleId]}function bme(e,t,i){let n=si(e),a=[n[Mt.DayPeriodsFormat],n[Mt.DayPeriodsStandalone]],r=Un(a,t);return Un(r,i)}function _me(e,t,i){let n=si(e),a=[n[Mt.DaysFormat],n[Mt.DaysStandalone]],r=Un(a,t);return Un(r,i)}function xme(e,t,i){let n=si(e),a=[n[Mt.MonthsFormat],n[Mt.MonthsStandalone]],r=Un(a,t);return Un(r,i)}function wme(e,t){let i=si(e)[Mt.Eras];return Un(i,t)}function Gs(e,t){let i=si(e);return Un(i[Mt.DateFormat],t)}function Ws(e,t){let i=si(e);return Un(i[Mt.TimeFormat],t)}function qs(e,t){let i=si(e)[Mt.DateTimeFormat];return Un(i,t)}function Bc(e,t){return si(e)[Mt.NumberSymbols][t]}function t1(e){if(!e[Mt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Mt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Eme(e){let t=si(e);return t1(t),(t[Mt.ExtraData][2]||[]).map(i=>typeof i=="string"?_u(i):[_u(i[0]),_u(i[1])])}function Sme(e,t,i){let n=si(e);t1(n);let a=[n[Mt.ExtraData][0],n[Mt.ExtraData][1]],r=Un(a,t)||[];return Un(r,i)||[]}function Un(e,t){for(let i=t;i>-1;i--)if(typeof e[i]<"u")return e[i];throw new Error("Locale data API: locale data undefined")}function _u(e){let[t,i]=e.split(":");return{hours:+t,minutes:+i}}var kme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,mr={},Cme=/((?:[^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 Ime(e,t,i,n){let a=Lme(e);t=ji(i,t)||t;let r=[],o;for(;t;)if(o=Cme.exec(t),o){r=r.concat(o.slice(1));let c=r.pop();if(!c)break;t=c}else{r.push(t);break}let l=a.getTimezoneOffset();n&&(l=i1(n,l),a=Ame(a,n));let u="";return r.forEach(c=>{let h=Mme(c);u+=h?h(a,i,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Kl(e,t,i){let n=new Date(0);return n.setFullYear(e,t,i),n.setHours(0,0,0),n}function ji(e,t){let i=yme(e);if(mr[i]??(mr[i]={}),mr[i][t])return mr[i][t];let n="";switch(t){case"shortDate":n=Gs(e,_n.Short);break;case"mediumDate":n=Gs(e,_n.Medium);break;case"longDate":n=Gs(e,_n.Long);break;case"fullDate":n=Gs(e,_n.Full);break;case"shortTime":n=Ws(e,_n.Short);break;case"mediumTime":n=Ws(e,_n.Medium);break;case"longTime":n=Ws(e,_n.Long);break;case"fullTime":n=Ws(e,_n.Full);break;case"short":let a=ji(e,"shortTime"),r=ji(e,"shortDate");n=$s(qs(e,_n.Short),[a,r]);break;case"medium":let o=ji(e,"mediumTime"),l=ji(e,"mediumDate");n=$s(qs(e,_n.Medium),[o,l]);break;case"long":let u=ji(e,"longTime"),c=ji(e,"longDate");n=$s(qs(e,_n.Long),[u,c]);break;case"full":let h=ji(e,"fullTime"),m=ji(e,"fullDate");n=$s(qs(e,_n.Full),[h,m]);break}return n&&(mr[i][t]=n),n}function $s(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(i,n){return t!=null&&n in t?t[n]:i})),e}function Xn(e,t,i="-",n,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=i));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),r+o}function Dme(e,t){return Xn(e,3).substring(0,t)}function Tt(e,t,i=0,n=!1,a=!1){return function(r,o){let l=Tme(e,r);if((i>0||l>-i)&&(l+=i),e===3)l===0&&i===-12&&(l=12);else if(e===6)return Dme(l,t);let u=Bc(o,jc.MinusSign);return Xn(l,t,u,n,a)}}function Tme(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 Xe(e,t,i=sn.Format,n=!1){return function(a,r){return Ome(a,r,e,t,i,n)}}function Ome(e,t,i,n,a,r){switch(i){case 2:return xme(t,a,n)[e.getMonth()];case 1:return _me(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=Eme(t),h=Sme(t,a,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=o>=g.hours&&l>=g.minutes,S=o<x.hours||o===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&S)return!0}else if(w||S)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return h[m]}return bme(t,a,n)[o<12?0:1];case 3:return wme(t,n)[e.getFullYear()<=0?0:1];default:let u=i;throw new Error(`unexpected translation type ${u}`)}}function Ys(e){return function(t,i,n){let a=-1*n,r=Bc(i,jc.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Xn(o,2,r)+Xn(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+Xn(o,1,r);case 2:return"GMT"+(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);case 3:return n===0?"Z":(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Pme=0,bl=4;function Nme(e){let t=Kl(e,Pme,1).getDay();return Kl(e,0,1+(t<=bl?bl:bl+7)-t)}function n1(e){let t=e.getDay(),i=t===0?-3:bl-t;return Kl(e.getFullYear(),e.getMonth(),e.getDate()+i)}function xu(e,t=!1){return function(i,n){let a;if(t){let r=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,o=i.getDate();a=1+Math.floor((o+r)/7)}else{let r=n1(i),o=Nme(r.getFullYear()),l=r.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Xn(a,e,Bc(n,jc.MinusSign))}}function Zs(e,t=!1){return function(i,n){let a=n1(i).getFullYear();return Xn(a,e,Bc(n,jc.MinusSign),t)}}var wu={};function Mme(e){if(wu[e])return wu[e];let t;switch(e){case"G":case"GG":case"GGG":t=Xe(3,Ke.Abbreviated);break;case"GGGG":t=Xe(3,Ke.Wide);break;case"GGGGG":t=Xe(3,Ke.Narrow);break;case"y":t=Tt(0,1,0,!1,!0);break;case"yy":t=Tt(0,2,0,!0,!0);break;case"yyy":t=Tt(0,3,0,!1,!0);break;case"yyyy":t=Tt(0,4,0,!1,!0);break;case"Y":t=Zs(1);break;case"YY":t=Zs(2,!0);break;case"YYY":t=Zs(3);break;case"YYYY":t=Zs(4);break;case"M":case"L":t=Tt(1,1,1);break;case"MM":case"LL":t=Tt(1,2,1);break;case"MMM":t=Xe(2,Ke.Abbreviated);break;case"MMMM":t=Xe(2,Ke.Wide);break;case"MMMMM":t=Xe(2,Ke.Narrow);break;case"LLL":t=Xe(2,Ke.Abbreviated,sn.Standalone);break;case"LLLL":t=Xe(2,Ke.Wide,sn.Standalone);break;case"LLLLL":t=Xe(2,Ke.Narrow,sn.Standalone);break;case"w":t=xu(1);break;case"ww":t=xu(2);break;case"W":t=xu(1,!0);break;case"d":t=Tt(2,1);break;case"dd":t=Tt(2,2);break;case"c":case"cc":t=Tt(7,1);break;case"ccc":t=Xe(1,Ke.Abbreviated,sn.Standalone);break;case"cccc":t=Xe(1,Ke.Wide,sn.Standalone);break;case"ccccc":t=Xe(1,Ke.Narrow,sn.Standalone);break;case"cccccc":t=Xe(1,Ke.Short,sn.Standalone);break;case"E":case"EE":case"EEE":t=Xe(1,Ke.Abbreviated);break;case"EEEE":t=Xe(1,Ke.Wide);break;case"EEEEE":t=Xe(1,Ke.Narrow);break;case"EEEEEE":t=Xe(1,Ke.Short);break;case"a":case"aa":case"aaa":t=Xe(0,Ke.Abbreviated);break;case"aaaa":t=Xe(0,Ke.Wide);break;case"aaaaa":t=Xe(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=Xe(0,Ke.Abbreviated,sn.Standalone,!0);break;case"bbbb":t=Xe(0,Ke.Wide,sn.Standalone,!0);break;case"bbbbb":t=Xe(0,Ke.Narrow,sn.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ke.Abbreviated,sn.Format,!0);break;case"BBBB":t=Xe(0,Ke.Wide,sn.Format,!0);break;case"BBBBB":t=Xe(0,Ke.Narrow,sn.Format,!0);break;case"h":t=Tt(3,1,-12);break;case"hh":t=Tt(3,2,-12);break;case"H":t=Tt(3,1);break;case"HH":t=Tt(3,2);break;case"m":t=Tt(4,1);break;case"mm":t=Tt(4,2);break;case"s":t=Tt(5,1);break;case"ss":t=Tt(5,2);break;case"S":t=Tt(6,1);break;case"SS":t=Tt(6,2);break;case"SSS":t=Tt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ys(0);break;case"ZZZZZ":t=Ys(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ys(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ys(2);break;default:return null}return wu[e]=t,t}function i1(e,t){e=e.replace(/:/g,"");let i=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(i)?t:i}function Rme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Ame(e,t,i){let n=e.getTimezoneOffset(),a=i1(t,n);return Rme(e,-1*(a-n))}function Lme(e){if(If(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,o=1]=e.split("-").map(l=>+l);return Kl(a,r-1,o)}let i=parseFloat(e);if(!isNaN(e-i))return new Date(i);let n;if(n=e.match(kme))return Fme(n)}let t=new Date(e);if(!If(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Fme(e){let t=new Date(0),i=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(i=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-i,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,o,l,u,c),t}function If(e){return e instanceof Date&&!isNaN(e.valueOf())}var Eu=/\s+/,Df=[],wp=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Df);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(Eu):Df}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Eu):n}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let a of n)this._updateState(a,!0);else if(n!=null)for(let a of Object.keys(n))this._updateState(a,!!n[a]);this._applyStateDiff()}_updateState(n,a){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],r=n[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(Eu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(At),Qt(ro))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Vme=(()=>{const t=class t{constructor(n,a,r){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=a,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[r,o]=n.split("."),l=r.indexOf("-")===-1?void 0:ua.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(n){n.forEachRemovedItem(a=>this._setStyle(a.key,null)),n.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),n.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Qt(At),Qt(bp),Qt(ro))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),Ep=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(n,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(ws))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Oh]}));let e=t;return e})();function jme(e,t){return new Z(2100,!1)}var Bme="mediumDate",zme=new se(""),Hme=new se(""),Sp=(()=>{const t=class t{constructor(n,a,r){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=r}transform(n,a,r,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??Bme,h=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return Ime(n,c,o||this.locale,h)}catch(c){throw jme(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Fc,16),Qt(zme,24),Qt(Hme,24))}),s(t,"ɵpipe",Yt({name:"date",type:t,pure:!0}));let e=t;return e})();function Ume(e,t){return{key:e,value:t}}var Gme=(()=>{const t=class t{constructor(n){s(this,"differs");s(this,"differ");s(this,"keyValues",[]);s(this,"compareFn",Tf);this.differs=n}transform(n,a=Tf){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??(this.differ=this.differs.find(n).create());let r=this.differ.diff(n),o=a!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(l=>{this.keyValues.push(Ume(l.key,l.currentValue))})),(r||o)&&(a&&this.keyValues.sort(a),this.compareFn=a),this.keyValues}};s(t,"ɵfac",function(n){return new(n||t)(Qt(bp,16))}),s(t,"ɵpipe",Yt({name:"keyvalue",type:t,pure:!1}));let e=t;return e})();function Tf(e,t){let i=e.key,n=t.key;if(i===n)return 0;if(i==null)return 1;if(n==null)return-1;if(typeof i=="string"&&typeof n=="string")return i<n?-1:1;if(typeof i=="number"&&typeof n=="number")return i-n;if(typeof i=="boolean"&&typeof n=="boolean")return i<n?-1:1;let a=String(i),r=String(n);return a==r?0:a<r?-1:1}var a1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})();function r1(e,t){t=encodeURIComponent(t);for(let i of e.split(";")){let n=i.indexOf("="),[a,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var o1="browser",Wme="server";function qme(e){return e===o1}function s1(e){return e===Wme}var l1=class{};function zc(e,t,i){return ipe(e,t,i)}var Hd=new se(""),c1=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,r,o){return this._findPluginFor(a).addEventListener(n,a,r,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(r=>r.supports(n)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(pe(Hd),pe(We))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),u1=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},_l="ng-app-id";function Of(e){for(let t of e)t.remove()}function Pf(e,t){let i=t.createElement("style");return i.textContent=e,i}function $me(e,t,i,n){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${_l}="${t}"],link[${_l}="${t}"]`);if(a)for(let o of a)o.removeAttribute(_l),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&i.set(o.textContent,{usage:0,elements:[o]})}function Ud(e,t){let i=t.createElement("link");return i.setAttribute("rel","stylesheet"),i.setAttribute("href",e),i}var d1=(()=>{const t=class t{constructor(n,a,r,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=r,this.isServer=s1(o),$me(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let r of n)this.addUsage(r,this.inline,Pf);a==null||a.forEach(r=>this.addUsage(r,this.external,Ud))}removeStyles(n,a){for(let r of n)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,a,r){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(n,this.doc)))})}removeUsage(n,a){let r=a.get(n);r&&(r.usage--,r.usage<=0&&(Of(r.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Of(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(n,Pf(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(n,Ud(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(_l,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe($h),pe(Yh,8),pe(Ic))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Su={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},kp=/%COMP%/g,h1="%COMP%",Yme=`_nghost-${h1}`,Zme=`_ngcontent-${h1}`,Kme=!0,Jme=new se("",{providedIn:"root",factory:()=>Kme});function Xme(e){return Zme.replace(kp,e)}function Qme(e){return Yme.replace(kp,e)}function p1(e,t){return t.map(i=>i.replace(kp,e))}var Gd=(()=>{const t=class t{constructor(n,a,r,o,l,u,c,h=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=h,this.tracingService=m,this.platformIsServer=s1(u),this.defaultRenderer=new Cp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===Ui.ShadowDom&&(a=yt(ue({},a),{encapsulation:Ui.Emulated}));let r=this.getOrCreateRenderer(n,a);return r instanceof Mf?r.applyToHost(n):r instanceof Wd&&r.applyStyles(),r}getOrCreateRenderer(n,a){let r=this.rendererByCompId,o=r.get(a.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case Ui.Emulated:o=new Mf(c,h,a,this.appId,m,l,u,v,g);break;case Ui.ShadowDom:return new efe(c,h,n,a,l,u,this.nonce,v,g);default:o=new Wd(c,h,a,m,l,u,v,g);break}r.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(pe(c1),pe(d1),pe($h),pe(Jme),pe(He),pe(Ic),pe(We),pe(Yh),pe(vs,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Cp=class{constructor(e,t,i,n,a){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=i,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Su[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Nf(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(Nf(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){t.remove()}selectRootElement(e,t){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new Z(-5104,!1);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;let a=Su[n];a?e.setAttributeNS(a,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){let n=Su[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,n){n&(ua.DashCase|ua.Important)?e.style.setProperty(t,i,n&ua.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&ua.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e!=null&&(e[t]=i)}setValue(e,t){e.nodeValue=t}listen(e,t,i,n){var r;if(typeof e=="string"&&(e=Ro().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(i);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Nf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var efe=class extends Cp{constructor(t,i,n,a,r,o,l,u,c){var v;super(t,r,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=a.styles;h=p1(a.id,h);for(let g of h){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=Ud(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,i){return super.appendChild(this.nodeOrShadowRoot(t),i)}insertBefore(t,i,n){return super.insertBefore(this.nodeOrShadowRoot(t),i,n)}removeChild(t,i){return super.removeChild(null,i)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wd=class extends Cp{constructor(t,i,n,a,r,o,l,u,c){var m;super(t,r,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=i,this.removeStylesOnCompDestroy=a;let h=n.styles;this.styles=c?p1(c,h):h,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Mf=class extends Wd{constructor(t,i,n,a,r,o,l,u,c){let h=a+"-"+n.id;super(t,i,n,r,o,l,u,c,h);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=Xme(h),this.hostAttr=Qme(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,i){let n=super.createElement(t,i);return super.setAttribute(n,this.contentAttr,""),n}},tfe=class m1 extends dme{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){ume(new m1)}onAndCancel(i,n,a,r){return i.addEventListener(n,a,r),()=>{i.removeEventListener(n,a,r)}}dispatchEvent(i,n){i.dispatchEvent(n)}remove(i){i.remove()}createElement(i,n){return n=n||this.getDefaultDocument(),n.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,n){return n==="window"?window:n==="document"?i:n==="body"?i.body:null}getBaseHref(i){let n=nfe();return n==null?null:ife(n)}resetBaseElement(){Io=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return r1(document.cookie,i)}},Io=null;function nfe(){return Io=Io||document.head.querySelector("base"),Io?Io.getAttribute("href"):null}function ife(e){return new URL(e,document.baseURI).pathname}var afe=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),rfe=(()=>{const t=class t extends u1{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,r,o){return n.addEventListener(a,r,o),()=>this.removeEventListener(n,a,r,o)}removeEventListener(n,a,r,o){return n.removeEventListener(a,r,o)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Rf=["alt","control","meta","shift"],ofe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sfe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},lfe=(()=>{const t=class t extends u1{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,r,o){let l=t.parseEventName(a),u=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ro().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let a=n.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",u=a.indexOf("code");if(u>-1&&(a.splice(u,1),l="code."),Rf.forEach(h=>{let m=a.indexOf(h);m>-1&&(a.splice(m,1),l+=h+".")}),l+=o,a.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=l,c}static matchEventFullKeyCode(n,a){let r=ofe[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Rf.forEach(l=>{if(l!==r){let u=sfe[l];u(n)&&(o+=l+".")}}),o+=r,o===a)}static eventCallback(n,a,r){return o=>{t.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function cfe(e){return Hpe(ufe(e))}function ufe(e){return{appProviders:[...ffe,...(e==null?void 0:e.providers)??[]],platformProviders:mfe}}function dfe(){tfe.makeCurrent()}function hfe(){return new ai}function pfe(){return Xle(document),document}var mfe=[{provide:Ic,useValue:o1},{provide:ky,useValue:dfe,multi:!0},{provide:He,useFactory:pfe}],ffe=[{provide:Ih,useValue:"root"},{provide:ai,useFactory:hfe},{provide:Hd,useClass:rfe,multi:!0,deps:[He]},{provide:Hd,useClass:lfe,multi:!0,deps:[He]},Gd,d1,c1,{provide:oi,useExisting:Gd},{provide:l1,useClass:afe},[]],Ip=class{},f1=class{},er=class xl{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
18
+ `)}`}var Sse=wv(hv("Optional"),8),kse=wv(hv("SkipSelf"),4);function qa(e,t){return e.hasOwnProperty(Ol)?e[Ol]:null}function Cse(e,t,i){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],r=t[n];if(i&&(a=i(a),r=i(r)),r!==a)return!1}return!0}function Ise(e){return e.flat(Number.POSITIVE_INFINITY)}function Eh(e,t){e.forEach(i=>Array.isArray(i)?Eh(i,t):t(i))}function Ev(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Nl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dse(e,t){let i=[];for(let n=0;n<e;n++)i.push(t);return i}function Tse(e,t,i,n){let a=e.length;if(a==t)e.push(i,n);else if(a===1)e.push(n,e[0]),e[0]=i;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=i,e[t+1]=n}}function Sh(e,t,i){let n=ds(e,t);return n>=0?e[n|1]=i:(n=~n,Tse(e,n,t,i)),n}function ru(e,t){let i=ds(e,t);if(i>=0)return e[i|1]}function ds(e,t){return Ose(e,t,1)}function Ose(e,t,i){let n=0,a=e.length>>i;for(;a!==n;){let r=n+(a-n>>1),o=e[r<<i];if(t===o)return r<<i;o>t?a=r:n=r+1}return~(a<<i)}var xi={},hn=[],Ml=new se(""),Sv=new se("",-1),kv=new se(""),Cv=class{get(e,t=Wa){if(t===Wa){let i=new Error(`NullInjectorError: No provider for ${Bn(e)}!`);throw i.name="NullInjectorError",i}return t}};function Lr(e){return e[hse]||null}function Iv(e){return e[pse]||null}function Pse(e){return e[mse]||null}function kh(e){return{ɵproviders:e}}function Nse(...e){return{ɵproviders:Dv(!0,e),ɵfromNgModule:!0}}function Dv(e,...t){let i=[],n=new Set,a,r=o=>{i.push(o)};return Eh(t,o=>{let l=o;hd(l,r,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Tv(a,r),i}function Tv(e,t){for(let i=0;i<e.length;i++){let{ngModule:n,providers:a}=e[i];Ch(a,r=>{t(r,n)})}}function hd(e,t,i,n){if(e=qt(e),!e)return!1;let a=null,r=Nm(e),o=!r&&Lr(e);if(!r&&!o){let u=e.ngModule;if(r=Nm(u),r)a=u;else return!1}else{if(o&&!o.standalone)return!1;a=e}let l=n.has(a);if(o){if(l)return!1;if(n.add(a),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)hd(c,t,i,n)}}else if(r){if(r.imports!=null&&!l){n.add(a);let c;try{Eh(r.imports,h=>{hd(h,t,i,n)&&(c||(c=[]),c.push(h))})}finally{}c!==void 0&&Tv(c,t)}if(!l){let c=qa(a)||(()=>new a);t({provide:a,useFactory:c,deps:hn},a),t({provide:kv,useValue:a,multi:!0},a),t({provide:Ml,useValue:()=>pe(a),multi:!0},a)}let u=r.providers;if(u!=null&&!l){let c=e;Ch(u,h=>{t(h,c)})}}else return!1;return a!==e&&e.providers!==void 0}function Ch(e,t){for(let i of e)vv(i)&&(i=i.ɵproviders),Array.isArray(i)?Ch(i,t):t(i)}var Mse=at({provide:String,useValue:at});function Ov(e){return e!==null&&typeof e=="object"&&Mse in e}function Rse(e){return!!(e&&e.useExisting)}function Ase(e){return!!(e&&e.useFactory)}function Fr(e){return typeof e=="function"}function Lse(e){return!!e.useClass}var Ih=new se(""),pl={},Lm={},ou;function xc(){return ou===void 0&&(ou=new Cv),ou}var wi=class{},Dh=class extends wi{constructor(t,i,n,a){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=i,this.source=n,this.scopes=a,md(t,o=>this.processProvider(o)),this.records.set(Sv,Er(void 0,this)),a.has("environment")&&this.records.set(wi,Er(void 0,this));let r=this.records.get(Ih);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(kv,hn,Me.Self))}get destroyed(){return this._destroyed}retrieve(t,i){let n=i;return this.get(t,n.optional?D0:Wa,n)}destroy(){ko(this),this._destroyed=!0;let t=Oe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oe(t)}}onDestroy(t){return ko(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ko(this);let i=oa(this),n=dn(void 0);try{return t()}finally{oa(i),dn(n)}}get(t,i=Wa,n=Me.Default){if(ko(this),t.hasOwnProperty(Rm))return t[Rm](this);n=_c(n);let a=oa(this),r=dn(void 0);try{if(!(n&Me.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=zse(t)&&xh(t);u&&this.injectableDefInScope(u)?l=Er(pd(t),pl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Me.Self?xc():this.parent;return i=n&Me.Optional&&i===Wa?null:i,o.get(t,i)}catch(o){if(o.name==="NullInjectorError"){if((o[Pl]=o[Pl]||[]).unshift(Bn(t)),a)throw o;return wse(o,t,"R3InjectorError",this.source)}else throw o}finally{dn(r),oa(a)}}resolveInjectorInitializers(){let t=Oe(null),i=oa(this),n=dn(void 0);try{let a=this.get(Ml,hn,Me.Self);for(let r of a)r()}finally{oa(i),dn(n),Oe(t)}}toString(){let t=[],i=this.records;for(let n of i.keys())t.push(Bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qt(t);let i=Fr(t)?t:qt(t&&t.provide),n=Vse(t);if(!Fr(t)&&t.multi===!0){let a=this.records.get(i);a||(a=Er(void 0,pl,!0),a.factory=()=>dd(a.multi),this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,n)}hydrate(t,i,n){let a=Oe(null);try{return i.value===Lm?yv(Bn(t)):i.value===pl&&(i.value=Lm,i.value=i.factory(void 0,n)),typeof i.value=="object"&&i.value&&Bse(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Oe(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let i=qt(t.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){let i=this._onDestroyHooks.indexOf(t);i!==-1&&this._onDestroyHooks.splice(i,1)}};function pd(e){let t=xh(e),i=t!==null?t.factory:qa(e);if(i!==null)return i;if(e instanceof se)throw new Z(204,!1);if(e instanceof Function)return Fse(e);throw new Z(204,!1)}function Fse(e){if(e.length>0)throw new Z(204,!1);let t=use(e);return t!==null?()=>t.factory(e):()=>new e}function Vse(e){if(Ov(e))return Er(void 0,e.useValue);{let t=Pv(e);return Er(t,pl)}}function Pv(e,t,i){let n;if(Fr(e)){let a=qt(e);return qa(a)||pd(a)}else if(Ov(e))n=()=>qt(e.useValue);else if(Ase(e))n=()=>e.useFactory(...dd(e.deps||[]));else if(Rse(e))n=(a,r)=>pe(qt(e.useExisting),r!==void 0&&r&Me.Optional?Me.Optional:void 0);else{let a=qt(e&&(e.useClass||e.provide));if(jse(e))n=()=>new a(...dd(e.deps));else return qa(a)||pd(a)}return n}function ko(e){if(e.destroyed)throw new Z(205,!1)}function Er(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function jse(e){return!!e.deps}function Bse(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function zse(e){return typeof e=="function"||typeof e=="object"&&e instanceof se}function md(e,t){for(let i of e)Array.isArray(i)?md(i,t):i&&vv(i)?md(i.ɵproviders,t):t(i)}function wc(e,t){let i;e instanceof Dh?(ko(e),i=e):i=new xv(e);let n=oa(i),a=dn(void 0);try{return t()}finally{oa(n),dn(a)}}function Nv(){return bv()!==void 0||ul()!=null}function hs(e){if(!Nv())throw new Z(-203,!1)}function Hse(e){return typeof e=="function"}var Ji=0,Se=1,_e=2,en=3,ti=4,vn=5,Vr=6,Or=7,Ut=8,jr=9,Zi=10,Ct=11,Ho=12,Fm=13,Zr=14,Hn=15,$a=16,Sr=17,ni=18,Ec=19,Mv=20,fa=21,su=22,Hi=23,zn=24,ga=25,bt=26,Rv=1,Ya=7,Rl=8,Br=9,Xt=10;function va(e){return Array.isArray(e)&&typeof e[Rv]=="object"}function Xi(e){return Array.isArray(e)&&e[Rv]===!0}function Th(e){return(e.flags&4)!==0}function Kr(e){return e.componentOffset>-1}function Sc(e){return(e.flags&1)===1}function Ei(e){return!!e.template}function Al(e){return(e[_e]&512)!==0}function Jr(e){return(e[_e]&256)===256}var Use=class{constructor(e,t,i){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}};function Av(e,t,i,n){t!==null?t.applyValueToInputSignal(t,n):e[i]=n}var Oh=(()=>{let e=()=>Lv;return e.ngInherit=!0,e})();function Lv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wse),Gse}function Gse(){let e=Vv(this),t=e==null?void 0:e.current;if(t){let i=e.previous;if(i===xi)e.previous=t;else for(let n in t)i[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Wse(e,t,i,n,a){let r=this.declaredInputs[n],o=Vv(e)||qse(e,{previous:xi,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new Use(c&&c.currentValue,i,u===xi),Av(e,t,a,i)}var Fv="__ngSimpleChanges__";function Vv(e){return e[Fv]||null}function qse(e,t){return e[Fv]=t}var Za=function(e,t=null,i){},$se="svg",Yse="math";function Si(e){for(;Array.isArray(e);)e=e[Ji];return e}function jv(e,t){return Si(t[e])}function Ii(e,t){return Si(t[e.index])}function Ph(e,t){return e.data[t]}function ps(e,t){return e[t]}function Nh(e,t,i,n){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}function ki(e,t){let i=t[e];return va(i)?i:i[Ji]}function Zse(e){return(e[_e]&4)===4}function Mh(e){return(e[_e]&128)===128}function Kse(e){return Xi(e[en])}function Ka(e,t){return t==null?null:e[t]}function Bv(e){e[Sr]=0}function Rh(e){e[_e]&1024||(e[_e]|=1024,Mh(e)&&Xr(e))}function Jse(e,t){for(;e>0;)t=t[Zr],e--;return t}function ms(e){var t;return!!(e[_e]&9216||(t=e[zn])!=null&&t.dirty)}function fd(e){var t;(t=e[Zi].changeDetectionScheduler)==null||t.notify(8),e[_e]&64&&(e[_e]|=1024),ms(e)&&Xr(e)}function Xr(e){var i;(i=e[Zi].changeDetectionScheduler)==null||i.notify(0);let t=Ja(e);for(;t!==null&&!(t[_e]&8192||(t[_e]|=8192,!Mh(t)));)t=Ja(t)}function zv(e,t){if(Jr(e))throw new Z(911,!1);e[fa]===null&&(e[fa]=[]),e[fa].push(t)}function Xse(e,t){if(e[fa]===null)return;let i=e[fa].indexOf(t);i!==-1&&e[fa].splice(i,1)}function Ja(e){let t=e[en];return Xi(t)?t[en]:t}function Ah(e){return e[Or]??(e[Or]=[])}function Lh(e){return e.cleanup??(e.cleanup=[])}function Qse(e,t,i,n){let a=Ah(t);a.push(i),e.firstCreatePass&&Lh(e).push(n,a.length-1)}var Pe={lFrame:Kv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},gd=!1;function ele(){return Pe.lFrame.elementDepthCount}function tle(){Pe.lFrame.elementDepthCount++}function nle(){Pe.lFrame.elementDepthCount--}function ile(){return Pe.bindingsEnabled}function Hv(){return Pe.skipHydrationRootTNode!==null}function ale(e){return Pe.skipHydrationRootTNode===e}function rle(){Pe.skipHydrationRootTNode=null}function we(){return Pe.lFrame.lView}function pt(){return Pe.lFrame.tView}function ya(e){return Pe.lFrame.contextLView=e,e[Ut]}function ba(e){return Pe.lFrame.contextLView=null,e}function cn(){let e=Uv();for(;e!==null&&e.type===64;)e=e.parent;return e}function Uv(){return Pe.lFrame.currentTNode}function ole(){let e=Pe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ea(e,t){let i=Pe.lFrame;i.currentTNode=e,i.isParent=t}function Fh(){return Pe.lFrame.isParent}function Vh(){Pe.lFrame.isParent=!1}function Gv(){return Pe.lFrame.contextLView}function Wv(){return gd}function Ll(e){let t=gd;return gd=e,t}function Qr(){let e=Pe.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sle(e){return Pe.lFrame.bindingIndex=e}function eo(){return Pe.lFrame.bindingIndex++}function qv(e){let t=Pe.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function lle(){return Pe.lFrame.inI18n}function cle(e,t){let i=Pe.lFrame;i.bindingIndex=i.bindingRootIndex=e,vd(t)}function ule(){return Pe.lFrame.currentDirectiveIndex}function vd(e){Pe.lFrame.currentDirectiveIndex=e}function dle(e){let t=Pe.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $v(){return Pe.lFrame.currentQueryIndex}function jh(e){Pe.lFrame.currentQueryIndex=e}function hle(e){let t=e[Se];return t.type===2?t.declTNode:t.type===1?e[vn]:null}function Yv(e,t,i){if(i&Me.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(i&Me.Host))&&(a=hle(r),!(a===null||(r=r[Zr],a.type&10))););if(a===null)return!1;t=a,e=r}let n=Pe.lFrame=Zv();return n.currentTNode=t,n.lView=e,!0}function Bh(e){let t=Zv(),i=e[Se];Pe.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Zv(){let e=Pe.lFrame,t=e===null?null:e.child;return t===null?Kv(e):t}function Kv(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 Jv(){let e=Pe.lFrame;return Pe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xv=Jv;function zh(){let e=Jv();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 ple(e){return(Pe.lFrame.contextLView=Jse(e,Pe.lFrame.contextLView))[Ut]}function Qi(){return Pe.lFrame.selectedIndex}function Xa(e){Pe.lFrame.selectedIndex=e}function Hh(){let e=Pe.lFrame;return Ph(e.tView,e.selectedIndex)}function mle(){return Pe.lFrame.currentNamespace}var Qv=!0;function kc(){return Qv}function Cc(e){Qv=e}function fle(e,t,i){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(n){let o=Lv(t);(i.preOrderHooks??(i.preOrderHooks=[])).push(e,o),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,o)}a&&(i.preOrderHooks??(i.preOrderHooks=[])).push(0-e,a),r&&((i.preOrderHooks??(i.preOrderHooks=[])).push(e,r),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,r))}function Uh(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i<n;i++){let a=e.data[i].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-i,r),o&&((e.contentHooks??(e.contentHooks=[])).push(i,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(i,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-i,l),u&&((e.viewHooks??(e.viewHooks=[])).push(i,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(i,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(i,c)}}function ml(e,t,i){ey(e,t,3,i)}function fl(e,t,i,n){(e[_e]&3)===i&&ey(e,t,i,n)}function lu(e,t){let i=e[_e];(i&3)===t&&(i&=16383,i+=1,e[_e]=i)}function ey(e,t,i,n){let a=n!==void 0?e[Sr]&65535:0,r=n??-1,o=t.length-1,l=0;for(let u=a;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[Sr]+=65536),(l<r||r==-1)&&(gle(e,i,t,u),e[Sr]=(e[Sr]&4294901760)+u+2),u++}function Vm(e,t){let i=Oe(null);try{t.call(e)}finally{Oe(i)}}function gle(e,t,i,n){let a=i[n]<0,r=i[n+1],o=a?-i[n]:i[n],l=e[o];a?e[_e]>>14<e[Sr]>>16&&(e[_e]&3)===t&&(e[_e]+=16384,Vm(l,r)):Vm(l,r)}var Pr=-1,fs=class{constructor(e,t,i){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=i}};function vle(e){return(e.flags&8)!==0}function yle(e){return(e.flags&16)!==0}function ble(e,t,i){let n=0;for(;n<i.length;){let a=i[n];if(typeof a=="number"){if(a!==0)break;n++;let r=i[n++],o=i[n++],l=i[n++];e.setAttribute(t,o,l,r)}else{let r=a,o=i[++n];_le(r)?e.setProperty(t,r,o):e.setAttribute(t,r,o),n++}}return n}function ty(e){return e===3||e===4||e===6}function _le(e){return e.charCodeAt(0)===64}function zr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let i=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?i=a:i===0||(i===-1||i===2?jm(e,i,a,null,t[++n]):jm(e,i,a,null,null))}}return e}function jm(e,t,i,n,a){let r=0,o=e.length;if(t===-1)o=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===i){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}o!==-1&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,i),a!==null&&e.splice(r++,0,a)}function ny(e){return e!==Pr}function Fl(e){return e&32767}function xle(e){return e>>16}function Vl(e,t){let i=xle(e),n=t;for(;i>0;)n=n[Zr],i--;return n}var yd=!0;function jl(e){let t=yd;return yd=e,t}var wle=256,iy=wle-1,ay=5,Ele=0,_i={};function Sle(e,t,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Po)&&(n=i[Po]),n==null&&(n=i[Po]=Ele++);let a=n&iy,r=1<<a;t.data[e+(a>>ay)]|=r}function Bl(e,t){let i=ry(e,t);if(i!==-1)return i;let n=t[Se];n.firstCreatePass&&(e.injectorIndex=t.length,cu(n.data,e),cu(t,null),cu(n.blueprint,null));let a=Gh(e,t),r=e.injectorIndex;if(ny(a)){let o=Fl(a),l=Vl(a,t),u=l[Se].data;for(let c=0;c<8;c++)t[r+c]=l[o+c]|u[o+c]}return t[r+8]=a,r}function cu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ry(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Gh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let i=0,n=null,a=t;for(;a!==null;){if(n=uy(a),n===null)return Pr;if(i++,a=a[Zr],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Pr}function bd(e,t,i){Sle(e,t,i)}function kle(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let i=e.attrs;if(i){let n=i.length,a=0;for(;a<n;){let r=i[a];if(ty(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<n&&typeof i[a]=="string";)a++;else{if(r===t)return i[a+1];a=a+2}}}return null}function oy(e,t,i){if(i&Me.Optional||e!==void 0)return e;wh()}function sy(e,t,i,n){if(i&Me.Optional&&n===void 0&&(n=null),(i&(Me.Self|Me.Host))===0){let a=e[jr],r=dn(void 0);try{return a?a.get(t,n,i&Me.Optional):_v(t,n,i&Me.Optional)}finally{dn(r)}}return oy(n,t,i)}function ly(e,t,i,n=Me.Default,a){if(e!==null){if(t[_e]&2048&&!(n&Me.Self)){let o=Tle(e,t,i,n,_i);if(o!==_i)return o}let r=cy(e,t,i,n,_i);if(r!==_i)return r}return sy(t,i,n,a)}function cy(e,t,i,n,a){let r=Ile(i);if(typeof r=="function"){if(!Yv(t,e,n))return n&Me.Host?oy(a,i,n):sy(t,i,n,a);try{let o;if(o=r(n),o==null&&!(n&Me.Optional))wh(i);else return o}finally{Xv()}}else if(typeof r=="number"){let o=null,l=ry(e,t),u=Pr,c=n&Me.Host?t[Hn][vn]:null;for((l===-1||n&Me.SkipSelf)&&(u=l===-1?Gh(e,t):t[l+8],u===Pr||!zm(n,!1)?l=-1:(o=t[Se],l=Fl(u),t=Vl(u,t)));l!==-1;){let h=t[Se];if(Bm(r,l,h.data)){let m=Cle(l,t,i,o,n,c);if(m!==_i)return m}u=t[l+8],u!==Pr&&zm(n,t[Se].data[l+8]===c)&&Bm(r,l,t)?(o=h,l=Fl(u),t=Vl(u,t)):l=-1}}return a}function Cle(e,t,i,n,a,r){let o=t[Se],l=o.data[e+8],u=n==null?Kr(l)&&yd:n!=o&&(l.type&3)!==0,c=a&Me.Host&&r===l,h=gl(l,o,i,u,c);return h!==null?Uo(t,o,h,l,a):_i}function gl(e,t,i,n,a){let r=e.providerIndexes,o=t.data,l=r&1048575,u=e.directiveStart,c=e.directiveEnd,h=r>>20,m=n?l:l+h,v=a?l+h:c;for(let g=m;g<v;g++){let x=o[g];if(g<u&&i===x||g>=u&&x.type===i)return g}if(a){let g=o[u];if(g&&Ei(g)&&g.type===i)return u}return null}function Uo(e,t,i,n,a){let r=e[i],o=t.data;if(r instanceof fs){let l=r;l.resolving&&yv(fse(o[i]));let u=jl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?dn(l.injectImpl):null;Yv(e,n,Me.Default);try{r=e[i]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&i>=n.directiveStart&&fle(i,o[i],t)}finally{c!==null&&dn(c),jl(u),l.resolving=!1,Xv()}}return r}function Ile(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Po)?e[Po]:void 0;return typeof t=="number"?t>=0?t&iy:Dle:t}function Bm(e,t,i){let n=1<<e;return!!(i[t+(e>>ay)]&n)}function zm(e,t){return!(e&Me.Self)&&!(e&Me.Host&&t)}var No=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,i){return ly(this._tNode,this._lView,e,_c(i),t)}};function Dle(){return new No(cn(),we())}function Gt(e){return us(()=>{let t=e.prototype.constructor,i=t[Ol]||_d(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let r=a[Ol]||_d(a);if(r&&r!==i)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function _d(e){return mv(e)?()=>{let t=_d(qt(e));return t&&t()}:qa(e)}function Tle(e,t,i,n,a){let r=e,o=t;for(;r!==null&&o!==null&&o[_e]&2048&&!Al(o);){let l=cy(r,o,i,n|Me.Self,_i);if(l!==_i)return l;let u=r.parent;if(!u){let c=o[Mv];if(c){let h=c.get(i,_i,n);if(h!==_i)return h}u=uy(o),o=o[Zr]}r=u}return a}function uy(e){let t=e[Se],i=t.type;return i===2?t.declTNode:i===1?e[vn]:null}function Ole(e){return kle(cn(),e)}function Hm(e,t=null,i=null,n){let a=Ple(e,t,i,n);return a.resolveInjectorInitializers(),a}function Ple(e,t=null,i=null,n,a=new Set){let r=[i||hn,Nse(e)];return n=n||(typeof e=="object"?void 0:Bn(e)),new Dh(r,t||xc(),n||null,a)}var pi,st=(pi=class{static create(t,i){if(Array.isArray(t))return Hm({name:""},i,t,"");{let n=t.name??"";return Hm({name:n},t.parent,t.providers,n)}}},s(pi,"THROW_IF_NOT_FOUND",Wa),s(pi,"NULL",new Cv),s(pi,"ɵprov",W({token:pi,providedIn:"any",factory:()=>pe(Sv)})),s(pi,"__NG_ELEMENT_ID__",-1),pi),Nle=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>Ole(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},Mle=new se("");Mle.__NG_ELEMENT_ID__=e=>{let t=cn();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Me.Optional)return null;throw new Z(204,!1)};var dy=!1,ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Rle),s(e,"__NG_ENV_ID__",i=>i),e})(),hy=class extends ii{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let i=this._lView;return Jr(i)?(t(),()=>{}):(zv(i,t),()=>Xse(i,t))}};function Rle(){return new hy(we())}var to=class{},py=new se("",{providedIn:"root",factory:()=>!1}),my=new se(""),fy=new se(""),gs=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new vh(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Ale=class extends be{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Nv()&&(this.destroyRef=C(ii,{optional:!0})??void 0,this.pendingTasks=C(gs,{optional:!0})??void 0)}emit(t){let i=Oe(null);try{super.next(t)}finally{Oe(i)}}subscribe(t,i,n){var u,c,h;let a=t,r=i||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(u=m.next)==null?void 0:u.bind(m),r=(c=m.error)==null?void 0:c.bind(m),o=(h=m.complete)==null?void 0:h.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:r,complete:o});return t instanceof pn&&t.add(l),l}wrapInTimeout(t){return i=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(i)}finally{n!==void 0&&((r=this.pendingTasks)==null||r.remove(n))}})}}},Ht=Ale;function Go(...e){}function gy(e){let t,i;function n(){e=Go;try{i!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(i),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(i=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Um(e){return queueMicrotask(()=>e()),()=>{e=Go}}var Wh="isAngularZone",zl=Wh+"_ID",Lle=0,We=class xd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht(!1));s(this,"onMicrotaskEmpty",new Ht(!1));s(this,"onStable",new Ht(!1));s(this,"onError",new Ht(!1));let{enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=dy}=t;if(typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=r,jle(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wh)===!0}static assertInAngularZone(){if(!xd.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(xd.isInAngularZone())throw new Z(909,!1)}run(t,i,n){return this._inner.run(t,i,n)}runTask(t,i,n,a){let r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+a,t,Fle,Go,Go);try{return r.runTask(o,i,n)}finally{r.cancelTask(o)}}runGuarded(t,i,n){return this._inner.runGuarded(t,i,n)}runOutsideAngular(t){return this._outer.run(t)}},Fle={};function qh(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 Vle(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){gy(()=>{e.callbackScheduled=!1,wd(e),e.isCheckStableRunning=!0,qh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wd(e)}function jle(e){let t=()=>{Vle(e)},i=Lle++;e._inner=e._inner.fork({name:"angular",properties:{[Wh]:!0,[zl]:i,[zl+i]:!0},onInvokeTask:(n,a,r,o,l,u)=>{if(zle(u))return n.invokeTask(r,o,l,u);try{return Gm(e),n.invokeTask(r,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Wm(e)}},onInvoke:(n,a,r,o,l,u,c)=>{try{return Gm(e),n.invoke(r,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Hle(u)&&t(),Wm(e)}},onHasTask:(n,a,r,o)=>{n.hasTask(r,o),a===r&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,wd(e),qh(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function wd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Gm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wm(e){e._nesting--,qh(e)}var Ble=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht);s(this,"onMicrotaskEmpty",new Ht);s(this,"onStable",new Ht);s(this,"onError",new Ht)}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}};function zle(e){return vy(e,"__ignore_ng_zone__")}function Hle(e){return vy(e,"__scheduler_tick__")}function vy(e,t){var i,n;return!Array.isArray(e)||e.length!==1?!1:((n=(i=e[0])==null?void 0:i.data)==null?void 0:n[t])===!0}var ai=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},Ule=new se("",{providedIn:"root",factory:()=>{let e=C(We),t=C(ai);return i=>e.runOutsideAngular(()=>t.handleError(i))}}),Gle=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(ai,{optional:!0}));s(this,"destroyRef",C(ii));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var i,n;let t=(i=this.listeners)==null?void 0:i.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var i;if(this.destroyed){console.warn(cv(953,!1));return}if(this.listeners===null)return;let t=Oe(null);try{for(let n of this.listeners)try{n(e)}catch(a){(i=this.errorHandler)==null||i.handleError(a)}}finally{Oe(t)}}};function qm(e){return new Gle}function $m(e,t){return dv(e,t)}function Wle(e){return dv(uv,e)}var fe=($m.required=Wle,$m);function qle(){return no(cn(),we())}function no(e,t){return new At(Ii(e,t))}var At=(()=>{class e{constructor(i){s(this,"nativeElement");this.nativeElement=i}}return s(e,"__NG_ELEMENT_ID__",qle),e})();function $le(e){return e instanceof At?e.nativeElement:e}function Ym(e){return typeof e=="function"&&e[Sn]!==void 0}function Ed(e,t){let i=noe(e,t==null?void 0:t.equal),n=i[Sn];return i.set=a=>yc(n,a),i.update=a=>C0(n,a),i.asReadonly=yy.bind(i),i}function yy(){let e=this[Sn];if(e.readonlyFn===void 0){let t=()=>this();t[Sn]=e,e.readonlyFn=t}return e.readonlyFn}function Yle(){return this._results[Symbol.iterator]()}var o0,Hl=(o0=Symbol.iterator,class{constructor(e=!1){s(this,"_emitDistinctChangesOnly");s(this,"dirty",!0);s(this,"_onDirty");s(this,"_results",[]);s(this,"_changesDetected",!1);s(this,"_changes");s(this,"length",0);s(this,"first");s(this,"last");s(this,o0,Yle);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new be)}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 i=Ise(e);(this._changesDetected=!Cse(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[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 by(e){return(e.flags&128)===128}var _y=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(_y||{}),xy=new Map,Zle=0;function Kle(){return Zle++}function Jle(e){xy.set(e[Ec],e)}function Sd(e){xy.delete(e[Ec])}var Zm="__ngContext__";function io(e,t){va(t)?(e[Zm]=t[Ec],Jle(t)):e[Zm]=t}function wy(e){return Sy(e[Ho])}function Ey(e){return Sy(e[ti])}function Sy(e){for(;e!==null&&!Xi(e);)e=e[ti];return e}var kd;function Xle(e){kd=e}function Qle(){if(kd!==void 0)return kd;if(typeof document<"u")return document;throw new Z(210,!1)}var $h=new se("",{providedIn:"root",factory:()=>ece}),ece="ng",ky=new se(""),Ic=new se("",{providedIn:"platform",factory:()=>"unknown"}),ir=new se(""),Yh=new se("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=Qle().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Cy=!1,tce=new se("",{providedIn:"root",factory:()=>Cy}),Zh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Zh||{}),vs=new se(""),Km=new Set;function ar(e){var t;Km.has(e)||(Km.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Kh=(()=>{class e{constructor(i,n){s(this,"view");s(this,"node");this.view=i,this.node=n}}return s(e,"__NG_ELEMENT_ID__",nce),e})();function nce(){return new Kh(we(),cn())}var kr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(kr||{}),Iy=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),ice=[kr.EarlyRead,kr.Write,kr.MixedReadWrite,kr.Read],ace=(()=>{const t=class t{constructor(){s(this,"ngZone",C(We));s(this,"scheduler",C(to));s(this,"errorHandler",C(ai,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(vs,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of ice)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[a];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:a}=n;a!==void 0?((a[ga]??(a[ga]=[])).push(n),Xr(a),a[_e]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,a){return a?a.run(Zh.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),rce=class{constructor(e,t,i,n,a,r=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=i,this.once=n,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,i;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(i=this.view)==null?void 0:i[ga];e&&(this.view[ga]=e.filter(n=>n!==this))}};function Dy(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return ar("NgAfterRender"),Ty(e,i,t,!1)}function Jh(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return ar("NgAfterNextRender"),Ty(e,i,t,!0)}function oce(e,t){if(e instanceof Function){let i=[void 0,void 0,void 0,void 0];return i[t]=e,i}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ty(e,t,i,n){let a=t.get(Iy);a.impl??(a.impl=t.get(ace));let r=t.get(vs,null,{optional:!0}),o=(i==null?void 0:i.phase)??kr.MixedReadWrite,l=(i==null?void 0:i.manualCleanup)!==!0?t.get(ii):null,u=t.get(Kh,null,{optional:!0}),c=new rce(a.impl,oce(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return a.impl.register(c),c}var sce=()=>null;function Oy(e,t,i=!1){return sce()}function Py(e,t){let i=e.contentQueries;if(i!==null){let n=Oe(null);try{for(let a=0;a<i.length;a+=2){let r=i[a],o=i[a+1];if(o!==-1){let l=e.data[o];jh(r),l.contentQueries(2,t[o],o)}}}finally{Oe(n)}}}function Cd(e,t,i){jh(0);let n=Oe(null);try{t(e,i)}finally{Oe(n)}}function Xh(e,t,i){if(Th(t)){let n=Oe(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let o=a;o<r;o++){let l=e.data[o];if(l.contentQueries){let u=i[o];l.contentQueries(1,u,o)}}}finally{Oe(n)}}}var Ui=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ui||{}),zs;function lce(){if(zs===void 0&&(zs=null,wr.trustedTypes))try{zs=wr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zs}function Dc(e){var t;return((t=lce())==null?void 0:t.createHTML(e))||e}var rr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lv})`}},cce=class extends rr{getTypeName(){return"HTML"}},uce=class extends rr{getTypeName(){return"Style"}},dce=class extends rr{getTypeName(){return"Script"}},hce=class extends rr{getTypeName(){return"URL"}},pce=class extends rr{getTypeName(){return"ResourceURL"}};function sa(e){return e instanceof rr?e.changingThisBreaksApplicationSecurity:e}function yr(e,t){let i=mce(e);if(i!=null&&i!==t){if(i==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${lv})`)}return i===t}function mce(e){return e instanceof rr&&e.getTypeName()||null}function fce(e){return new cce(e)}function gce(e){return new uce(e)}function vce(e){return new dce(e)}function yce(e){return new hce(e)}function bce(e){return new pce(e)}function _ce(e){let t=new wce(e);return Ece()?new xce(t):t}var xce=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(Dc(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):((t=i.firstChild)==null||t.remove(),i)}catch{return null}}},wce=class{constructor(e){s(this,"defaultDoc");s(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Dc(e),t}};function Ece(){try{return!!new window.DOMParser().parseFromString(Dc(""),"text/html")}catch{return!1}}var Sce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qh(e){return e=String(e),e.match(Sce)?e:"unsafe:"+e}function ea(e){let t={};for(let i of e.split(","))t[i]=!0;return t}function ys(...e){let t={};for(let i of e)for(let n in i)i.hasOwnProperty(n)&&(t[n]=!0);return t}var Ny=ea("area,br,col,hr,img,wbr"),My=ea("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ry=ea("rp,rt"),kce=ys(Ry,My),Cce=ys(My,ea("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")),Ice=ys(Ry,ea("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")),Jm=ys(Ny,Cce,Ice,kce),Ay=ea("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dce=ea("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"),Tce=ea("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"),Oce=ys(Ay,Dce,Tce),Pce=ea("script,style,template"),Nce=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,i=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild){n.push(t),t=Ace(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=Rce(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Xm(e).toLowerCase();if(!Jm.hasOwnProperty(t))return this.sanitizedSomething=!0,!Pce.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let i=e.attributes;for(let n=0;n<i.length;n++){let a=i.item(n),r=a.name,o=r.toLowerCase();if(!Oce.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Ay[o]&&(l=Qh(l)),this.buf.push(" ",r,'="',Qm(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Xm(e).toLowerCase();Jm.hasOwnProperty(t)&&!Ny.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Qm(e))}};function Mce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Rce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ly(t);return t}function Ace(e){let t=e.firstChild;if(t&&Mce(e,t))throw Ly(t);return t}function Xm(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ly(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Lce=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fce=/([^\#-~ |!])/g;function Qm(e){return e.replace(/&/g,"&amp;").replace(Lce,function(t){let i=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(Fce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hs;function Vce(e,t){let i=null;try{Hs=Hs||_ce(e);let n=t?String(t):"";i=Hs.getInertBodyElement(n);let a=5,r=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=r,r=i.innerHTML,i=Hs.getInertBodyElement(n)}while(n!==r);let o=new Nce().sanitizeChildren(ef(i)||i);return Dc(o)}finally{if(i){let n=ef(i)||i;for(;n.firstChild;)n.firstChild.remove()}}}function ef(e){return"content"in e&&jce(e)?e.content:null}function jce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Bce=/^>|^->|<!--|-->|--!>|<!-$/g,zce=/(<|>)/g,Hce="​$1​";function Uce(e){return e.replace(Bce,t=>t.replace(zce,Hce))}function Gce(e,t){return e.createText(t)}function Wce(e,t,i){e.setValue(t,i)}function qce(e,t){return e.createComment(Uce(t))}function Fy(e,t,i){return e.createElement(t,i)}function Ul(e,t,i,n,a){e.insertBefore(t,i,n,a)}function Vy(e,t,i){e.appendChild(t,i)}function tf(e,t,i,n,a){n!==null?Ul(e,t,i,n,a):Vy(e,t,i)}function $ce(e,t,i){e.removeChild(null,t,i)}function Yce(e,t,i){e.setAttribute(t,"style",i)}function Zce(e,t,i){i===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function jy(e,t,i){let{mergedAttrs:n,classes:a,styles:r}=i;n!==null&&ble(e,t,n),a!==null&&Zce(e,t,a),r!==null&&Yce(e,t,r)}var wn=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}(wn||{});function By(e){let t=Kce();return t?t.sanitize(wn.URL,e)||"":yr(e,"URL")?sa(e):Qh(bc(e))}function Kce(){let e=we();return e&&e[Zi].sanitizer}function Jce(e,t,i){let n=e.length;for(;;){let a=e.indexOf(t,i);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===n||e.charCodeAt(a+r)<=32)return a}i=a+1}}var zy="ng-template";function Xce(e,t,i,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&Jce(t[a+1].toLowerCase(),i,0)!==-1)return!0}else if(ep(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===i)return!0}return!1}function ep(e){return e.type===4&&e.value!==zy}function Qce(e,t,i){let n=e.type===4&&!i?zy:e.value;return t===n}function eue(e,t,i){let n=4,a=e.attrs,r=a!==null?iue(a):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Yn(n)&&!Yn(u))return!1;if(o&&Yn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!Qce(e,u,i)||u===""&&t.length===1){if(Yn(n))return!1;o=!0}}else if(n&8){if(a===null||!Xce(e,a,u,i)){if(Yn(n))return!1;o=!0}}else{let c=t[++l],h=tue(u,a,ep(e),i);if(h===-1){if(Yn(n))return!1;o=!0;continue}if(c!==""){let m;if(h>r?m="":m=a[h+1].toLowerCase(),n&2&&c!==m){if(Yn(n))return!1;o=!0}}}}return Yn(n)||o}function Yn(e){return(e&1)===0}function tue(e,t,i,n){if(t===null)return-1;let a=0;if(n||!i){let r=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)r=!0;else if(o===1||o===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=r?1:2}return-1}else return aue(t,e)}function Hy(e,t,i=!1){for(let n=0;n<t.length;n++)if(eue(e,t[n],i))return!0;return!1}function nue(e){let t=e.attrs;if(t!=null){let i=t.indexOf(5);if(!(i&1))return t[i+1]}return null}function iue(e){for(let t=0;t<e.length;t++){let i=e[t];if(ty(i))return t}return e.length}function aue(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){let n=e[i];if(typeof n=="number")return-1;if(n===t)return i;i++}return-1}function rue(e,t){e:for(let i=0;i<t.length;i++){let n=t[i];if(e.length===n.length){for(let a=0;a<e.length;a++)if(e[a]!==n[a])continue e;return!0}}return!1}function nf(e,t){return e?":not("+t.trim()+")":t}function oue(e){let t=e[0],i=1,n=2,a="",r=!1;for(;i<e.length;){let o=e[i];if(typeof o=="string")if(n&2){let l=e[++i];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!Yn(o)&&(t+=nf(r,a),a=""),n=o,r=r||!Yn(n);i++}return a!==""&&(t+=nf(r,a)),t}function sue(e){return e.map(oue).join(",")}function lue(e){let t=[],i=[],n=1,a=2;for(;n<e.length;){let r=e[n];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++n]):a===8&&i.push(r);else{if(!Yn(a))break;a=r}n++}return i.length&&t.push(1,...i),t}var ri={};function tp(e,t,i,n,a,r,o,l,u,c,h){let m=bt+n,v=m+a,g=cue(m,v),x=typeof c=="function"?c():c;return g[Se]={type:e,blueprint:g,template:i,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:x,incompleteFirstPass:!1,ssrId:h}}function cue(e,t){let i=[];for(let n=0;n<t;n++)i.push(n<e?null:ri);return i}function uue(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=tp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function np(e,t,i,n,a,r,o,l,u,c,h){let m=t.blueprint.slice();return m[Ji]=a,m[_e]=n|4|128|8|64|1024,(c!==null||e&&e[_e]&2048)&&(m[_e]|=2048),Bv(m),m[en]=m[Zr]=e,m[Ut]=i,m[Zi]=o||e&&e[Zi],m[Ct]=l||e&&e[Ct],m[jr]=u||e&&e[jr]||null,m[vn]=r,m[Ec]=Kle(),m[Vr]=h,m[Mv]=c,m[Hn]=t.type==2?e[Hn]:m,m}function due(e,t,i){let n=Ii(t,e),a=uue(i),r=e[Zi].rendererFactory,o=ip(e,np(e,a,null,Uy(i),n,t,null,r.createRenderer(n,i),null,null,null));return e[t.index]=o}function Uy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Gy(e,t,i,n){if(i===0)return-1;let a=t.length;for(let r=0;r<i;r++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function ip(e,t){return e[Ho]?e[Fm][ti]=t:e[Ho]=t,e[Fm]=t,t}function O(e=1){Wy(pt(),we(),Qi()+e)}function Wy(e,t,i,n){if((t[_e]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ml(t,a,i)}else{let a=e.preOrderHooks;a!==null&&fl(t,a,0,i)}Xa(i)}var Tc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tc||{});function Id(e,t,i,n){let a=Oe(null);try{let[r,o,l]=e.inputs[i],u=null;o&Tc.SignalBased&&(u=t[r][Sn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,i,r):Av(t,u,r,n)}finally{Oe(a)}}function qy(e,t,i,n,a){let r=Qi(),o=n&2;try{Xa(-1),o&&t.length>bt&&Wy(e,t,bt,!1),Za(o?2:0,a),i(n,a)}finally{Xa(r)}}function Oc(e,t,i){fue(e,t,i),(i.flags&64)===64&&gue(e,t,i)}function ap(e,t,i=Ii){let n=t.localNames;if(n!==null){let a=t.index+1;for(let r=0;r<n.length;r+=2){let o=n[r+1],l=o===-1?i(t,e):e[o];e[a++]=l}}}function hue(e,t,i,n){let a=n.get(tce,Cy)||i===Ui.ShadowDom;return e.selectRootElement(t,a)}function pue(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function $y(e,t,i,n,a,r,o,l){if(!l&&op(t,e,i,n,a)){Kr(t)&&mue(i,t.index);return}if(t.type&3){let u=Ii(t,i);n=pue(n),a=o!=null?o(a,t.value||"",n):a,r.setProperty(u,n,a)}else t.type&12}function mue(e,t){let i=ki(t,e);i[_e]&16||(i[_e]|=64)}function fue(e,t,i){let n=i.directiveStart,a=i.directiveEnd;Kr(i)&&due(t,i,e.data[n+i.componentOffset]),e.firstCreatePass||Bl(i,t);let r=i.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],u=Uo(t,e,o,i);if(io(u,t),r!==null&&_ue(t,o-n,u,l,i,r),Ei(l)){let c=ki(i.index,t);c[Ut]=Uo(t,e,o,i)}}}function gue(e,t,i){let n=i.directiveStart,a=i.directiveEnd,r=i.index,o=ule();try{Xa(r);for(let l=n;l<a;l++){let u=e.data[l],c=t[l];vd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&vue(u,c)}}finally{Xa(-1),vd(o)}}function vue(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function rp(e,t){let i=e.directiveRegistry,n=null;if(i)for(let a=0;a<i.length;a++){let r=i[a];Hy(t,r.selectors,!1)&&(n??(n=[]),Ei(r)?n.unshift(r):n.push(r))}return n}function yue(e,t,i,n,a,r){let o=Ii(e,t);bue(t[Ct],o,r,e.value,i,n,a)}function bue(e,t,i,n,a,r,o){if(r==null)e.removeAttribute(t,a,i);else{let l=o==null?bc(r):o(r,n||"",a);e.setAttribute(t,a,l,i)}}function _ue(e,t,i,n,a,r){let o=r[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];Id(n,i,u,c)}}function xue(e,t){let i=e[jr],n=i?i.get(ai,null):null;n&&n.handleError(t)}function op(e,t,i,n,a){var u,c;let r=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let h=0;h<o.length;h+=2){let m=o[h],v=o[h+1],g=t.data[m];Id(g,i[m],v,a),l=!0}if(r)for(let h of r){let m=i[h],v=t.data[h];Id(v,m,n,a),l=!0}return l}function wue(e,t){let i=ki(t,e),n=i[Se];Eue(n,i);let a=i[Ji];a!==null&&i[Vr]===null&&(i[Vr]=Oy(a,i[jr])),sp(n,i,i[Ut]),Za(19,i[Ut])}function Eue(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}function sp(e,t,i){var n;Bh(t);try{let a=e.viewQuery;a!==null&&Cd(1,a,i);let r=e.template;r!==null&&qy(e,t,r,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[ni])==null||n.finishViewCreation(e),e.staticContentQueries&&Py(e,t),e.staticViewQueries&&Cd(2,e.viewQuery,i);let o=e.components;o!==null&&Sue(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,zh()}}function Sue(e,t){for(let i=0;i<t.length;i++)wue(e,t[i])}function bs(e,t,i,n){let a=Oe(null);try{let r=t.tView,o=e[_e]&4096?4096:16,l=np(e,r,i,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[$a]=u;let c=e[ni];return c!==null&&(l[ni]=c.createEmbeddedView(r)),sp(r,l,i),l}finally{Oe(a)}}function Hr(e,t){return!t||t.firstChild===null||by(e)}var kue;function lp(e,t){return kue(e,t)}var ua=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ua||{});function cp(e){return(e.flags&32)===32}function Cr(e,t,i,n,a){if(n!=null){let r,o=!1;Xi(n)?r=n:va(n)&&(o=!0,n=n[Ji]);let l=Si(n);e===0&&i!==null?a==null?Vy(t,i,l):Ul(t,i,l,a||null,!0):e===1&&i!==null?Ul(t,i,l,a||null,!0):e===2?$ce(t,l,o):e===3&&t.destroyNode(l),r!=null&&Aue(t,e,r,i,a)}}function Cue(e,t){Yy(e,t),t[Ji]=null,t[vn]=null}function Iue(e,t,i,n,a,r){n[Ji]=a,n[vn]=t,Mc(e,n,i,1,a,r)}function Yy(e,t){var i;(i=t[Zi].changeDetectionScheduler)==null||i.notify(9),Mc(e,t,t[Ct],2,null,null)}function Due(e){let t=e[Ho];if(!t)return uu(e[Se],e);for(;t;){let i=null;if(va(t))i=t[Ho];else{let n=t[Xt];n&&(i=n)}if(!i){for(;t&&!t[ti]&&t!==e;)va(t)&&uu(t[Se],t),t=t[en];t===null&&(t=e),va(t)&&uu(t[Se],t),i=t&&t[ti]}t=i}}function up(e,t){let i=e[Br],n=i.indexOf(t);i.splice(n,1)}function Pc(e,t){if(Jr(t))return;let i=t[Ct];i.destroyNode&&Mc(e,t,i,3,null,null),Due(t)}function uu(e,t){if(Jr(t))return;let i=Oe(null);try{t[_e]&=-129,t[_e]|=256,t[zn]&&fc(t[zn]),Oue(e,t),Tue(e,t),t[Se].type===1&&t[Ct].destroy();let n=t[$a];if(n!==null&&Xi(t[en])){n!==t[en]&&up(n,t);let a=t[ni];a!==null&&a.detachView(e)}Sd(t)}finally{Oe(i)}}function Tue(e,t){let i=e.cleanup,n=t[Or];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let l=i[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[i[o+1]];i[o].call(l)}n!==null&&(t[Or]=null);let a=t[fa];if(a!==null){t[fa]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let r=t[Hi];if(r!==null){t[Hi]=null;for(let o of r)o.destroy()}}function Oue(e,t){let i;if(e!=null&&(i=e.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let a=t[i[n]];if(!(a instanceof fs)){let r=i[n+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){let l=a[r[o]],u=r[o+1];try{u.call(l)}finally{}}else try{r.call(a)}finally{}}}}function Zy(e,t,i){return Pue(e,t.parent,i)}function Pue(e,t,i){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return i[Ji];if(Kr(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===Ui.None||a===Ui.Emulated)return null}return Ii(n,i)}function Ky(e,t,i){return Mue(e,t,i)}function Nue(e,t,i){return e.type&40?Ii(e,i):null}var Mue=Nue;function Nc(e,t,i,n){let a=Zy(e,n,t),r=t[Ct],o=n.parent||t[vn],l=Ky(o,n,t);if(a!=null)if(Array.isArray(i))for(let u=0;u<i.length;u++)tf(r,a,i[u],l,!1);else tf(r,a,i,l,!1)}function Co(e,t){if(t!==null){let i=t.type;if(i&3)return Ii(t,e);if(i&4)return Dd(-1,e[t.index]);if(i&8){let n=t.child;if(n!==null)return Co(e,n);{let a=e[t.index];return Xi(a)?Dd(-1,a):Si(a)}}else{if(i&128)return Co(e,t.next);if(i&32)return lp(t,e)()||Si(e[t.index]);{let n=Jy(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Ja(e[Hn]);return Co(a,n)}else return Co(e,t.next)}}}return null}function Jy(e,t){if(t!==null){let i=e[Hn][vn],n=t.projection;return i.projection[n]}return null}function Dd(e,t){let i=Xt+e+1;if(i<t.length){let n=t[i],a=n[Se].firstChild;if(a!==null)return Co(n,a)}return t[Ya]}function dp(e,t,i,n,a,r,o){for(;i!=null;){if(i.type===128){i=i.next;continue}let l=n[i.index],u=i.type;if(o&&t===0&&(l&&io(Si(l),n),i.flags|=2),!cp(i))if(u&8)dp(e,t,i.child,n,a,r,!1),Cr(t,e,a,l,r);else if(u&32){let c=lp(i,n),h;for(;h=c();)Cr(t,e,a,h,r);Cr(t,e,a,l,r)}else u&16?Xy(e,t,n,i,a,r):Cr(t,e,a,l,r);i=o?i.projectionNext:i.next}}function Mc(e,t,i,n,a,r){dp(i,n,e.firstChild,t,a,r,!1)}function Rue(e,t,i){let n=t[Ct],a=Zy(e,i,t),r=i.parent||t[vn],o=Ky(r,i,t);Xy(n,0,t,i,a,o)}function Xy(e,t,i,n,a,r){let o=i[Hn],l=o[vn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];Cr(t,e,a,c,r)}else{let u=l,c=o[en];by(n)&&(u.flags|=128),dp(e,t,u,c,a,r,!0)}}function Aue(e,t,i,n,a){let r=i[Ya],o=Si(i);r!==o&&Cr(t,e,n,r,a);for(let l=Xt;l<i.length;l++){let u=i[l];Mc(u[Se],u,e,t,n,r)}}function Lue(e,t,i,n,a){if(t)a?e.addClass(i,n):e.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:ua.DashCase;a==null?e.removeStyle(i,n,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=ua.Important),e.setStyle(i,n,a,r))}}function Gl(e,t,i,n,a=!1){for(;i!==null;){if(i.type===128){i=a?i.projectionNext:i.next;continue}let r=t[i.index];r!==null&&n.push(Si(r)),Xi(r)&&Fue(r,n);let o=i.type;if(o&8)Gl(e,t,i.child,n);else if(o&32){let l=lp(i,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=Jy(t,i);if(Array.isArray(l))n.push(...l);else{let u=Ja(t[Hn]);Gl(u[Se],u,l,n,!0)}}i=a?i.projectionNext:i.next}return n}function Fue(e,t){for(let i=Xt;i<e.length;i++){let n=e[i],a=n[Se].firstChild;a!==null&&Gl(n[Se],n,a,t)}e[Ya]!==e[Ji]&&t.push(e[Ya])}function Qy(e){if(e[ga]!==null){for(let t of e[ga])t.impl.addSequence(t);e[ga].length=0}}var eb=[];function Vue(e){return e[zn]??jue(e)}function jue(e){let t=eb.pop()??Object.create(zue);return t.lView=e,t}function Bue(e){e.lView[zn]!==e&&(e.lView=null,eb.push(e))}var zue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Xr(e.lView)},consumerOnSignalRead(){this.lView[zn]=this}});function Hue(e){let t=e[zn]??Object.create(Uue);return t.lView=e,t}var Uue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ja(e.lView);for(;t&&!tb(t[Se]);)t=Ja(t);t&&Rh(t)},consumerOnSignalRead(){this.lView[zn]=this}});function tb(e){return e.type!==2}function nb(e){if(e[Hi]===null)return;let t=!0;for(;t;){let i=!1;for(let n of e[Hi])n.dirty&&(i=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=i&&!!(e[_e]&8192)}}var Gue=100;function ib(e,t=!0,i=0){var a,r;let n=e[Zi].rendererFactory;(a=n.begin)==null||a.call(n);try{Wue(e,i)}catch(o){throw t&&xue(e,o),o}finally{(r=n.end)==null||r.call(n)}}function Wue(e,t){let i=Wv();try{Ll(!0),Td(e,t);let n=0;for(;ms(e);){if(n===Gue)throw new Z(103,!1);n++,Td(e,1)}}finally{Ll(i)}}function que(e,t,i,n){if(Jr(t))return;let a=t[_e],r=!1,o=!1;Bh(t);let l=!0,u=null,c=null;tb(e)?(c=Vue(t),u=Lo(c)):Zre()===null?(l=!1,c=Hue(t),u=Lo(c)):t[zn]&&(fc(t[zn]),t[zn]=null);try{Bv(t),sle(e.bindingStartIndex),i!==null&&qy(e,t,i,2,n);let h=(a&3)===3;if(!r)if(h){let g=e.preOrderCheckHooks;g!==null&&ml(t,g,null)}else{let g=e.preOrderHooks;g!==null&&fl(t,g,0,null),lu(t,0)}if(o||$ue(t),nb(t),ab(t,0),e.contentQueries!==null&&Py(e,t),!r)if(h){let g=e.contentCheckHooks;g!==null&&ml(t,g)}else{let g=e.contentHooks;g!==null&&fl(t,g,1),lu(t,1)}Zue(e,t);let m=e.components;m!==null&&ob(t,m,0);let v=e.viewQuery;if(v!==null&&Cd(2,v,n),!r)if(h){let g=e.viewCheckHooks;g!==null&&ml(t,g)}else{let g=e.viewHooks;g!==null&&fl(t,g,2),lu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[su]){for(let g of t[su])g();t[su]=null}r||(Qy(t),t[_e]&=-73)}catch(h){throw Xr(t),h}finally{c!==null&&(mc(c,u),l&&Bue(c)),zh()}}function ab(e,t){for(let i=wy(e);i!==null;i=Ey(i))for(let n=Xt;n<i.length;n++){let a=i[n];rb(a,t)}}function $ue(e){for(let t=wy(e);t!==null;t=Ey(t)){if(!(t[_e]&2))continue;let i=t[Br];for(let n=0;n<i.length;n++){let a=i[n];Rh(a)}}}function Yue(e,t,i){let n=ki(t,e);rb(n,i),Za(19,n[Ut])}function rb(e,t){Mh(e)&&Td(e,t)}function Td(e,t){let i=e[Se],n=e[_e],a=e[zn],r=!!(t===0&&n&16);if(r||(r=!!(n&64&&t===0)),r||(r=!!(n&1024)),r||(r=!!(a!=null&&a.dirty&&ph(a))),r||(r=!1),a&&(a.dirty=!1),e[_e]&=-9217,r)que(i,e,i.template,e[Ut]);else if(n&8192){nb(e),ab(e,1);let o=i.components;o!==null&&ob(e,o,1),Qy(e)}}function ob(e,t,i){for(let n=0;n<t.length;n++)Yue(e,t[n],i)}function Zue(e,t){let i=e.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let a=i[n];if(a<0)Xa(~a);else{let r=a,o=i[++n],l=i[++n];cle(o,r);let u=t[r];Za(24,u),l(2,u),Za(25,u)}}}finally{Xa(-1)}}function hp(e,t){var n;let i=Wv()?64:1088;for((n=e[Zi].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[_e]|=i;let a=Ja(e);if(Al(e)&&!a)return e;e=a}return null}function sb(e,t,i,n){return[e,!0,0,t,null,n,null,i,null,null]}function lb(e,t){let i=Xt+t;if(i<e.length)return e[i]}function _s(e,t,i,n=!0){let a=t[Se];if(Kue(a,t,e,i),n){let o=Dd(i,e),l=t[Ct],u=l.parentNode(e[Ya]);u!==null&&Iue(a,e[vn],l,t,u,o)}let r=t[Vr];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function cb(e,t){let i=Wo(e,t);return i!==void 0&&Pc(i[Se],i),i}function Wo(e,t){if(e.length<=Xt)return;let i=Xt+t,n=e[i];if(n){let a=n[$a];a!==null&&a!==e&&up(a,n),t>0&&(e[i-1][ti]=n[ti]);let r=Nl(e,Xt+t);Cue(n[Se],n);let o=r[ni];o!==null&&o.detachView(r[Se]),n[en]=null,n[ti]=null,n[_e]&=-129}return n}function Kue(e,t,i,n){let a=Xt+n,r=i.length;n>0&&(i[a-1][ti]=t),n<r-Xt?(t[ti]=i[a],Ev(i,Xt+n,t)):(i.push(t),t[ti]=null),t[en]=i;let o=t[$a];o!==null&&i!==o&&ub(o,t);let l=t[ni];l!==null&&l.insertView(e),fd(t),t[_e]|=128}function ub(e,t){let i=e[Br],n=t[en];if(va(n))e[_e]|=2;else{let a=n[en][Hn];t[Hn]!==a&&(e[_e]|=2)}i===null?e[Br]=[t]:i.push(t)}var qo=class{constructor(e,t,i=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=i}get rootNodes(){let e=this._lView,t=e[Se];return Gl(t,e,t.firstChild,[])}get context(){return this._lView[Ut]}set context(e){this._lView[Ut]=e}get destroyed(){return Jr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[en];if(Xi(e)){let t=e[Rl],i=t?t.indexOf(this):-1;i>-1&&(Wo(e,i),Nl(t,i))}this._attachedToViewContainer=!1}Pc(this._lView[Se],this._lView)}onDestroy(e){zv(this._lView,e)}markForCheck(){hp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_e]&=-129}reattach(){fd(this._lView),this._lView[_e]|=128}detectChanges(){this._lView[_e]|=1024,ib(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Al(this._lView),t=this._lView[$a];t!==null&&!e&&up(t,this._lView),Yy(this._lView[Se],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=Al(this._lView),i=this._lView[$a];i!==null&&!t&&ub(i,this._lView),fd(this._lView)}};function Jue(e){return ms(e._lView)||!!(e._lView[_e]&64)}function Xue(e){Rh(e._cdRefInjectingView||e._lView)}var Ur=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",tde),e})(),Que=Ur,ede=class extends Que{constructor(t,i,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=i,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,n){let a=bs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:n});return new qo(a)}};function tde(){return Rc(cn(),we())}function Rc(e,t){return e.type&4?new ede(t,e,no(e,t)):null}function ao(e,t,i,n,a){let r=e.data[t];if(r===null)r=nde(e,t,i,n,a),lle()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=a;let o=ole();r.injectorIndex=o===null?-1:o.injectorIndex}return Ea(r,!0),r}function nde(e,t,i,n,a){let r=Uv(),o=Fh(),l=o?r:r&&r.parent,u=e.data[t]=ade(e,l,i,t,n,a);return ide(e,u,r,o),u}function ide(e,t,i,n){e.firstChild===null&&(e.firstChild=t),i!==null&&(n?i.child==null&&t.parent!==null&&(i.child=t):i.next===null&&(i.next=t,t.prev=i))}function ade(e,t,i,n,a,r){let o=t?t.injectorIndex:-1,l=0;return Hv()&&(l|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var rde=()=>null;function Gr(e,t){return rde()}var ode=class{},db=class{},sde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Bn(e)}.`)}},td,xs=(td=class{},s(td,"NULL",new sde),td),oi=class{},ro=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>lde()),e})();function lde(){let e=we(),t=cn(),i=ki(t.index,e);return(va(i)?i:e)[Ct]}var cde=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),du={},ude=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,i){i=_c(i);let n=this.injector.get(e,du,i);return n!==du||t===du?n:this.parentInjector.get(e,t,i)}};function Od(e,t,i){let n=i?e.styles:null,a=i?e.classes:null,r=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")r=l;else if(r==1)a=ld(a,l);else if(r==2){let u=l,c=t[++o];n=ld(n,u+": "+c+";")}}i?e.styles=n:e.stylesWithoutHost=n,i?e.classes=a:e.classesWithoutHost=a}function Qt(e,t=Me.Default){let i=we();if(i===null)return pe(e,t);let n=cn();return ly(n,i,qt(e),t)}function pp(e,t,i,n,a){let r=n===null?null:{"":-1},o=a(e,i);if(o!==null){let l,u=null,c=null,h=hde(o);h===null?l=o:[l,u,c]=h,fde(e,t,i,l,r,u,c)}r!==null&&n!==null&&dde(i,n,r)}function dde(e,t,i){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=i[t[a+1]];if(r==null)throw new Z(-301,!1);n.push(t[a],r)}}function hde(e){let t=null,i=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Ei(l)&&(t=l),l.findHostDirectiveDefs!==null){i=!0;break}}if(!i)return null;let n=null,a=null,r=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),r??(r=new Map),pde(o,n,r,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,r]):null}function pde(e,t,i,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),i.set(e,[a,t.length-1])}function mde(e,t,i){t.componentOffset=i,(e.components??(e.components=[])).push(t.index)}function fde(e,t,i,n,a,r,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&Ei(g)&&(u=!0,mde(e,i,v)),bd(Bl(i,t),e,g.type)}xde(i,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,h=!1,m=Gy(e,t,l,null);l>0&&(i.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(i.mergedAttrs=zr(i.mergedAttrs,g.hostAttrs),vde(e,i,t,m,g),_de(m,g,a),o!==null&&o.has(g)){let[w,S]=o.get(g);i.directiveToIndex.set(g.type,[m,w+i.directiveStart,S+i.directiveStart])}else(r===null||!r.has(g))&&i.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(i.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(i.flags|=64);let x=g.type.prototype;!c&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(i.index),c=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(i.index),h=!0),m++}gde(e,i,r)}function gde(e,t,i){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(i===null||!i.has(a))af(0,t,a,n),af(1,t,a,n),of(t,n,!1);else{let r=i.get(a);rf(0,t,r,n),rf(1,t,r,n),of(t,n,!0)}}}function af(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[r]??(o[r]=[]),o[r].push(n),hb(t,r)}}function rf(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,r),hb(t,o)}}function hb(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function of(e,t,i){let{attrs:n,inputs:a,hostDirectiveInputs:r}=e;if(n===null||!i&&a===null||i&&r===null||ep(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!i&&a.hasOwnProperty(u)){let c=a[u];for(let h of c)if(h===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(i&&r.hasOwnProperty(u)){let c=r[u];for(let h=0;h<c.length;h+=2)if(c[h]===t){o??(o=[]),o.push(c[h+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function vde(e,t,i,n,a){e.data[n]=a;let r=a.factory||(a.factory=qa(a.type)),o=new fs(r,Ei(a),Qt);e.blueprint[n]=o,i[n]=o,yde(e,t,n,Gy(e,i,a.hostVars,ri),a)}function yde(e,t,i,n,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;bde(o)!=l&&o.push(l),o.push(i,n,r)}}function bde(e){let t=e.length;for(;t>0;){let i=e[--t];if(typeof i=="number"&&i<0)return i}return 0}function _de(e,t,i){if(i){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)i[t.exportAs[n]]=e;Ei(t)&&(i[""]=e)}}function xde(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function pb(e,t,i,n,a,r,o,l){let u=t.consts,c=Ka(u,o),h=ao(t,e,2,n,c);return pp(t,i,h,Ka(u,l),a),h.mergedAttrs=zr(h.mergedAttrs,h.attrs),h.attrs!==null&&Od(h,h.attrs,!1),h.mergedAttrs!==null&&Od(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function mb(e,t){Uh(e,t),Th(t)&&e.queries.elementEnd(t)}var wde=class extends xs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let i=Lr(t);return new mp(i,this.ngModule)}};function Ede(e){return Object.keys(e).map(t=>{let[i,n,a]=e[t],r={propName:i,templateName:t,isSignal:(n&Tc.SignalBased)!==0};return a&&(r.transform=a),r})}function Sde(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function kde(e,t,i){let n=t instanceof wi?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new ude(i,n):i}function Cde(e){let t=e.get(oi,null);if(t===null)throw new Z(407,!1);let i=e.get(cde,null),n=e.get(to,null);return{rendererFactory:t,sanitizer:i,changeDetectionScheduler:n}}function Ide(e,t){let i=(e.selectors[0][0]||"div").toLowerCase();return Fy(t,i,i==="svg"?$se:i==="math"?Yse:null)}var mp=class extends db{constructor(t,i){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=sue(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}get inputs(){return this.cachedInputs??(this.cachedInputs=Ede(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=Sde(this.componentDef.outputs)),this.cachedOutputs}create(t,i,n,a){let r=Oe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.18"]:lue(this.componentDef.selectors[0]),u=tp(0,null,null,1,0,null,null,null,null,[l],null),c=kde(o,a||this.ngModule,t),h=Cde(c),m=h.rendererFactory.createRenderer(null,o),v=n?hue(m,n,o.encapsulation,c):Ide(o,m),g=np(null,u,null,512|Uy(o),null,null,h,m,c,null,Oy(v,c,!0));g[bt]=v,Bh(g);let x=null;try{let w=pb(bt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(jy(m,v,w),io(v,g)),Oc(u,g,w),Xh(u,w,g),mb(u,w),i!==void 0&&Tde(w,this.ngContentSelectors,i),x=ki(w.index,g),g[Ut]=x[Ut],sp(u,g,null)}catch(w){throw x!==null&&Sd(x),Sd(g),w}finally{Za(23),zh()}return new Dde(this.componentType,g)}finally{Oe(r)}}},Dde=class extends ode{constructor(t,i){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=i,this._tNode=Ph(i[Se],bt),this.location=no(this._tNode,i),this.instance=ki(this._tNode.index,i)[Ut],this.hostView=this.changeDetectorRef=new qo(i,void 0,!1),this.componentType=t}setInput(t,i){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;let a=this._rootLView;op(n,a[Se],a,t,i),this.previousInputValues.set(t,i);let r=ki(n.index,a);hp(r,1)}get injector(){return new No(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Tde(e,t,i){let n=e.projection=[];for(let a=0;a<t.length;a++){let r=i[a];n.push(r!=null&&r.length?Array.from(r):null)}}var ws=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Ode),e})();function Ode(){let e=cn();return gb(e,we())}var Pde=ws,fb=class extends Pde{constructor(t,i,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=i,this._hostLView=n}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new No(this._hostTNode,this._hostLView)}get parentInjector(){let t=Gh(this._hostTNode,this._hostLView);if(ny(t)){let i=Vl(t,this._hostLView),n=Fl(t),a=i[Se].data[n+8];return new No(a,i)}else return new No(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let i=sf(this._lContainer);return i!==null&&i[t]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(t,i,n){let a,r;typeof n=="number"?a=n:n!=null&&(a=n.index,r=n.injector);let o=Gr(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(i||{},r,o);return this.insertImpl(l,a,Hr(this._hostTNode,o)),l}createComponent(t,i,n,a,r){let o=t&&!Hse(t),l;if(o)l=i;else{let x=i||{};l=x.index,n=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let u=o?t:new mp(Lr(t)),c=n||this.parentInjector;if(!r&&u.ngModule==null){let x=(o?c:this.parentInjector).get(wi,null);x&&(r=x)}let h=Lr(u.componentType??{}),m=Gr(this._lContainer,(h==null?void 0:h.id)??null),v=null,g=u.create(c,a,v,r);return this.insertImpl(g.hostView,l,Hr(this._hostTNode,m)),g}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,n){let a=t._lView;if(Kse(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[en],c=new fb(u,u[vn],u[en]);c.detach(c.indexOf(t))}}let r=this._adjustIndex(i),o=this._lContainer;return _s(o,a,r,n),t.attachToViewContainerRef(),Ev(hu(o),r,t),t}move(t,i){return this.insert(t,i)}indexOf(t){let i=sf(this._lContainer);return i!==null?i.indexOf(t):-1}remove(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);n&&(Nl(hu(this._lContainer),i),Pc(n[Se],n))}detach(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);return n&&Nl(hu(this._lContainer),i)!=null?new qo(n):null}_adjustIndex(t,i=0){return t??this.length+i}};function sf(e){return e[Rl]}function hu(e){return e[Rl]||(e[Rl]=[])}function gb(e,t){let i,n=t[e.index];return Xi(n)?i=n:(i=sb(n,t,null,e),t[e.index]=i,ip(t,i)),Mde(i,t,e,n),new fb(i,e,t)}function Nde(e,t){let i=e[Ct],n=i.createComment(""),a=Ii(t,e),r=i.parentNode(a);return Ul(i,r,n,i.nextSibling(a),!1),n}var Mde=Rde;function Rde(e,t,i,n){if(e[Ya])return;let a;i.type&8?a=Si(n):a=Nde(t,i),e[Ya]=a}var Ade=class vb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new vb(this.queryList)}setDirty(){this.queryList.setDirty()}},Lde=class yb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let i=t.queries;if(i!==null){let n=t.contentQueries!==null?t.contentQueries[0]:i.length,a=[];for(let r=0;r<n;r++){let o=i.getByIndex(r),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new yb(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)fp(t,i).matches!==null&&this.queries[i].setDirty()}},bb=class{constructor(e,t,i=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=i,typeof e=="string"?this.predicate=qde(e):this.predicate=e}},Fde=class _b{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let n=0;n<this.length;n++){let a=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(t,a);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new _b(i):null}template(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Vde=class xb{constructor(t,i=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new xb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let r=n[a];this.matchTNodeWithReadOption(t,i,jde(i,r)),this.matchTNodeWithReadOption(t,i,gl(i,t,r,!1,!1))}else n===Ur?i.type&4&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,gl(i,t,n,!1,!1))}matchTNodeWithReadOption(t,i,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===At||a===ws||a===Ur&&i.type&4)this.addMatch(i.index,-2);else{let r=gl(i,t,a,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(t,i){this.matches===null?this.matches=[t,i]:this.matches.push(t,i)}};function jde(e,t){let i=e.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===t)return i[n+1]}return null}function Bde(e,t){return e.type&11?no(e,t):e.type&4?Rc(e,t):null}function zde(e,t,i,n){return i===-1?Bde(t,e):i===-2?Hde(e,t,n):Uo(e,e[Se],i,t)}function Hde(e,t,i){if(i===At)return no(t,e);if(i===Ur)return Rc(t,e);if(i===ws)return gb(t,e)}function wb(e,t,i,n){let a=t[ni].queries[n];if(a.matches===null){let r=e.data,o=i.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let h=r[c];l.push(zde(t,h,o[u+1],i.metadata.read))}}a.matches=l}return a.matches}function Pd(e,t,i,n){let a=e.queries.getByIndex(i),r=a.matches;if(r!==null){let o=wb(e,t,a,i);for(let l=0;l<r.length;l+=2){let u=r[l];if(u>0)n.push(o[l/2]);else{let c=r[l+1],h=t[-u];for(let m=Xt;m<h.length;m++){let v=h[m];v[$a]===v[en]&&Pd(v[Se],v,c,n)}if(h[Br]!==null){let m=h[Br];for(let v=0;v<m.length;v++){let g=m[v];Pd(g[Se],g,c,n)}}}}}return n}function Ude(e,t){return e[ni].queries[t].queryList}function Eb(e,t,i){let n=new Hl((i&4)===4);return Qse(e,t,n,n.destroy),(t[ni]??(t[ni]=new Lde)).queries.push(new Ade(n))-1}function Gde(e,t,i){let n=pt();return n.firstCreatePass&&(Sb(n,new bb(e,t,i),-1),(t&2)===2&&(n.staticViewQueries=!0)),Eb(n,we(),t)}function Wde(e,t,i,n){let a=pt();if(a.firstCreatePass){let r=cn();Sb(a,new bb(t,i,n),r.index),$de(a,e)}return Eb(a,we(),i)}function qde(e){return e.split(",").map(t=>t.trim())}function Sb(e,t,i){e.queries===null&&(e.queries=new Fde),e.queries.track(new Vde(t,i))}function $de(e,t){let i=e.contentQueries||(e.contentQueries=[]),n=i.length?i[i.length-1]:-1;t!==n&&i.push(e.queries.length-1,t)}function fp(e,t){return e.queries.getByIndex(t)}function Yde(e,t){let i=e[Se],n=fp(i,t);return n.crossesNgTemplate?Pd(i,e,t,[]):wb(i,e,n,t)}var $o=class{},kb=class extends $o{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new wde(this));s(this,"instance",null);let i=new Dh([...t.providers,{provide:$o,useValue:this},{provide:xs,useValue:this.componentFactoryResolver}],t.parent||xc(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zde(e,t,i=null){return new kb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}var Kde=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let a=Dv(!1,n.type),r=a.length>0?Zde([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",W({token:t,providedIn:"environment",factory:()=>new t(pe(wi))}));let e=t;return e})();function Re(e){return us(()=>{let t=Cb(e),i=yt(ue({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===_y.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Kde).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ui.Emulated,styles:e.styles||hn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ar("NgStandalone"),Ib(i);let n=e.dependencies;return i.directiveDefs=lf(n,!1),i.pipeDefs=lf(n,!0),i.id=the(i),i})}function Jde(e){return Lr(e)||Iv(e)}function Xde(e){return e!==null}function an(e){return us(()=>({type:e.type,bootstrap:e.bootstrap||hn,declarations:e.declarations||hn,imports:e.imports||hn,exports:e.exports||hn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Qde(e,t){if(e==null)return xi;let i={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],r,o,l,u;Array.isArray(a)?(l=a[0],r=a[1],o=a[2]??r,u=a[3]||null):(r=a,o=a,l=Tc.None,u=null),i[r]=[n,l,u],t[r]=o}return i}function ehe(e){if(e==null)return xi;let t={};for(let i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function rn(e){return us(()=>{let t=Cb(e);return Ib(t),t})}function Yt(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 Cb(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||xi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||hn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Qde(e.inputs,t),outputs:ehe(e.outputs),debugInfo:null}}function Ib(e){var t;(t=e.features)==null||t.forEach(i=>i(e))}function lf(e,t){if(!e)return null;let i=t?Pse:Jde;return()=>(typeof e=="function"?e():e).map(n=>i(n)).filter(Xde)}function the(e){let t=0,i=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,i,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of n.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function nhe(e){return Object.getPrototypeOf(e.prototype).constructor}function Gn(e){let t=nhe(e.type),i=!0,n=[e];for(;t;){let a;if(Ei(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(i){n.push(a);let o=e;o.inputs=pu(e.inputs),o.declaredInputs=pu(e.declaredInputs),o.outputs=pu(e.outputs);let l=a.hostBindings;l&&she(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&rhe(e,u),c&&ohe(e,c),ihe(e,a),lse(e.outputs,a.outputs),Ei(a)&&a.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let o=0;o<r.length;o++){let l=r[o];l&&l.ngInherit&&l(e),l===Gn&&(i=!1)}}t=Object.getPrototypeOf(t)}ahe(n)}function ihe(e,t){for(let i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;let n=t.inputs[i];n!==void 0&&(e.inputs[i]=n,e.declaredInputs[i]=t.declaredInputs[i])}}function ahe(e){let t=0,i=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=zr(a.hostAttrs,i=zr(i,a.hostAttrs))}}function pu(e){return e===xi?{}:e===hn?[]:e}function rhe(e,t){let i=e.viewQuery;i?e.viewQuery=(n,a)=>{t(n,a),i(n,a)}:e.viewQuery=t}function ohe(e,t){let i=e.contentQueries;i?e.contentQueries=(n,a,r)=>{t(n,a,r),i(n,a,r)}:e.contentQueries=t}function she(e,t){let i=e.hostBindings;i?e.hostBindings=(n,a)=>{t(n,a),i(n,a)}:e.hostBindings=t}function lhe(e){let t=i=>{let n=Array.isArray(e);i.hostDirectives===null?(i.findHostDirectiveDefs=Db,i.hostDirectives=n?e.map(Nd):[e]):n?i.hostDirectives.unshift(...e.map(Nd)):i.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Db(e,t,i){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let r of a)cf(Nd(r),t,i)}else cf(n,t,i)}function cf(e,t,i){let n=Iv(e.directive);che(n.declaredInputs,e.inputs),Db(n,t,i),i.set(n,e),t.push(n)}function Nd(e){return typeof e=="function"?{directive:qt(e),inputs:xi,outputs:xi}:{directive:qt(e.directive),inputs:uf(e.inputs),outputs:uf(e.outputs)}}function uf(e){if(e===void 0||e.length===0)return xi;let t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function che(e,t){for(let i in t)if(t.hasOwnProperty(i)){let n=t[i],a=e[i];e[n]=a}}function Tb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Es(e,t,i){return e[t]=i}function Ob(e,t){return e[t]}function kn(e,t,i){let n=e[t];return Object.is(n,i)?!1:(e[t]=i,!0)}function Wl(e,t,i,n){let a=kn(e,t,i);return kn(e,t+1,n)||a}function uhe(e,t,i,n,a){let r=Wl(e,t,i,n);return kn(e,t+2,a)||r}function dhe(e,t,i,n,a,r){let o=Wl(e,t,i,n);return Wl(e,t+2,a,r)||o}function hhe(e,t,i,n,a,r,o,l,u){let c=t.consts,h=ao(t,e,4,o||null,l||null);pp(t,i,h,Ka(c,u),rp),h.mergedAttrs=zr(h.mergedAttrs,h.attrs),Uh(t,h);let m=h.tView=tp(2,h,n,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,h),m.queries=t.queries.embeddedTView(h)),h}function Pb(e,t,i,n,a,r,o,l,u,c){let h=i+bt,m=t.firstCreatePass?hhe(h,t,e,n,a,r,o,l,u):t.data[h];Ea(m,!1);let v=phe(t,e);kc()&&Nc(t,e,v,m),io(v,e);let g=sb(v,e,v,m);return e[h]=g,ip(e,g),Sc(m)&&Oc(t,e,m),u!=null&&ap(e,m,c),m}function oe(e,t,i,n,a,r,o,l){let u=we(),c=pt(),h=Ka(c.consts,r);return Pb(u,c,e,t,i,n,a,h,o,l),oe}var phe=mhe;function mhe(e,t,i,n){return Cc(!0),t[Ct].createComment("")}var fhe=new se(""),Nb=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new ghe}));let e=t;return e})(),ghe=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,i=this.queues.get(t);i.has(e)&&(i.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(e)||(this.queuedEffectCount++,i.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 Mb(e){return!!e&&typeof e.then=="function"}function vhe(e){return!!e&&typeof e.subscribe=="function"}var yhe=new se(""),Rb=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",C(yhe,{optional:!0})??[]);s(this,"injector",C(st))}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=wc(this.injector,r);if(Mb(o))n.push(o);else if(vhe(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(r=>{this.reject(r)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bhe=new se("");function _he(){toe(()=>{throw new Z(600,!1)})}function xhe(e){return e.isBoundToModule}var whe=10,xa=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(Ule));s(this,"afterRenderManager",C(Iy));s(this,"zonelessEnabled",C(py));s(this,"rootEffectScheduler",C(Nb));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new be);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",C(gs).hasPendingTasks.pipe(zt(n=>!n)));s(this,"_injector",C(wi));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let n=Oe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,Oe(n),this.afterTick.next()}});C(vs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(a=>{n=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,r=st.NULL){let o=n instanceof db;if(!this._injector.get(Rb).done){let g="";throw new Z(405,g)}let l;o?l=n:l=this._injector.get(xs).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=xhe(l)?void 0:this._injector.get($o),c=a||l.selector,h=l.create(r,[],c,u),m=h.location.nativeElement,v=h.injector.get(fhe,null);return v==null||v.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),vl(this.components,h),v==null||v.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Zh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<whe;)this.synchronizeOnce()}synchronizeOnce(){var n,a,r,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)Ehe(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(n=this._rendererFactory)==null?void 0:n.begin)==null||a.call(n),(o=(r=this._rendererFactory)==null?void 0:r.end)==null||o.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ms(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let a=n;this._views.push(a),a.attachToAppRef(this)}detachView(n){let a=n;vl(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(bhe,[]).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Z(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function vl(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}function Ehe(e,t,i,n){!i&&!ms(e)||ib(e,t,i&&!n?0:1)}function jt(e,t,i,n){let a=we(),r=eo();if(kn(a,r,t)){pt();let o=Hh();yue(o,a,e,t,i,n)}return jt}function She(e,t,i,n){return kn(e,eo(),i)?t+bc(i)+n:ri}function Us(e,t){return e<<17|t<<2}function Qa(e){return e>>17&32767}function khe(e){return(e&2)==2}function Che(e,t){return e&131071|t<<17}function Md(e){return e|2}function Wr(e){return(e&131068)>>2}function mu(e,t){return e&-131069|t<<2}function Ihe(e){return(e&1)===1}function Rd(e){return e|1}function Dhe(e,t,i,n,a,r){let o=r?t.classBindings:t.styleBindings,l=Qa(o),u=Wr(o);e[n]=i;let c=!1,h;if(Array.isArray(i)){let m=i;h=m[1],(h===null||ds(m,h)>0)&&(c=!0)}else h=i;if(a)if(u!==0){let m=Qa(e[l+1]);e[n+1]=Us(m,l),m!==0&&(e[m+1]=mu(e[m+1],n)),e[l+1]=Che(e[l+1],n)}else e[n+1]=Us(l,0),l!==0&&(e[l+1]=mu(e[l+1],n)),l=n;else e[n+1]=Us(u,0),l===0?l=n:e[u+1]=mu(e[u+1],n),u=n;c&&(e[n+1]=Md(e[n+1])),df(e,h,n,!0),df(e,h,n,!1),The(t,h,e,n,r),o=Us(l,u),r?t.classBindings=o:t.styleBindings=o}function The(e,t,i,n,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&ds(r,t)>=0&&(i[n+1]=Rd(i[n+1]))}function df(e,t,i,n){let a=e[i+1],r=t===null,o=n?Qa(a):Wr(a),l=!1;for(;o!==0&&(l===!1||r);){let u=e[o],c=e[o+1];Ohe(u,t)&&(l=!0,e[o+1]=n?Rd(c):Md(c)),o=n?Qa(c):Wr(c)}l&&(e[i+1]=n?Md(a):Rd(a))}function Ohe(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ds(e,t)>=0:!1}var Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Phe(e){return e.substring(Qn.key,Qn.keyEnd)}function Nhe(e){return Mhe(e),Ab(e,Lb(e,0,Qn.textEnd))}function Ab(e,t){let i=Qn.textEnd;return i===t?-1:(t=Qn.keyEnd=Rhe(e,Qn.key=t,i),Lb(e,t,i))}function Mhe(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function Lb(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function Rhe(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}function $(e,t,i){let n=we(),a=eo();if(kn(n,a,t)){let r=pt(),o=Hh();$y(r,o,n,e,t,n[Ct],i,!1)}return $}function Ad(e,t,i,n,a){op(t,e,i,a?"class":"style",n)}function gp(e,t,i){return Fb(e,t,i,!1),gp}function mn(e,t){return Fb(e,t,null,!0),mn}function Ss(e){Lhe(Hhe,Ahe,e,!0)}function Ahe(e,t){for(let i=Nhe(t);i>=0;i=Ab(t,i))Sh(e,Phe(t),!0)}function Fb(e,t,i,n){let a=we(),r=pt(),o=qv(2);if(r.firstUpdatePass&&jb(r,e,o,n),t!==ri&&kn(a,o,t)){let l=r.data[Qi()];Bb(r,l,a,a[Ct],e,a[o+1]=Ghe(t,i),n,o)}}function Lhe(e,t,i,n){let a=pt(),r=qv(2);a.firstUpdatePass&&jb(a,null,r,n);let o=we();if(i!==ri&&kn(o,r,i)){let l=a.data[Qi()];if(zb(l,n)&&!Vb(a,r)){let u=l.classesWithoutHost;u!==null&&(i=ld(u,i||"")),Ad(a,l,o,i,n)}else Uhe(a,l,o,o[Ct],o[r+1],o[r+1]=zhe(e,t,i),n,r)}}function Vb(e,t){return t>=e.expandoStartIndex}function jb(e,t,i,n){let a=e.data;if(a[i+1]===null){let r=a[Qi()],o=Vb(e,i);zb(r,n)&&t===null&&!o&&(t=!1),t=Fhe(a,r,t,n),Dhe(a,r,t,i,o,n)}}function Fhe(e,t,i,n){let a=dle(e),r=n?t.residualClasses:t.residualStyles;if(a===null)(n?t.classBindings:t.styleBindings)===0&&(i=fu(null,e,t,i,n),i=Yo(i,t.attrs,n),r=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(i=fu(a,e,t,i,n),r===null){let l=Vhe(e,t,n);l!==void 0&&Array.isArray(l)&&(l=fu(null,e,t,l[1],n),l=Yo(l,t.attrs,n),jhe(e,t,n,l))}else r=Bhe(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),i}function Vhe(e,t,i){let n=i?t.classBindings:t.styleBindings;if(Wr(n)!==0)return e[Qa(n)]}function jhe(e,t,i,n){let a=i?t.classBindings:t.styleBindings;e[Qa(a)]=n}function Bhe(e,t,i){let n,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let o=e[r].hostAttrs;n=Yo(n,o,i)}return Yo(n,t.attrs,i)}function fu(e,t,i,n,a){let r=null,o=i.directiveEnd,l=i.directiveStylingLast;for(l===-1?l=i.directiveStart:l++;l<o&&(r=t[l],n=Yo(n,r.hostAttrs,a),r!==e);)l++;return e!==null&&(i.directiveStylingLast=l),n}function Yo(e,t,i){let n=i?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Sh(e,o,i?!0:t[++r]))}return e===void 0?null:e}function zhe(e,t,i){if(i==null||i==="")return hn;let n=[],a=sa(i);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(n,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(n,r,a[r]);else typeof a=="string"&&t(n,a);return n}function Hhe(e,t,i){let n=String(t);n!==""&&!n.includes(" ")&&Sh(e,n,i)}function Uhe(e,t,i,n,a,r,o,l){a===ri&&(a=hn);let u=0,c=0,h=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;h!==null||m!==null;){let v=u<a.length?a[u+1]:void 0,g=c<r.length?r[c+1]:void 0,x=null,w;h===m?(u+=2,c+=2,v!==g&&(x=m,w=g)):m===null||h!==null&&h<m?(u+=2,x=h):(c+=2,x=m,w=g),x!==null&&Bb(e,t,i,n,x,w,o,l),h=u<a.length?a[u]:null,m=c<r.length?r[c]:null}}function Bb(e,t,i,n,a,r,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],h=Ihe(c)?hf(u,t,i,a,Wr(c),o):void 0;if(!ql(h)){ql(r)||khe(c)&&(r=hf(u,null,i,a,l,o));let m=jv(Qi(),i);Lue(n,o,m,a,r)}}function hf(e,t,i,n,a,r){let o=t===null,l;for(;a>0;){let u=e[a],c=Array.isArray(u),h=c?u[1]:u,m=h===null,v=i[a+1];v===ri&&(v=m?hn:void 0);let g=m?ru(v,n):h===n?v:void 0;if(c&&!ql(g)&&(g=ru(u,n)),ql(g)&&(l=g,o))return l;let x=e[a+1];a=o?Qa(x):Wr(x)}if(t!==null){let u=r?t.residualClasses:t.residualStyles;u!=null&&(l=ru(u,n))}return l}function ql(e){return e!==void 0}function Ghe(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Bn(sa(e)))),e}function zb(e,t){return(e.flags&(t?8:16))!==0}var Whe=class{destroy(e){}updateValue(e,t){}swap(e,t){let i=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-i>1){let r=this.detach(i);this.attach(i,a),this.attach(n,r)}else this.attach(i,a)}move(e,t){this.attach(t,this.detach(e))}};function gu(e,t,i,n,a){return e===i&&Object.is(t,n)?1:Object.is(a(e,t),a(i,n))?-1:0}function qhe(e,t,i){let n,a,r=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=o&&r<=l;){let u=e.at(r),c=t[r],h=gu(r,u,r,c,i);if(h!==0){h<0&&e.updateValue(r,c),r++;continue}let m=e.at(o),v=t[l],g=gu(o,m,l,v,i);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let x=i(r,u),w=i(o,m),S=i(r,c);if(Object.is(S,w)){let T=i(l,v);Object.is(T,x)?(e.swap(r,o),e.updateValue(o,v),l--,o--):e.move(o,r),e.updateValue(r,c),r++;continue}if(n??(n=new ff),a??(a=mf(e,r,o,i)),Ld(e,n,r,S))e.updateValue(r,c),r++,o++;else if(a.has(S))n.set(x,e.detach(r)),o--;else{let T=e.create(r,t[r]);e.attach(r,T),r++,o++}}for(;r<=l;)pf(e,n,i,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&r<=o;){let c=e.at(r),h=u.value,m=gu(r,c,r,h,i);if(m!==0)m<0&&e.updateValue(r,h),r++,u=l.next();else{n??(n=new ff),a??(a=mf(e,r,o,i));let v=i(r,h);if(Ld(e,n,r,v))e.updateValue(r,h),r++,o++,u=l.next();else if(!a.has(v))e.attach(r,e.create(r,h)),r++,o++,u=l.next();else{let g=i(r,c);n.set(g,e.detach(r)),o--}}}for(;!u.done;)pf(e,n,i,e.length,u.value),u=l.next()}for(;r<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Ld(e,t,i,n){return t!==void 0&&t.has(n)?(e.attach(i,t.get(n)),t.delete(n),!0):!1}function pf(e,t,i,n,a){if(Ld(e,t,n,i(n,a)))e.updateValue(n,a);else{let r=e.create(n,a);e.attach(n,r)}}function mf(e,t,i,n){let a=new Set;for(let r=t;r<=i;r++)a.add(n(r,e.at(r)));return a}var ff=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let i=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(i);)i=n.get(i);n.set(i,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,i]of this.kvMap)if(e(i,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(i);)i=n.get(i),e(i,t)}}};function ee(e,t){ar("NgControlFlow");let i=we(),n=eo(),a=i[n]!==ri?i[n]:-1,r=a!==-1?$l(i,bt+a):void 0,o=0;if(kn(i,n,e)){let l=Oe(null);try{if(r!==void 0&&cb(r,o),e!==-1){let u=bt+e,c=$l(i,u),h=Fd(i[Se],u),m=Gr(c,h.tView.ssrId),v=bs(i,h,t,{dehydratedView:m});_s(c,v,o,Hr(h,m))}}finally{Oe(l)}}else if(r!==void 0){let l=lb(r,o);l!==void 0&&(l[Ut]=t)}}var $he=class{constructor(e,t,i){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-Xt}};function ks(e,t){return t}var Yhe=class{constructor(e,t,i){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=i}};function oo(e,t,i,n,a,r,o,l,u,c,h,m,v){ar("NgControlFlow");let g=we(),x=pt(),w=u!==void 0,S=we(),T=o,L=new Yhe(w,T);S[bt+e]=L,Pb(g,x,e+1,t,i,n,a,Ka(x.consts,r))}var Zhe=class extends Whe{constructor(t,i,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=i,this.templateTNode=n}get length(){return this.lContainer.length-Xt}at(t){return this.getLView(t)[Ut].$implicit}attach(t,i){let n=i[Vr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),_s(this.lContainer,i,t,Hr(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Khe(this.lContainer,t)}create(t,i){var r;let n=Gr(this.lContainer,this.templateTNode.tView.ssrId),a=bs(this.hostLView,this.templateTNode,new $he(this.lContainer,i,t),{dehydratedView:n});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var i;Pc(t[Se],t),(i=this.operationsCounter)==null||i.recordDestroy()}updateValue(t,i){this.getLView(t)[Ut].$implicit=i}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)[Ut].$index=t}getLView(t){return Jhe(this.lContainer,t)}};function so(e){let t=Oe(null),i=Qi();try{let n=we(),a=n[Se],r=n[i],o=i+1,l=$l(n,o);if(r.liveCollection===void 0){let c=Fd(a,o);r.liveCollection=new Zhe(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(qhe(u,e,r.trackByFn),u.updateIndexes(),r.hasEmptyBlock){let c=eo(),h=u.length===0;if(kn(n,c,h)){let m=i+2,v=$l(n,m);if(h){let g=Fd(a,m),x=Gr(v,g.tView.ssrId),w=bs(n,g,void 0,{dehydratedView:x});_s(v,w,0,Hr(g,x))}else cb(v,0)}}}finally{Oe(t)}}function $l(e,t){return e[t]}function Khe(e,t){return Wo(e,t)}function Jhe(e,t){return lb(e,t)}function Fd(e,t){return Ph(e,t)}function j(e,t,i,n){let a=we(),r=pt(),o=bt+e,l=a[Ct],u=r.firstCreatePass?pb(o,r,a,t,rp,ile(),i,n):r.data[o],c=Xhe(r,a,u,l,t);a[o]=c;let h=Sc(u);return Ea(u,!0),jy(l,c,u),!cp(u)&&kc()&&Nc(r,a,c,u),(ele()===0||h)&&io(c,a),tle(),h&&(Oc(r,a,u),Xh(r,u,a)),n!==null&&ap(a,u),j}function z(){let e=cn();Fh()?Vh():(e=e.parent,Ea(e,!1));let t=e;ale(t)&&rle(),nle();let i=pt();return i.firstCreatePass&&mb(i,t),t.classesWithoutHost!=null&&vle(t)&&Ad(i,t,we(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yle(t)&&Ad(i,t,we(),t.stylesWithoutHost,!1),z}function le(e,t,i,n){return j(e,t,i,n),z(),le}var Xhe=(e,t,i,n,a,r)=>(Cc(!0),Fy(n,a,mle()));function Qhe(e,t,i,n,a){let r=t.consts,o=Ka(r,n),l=ao(t,e,8,"ng-container",o);o!==null&&Od(l,o,!0);let u=Ka(r,a);return pp(t,i,l,u,rp),l.mergedAttrs=zr(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Hb(e,t,i){let n=we(),a=pt(),r=e+bt,o=a.firstCreatePass?Qhe(r,a,n,t,i):a.data[r];Ea(o,!0);let l=epe(a,n);return n[r]=l,kc()&&Nc(a,n,l,o),io(l,n),Sc(o)&&(Oc(a,n,o),Xh(a,o,n)),i!=null&&ap(n,o),Hb}function Ub(){let e=cn(),t=pt();return Fh()?Vh():(e=e.parent,Ea(e,!1)),t.firstCreatePass&&(Uh(t,e),Th(e)&&t.queries.elementEnd(e)),Ub}function Sa(e,t,i){return Hb(e,t,i),Ub(),Sa}var epe=(e,t,i,n)=>(Cc(!0),qce(t[Ct],""));function Ac(){return we()}function Lc(e,t,i){let n=we(),a=eo();if(kn(n,a,t)){let r=pt(),o=Hh();$y(r,o,n,e,t,n[Ct],i,!0)}return Lc}var Da=void 0;function tpe(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var npe=["en",[["a","p"],["AM","PM"],Da],[["AM","PM"],Da,Da],[["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"]],Da,[["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"]],Da,[["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}",Da,"{1} 'at' {0}",Da],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",tpe],Mo={};function ipe(e,t,i){typeof t!="string"&&(i=t,t=e[Mt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Mo[t]=e,i&&(Mo[t][Mt.ExtraData]=i)}function si(e){let t=ape(e),i=gf(t);if(i)return i;let n=t.split("-")[0];if(i=gf(n),i)return i;if(n==="en")return npe;throw new Z(701,!1)}function gf(e){return e in Mo||(Mo[e]=wr.ng&&wr.ng.common&&wr.ng.common.locales&&wr.ng.common.locales[e]),Mo[e]}var Mt=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}(Mt||{});function ape(e){return e.toLowerCase().replace(/_/g,"-")}var Vd="en-US";function rpe(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function vf(e,t,i){return function n(a){if(a===Function)return i;let r=Kr(e)?ki(e.index,t):t;hp(r,5);let o=t[Ut],l=yf(t,o,i,a),u=n.__ngNextListenerFn__;for(;u;)l=yf(t,o,u,a)&&l,u=u.__ngNextListenerFn__;return l}}function yf(e,t,i,n){let a=Oe(null);try{return Za(6,t,i),i(n)!==!1}catch(r){return ope(e,r),!1}finally{Oe(a)}}function ope(e,t){let i=e[jr],n=i?i.get(ai,null):null;n&&n.handleError(t)}function bf(e,t,i,n,a,r){let o=t[i],l=t[Se],u=l.data[i].outputs[n],c=o[u],h=l.firstCreatePass?Lh(l):null,m=Ah(t),v=c.subscribe(r),g=m.length;m.push(r,v),h&&h.push(a,e.index,g,-(g+1))}function Di(e,t,i,n){let a=we(),r=pt(),o=cn();return lpe(r,a,a[Ct],o,e,t,n),Di}function spe(e,t,i,n){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let o=a[r];if(o===i&&a[r+1]===n){let l=t[Or],u=a[r+2];return l.length>u?l[u]:null}typeof o=="string"&&(r+=2)}return null}function lpe(e,t,i,n,a,r,o){var m,v;let l=Sc(n),u=e.firstCreatePass?Lh(e):null,c=Ah(t),h=!0;if(n.type&3||o){let g=Ii(n,t),x=o?o(g):g,w=c.length,S=o?L=>o(Si(L[n.index])):n.index,T=null;if(!o&&l&&(T=spe(e,t,a,n.index)),T!==null){let L=T.__ngLastListenerFn__||T;L.__ngNextListenerFn__=r,T.__ngLastListenerFn__=r,h=!1}else{r=vf(n,t,r);let L=i.listen(x,a,r);c.push(r,L),u&&u.push(a,S,w,w+1)}}else r=vf(n,t,r);if(h){let g=(m=n.outputs)==null?void 0:m[a],x=(v=n.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let S=x[w],T=x[w+1];bf(n,t,S,T,a,r)}if(g&&g.length)for(let w of g)bf(n,t,w,a,a,r)}}function ae(e=1){return ple(e)}function cpe(e,t){let i=null,n=nue(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){i=a;continue}if(n===null?Hy(e,r,!0):rue(n,r))return a}return i}function Dn(e){let t=we()[Hn][vn];if(!t.projection){let i=e?e.length:1,n=t.projection=Dse(i,null),a=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?cpe(r,e):0;o!==null&&(a[o]?a[o].projectionNext=r:n[o]=r,a[o]=r)}r=r.next}}}function nt(e,t=0,i,n,a,r){let o=we(),l=pt(),u=null,c=ao(l,bt+e,16,null,null);c.projection===null&&(c.projection=t),Vh();let h=!o[Vr]||Hv();o[Hn][vn].projection[c.projection]===null&&u!==null?upe(o,l,u):h&&!cp(c)&&Rue(l,o,c)}function upe(e,t,i){let n=bt+i,a=t.data[n],r=e[n],o=Gr(r,a.tView.ssrId),l=bs(e,a,void 0,{dehydratedView:o});_s(r,l,0,Hr(a,o))}function Aa(e,t,i,n){Wde(e,t,i,n)}function Yl(e,t,i){Gde(e,t,i)}function Kn(e){let t=we(),i=pt(),n=$v();jh(n+1);let a=fp(i,n);if(e.dirty&&Zse(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Yde(t,n);e.reset(r,$le),e.notifyOnChanges()}return!0}return!1}function Jn(){return Ude(we(),$v())}function or(e){let t=Gv();return ps(t,bt+e)}function ge(e,t=""){let i=we(),n=pt(),a=e+bt,r=n.firstCreatePass?ao(n,a,1,t,null):n.data[a],o=dpe(n,i,r,t);i[a]=o,kc()&&Nc(n,i,o,r),Ea(r,!1)}var dpe=(e,t,i,n,a)=>(Cc(!0),Gce(t[Ct],n));function Nt(e){return qe("",e,""),Nt}function qe(e,t,i){let n=we(),a=She(n,e,t,i);return a!==ri&&hpe(n,Qi(),a),qe}function hpe(e,t,i){let n=jv(t,e);Wce(e[Ct],n,i)}var Gb={};function Wb(e){let t=pt(),i=we(),n=e+bt,a=ao(t,n,128,null,null);return Ea(a,!1),Nh(t,i,n,Gb),Wb}function _f(e){ar("NgLet");let t=pt(),i=we(),n=Qi();return Nh(t,i,n,e),e}function xf(e){let t=Gv(),i=ps(t,bt+e);if(i===Gb)throw new Z(314,!1);return i}function ppe(e,t,i){let n=pt();if(n.firstCreatePass){let a=Ei(e);jd(i,n.data,n.blueprint,a,!0),jd(t,n.data,n.blueprint,a,!1)}}function jd(e,t,i,n,a){if(e=qt(e),Array.isArray(e))for(let r=0;r<e.length;r++)jd(e[r],t,i,n,a);else{let r=pt(),o=we(),l=cn(),u=Fr(e)?e:qt(e.provide),c=Pv(e),h=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Fr(e)||!e.multi){let g=new fs(c,a,Qt),x=yu(u,t,a?h:h+v,m);x===-1?(bd(Bl(l,o),r,u),vu(r,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(g),o.push(g)):(i[x]=g,o[x]=g)}else{let g=yu(u,t,h+v,m),x=yu(u,t,h,h+v),w=g>=0&&i[g],S=x>=0&&i[x];if(a&&!S||!a&&!w){bd(Bl(l,o),r,u);let T=gpe(a?fpe:mpe,i.length,a,n,c);!a&&S&&(i[x].providerFactory=T),vu(r,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(T),o.push(T)}else{let T=qb(i[a?x:g],c,!a&&n);vu(r,e,g>-1?g:x,T)}!a&&n&&S&&i[x].componentProviders++}}}function vu(e,t,i,n){let a=Fr(t),r=Lse(t);if(a||r){let o=(r?qt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let u=l.indexOf(i);u===-1?l.push(i,[n,o]):l[u+1].push(n,o)}else l.push(i,o)}}}function qb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function yu(e,t,i,n){for(let a=i;a<n;a++)if(t[a]===e)return a;return-1}function mpe(e,t,i,n,a){return Bd(this.multi,[])}function fpe(e,t,i,n,a){let r=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Uo(n,n[Se],this.providerFactory.index,a);o=u.slice(0,l),Bd(r,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Bd(r,o);return o}function Bd(e,t){for(let i=0;i<e.length;i++){let n=e[i];t.push(n())}return t}function gpe(e,t,i,n,a){let r=new fs(e,i,Qt);return r.multi=[],r.index=t,r.componentProviders=0,qb(r,a,n&&!i),r}function $b(e,t=[]){return i=>{i.providersResolver=(n,a)=>ppe(n,a?a(e):e,t)}}function vpe(e,t,i){let n=Qr()+e,a=we();return a[n]===ri?Es(a,n,t()):Ob(a,n)}function Cn(e,t,i,n){return Yb(we(),Qr(),e,t,i,n)}function ype(e,t,i,n,a,r,o,l){let u=Qr()+e,c=we(),h=dhe(c,u,i,n,a,r);return kn(c,u+4,o)||h?Es(c,u+5,t(i,n,a,r,o)):Ob(c,u+5)}function vp(e,t){let i=e[t];return i===ri?void 0:i}function Yb(e,t,i,n,a,r){let o=t+i;return kn(e,o,a)?Es(e,o+1,r?n.call(r,a):n(a)):vp(e,o+1)}function bpe(e,t,i,n,a,r,o){let l=t+i;return Wl(e,l,a,r)?Es(e,l+2,o?n.call(o,a,r):n(a,r)):vp(e,l+2)}function _pe(e,t,i,n,a,r,o,l){let u=t+i;return uhe(e,u,a,r,o)?Es(e,u+3,l?n.call(l,a,r,o):n(a,r,o)):vp(e,u+3)}function A(e,t){let i=pt(),n,a=e+bt;i.firstCreatePass?(n=xpe(t,i.pipeRegistry),i.data[a]=n,n.onDestroy&&(i.destroyHooks??(i.destroyHooks=[])).push(a,n.onDestroy)):n=i.data[a];let r=n.factory||(n.factory=qa(n.type)),o=dn(Qt);try{let l=jl(!1),u=r();return jl(l),Nh(i,we(),a,u),u}finally{dn(o)}}function xpe(e,t){if(t)for(let i=t.length-1;i>=0;i--){let n=t[i];if(e===n.name)return n}}function Y(e,t,i){let n=e+bt,a=we(),r=ps(a,n);return yp(a,n)?Yb(a,Qr(),t,r.transform,i,r):r.transform(i)}function dt(e,t,i,n){let a=e+bt,r=we(),o=ps(r,a);return yp(r,a)?bpe(r,Qr(),t,o.transform,i,n,o):o.transform(i,n)}function fn(e,t,i,n,a){let r=e+bt,o=we(),l=ps(o,r);return yp(o,r)?_pe(o,Qr(),t,l.transform,i,n,a,l):l.transform(i,n,a)}function yp(e,t){return e[Se].data[t].pure}function Zl(e,t){return Rc(e,t)}var wpe=class{constructor(e){s(this,"full");s(this,"major");s(this,"minor");s(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},wf=new wpe("19.2.18"),Epe=(()=>{const t=class t{constructor(){s(this,"zone",C(We));s(this,"changeDetectionScheduler",C(to));s(this,"applicationRef",C(xa));s(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Spe({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??(e=()=>new We(yt(ue({},kpe()),{scheduleInRootZone:i}))),[{provide:We,useFactory:e},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Epe,{optional:!0});return()=>n.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Cpe);return()=>{n.initialize()}}},t===!0?{provide:my,useValue:!0}:[],{provide:fy,useValue:i??dy}]}function kpe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Cpe=(()=>{const t=class t{constructor(){s(this,"subscription",new pn);s(this,"initialized",!1);s(this,"zone",C(We));s(this,"pendingTasks",C(gs))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{We.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{We.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ipe=(()=>{var t;const i=class i{constructor(){s(this,"appRef",C(xa));s(this,"taskService",C(gs));s(this,"ngZone",C(We));s(this,"zonelessEnabled",C(py));s(this,"tracing",C(vs,{optional:!0}));s(this,"disableScheduling",C(my,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new pn);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(zl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(fy,{optional:!0})??!1));s(this,"cancelScheduledCallback",null);s(this,"useMicrotaskScheduler",!1);s(this,"runningTick",!1);s(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Ble||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Um:gy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(zl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Um(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};s(i,"ɵfac",function(a){return new(a||i)}),s(i,"ɵprov",W({token:i,factory:i.ɵfac,providedIn:"root"}));let e=i;return e})();function Dpe(){return typeof $localize<"u"&&$localize.locale||Vd}var Fc=new se("",{providedIn:"root",factory:()=>C(Fc,Me.Optional|Me.SkipSelf)||Dpe()}),zd=new se(""),Tpe=new se("");function vo(e){return!e.moduleRef}function Ope(e){let t=vo(e)?e.r3Injector:e.moduleRef.injector,i=t.get(We);return i.run(()=>{vo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(ai,null),a;if(i.runOutsideAngular(()=>{a=i.onError.subscribe({next:r=>{n.handleError(r)}})}),vo(e)){let r=()=>t.destroy(),o=e.platformInjector.get(zd);o.add(r),t.onDestroy(()=>{a.unsubscribe(),o.delete(r)})}else{let r=()=>e.moduleRef.destroy(),o=e.platformInjector.get(zd);o.add(r),e.moduleRef.onDestroy(()=>{vl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(r)})}return Npe(n,i,()=>{let r=t.get(Rb);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Fc,Vd);if(rpe(o||Vd),!t.get(Tpe,!0))return vo(e)?t.get(xa):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vo(e)){let l=t.get(xa);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Ppe(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Ppe(e,t){let i=e.injector.get(xa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>i.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(i);else throw new Z(-403,!1);t.push(e)}function Npe(e,t,i){try{let n=i();return Mb(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var yl=null;function Mpe(e=[],t){return st.create({name:t,providers:[{provide:Ih,useValue:"platform"},{provide:zd,useValue:new Set([()=>yl=null])},...e]})}function Rpe(e=[]){if(yl)return yl;let t=Mpe(e);return yl=t,_he(),Ape(t),t}function Ape(e){let t=e.get(ky,null);wc(e,()=>{t==null||t.forEach(i=>i())})}function Lpe(){return!1}var sr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Fpe),e})();function Fpe(e){return Vpe(cn(),we(),(e&16)===16)}function Vpe(e,t,i){if(Kr(e)&&!i){let n=ki(e.index,t);return new qo(n,n)}else if(e.type&175){let n=t[Hn];return new qo(n,t)}return null}var jpe=class{constructor(){}supports(e){return e instanceof Map||Tb(e)}create(){return new Bpe}},Bpe=class{constructor(){s(this,"_records",new Map);s(this,"_mapHead",null);s(this,"_appendAfter",null);s(this,"_previousMapHead",null);s(this,"_changesHead",null);s(this,"_changesTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Tb(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(i,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,i);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let a=n._prev,r=n._next;return a&&(a._next=r),r&&(r._prev=a),n._next=null,n._prev=null,n}let i=new zpe(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_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(i=>t(e[i],i))}},zpe=class{constructor(e){s(this,"key");s(this,"previousValue",null);s(this,"currentValue",null);s(this,"_nextPrevious",null);s(this,"_next",null);s(this,"_prev",null);s(this,"_nextAdded",null);s(this,"_nextRemoved",null);s(this,"_nextChanged",null);this.key=e}};function Ef(){return new bp([new jpe])}var bp=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let r=a.factories.slice();n=n.concat(r)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||Ef()),deps:[[t,new kse,new Sse]]}}find(n){let a=this.factories.find(r=>r.supports(n));if(a)return a;throw new Z(901,!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:Ef}));let e=t;return e})();function Hpe(e){let{rootComponent:t,appProviders:i,platformProviders:n,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Rpe(n),o=[Spe({}),{provide:to,useExisting:Ipe},...i||[]],l=new kb({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Ope({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function ei(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Vc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Upe(e){return soe(e)}function Gi(e,t){return Xre(e,t==null?void 0:t.equal)}var s0,Gpe=(s0=Sn,class{constructor(e){s(this,s0);this[Sn]=e}destroy(){this[Sn].destroy()}});function _p(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st),n=(t==null?void 0:t.manualCleanup)!==!0?i.get(ii):null,a,r=i.get(Kh,null,{optional:!0}),o=i.get(to);return r!==null&&!(t!=null&&t.forceRoot)?(a=$pe(r.view,o,e),n instanceof hy&&n._lView===r.view&&(n=null)):a=Ype(e,i.get(Nb),o),a.injector=i,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new Gpe(a)}var Zb=yt(ue({},$r),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Go,run(){if(this.dirty=!1,this.hasRun&&!ph(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Lo(this),i=Ll(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ll(i),mc(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Wpe=yt(ue({},Zb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){fc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),qpe=yt(ue({},Zb),{consumerMarkedDirty(){this.view[_e]|=8192,Xr(this.view),this.notifier.notify(13)},destroy(){var e;fc(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Hi])==null||e.delete(this)}});function $pe(e,t,i){let n=Object.create(qpe);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=i,e[Hi]??(e[Hi]=new Set),e[Hi].add(n),n.consumerMarkedDirty(n),n}function Ype(e,t,i){let n=Object.create(Wpe);return n.fn=e,n.scheduler=t,n.notifier=i,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var Zpe=e=>e;function Kpe(e,t){if(typeof e=="function"){let i=Sm(e,Zpe,t==null?void 0:t.equal);return Sf(i)}else{let i=Sm(e.source,e.computation,e.equal);return Sf(i)}}function Sf(e){let t=e[Sn],i=e;return i.set=n=>aoe(t,n),i.update=n=>roe(t,n),i.asReadonly=yy.bind(e),i}function Kb(e,t){let i=Lr(e),n=t.elementInjector||xc();return new mp(i).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var Jpe={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function Xpe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Qpe(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var bu;function eme(e,t){if(!bu){let i=Element.prototype;bu=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?bu.call(e,t):!1}function tme(e){let t={};return e.forEach(({propName:i,templateName:n,transform:a})=>{t[Xpe(n)]=[i,a]}),t}function nme(e,t){return t.get(xs).resolveComponentFactory(e).inputs}function ime(e,t){let i=e.childNodes,n=t.map(()=>[]),a=-1;t.some((r,o)=>r==="*"?(a=o,!0):!1);for(let r=0,o=i.length;r<o;++r){let l=i[r],u=ame(l,t,a);u!==-1&&n[u].push(l)}return n}function ame(e,t,i){let n=i;return Qpe(e)&&t.some((a,r)=>a!=="*"&&eme(e,a)?(n=r,!0):!1),n}var rme=10,ome=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(xs).resolveComponentFactory(e);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(e){return new sme(this.componentFactory,e,this.inputMap)}},sme=class{constructor(e,t,i){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new N0(1));s(this,"events",this.eventEmitters.pipe(zo(e=>cs(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=i,this.ngZone=this.injector.get(We),this.appRef=this.injector.get(xa),this.cdScheduler=t.get(to),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=Jpe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},rme))})}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),Jue(this.componentRef.hostView)&&(Xue(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=st.create({providers:[],parent:this.injector}),i=ime(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,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:i,templateName:n})=>{let a=e.instance[i];return new ht(r=>{let o=a.subscribe(l=>r.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},lme=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function cme(e,t){let i=nme(e,t.injector),n=t.strategyFactory||new ome(e,t.injector),a=tme(i);class r extends lme{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);i.forEach(({propName:c,transform:h})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,h)})}return this._ngElementStrategy}attributeChangedCallback(u,c,h,m){let[v,g]=a[u];this.ngElementStrategy.setInputValue(v,h,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(r,"observedAttributes",Object.keys(a)),i.forEach(({propName:o,transform:l})=>{Object.defineProperty(r.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),r}var He=new se(""),Jb=null;function Ro(){return Jb}function ume(e){Jb??(Jb=e)}var dme=class{},Xb=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(hme),providedIn:"platform"}));let e=t;return e})(),hme=(()=>{const t=class t extends Xb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(He));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ro().getBaseHref(this._doc)}onPopState(a){let r=Ro().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=Ro().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,o){this._history.pushState(a,r,o)}replaceState(a,r,o){this._history.replaceState(a,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",W({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Qb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function kf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ba(e){return e&&e[0]!=="?"?`?${e}`:e}var xp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(mme),providedIn:"root"}));let e=t;return e})(),pme=new se(""),mme=(()=>{const t=class t extends xp{constructor(a,r){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((o=C(He).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return Qb(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+Ba(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${r}${o}`:r}pushState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.pushState(a,r,u)}replaceState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.replaceState(a,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(Xb),pe(pme,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),e1=(()=>{const t=class t{constructor(n){s(this,"_subject",new be);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=vme(kf(Cf(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+Ba(a))}normalize(n){return t.stripTrailingSlash(gme(this._basePath,Cf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",r=null){this._locationStrategy.pushState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}replaceState(n,a="",r=null){this._locationStrategy.replaceState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(r=>r(n,a))}subscribe(n,a,r){return this._subject.subscribe({next:n,error:a??void 0,complete:r??void 0})}};s(t,"normalizeQueryParams",Ba),s(t,"joinWithSlash",Qb),s(t,"stripTrailingSlash",kf),s(t,"ɵfac",function(n){return new(n||t)(pe(xp))}),s(t,"ɵprov",W({token:t,factory:()=>fme(),providedIn:"root"}));let e=t;return e})();function fme(){return new e1(pe(xp))}function gme(e,t){if(!e||!t.startsWith(e))return t;let i=t.substring(e.length);return i===""||["/",";","?","#"].includes(i[0])?i:t}function Cf(e){return e.replace(/\/index.html$/,"")}function vme(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var sn=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(sn||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),_n=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(_n||{}),jc={MinusSign:5};function yme(e){return si(e)[Mt.LocaleId]}function bme(e,t,i){let n=si(e),a=[n[Mt.DayPeriodsFormat],n[Mt.DayPeriodsStandalone]],r=Un(a,t);return Un(r,i)}function _me(e,t,i){let n=si(e),a=[n[Mt.DaysFormat],n[Mt.DaysStandalone]],r=Un(a,t);return Un(r,i)}function xme(e,t,i){let n=si(e),a=[n[Mt.MonthsFormat],n[Mt.MonthsStandalone]],r=Un(a,t);return Un(r,i)}function wme(e,t){let i=si(e)[Mt.Eras];return Un(i,t)}function Gs(e,t){let i=si(e);return Un(i[Mt.DateFormat],t)}function Ws(e,t){let i=si(e);return Un(i[Mt.TimeFormat],t)}function qs(e,t){let i=si(e)[Mt.DateTimeFormat];return Un(i,t)}function Bc(e,t){return si(e)[Mt.NumberSymbols][t]}function t1(e){if(!e[Mt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Mt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Eme(e){let t=si(e);return t1(t),(t[Mt.ExtraData][2]||[]).map(i=>typeof i=="string"?_u(i):[_u(i[0]),_u(i[1])])}function Sme(e,t,i){let n=si(e);t1(n);let a=[n[Mt.ExtraData][0],n[Mt.ExtraData][1]],r=Un(a,t)||[];return Un(r,i)||[]}function Un(e,t){for(let i=t;i>-1;i--)if(typeof e[i]<"u")return e[i];throw new Error("Locale data API: locale data undefined")}function _u(e){let[t,i]=e.split(":");return{hours:+t,minutes:+i}}var kme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,mr={},Cme=/((?:[^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 Ime(e,t,i,n){let a=Lme(e);t=ji(i,t)||t;let r=[],o;for(;t;)if(o=Cme.exec(t),o){r=r.concat(o.slice(1));let c=r.pop();if(!c)break;t=c}else{r.push(t);break}let l=a.getTimezoneOffset();n&&(l=i1(n,l),a=Ame(a,n));let u="";return r.forEach(c=>{let h=Mme(c);u+=h?h(a,i,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Kl(e,t,i){let n=new Date(0);return n.setFullYear(e,t,i),n.setHours(0,0,0),n}function ji(e,t){let i=yme(e);if(mr[i]??(mr[i]={}),mr[i][t])return mr[i][t];let n="";switch(t){case"shortDate":n=Gs(e,_n.Short);break;case"mediumDate":n=Gs(e,_n.Medium);break;case"longDate":n=Gs(e,_n.Long);break;case"fullDate":n=Gs(e,_n.Full);break;case"shortTime":n=Ws(e,_n.Short);break;case"mediumTime":n=Ws(e,_n.Medium);break;case"longTime":n=Ws(e,_n.Long);break;case"fullTime":n=Ws(e,_n.Full);break;case"short":let a=ji(e,"shortTime"),r=ji(e,"shortDate");n=$s(qs(e,_n.Short),[a,r]);break;case"medium":let o=ji(e,"mediumTime"),l=ji(e,"mediumDate");n=$s(qs(e,_n.Medium),[o,l]);break;case"long":let u=ji(e,"longTime"),c=ji(e,"longDate");n=$s(qs(e,_n.Long),[u,c]);break;case"full":let h=ji(e,"fullTime"),m=ji(e,"fullDate");n=$s(qs(e,_n.Full),[h,m]);break}return n&&(mr[i][t]=n),n}function $s(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(i,n){return t!=null&&n in t?t[n]:i})),e}function Xn(e,t,i="-",n,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=i));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),r+o}function Dme(e,t){return Xn(e,3).substring(0,t)}function Tt(e,t,i=0,n=!1,a=!1){return function(r,o){let l=Tme(e,r);if((i>0||l>-i)&&(l+=i),e===3)l===0&&i===-12&&(l=12);else if(e===6)return Dme(l,t);let u=Bc(o,jc.MinusSign);return Xn(l,t,u,n,a)}}function Tme(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 Xe(e,t,i=sn.Format,n=!1){return function(a,r){return Ome(a,r,e,t,i,n)}}function Ome(e,t,i,n,a,r){switch(i){case 2:return xme(t,a,n)[e.getMonth()];case 1:return _me(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=Eme(t),h=Sme(t,a,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=o>=g.hours&&l>=g.minutes,S=o<x.hours||o===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&S)return!0}else if(w||S)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return h[m]}return bme(t,a,n)[o<12?0:1];case 3:return wme(t,n)[e.getFullYear()<=0?0:1];default:let u=i;throw new Error(`unexpected translation type ${u}`)}}function Ys(e){return function(t,i,n){let a=-1*n,r=Bc(i,jc.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Xn(o,2,r)+Xn(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+Xn(o,1,r);case 2:return"GMT"+(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);case 3:return n===0?"Z":(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Pme=0,bl=4;function Nme(e){let t=Kl(e,Pme,1).getDay();return Kl(e,0,1+(t<=bl?bl:bl+7)-t)}function n1(e){let t=e.getDay(),i=t===0?-3:bl-t;return Kl(e.getFullYear(),e.getMonth(),e.getDate()+i)}function xu(e,t=!1){return function(i,n){let a;if(t){let r=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,o=i.getDate();a=1+Math.floor((o+r)/7)}else{let r=n1(i),o=Nme(r.getFullYear()),l=r.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Xn(a,e,Bc(n,jc.MinusSign))}}function Zs(e,t=!1){return function(i,n){let a=n1(i).getFullYear();return Xn(a,e,Bc(n,jc.MinusSign),t)}}var wu={};function Mme(e){if(wu[e])return wu[e];let t;switch(e){case"G":case"GG":case"GGG":t=Xe(3,Ke.Abbreviated);break;case"GGGG":t=Xe(3,Ke.Wide);break;case"GGGGG":t=Xe(3,Ke.Narrow);break;case"y":t=Tt(0,1,0,!1,!0);break;case"yy":t=Tt(0,2,0,!0,!0);break;case"yyy":t=Tt(0,3,0,!1,!0);break;case"yyyy":t=Tt(0,4,0,!1,!0);break;case"Y":t=Zs(1);break;case"YY":t=Zs(2,!0);break;case"YYY":t=Zs(3);break;case"YYYY":t=Zs(4);break;case"M":case"L":t=Tt(1,1,1);break;case"MM":case"LL":t=Tt(1,2,1);break;case"MMM":t=Xe(2,Ke.Abbreviated);break;case"MMMM":t=Xe(2,Ke.Wide);break;case"MMMMM":t=Xe(2,Ke.Narrow);break;case"LLL":t=Xe(2,Ke.Abbreviated,sn.Standalone);break;case"LLLL":t=Xe(2,Ke.Wide,sn.Standalone);break;case"LLLLL":t=Xe(2,Ke.Narrow,sn.Standalone);break;case"w":t=xu(1);break;case"ww":t=xu(2);break;case"W":t=xu(1,!0);break;case"d":t=Tt(2,1);break;case"dd":t=Tt(2,2);break;case"c":case"cc":t=Tt(7,1);break;case"ccc":t=Xe(1,Ke.Abbreviated,sn.Standalone);break;case"cccc":t=Xe(1,Ke.Wide,sn.Standalone);break;case"ccccc":t=Xe(1,Ke.Narrow,sn.Standalone);break;case"cccccc":t=Xe(1,Ke.Short,sn.Standalone);break;case"E":case"EE":case"EEE":t=Xe(1,Ke.Abbreviated);break;case"EEEE":t=Xe(1,Ke.Wide);break;case"EEEEE":t=Xe(1,Ke.Narrow);break;case"EEEEEE":t=Xe(1,Ke.Short);break;case"a":case"aa":case"aaa":t=Xe(0,Ke.Abbreviated);break;case"aaaa":t=Xe(0,Ke.Wide);break;case"aaaaa":t=Xe(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=Xe(0,Ke.Abbreviated,sn.Standalone,!0);break;case"bbbb":t=Xe(0,Ke.Wide,sn.Standalone,!0);break;case"bbbbb":t=Xe(0,Ke.Narrow,sn.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ke.Abbreviated,sn.Format,!0);break;case"BBBB":t=Xe(0,Ke.Wide,sn.Format,!0);break;case"BBBBB":t=Xe(0,Ke.Narrow,sn.Format,!0);break;case"h":t=Tt(3,1,-12);break;case"hh":t=Tt(3,2,-12);break;case"H":t=Tt(3,1);break;case"HH":t=Tt(3,2);break;case"m":t=Tt(4,1);break;case"mm":t=Tt(4,2);break;case"s":t=Tt(5,1);break;case"ss":t=Tt(5,2);break;case"S":t=Tt(6,1);break;case"SS":t=Tt(6,2);break;case"SSS":t=Tt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ys(0);break;case"ZZZZZ":t=Ys(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ys(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ys(2);break;default:return null}return wu[e]=t,t}function i1(e,t){e=e.replace(/:/g,"");let i=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(i)?t:i}function Rme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Ame(e,t,i){let n=e.getTimezoneOffset(),a=i1(t,n);return Rme(e,-1*(a-n))}function Lme(e){if(If(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,o=1]=e.split("-").map(l=>+l);return Kl(a,r-1,o)}let i=parseFloat(e);if(!isNaN(e-i))return new Date(i);let n;if(n=e.match(kme))return Fme(n)}let t=new Date(e);if(!If(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Fme(e){let t=new Date(0),i=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(i=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-i,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,o,l,u,c),t}function If(e){return e instanceof Date&&!isNaN(e.valueOf())}var Eu=/\s+/,Df=[],wp=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Df);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(Eu):Df}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Eu):n}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let a of n)this._updateState(a,!0);else if(n!=null)for(let a of Object.keys(n))this._updateState(a,!!n[a]);this._applyStateDiff()}_updateState(n,a){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],r=n[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(Eu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(At),Qt(ro))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Vme=(()=>{const t=class t{constructor(n,a,r){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=a,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[r,o]=n.split("."),l=r.indexOf("-")===-1?void 0:ua.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(n){n.forEachRemovedItem(a=>this._setStyle(a.key,null)),n.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),n.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Qt(At),Qt(bp),Qt(ro))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),Ep=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(n,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(ws))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Oh]}));let e=t;return e})();function jme(e,t){return new Z(2100,!1)}var Bme="mediumDate",zme=new se(""),Hme=new se(""),Sp=(()=>{const t=class t{constructor(n,a,r){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=r}transform(n,a,r,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??Bme,h=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return Ime(n,c,o||this.locale,h)}catch(c){throw jme(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Fc,16),Qt(zme,24),Qt(Hme,24))}),s(t,"ɵpipe",Yt({name:"date",type:t,pure:!0}));let e=t;return e})();function Ume(e,t){return{key:e,value:t}}var Gme=(()=>{const t=class t{constructor(n){s(this,"differs");s(this,"differ");s(this,"keyValues",[]);s(this,"compareFn",Tf);this.differs=n}transform(n,a=Tf){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??(this.differ=this.differs.find(n).create());let r=this.differ.diff(n),o=a!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(l=>{this.keyValues.push(Ume(l.key,l.currentValue))})),(r||o)&&(a&&this.keyValues.sort(a),this.compareFn=a),this.keyValues}};s(t,"ɵfac",function(n){return new(n||t)(Qt(bp,16))}),s(t,"ɵpipe",Yt({name:"keyvalue",type:t,pure:!1}));let e=t;return e})();function Tf(e,t){let i=e.key,n=t.key;if(i===n)return 0;if(i==null)return 1;if(n==null)return-1;if(typeof i=="string"&&typeof n=="string")return i<n?-1:1;if(typeof i=="number"&&typeof n=="number")return i-n;if(typeof i=="boolean"&&typeof n=="boolean")return i<n?-1:1;let a=String(i),r=String(n);return a==r?0:a<r?-1:1}var a1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})();function r1(e,t){t=encodeURIComponent(t);for(let i of e.split(";")){let n=i.indexOf("="),[a,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var o1="browser",Wme="server";function qme(e){return e===o1}function s1(e){return e===Wme}var l1=class{};function zc(e,t,i){return ipe(e,t,i)}var Hd=new se(""),c1=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,r,o){return this._findPluginFor(a).addEventListener(n,a,r,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(r=>r.supports(n)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(pe(Hd),pe(We))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),u1=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},_l="ng-app-id";function Of(e){for(let t of e)t.remove()}function Pf(e,t){let i=t.createElement("style");return i.textContent=e,i}function $me(e,t,i,n){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${_l}="${t}"],link[${_l}="${t}"]`);if(a)for(let o of a)o.removeAttribute(_l),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&i.set(o.textContent,{usage:0,elements:[o]})}function Ud(e,t){let i=t.createElement("link");return i.setAttribute("rel","stylesheet"),i.setAttribute("href",e),i}var d1=(()=>{const t=class t{constructor(n,a,r,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=r,this.isServer=s1(o),$me(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let r of n)this.addUsage(r,this.inline,Pf);a==null||a.forEach(r=>this.addUsage(r,this.external,Ud))}removeStyles(n,a){for(let r of n)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,a,r){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(n,this.doc)))})}removeUsage(n,a){let r=a.get(n);r&&(r.usage--,r.usage<=0&&(Of(r.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Of(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(n,Pf(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(n,Ud(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(_l,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe($h),pe(Yh,8),pe(Ic))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Su={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},kp=/%COMP%/g,h1="%COMP%",Yme=`_nghost-${h1}`,Zme=`_ngcontent-${h1}`,Kme=!0,Jme=new se("",{providedIn:"root",factory:()=>Kme});function Xme(e){return Zme.replace(kp,e)}function Qme(e){return Yme.replace(kp,e)}function p1(e,t){return t.map(i=>i.replace(kp,e))}var Gd=(()=>{const t=class t{constructor(n,a,r,o,l,u,c,h=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=h,this.tracingService=m,this.platformIsServer=s1(u),this.defaultRenderer=new Cp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===Ui.ShadowDom&&(a=yt(ue({},a),{encapsulation:Ui.Emulated}));let r=this.getOrCreateRenderer(n,a);return r instanceof Mf?r.applyToHost(n):r instanceof Wd&&r.applyStyles(),r}getOrCreateRenderer(n,a){let r=this.rendererByCompId,o=r.get(a.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case Ui.Emulated:o=new Mf(c,h,a,this.appId,m,l,u,v,g);break;case Ui.ShadowDom:return new efe(c,h,n,a,l,u,this.nonce,v,g);default:o=new Wd(c,h,a,m,l,u,v,g);break}r.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(pe(c1),pe(d1),pe($h),pe(Jme),pe(He),pe(Ic),pe(We),pe(Yh),pe(vs,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Cp=class{constructor(e,t,i,n,a){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=i,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Su[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Nf(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(Nf(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){t.remove()}selectRootElement(e,t){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new Z(-5104,!1);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;let a=Su[n];a?e.setAttributeNS(a,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){let n=Su[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,n){n&(ua.DashCase|ua.Important)?e.style.setProperty(t,i,n&ua.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&ua.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e!=null&&(e[t]=i)}setValue(e,t){e.nodeValue=t}listen(e,t,i,n){var r;if(typeof e=="string"&&(e=Ro().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(i);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Nf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var efe=class extends Cp{constructor(t,i,n,a,r,o,l,u,c){var v;super(t,r,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=a.styles;h=p1(a.id,h);for(let g of h){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=Ud(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,i){return super.appendChild(this.nodeOrShadowRoot(t),i)}insertBefore(t,i,n){return super.insertBefore(this.nodeOrShadowRoot(t),i,n)}removeChild(t,i){return super.removeChild(null,i)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wd=class extends Cp{constructor(t,i,n,a,r,o,l,u,c){var m;super(t,r,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=i,this.removeStylesOnCompDestroy=a;let h=n.styles;this.styles=c?p1(c,h):h,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Mf=class extends Wd{constructor(t,i,n,a,r,o,l,u,c){let h=a+"-"+n.id;super(t,i,n,r,o,l,u,c,h);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=Xme(h),this.hostAttr=Qme(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,i){let n=super.createElement(t,i);return super.setAttribute(n,this.contentAttr,""),n}},tfe=class m1 extends dme{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){ume(new m1)}onAndCancel(i,n,a,r){return i.addEventListener(n,a,r),()=>{i.removeEventListener(n,a,r)}}dispatchEvent(i,n){i.dispatchEvent(n)}remove(i){i.remove()}createElement(i,n){return n=n||this.getDefaultDocument(),n.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,n){return n==="window"?window:n==="document"?i:n==="body"?i.body:null}getBaseHref(i){let n=nfe();return n==null?null:ife(n)}resetBaseElement(){Io=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return r1(document.cookie,i)}},Io=null;function nfe(){return Io=Io||document.head.querySelector("base"),Io?Io.getAttribute("href"):null}function ife(e){return new URL(e,document.baseURI).pathname}var afe=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),rfe=(()=>{const t=class t extends u1{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,r,o){return n.addEventListener(a,r,o),()=>this.removeEventListener(n,a,r,o)}removeEventListener(n,a,r,o){return n.removeEventListener(a,r,o)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Rf=["alt","control","meta","shift"],ofe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sfe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},lfe=(()=>{const t=class t extends u1{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,r,o){let l=t.parseEventName(a),u=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ro().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let a=n.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",u=a.indexOf("code");if(u>-1&&(a.splice(u,1),l="code."),Rf.forEach(h=>{let m=a.indexOf(h);m>-1&&(a.splice(m,1),l+=h+".")}),l+=o,a.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=l,c}static matchEventFullKeyCode(n,a){let r=ofe[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Rf.forEach(l=>{if(l!==r){let u=sfe[l];u(n)&&(o+=l+".")}}),o+=r,o===a)}static eventCallback(n,a,r){return o=>{t.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function cfe(e){return Hpe(ufe(e))}function ufe(e){return{appProviders:[...ffe,...(e==null?void 0:e.providers)??[]],platformProviders:mfe}}function dfe(){tfe.makeCurrent()}function hfe(){return new ai}function pfe(){return Xle(document),document}var mfe=[{provide:Ic,useValue:o1},{provide:ky,useValue:dfe,multi:!0},{provide:He,useFactory:pfe}],ffe=[{provide:Ih,useValue:"root"},{provide:ai,useFactory:hfe},{provide:Hd,useClass:rfe,multi:!0,deps:[He]},{provide:Hd,useClass:lfe,multi:!0,deps:[He]},Gd,d1,c1,{provide:oi,useExisting:Gd},{provide:l1,useClass:afe},[]],Ip=class{},f1=class{},er=class xl{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
19
19
  `).forEach(i=>{let n=i.indexOf(":");if(n>0){let a=i.slice(0,n),r=i.slice(n+1).trim();this.addHeaderEntry(a,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((i,n)=>{this.addHeaderEntry(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let i=this.headers.get(t.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,i){return this.clone({name:t,value:i,op:"a"})}set(t,i){return this.clone({name:t,value:i,op:"s"})}delete(t,i){return this.clone({name:t,value:i,op:"d"})}maybeSetNormalizedName(t,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,t)}init(){this.lazyInit&&(this.lazyInit instanceof xl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(i=>{this.headers.set(i,t.headers.get(i)),this.normalizedNames.set(i,t.normalizedNames.get(i))})}clone(t){let i=new xl;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof xl?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([t]),i}applyUpdate(t){let i=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,i);let a=(t.op==="a"?this.headers.get(i):void 0)||[];a.push(...n),this.headers.set(i,a);break;case"d":let r=t.value;if(!r)this.headers.delete(i),this.normalizedNames.delete(i);else{let o=this.headers.get(i);if(!o)return;o=o.filter(l=>r.indexOf(l)===-1),o.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,o)}break}}addHeaderEntry(t,i){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(i):this.headers.set(n,[i])}setHeaderEntries(t,i){let n=(Array.isArray(i)?i:[i]).map(r=>r.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>t(this.normalizedNames.get(i),this.headers.get(i)))}},gfe=class{encodeKey(e){return Af(e)}encodeValue(e){return Af(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function vfe(e,t){let i=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[r,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=i.get(r)||[];l.push(o),i.set(r,l)}),i}var yfe=/%(\d[a-f0-9])/gi,bfe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Af(e){return encodeURIComponent(e).replace(yfe,(t,i)=>bfe[i]??t)}function Ks(e){return`${e}`}var Nr=class g1{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new gfe,t.fromString){if(t.fromObject)throw new Z(2805,!1);this.map=vfe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(i=>{let n=t.fromObject[i],a=Array.isArray(n)?n.map(Ks):[Ks(n)];this.map.set(i,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let i=this.map.get(t);return i?i[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,i){return this.clone({param:t,value:i,op:"a"})}appendAll(t){let i=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(r=>{i.push({param:n,value:r,op:"a"})}):i.push({param:n,value:a,op:"a"})}),this.clone(i)}set(t,i){return this.clone({param:t,value:i,op:"s"})}delete(t,i){return this.clone({param:t,value:i,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let i=this.encoder.encodeKey(t);return this.map.get(t).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let i=new g1({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(t),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let i=(t.op==="a"?this.map.get(t.param):void 0)||[];i.push(Ks(t.value)),this.map.set(t.param,i);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(Ks(t.value));a!==-1&&n.splice(a,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},_fe=class{constructor(){s(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function xfe(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Lf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ff(e){return typeof Blob<"u"&&e instanceof Blob}function Vf(e){return typeof FormData<"u"&&e instanceof FormData}function wfe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var jf="Content-Type",Bf="Accept",v1="X-Request-URL",y1="text/plain",b1="application/json",Efe=`${b1}, ${y1}, */*`,ku=class _1{constructor(t,i,n,a){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=i,this.method=t.toUpperCase();let r;if(xfe(this.method)||a?(this.body=n!==void 0?n:null,r=a):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??(this.headers=new er),this.context??(this.context=new _fe),!this.params)this.params=new Nr,this.urlWithParams=i;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=i;else{let l=i.indexOf("?"),u=l===-1?"?":l<i.length-1?"&":"";this.urlWithParams=i+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Lf(this.body)||Ff(this.body)||Vf(this.body)||wfe(this.body)?this.body:this.body instanceof Nr?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Vf(this.body)?null:Ff(this.body)?this.body.type||null:Lf(this.body)?null:typeof this.body=="string"?y1:this.body instanceof Nr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?b1:null}clone(t={}){let i=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,h=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),c)),t.setParams&&(h=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),h)),new _1(i,n,o,{params:h,headers:c,context:m,reportProgress:u,responseType:a,withCredentials:l,transferCache:r})}},Mr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Mr||{}),Dp=class{constructor(e,t=200,i="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new er,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Sfe=class x1 extends Dp{constructor(i={}){super(i);s(this,"type",Mr.ResponseHeader)}clone(i={}){return new x1({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},w1=class E1 extends Dp{constructor(i={}){super(i);s(this,"body");s(this,"type",Mr.Response);this.body=i.body!==void 0?i.body:null}clone(i={}){return new E1({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},zf=class extends Dp{constructor(t){super(t,0,"Unknown Error");s(this,"name","HttpErrorResponse");s(this,"message");s(this,"error");s(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},kfe=200,Cfe=204;function Cu(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Cs=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,r={}){let o;if(n instanceof ku)o=n;else{let c;r.headers instanceof er?c=r.headers:c=new er(r.headers);let h;r.params&&(r.params instanceof Nr?h=r.params:h=new Nr({fromObject:r.params})),o=new ku(n,a,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=vt(o).pipe(iv(c=>this.handler.handle(c)));if(n instanceof ku||r.observe==="events")return l;let u=l.pipe(bi(c=>c instanceof w1));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(zt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Z(2806,!1);return c.body}));case"blob":return u.pipe(zt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Z(2807,!1);return c.body}));case"text":return u.pipe(zt(c=>{if(c.body!==null&&typeof c.body!="string")throw new Z(2808,!1);return c.body}));case"json":default:return u.pipe(zt(c=>c.body))}case"response":return u;default:throw new Z(2809,!1)}}delete(n,a={}){return this.request("DELETE",n,a)}get(n,a={}){return this.request("GET",n,a)}head(n,a={}){return this.request("HEAD",n,a)}jsonp(n,a){return this.request("JSONP",n,{params:new Nr().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,r={}){return this.request("PATCH",n,Cu(r,a))}post(n,a,r={}){return this.request("POST",n,Cu(r,a))}put(n,a,r={}){return this.request("PUT",n,Cu(r,a))}};s(t,"ɵfac",function(n){return new(n||t)(pe(Ip))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Ife=new se("");function Dfe(e,t){return t(e)}function Tfe(e,t,i){return(n,a)=>wc(i,()=>t(n,r=>e(r,a)))}var Tp=new se(""),Ofe=new se(""),Pfe=new se("",{providedIn:"root",factory:()=>!0}),Hf=(()=>{const t=class t extends Ip{constructor(a,r){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",C(gs));s(this,"contributeToStability",C(Pfe));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Tp),...this.injector.get(Ofe,[])]));this.chain=r.reduceRight((o,l)=>Tfe(o,l,this.injector),Dfe)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(rv(()=>this.pendingTasks.remove(r)))}else return this.chain(a,r=>this.backend.handle(r))}};s(t,"ɵfac",function(a){return new(a||t)(pe(f1),pe(wi))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Nfe=/^\)\]\}',?\n/,Mfe=RegExp(`^${v1}:`,"m");function Rfe(e){return"responseURL"in e&&e.responseURL?e.responseURL:Mfe.test(e.getAllResponseHeaders())?e.getResponseHeader(v1):null}var Uf=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new Z(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?nr(a.ɵloadImpl()):vt(null)).pipe(zo(()=>new ht(r=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((w,S)=>o.setRequestHeader(w,S.join(","))),n.headers.has(Bf)||o.setRequestHeader(Bf,Efe),!n.headers.has(jf)){let w=n.detectContentTypeHeader();w!==null&&o.setRequestHeader(jf,w)}if(n.responseType){let w=n.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let w=o.statusText||"OK",S=new er(o.getAllResponseHeaders()),T=Rfe(o)||n.url;return u=new Sfe({headers:S,status:o.status,statusText:w,url:T}),u},h=()=>{let{headers:w,status:S,statusText:T,url:L}=c(),N=null;S!==Cfe&&(N=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=N?kfe:0);let re=S>=200&&S<300;if(n.responseType==="json"&&typeof N=="string"){let ve=N;N=N.replace(Nfe,"");try{N=N!==""?JSON.parse(N):null}catch(ke){N=ve,re&&(re=!1,N={error:ke,text:N})}}re?(r.next(new w1({body:N,headers:w,status:S,statusText:T,url:L||void 0})),r.complete()):r.error(new zf({error:N,headers:w,status:S,statusText:T,url:L||void 0}))},m=w=>{let{url:S}=c(),T=new zf({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});r.error(T)},v=!1,g=w=>{v||(r.next(c()),v=!0);let S={type:Mr.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(S.total=w.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),r.next(S)},x=w=>{let S={type:Mr.UploadProgress,loaded:w.loaded};w.lengthComputable&&(S.total=w.total),r.next(S)};return o.addEventListener("load",h),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",x)),o.send(l),r.next({type:Mr.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",h),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",x)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(pe(l1))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),S1=new se(""),Afe="XSRF-TOKEN",Lfe=new se("",{providedIn:"root",factory:()=>Afe}),Ffe="X-XSRF-TOKEN",Vfe=new se("",{providedIn:"root",factory:()=>Ffe}),k1=class{},jfe=(()=>{const t=class t{constructor(n,a){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=a}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=r1(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe(Lfe))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Bfe=/^(?:https?:)?\/\//i;function zfe(e,t){if(!C(S1)||e.method==="GET"||e.method==="HEAD"||Bfe.test(e.url))return t(e);let i=C(k1).getToken(),n=C(Vfe);return i!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,i)})),t(e)}var C1=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(C1||{});function Hfe(e,t){return{ɵkind:e,ɵproviders:t}}function Ufe(...e){let t=[Cs,Uf,Hf,{provide:Ip,useExisting:Hf},{provide:f1,useFactory:()=>C(Ife,{optional:!0})??C(Uf)},{provide:Tp,useValue:zfe,multi:!0},{provide:S1,useValue:!0},{provide:k1,useClass:jfe}];for(let i of e)t.push(...i.ɵproviders);return kh(t)}function Gfe(e){return Hfe(C1.Interceptors,e.map(t=>({provide:Tp,useValue:t,multi:!0})))}var I1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=pe(Wfe),a},providedIn:"root"}));let e=t;return e})(),Wfe=(()=>{const t=class t extends I1{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,r){if(r==null)return null;switch(a){case wn.NONE:return r;case wn.HTML:return yr(r,"HTML")?sa(r):Vce(this._doc,String(r)).toString();case wn.STYLE:return yr(r,"Style")?sa(r):r;case wn.SCRIPT:if(yr(r,"Script"))return sa(r);throw new Z(5200,!1);case wn.URL:return yr(r,"URL")?sa(r):Qh(String(r));case wn.RESOURCE_URL:if(yr(r,"ResourceURL"))return sa(r);throw new Z(5201,!1);default:throw new Z(5202,!1)}}bypassSecurityTrustHtml(a){return fce(a)}bypassSecurityTrustStyle(a){return gce(a)}bypassSecurityTrustScript(a){return vce(a)}bypassSecurityTrustUrl(a){return yce(a)}bypassSecurityTrustResourceUrl(a){return bce(a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Is=class{},qfe=(()=>{const t=class t extends Is{getTranslation(n){return vt({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),D1=class{},$fe=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Jl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let i=typeof e,n=typeof t,a,r,o;if(i==n&&i=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(r=0;r<a;r++)if(!Jl(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(r in e){if(!Jl(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&typeof t[r]<"u")return!1;return!0}return!1}function da(e){return typeof e<"u"&&e!==null}function Ds(e){return wl(e)&&!Op(e)&&e!==null}function wl(e){return typeof e=="object"}function Op(e){return Array.isArray(e)}function Pp(e){return typeof e=="string"}function Yfe(e){return typeof e=="function"}function qd(e,t){let i=Object.assign({},e);return wl(e)?(wl(e)&&wl(t)&&Object.keys(t).forEach(n=>{Ds(t[n])?n in e?i[n]=qd(e[n],t[n]):Object.assign(i,{[n]:t[n]}):Object.assign(i,{[n]:t[n]})}),i):qd({},t)}function $d(e,t){let i=t.split(".");t="";do t+=i.shift(),da(e)&&da(e[t])&&(Ds(e[t])||Op(e[t])||!i.length)?(e=e[t],t=""):i.length?t+=".":e=void 0;while(i.length);return e}function Zfe(e,t,i){let n=t.split("."),a=e;for(let r=0;r<n.length;r++){let o=n[r];r===n.length-1?a[o]=i:((!a[o]||!Ds(a[o]))&&(a[o]={}),a=a[o])}}var Np=class{},Kfe=(()=>{const t=class t extends Np{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(Pp(a))return this.interpolateString(a,r);if(Yfe(a))return this.interpolateFunction(a,r)}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(o,l)=>{let u=$d(r,l);return da(u)?u:o}):a}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Ts=class{},Jfe=(()=>{const t=class t extends Ts{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Yd=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Ht);s(this,"onLangChange",new Ht);s(this,"onDefaultLangChange",new Ht)}},T1=new se("ISOLATE_TRANSLATE_SERVICE"),O1=new se("USE_DEFAULT_LANG"),P1=new se("DEFAULT_LANGUAGE"),N1=new se("USE_EXTEND"),yo=e=>Oo(e)?e:vt(e),li=(()=>{const t=class t{constructor(n,a,r,o,l,u=!0,c=!1,h=!1,m){s(this,"store");s(this,"currentLoader");s(this,"compiler");s(this,"parser");s(this,"missingTranslationHandler");s(this,"useDefaultLang");s(this,"extend");s(this,"loadingTranslations");s(this,"pending",!1);s(this,"_translationRequests",{});s(this,"lastUseLanguage",null);this.store=n,this.currentLoader=a,this.compiler=r,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=u,this.extend=h,c&&(this.store=new Yd),m&&this.setDefaultLang(m)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let a=this.retrieveTranslations(n);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=n),a.pipe(jn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return vt(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return Oo(a)?(a.pipe(jn(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),vt(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let a=this.currentLoader.getTranslation(n).pipe(Om(1),jn(1));return this.loadingTranslations=a.pipe(zt(r=>this.compiler.compileTranslations(r,n)),Om(1),jn(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?ue(ue({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(n,a,r=!1){let o=this.compiler.compileTranslations(a,n);(r||this.extend)&&this.translations[n]?this.translations[n]=qd(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let a=n.filter(r=>!this.langs.includes(r));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,r){let o;if(n&&(o=this.runInterpolation($d(n,a),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation($d(this.translations[this.defaultLang],a),r)),o===void 0){let l={key:a,translateService:this};typeof r<"u"&&(l.interpolateParams=r),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(Op(n))return n.map(r=>this.runInterpolation(r,a));if(Ds(n)){let r={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(r[o]=l)}return r}else return this.parser.interpolate(n,a)}getParsedResult(n,a,r){if(a instanceof Array){let o={},l=!1;for(let c of a)o[c]=this.getParsedResultForKey(n,c,r),l=l||Oo(o[c]);if(!l)return o;let u=a.map(c=>yo(o[c]));return ev(u).pipe(zt(c=>{let h={};return c.forEach((m,v)=>{h[a[v]]=m}),h}))}return this.getParsedResultForKey(n,a,r)}get(n,a){if(!da(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(iv(r=>yo(this.getParsedResult(r,n,a)))):yo(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!da(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Bo(Tl(()=>this.get(n,a)),this.onTranslationChange.pipe(zo(r=>{let o=this.getParsedResult(r.translations,n,a);return yo(o)})))}stream(n,a){if(!da(n)||!n.length)throw new Error('Parameter "key" required');return Bo(Tl(()=>this.get(n,a)),this.onLangChange.pipe(zo(r=>{let o=this.getParsedResult(r.translations,n,a);return yo(o)})))}instant(n,a){if(!da(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,a);return Oo(r)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:r}set(n,a,r=this.currentLang){Zfe(this.translations[r],n,Pp(a)?this.compiler.compile(a,r):this.compiler.compileTranslations(a,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};s(t,"ɵfac",function(n){return new(n||t)(pe(Yd),pe(Is),pe(Ts),pe(Np),pe(D1),pe(O1),pe(T1),pe(N1),pe(P1))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),un=(()=>{const t=class t{constructor(n,a){s(this,"translate");s(this,"_ref");s(this,"value","");s(this,"lastKey",null);s(this,"lastParams",[]);s(this,"onTranslationChange");s(this,"onLangChange");s(this,"onDefaultLangChange");this.translate=n,this._ref=a}updateValue(n,a,r){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,n,a);Oo(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Jl(n,this.lastKey)&&Jl(a,this.lastParams))return this.value;let r;if(da(a[0])&&a.length)if(Pp(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else Ds(a[0])&&(r=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)(Qt(li,16),Qt(sr,16))}),s(t,"ɵpipe",Yt({name:"translate",type:t,pure:!1})),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Xfe=(e={})=>kh([e.loader||{provide:Is,useClass:qfe},e.compiler||{provide:Ts,useClass:Jfe},e.parser||{provide:Np,useClass:Kfe},e.missingTranslationHandler||{provide:D1,useClass:$fe},Yd,{provide:T1,useValue:e.isolate},{provide:O1,useValue:e.useDefaultLang},{provide:N1,useValue:e.extend},{provide:P1,useValue:e.defaultLanguage},li]);function M1(e){return e.buttons===0||e.detail===0}function R1(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 Iu;function Qfe(){if(Iu==null){let e=typeof document<"u"?document.head:null;Iu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Iu}function ege(e){if(Qfe()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Du(){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 Yi(e){return e.composedPath?e.composedPath()[0]:e.target}function ha(e,t,i,n,a){let r=parseInt(wf.major),o=parseInt(wf.minor);return r>19||r===19&&o>0||r===0&&o===0?e.listen(t,i,n,a):(t.addEventListener(i,n,a),()=>{t.removeEventListener(i,n,a)})}var Zd;try{Zd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Zd=!1}var Tn=(()=>{const t=class t{constructor(){s(this,"_platformId",C(Ic));s(this,"isBrowser",this._platformId?qme(this._platformId):typeof document=="object"&&!!document);s(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));s(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));s(this,"BLINK",this.isBrowser&&!!(window.chrome||Zd)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);s(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);s(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));s(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));s(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);s(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bo;function tge(){if(bo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>bo=!0}))}finally{bo=bo||!1}return bo}function Mp(e){return tge()?e:!!e.capture}function Gf(e,t=0){return nge(e)?Number(e):arguments.length===2?t:0}function nge(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Rr(e){return e instanceof At?e.nativeElement:e}var ige=new se("cdk-input-modality-detector-options"),age={ignoreKeys:[18,17,224,91,16]},A1=650,Tu={passive:!0,capture:!0},rge=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new vh(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,r;(r=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&r.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Yi(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<A1||(this._modality.next(M1(n)?"keyboard":"mouse"),this._mostRecentTarget=Yi(n))});s(this,"_onTouchstart",n=>{if(R1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Yi(n)});let n=C(We),a=C(He),r=C(ige,{optional:!0});if(this._options=ue(ue({},age),r),this.modalityDetected=this._modality.pipe(sv(1)),this.modalityChanged=this.modalityDetected.pipe(ise()),this._platform.isBrowser){let o=C(oi).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[ha(o,a,"keydown",this._onKeydown,Tu),ha(o,a,"mousedown",this._onMousedown,Tu),ha(o,a,"touchstart",this._onTouchstart,Tu)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(a=>a())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),El=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(El||{}),oge=new se("cdk-focus-monitor-default-options"),Js=Mp({passive:!0,capture:!0}),Rp=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_platform",C(Tn));s(this,"_inputModalityDetector",C(rge));s(this,"_origin",null);s(this,"_lastFocusOrigin");s(this,"_windowFocused",!1);s(this,"_windowFocusTimeoutId");s(this,"_originTimeoutId");s(this,"_originFromTouchInteraction",!1);s(this,"_elementInfo",new Map);s(this,"_monitoredElementCount",0);s(this,"_rootNodeFocusListenerCount",new Map);s(this,"_detectionMode");s(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});s(this,"_document",C(He,{optional:!0}));s(this,"_stopInputModalityDetector",new be);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=Yi(n);for(let r=a;r;r=r.parentElement)n.type==="focus"?this._onFocus(n,r):this._onBlur(n,r)});let n=C(oge,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||El.IMMEDIATE}monitor(n,a=!1){let r=Rr(n);if(!this._platform.isBrowser||r.nodeType!==1)return vt();let o=ege(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return a&&(l.checkChildren=!0),l.subject;let u={checkChildren:a,subject:new be,rootNode:o};return this._elementInfo.set(r,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let a=Rr(n),r=this._elementInfo.get(a);r&&(r.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(r))}focusVia(n,a,r){let o=Rr(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,a,c)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((n,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===El.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,a){n.classList.toggle("cdk-focused",!!a),n.classList.toggle("cdk-touch-focused",a==="touch"),n.classList.toggle("cdk-keyboard-focused",a==="keyboard"),n.classList.toggle("cdk-mouse-focused",a==="mouse"),n.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(n,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&a,this._detectionMode===El.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?A1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(n,a){let r=this._elementInfo.get(a),o=Yi(n);!r||!r.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),r)}_onBlur(n,a){let r=this._elementInfo.get(a);!r||r.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(r,null))}_emitOrigin(n,a){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(a))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let a=n.rootNode,r=this._rootNodeFocusListenerCount.get(a)||0;r||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Js),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Js)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(zi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let r=this._rootNodeFocusListenerCount.get(a);r>1?this._rootNodeFocusListenerCount.set(a,r-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Js),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Js),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,r){this._setClasses(n,a),this._emitOrigin(r,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((r,o)=>{(o===n||r.checkChildren&&o.contains(n))&&a.push([o,r])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!a||a===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let o=n.labels;if(o){for(let l=0;l<o.length;l++)if(o[l].contains(a))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xs=new WeakMap,lr=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",C(st));s(this,"_environmentInjector",C(wi))}load(n){let a=this._appRef=this._appRef||this._injector.get(xa),r=Xs.get(a);r||(r={loaders:new Set,refs:[]},Xs.set(a,r),a.onDestroy(()=>{var o;(o=Xs.get(a))==null||o.refs.forEach(l=>l.destroy()),Xs.delete(a)})),r.loaders.has(n)||(r.loaders.add(n),r.refs.push(Kb(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),L1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
20
20
  `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Xl(e){return Array.isArray(e)?e:[e]}var Wf=new Set,Ta,sge=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_nonce",C(Yh,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):cge}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&lge(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function lge(e,t){if(!Wf.has(e))try{Ta||(Ta=document.createElement("style"),t&&Ta.setAttribute("nonce",t),Ta.setAttribute("type","text/css"),document.head.appendChild(Ta)),Ta.sheet&&(Ta.sheet.insertRule(`@media ${e} {body{ }}`,0),Wf.add(e))}catch(i){console.error(i)}}function cge(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var F1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(sge));s(this,"_zone",C(We));s(this,"_queries",new Map);s(this,"_destroySubject",new be)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return qf(Xl(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=qf(Xl(n)).map(o=>this._registerQuery(o).observable),r=Joe(a);return r=Bo(r.pipe(jn(1)),r.pipe(sv(1),av(0))),r.pipe(zt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),r={observable:new ht(o=>{let l=u=>this._zone.run(()=>o.next(u));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(Tr(a),zt(({matches:o})=>({query:n,matches:o})),zi(this._destroySubject)),mql:a};return this._queries.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function qf(e){return e.map(t=>t.split(",")).reduce((t,i)=>t.concat(i)).map(t=>t.trim())}var uge=(()=>{const t=class t{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[uge]}));let e=t;return e})(),V1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return pge(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=hge(xge(n));if(a&&($f(a)===-1||!this.isVisible(a)))return!1;let r=n.nodeName.toLowerCase(),o=$f(n);return n.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!bge(n)?!1:r==="audio"?n.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,a){return _ge(n)&&!this.isDisabled(n)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function hge(e){try{return e.frameElement}catch{return null}}function pge(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function mge(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function fge(e){return vge(e)&&e.type=="hidden"}function gge(e){return yge(e)&&e.hasAttribute("href")}function vge(e){return e.nodeName.toLowerCase()=="input"}function yge(e){return e.nodeName.toLowerCase()=="a"}function j1(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function $f(e){if(!j1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function bge(e){let t=e.nodeName.toLowerCase(),i=t==="input"&&e.type;return i==="text"||i==="password"||t==="select"||t==="textarea"}function _ge(e){return fge(e)?!1:mge(e)||gge(e)||e.hasAttribute("contenteditable")||j1(e)}function xge(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var wge=class{constructor(e,t,i,n,a=!1,r){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=i,this._document=n,this._injector=r,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let i=this._getFirstTabbableElement(t);return i==null||i.focus(e),!!i}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 i=0;i<t.length;i++){let n=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let i=t.length-1;i>=0;i--){let n=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Jh(e,{injector:this._injector}):setTimeout(e)}},Ege=(()=>{const t=class t{constructor(){s(this,"_checker",C(V1));s(this,"_ngZone",C(We));s(this,"_document",C(He));s(this,"_injector",C(st));C(lr).load(L1)}create(n,a=!1){return new wge(n,this._checker,this._ngZone,this._document,a,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Sge=new se("liveAnnouncerElement",{providedIn:"root",factory:kge});function kge(){return null}var Cge=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Ige=0,Dge=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_defaultOptions",C(Cge,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(He));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(Sge,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let r=this._defaultOptions,o,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[o,l]=a,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,a;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",a=this._document.getElementsByClassName(n),r=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return r.classList.add(n),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${Ige++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<a.length;r++){let o=a[r],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),La=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}(La||{}),Yf="cdk-high-contrast-black-on-white",Zf="cdk-high-contrast-white-on-black",Ou="cdk-high-contrast-active",B1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",C(He));s(this,"_breakpointSubscription");this._breakpointSubscription=C(F1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return La.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let a=this._document.defaultView||window,r=a&&a.getComputedStyle?a.getComputedStyle(n):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return La.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return La.BLACK_ON_WHITE}return La.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Ou,Yf,Zf),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===La.BLACK_ON_WHITE?n.add(Ou,Yf):a===La.WHITE_ON_BLACK&&n.add(Ou,Zf)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Tge=(()=>{const t=class t{constructor(){C(B1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[dge]}));let e=t;return e})(),Pu={},lo=(()=>{const t=class t{constructor(){s(this,"_appId",C($h))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Pu.hasOwnProperty(n)||(Pu[n]=0),`${n}${Pu[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Oge=200,Pge=class{constructor(e,t){s(this,"_letterKeyStream",new be);s(this,"_items",[]);s(this,"_selectedItemIndex",-1);s(this,"_pressedLetters",[]);s(this,"_skipPredicateFn");s(this,"_selectedItem",new be);s(this,"selectedItem",this._selectedItem);let i=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:Oge;t!=null&&t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(i)}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(hl(t=>this._pressedLetters.push(t)),av(e),bi(()=>this._pressedLetters.length>0),zt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var i,n;for(let a=1;a<this._items.length+1;a++){let r=(this._selectedItemIndex+a)%this._items.length,o=this._items[r];if(!((i=this._skipPredicateFn)!=null&&i.call(this,o))&&((n=o.getLabel)==null?void 0:n.call(o).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Ap(e,...t){return t.length?t.some(i=>e[i]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Nge=class{constructor(e,t){s(this,"_items");s(this,"_activeItemIndex",-1);s(this,"_activeItem",Ed(null));s(this,"_wrap",!1);s(this,"_typeaheadSubscription",pn.EMPTY);s(this,"_itemChangesSubscription");s(this,"_vertical",!0);s(this,"_horizontal");s(this,"_allowedModifierKeys",[]);s(this,"_homeAndEnd",!1);s(this,"_pageUpAndDown",{enabled:!1,delta:10});s(this,"_effectRef");s(this,"_typeahead");s(this,"_skipPredicateFn",e=>e.disabled);s(this,"tabOut",new be);s(this,"change",new be);this._items=e,e instanceof Hl?this._itemChangesSubscription=e.changes.subscribe(i=>this._itemsChanged(i.toArray())):Ym(e)&&(this._effectRef=_p(()=>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 Pge(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),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 n,a;let t=e.keyCode,i=["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&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r<o?r:o-1,-1);break}else return;default:(i||Ap(e,"shiftKey"))&&((n=this._typeahead)==null||n.handleKey(e));return}(a=this._typeahead)==null||a.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){var a;let t=this._getItemsArray(),i=typeof e=="number"?e:t.indexOf(e),n=t[i];this._activeItem.set(n??null),this._activeItemIndex=i,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(i)}destroy(){var e,t,i;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),(i=this._typeahead)==null||i.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 i=1;i<=t.length;i++){let n=(this._activeItemIndex+e*i+t.length)%t.length,a=t[n];if(!this._skipPredicateFn(a)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(e+=t,!i[e])return;this.setActiveItem(e)}}_getItemsArray(){return Ym(this._items)?this._items():this._items instanceof Hl?this._items.toArray():this._items}_itemsChanged(e){var i,n;(i=this._typeahead)==null||i.setItems(e);let t=this._activeItem();if(t){let a=e.indexOf(t);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(n=this._typeahead)==null||n.setCurrentSelectedItemIndex(a))}}},Mge=class extends Nge{constructor(){super(...arguments);s(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},Rge=new se("cdk-dir-doc",{providedIn:"root",factory:Age});function Age(){return C(He)}var Lge=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Fge(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?Lge.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Zo=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Ht);let n=C(Rge,{optional:!0});if(n){let a=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=Fge(a||r||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ko=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})(),Ci=(()=>{const t=class t{constructor(){C(B1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ko,Ko]}));let e=t;return e})(),Kd=new se("MAT_DATE_LOCALE",{providedIn:"root",factory:Vge});function Vge(){return C(Fc)}var fr="Method not implemented",z1=class{constructor(){s(this,"locale");s(this,"_localeChanges",new be);s(this,"localeChanges",this._localeChanges)}setTime(e,t,i,n){throw new Error(fr)}getHours(e){throw new Error(fr)}getMinutes(e){throw new Error(fr)}getSeconds(e){throw new Error(fr)}parseTime(e,t){throw new Error(fr)}addSeconds(e,t){throw new Error(fr)}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 i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareDate(e,t):i==n}return e==t}sameTime(e,t){if(e&&t){let i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareTime(e,t):i==n}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}},jge=new se("mat-date-formats"),Lp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
21
21
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),mi=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(mi||{}),Qs,Oa;function H1(){if(Oa==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Oa=!1,Oa;if("scrollBehavior"in document.documentElement.style)Oa=!0;else{let e=Element.prototype.scrollTo;e?Oa=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Oa=!1}}return Oa}function _o(){if(typeof document!="object"||!document)return mi.NORMAL;if(Qs==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 i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),Qs=mi.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Qs=e.scrollLeft===0?mi.NEGATED:mi.INVERTED),e.remove()}return Qs}function Kf(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Jf(e){return e!=null&&`${e}`!="false"}function Ot(e){return e==null?"":typeof e=="string"?e:`${e}px`}var Fn=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}(Fn||{}),Bge=class{constructor(e,t,i,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",Fn.HIDDEN);this._renderer=e,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},Xf=Mp({passive:!0,capture:!0}),zge=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var i;let t=Yi(e);t&&((i=this._events.get(e.type))==null||i.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,i,n){let a=this._events.get(t);if(a){let r=a.get(i);r?r.add(n):a.set(i,new Set([n]))}else this._events.set(t,new Map([[i,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Xf)})}removeHandler(e,t,i){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(i),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Xf)))}},Ql={enterDuration:225,exitDuration:150},Hge=800,Qf=Mp({passive:!0,capture:!0}),eg=["mousedown","touchstart"],tg=["mouseup","mouseleave","touchend","touchcancel"],Uge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}