PageSourceSearch

https://unified.ai/polyfills-LRCB7I7N.js

js unified.ai collected 2026-10-05 13:10:00 UTC 654,568 bytes, 42 lines download raw bytes

vendor: 7,810 bytes, line 1
1var $D=Object.create;var Mg=Object.defineProperty;var UD=Object.getOwnPropertyDescriptor;var jD=Object.getOwnPropertyNames;var VD=Object.getPrototypeOf,HD=Object.prototype.hasOwnProperty;var v=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var WD=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jD(e))!HD.call(r,i)&&i!==t&&Mg(r,i,{get:()=>e[i],enumerable:!(n=UD(e,i))||n.enumerable});return r};var Rt=(r,e,t)=>(t=r!=null?$D(VD(r)):{},WD(e||!r||!r.__esModule?Mg(t,"default",{value:r,enumerable:!0}):t,r));var Le=v((od,hw)=>{"use strict";var Go=function(r){return r&&r.Math===Math&&r};hw.exports=Go(typeof globalThis=="object"&&globalThis)||Go(typeof window=="object"&&window)||Go(typeof self=="object"&&self)||Go(typeof global=="object"&&global)||Go(typeof od=="object"&&od)||(function(){return this})()||Function("return this")()});var Z=v((xce,fw)=>{"use strict";fw.exports=function(r){try{return!!r()}catch{return!0}}});var Ce=v((_ce,pw)=>{"use strict";var f5=Z();pw.exports=!f5(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Qs=v((Tce,dw)=>{"use strict";var p5=Z();dw.exports=!p5(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")})});var Ue=v((bce,mw)=>{"use strict";var d5=Qs(),Ac=Function.prototype.call;mw.exports=d5?Ac.bind(Ac):function(){return Ac.apply(Ac,arguments)}});var zo=v(Ew=>{"use strict";var vw={}.propertyIsEnumerable,gw=Object.getOwnPropertyDescriptor,m5=gw&&!vw.call({1:2},1);Ew.f=m5?function(e){var t=gw(this,e);return!!t&&t.enumerable}:vw});var ji=v((Ace,yw)=>{"use strict";yw.exports=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}}});var J=v((Ice,xw)=>{"use strict";var Sw=Qs(),ww=Function.prototype,ud=ww.call,v5=Sw&&ww.bind.bind(ud,ud);xw.exports=Sw?v5:function(r){return function(){return ud.apply(r,arguments)}}});var xt=v((kce,Tw)=>{"use strict";var _w=J(),g5=_w({}.toString),E5=_w("".slice);Tw.exports=function(r){return E5(g5(r),8,-1)}});var Vi=v((Nce,bw)=>{"use strict";var y5=J(),S5=Z(),w5=xt(),ld=Object,x5=y5("".split);bw.exports=S5(function(){return!ld("z").propertyIsEnumerable(0)})?function(r){return w5(r)==="String"?x5(r,""):ld(r)}:ld});var ir=v((qce,Cw)=>{"use strict";Cw.exports=function(r){return r==null}});var Xe=v((Dce,Aw)=>{"use strict";var _5=ir(),T5=TypeError;Aw.exports=function(r){if(_5(r))throw new T5("Can't call method on "+r);return r}});var at=v((Pce,Iw)=>{"use strict";var b5=Vi(),C5=Xe();Iw.exports=function(r){return b5(C5(r))}});var We=v((Oce,kw)=>{"use strict";var cd=typeof document=="object"&&document.all;kw.exports=typeof cd>"u"&&cd!==void 0?function(r){return typeof r=="function"||r===cd}:function(r){return typeof r=="function"}});var Fe=v((Rce,Nw)=>{"use strict";var A5=We();Nw.exports=function(r){return typeof r=="object"?r!==null:A5(r)}});var sr=v((Lce,qw)=>{"use strict";var hd=Le(),I5=We(),k5=function(r){return I5(r)?r:void 0};qw.exports=function(r,e){return arguments.length<2?k5(hd[r]):hd[r]&&hd[r][e]}});var en=v((Mce,Dw)=>{"use strict";var N5=J();Dw.exports=N5({}.isPrototypeOf)});var Js=v((Bce,Pw)=>{"use strict";Pw.exports=typeof navigator<"u"&&String(navigator.userAgent)||""});var Hi=v((Fce,Fw)=>{"use strict";var Bw=Le(),fd=Js(),Ow=Bw.process,Rw=Bw.Deno,Lw=Ow&&Ow.versions||Rw&&Rw.version,Mw=Lw&&Lw.v8,Or,Ic;Mw&&(Or=Mw.split("."),Ic=Or[0]>0&&Or[0]<4?1:+(Or[0]+Or[1]));!Ic&&fd&&(Or=fd.match(/Edge\/(\d+)/),(!Or||Or[1]>=74)&&(Or=fd.match(/Chrome\/(\d+)/),Or&&(Ic=+Or[1])));Fw.exports=Ic});var Wi=v(($ce,Uw)=>{"use strict";var $w=Hi(),q5=Z(),D5=Le(),P5=D5.String;Uw.exports=!!Object.getOwnPropertySymbols&&!q5(function(){var r=Symbol("symbol detection");return!P5(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&$w&&$w<41})});var pd=v((Uce,jw)=>{"use strict";var O5=Wi();jw.exports=O5&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var ea=v((jce,Vw)=>{"use strict";var R5=sr(),L5=We(),M5=en(),B5=pd(),F5=Object;Vw.exports=B5?function(r){return typeof r=="symbol"}:function(r){var e=R5("Symbol");return L5(e)&&M5(e.prototype,F5(r))}});var Gi=v((Vce,Hw)=>{"use strict";var $5=String;Hw.exports=function(r){try{return $5(r)}catch{return"Object"}}});var Nt=v((Hce,Ww)=>{"use strict";var U5=We(),j5=Gi(),V5=TypeError;Ww.exports=function(r){if(U5(r))return r;throw new V5(j5(r)+" is not a function")}});var tn=v((Wce,Gw)=>{"use strict";var H5=Nt(),W5=ir();Gw.exports=function(r,e){var t=r[e];return W5(t)?void 0:H5(t)}});var gd=v((Gce,zw)=>{"use strict";var dd=Ue(),md=We(),vd=Fe(),G5=TypeError;zw.exports=function(r,e){var t,n;if(e==="string"&&md(t=r.toString)&&!vd(n=dd(t,r))||md(t=r.valueOf)&&!vd(n=dd(t,r))||e!=="string"&&md(t=r.toString)&&!vd(n=dd(t,r)))return n;throw new G5("Can't convert object to primitive value")}});var ar=v((zce,Xw)=>{"use strict";Xw.exports=!1});var kc=v((Xce,Zw)=>{"use strict";var Yw=Le(),z5=Object.defineProperty;Zw.exports=function(r,e){try{z5(Yw,r,{value:e,configurable:!0,writable:!0})}catch{Yw[r]=e}return e}});var Nc=v((Yce,Qw)=>{"use strict";var X5=Le(),Y5=kc(),Kw="__core-js_shared__",Z5=X5[Kw]||Y5(Kw,{});Qw.exports=Z5});var zi=v((Zce,e0)=>{"use strict";var K5=ar(),Jw=Nc();(e0.exports=function(r,e){return Jw[r]||(Jw[r]=e!==void 0?e:{})})("versions",[]).push({version:"3.35.1",mode:K5?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var Me=v((Kce,t0)=>{"use strict";var Q5=Xe(),J5=Object;t0.exports=function(r){return J5(Q5(r))}});var Ze=v((Qce,r0)=>{"use strict";var eU=J(),tU=Me(),rU=eU({}.hasOwnProperty);r0.exports=Object.hasOwn||function(e,t){return rU(tU(e),t)}});var Xo=v((Jce,n0)=>{"use strict";var nU=J(),iU=0,sU=Math.random(),aU=nU(1 .toString);n0.exports=function(r){return"Symbol("+(r===void 0?"":r)+")_"+aU(++iU+sU,36)}});var Be=v((ehe,s0)=>{"use strict";var oU=Le(),uU=zi(),i0=Ze(),lU=Xo(),cU=Wi(),hU=pd(),ta=oU.Symbol,Ed=uU("wks"),fU=hU?ta.for||ta:ta&&ta.withoutSetter||lU;s0.exports=function(r){return i0(Ed,r)||(Ed[r]=cU&&i0(ta,r)?ta[r]:fU("Symbol."+r)),Ed[r]}});var qc=v((the,u0)=>{"use strict";var pU=Ue(),a0=Fe(),o0=ea(),dU=tn(),mU=gd(),vU=Be(),gU=TypeError,EU=vU("toPrimitive");u0.exports=function(r,e){if(!a0(r)||o0(r))return r;var t=dU(r,EU),n;if(t){if(e===void 0&&(e="default"),n=pU(t,r,e),!a0(n)||o0(n))return n;throw new gU("Can't convert object to primitive value")}return e===void 0&&(e="number"),mU(r,e)}});var wn=v((rhe,l0)=>{"use strict";var yU=qc(),SU=ea();l0.exports=function(r){var e=yU(r,"string");return SU(e)?e:e+""}});var Sd=v((nhe,h0)=>{"use strict";var wU=Le(),c0=Fe(),yd=wU.document,xU=c0(yd)&&c0(yd.createElement);h0.exports=function(r){return xU?yd.createElement(r):{}}});var wd=v((ihe,f0)=>{"use strict";var _U=Ce(),TU=Z(),bU=Sd();f0.exports=!_U&&!TU(function(){return Object.defineProperty(bU("div"),"a",{get:function(){return 7}}).a!==7})});var qt=v(d0=>{"use strict";var CU=Ce(),AU=Ue(),IU=zo(),kU=ji(),NU=at(),qU=wn(),DU=Ze(),PU=wd(),p0=Object.getOwnPropertyDescriptor;d0.f=CU?p0:function(e,t){if(e=NU(e),t=qU(t),PU)try{return p0(e,t)}catch{}if(DU(e,t))return kU(!AU(IU.f,e,t),e[t])}});var xd=v((ahe,m0)=>{"use strict";var OU=Ce(),RU=Z();m0.exports=OU&&RU(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var Ie=v((ohe,v0)=>{"use strict";var LU=Fe(),MU=String,BU=TypeError;v0.exports=function(r){if(LU(r))return r;throw new BU(MU(r)+" is not an object")}});var Ke=v(E0=>{"use strict";var FU=Ce(),$U=wd(),UU=xd(),Dc=Ie(),g0=wn(),jU=TypeError,_d=Object.defineProperty,VU=Object.getOwnPropertyDescriptor,Td="enumerable",bd="configurable",Cd="writable";E0.f=FU?UU?function(e,t,n){if(Dc(e),t=g0(t),Dc(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Cd in n&&!n[Cd]){var i=VU(e,t);
vendor: 4,616 bytes, line 1
1i&&i[Cd]&&(e[t]=n.value,n={configurable:bd in n?n[bd]:i[bd],enumerable:Td in n?n[Td]:i[Td],writable:!1})}return _d(e,t,n)}:_d:function(e,t,n){if(Dc(e),t=g0(t),Dc(n),$U)try{return _d(e,t,n)}catch{}if("get"in n||"set"in n)throw new jU("Accessors not supported");return"value"in n&&(e[t]=n.value),e}});var ra=v((lhe,y0)=>{"use strict";var HU=Ce(),WU=Ke(),GU=ji();y0.exports=HU?function(r,e,t){return WU.f(r,e,GU(1,t))}:function(r,e,t){return r[e]=t,r}});var na=v((che,w0)=>{"use strict";var Ad=Ce(),zU=Ze(),S0=Function.prototype,XU=Ad&&Object.getOwnPropertyDescriptor,Id=zU(S0,"name"),YU=Id&&(function(){}).name==="something",ZU=Id&&(!Ad||Ad&&XU(S0,"name").configurable);w0.exports={EXISTS:Id,PROPER:YU,CONFIGURABLE:ZU}});var Nd=v((hhe,x0)=>{"use strict";var KU=J(),QU=We(),kd=Nc(),JU=KU(Function.toString);QU(kd.inspectSource)||(kd.inspectSource=function(r){return JU(r)});x0.exports=kd.inspectSource});var b0=v((fhe,T0)=>{"use strict";var ej=Le(),tj=We(),_0=ej.WeakMap;T0.exports=tj(_0)&&/native code/.test(String(_0))});var Yo=v((phe,A0)=>{"use strict";var rj=zi(),nj=Xo(),C0=rj("keys");A0.exports=function(r){return C0[r]||(C0[r]=nj(r))}});var ia=v((dhe,I0)=>{"use strict";I0.exports={}});var Lr=v((mhe,q0)=>{"use strict";var ij=b0(),N0=Le(),sj=Fe(),aj=ra(),qd=Ze(),Dd=Nc(),oj=Yo(),uj=ia(),k0="Object already initialized",Pd=N0.TypeError,lj=N0.WeakMap,Pc,Zo,Oc,cj=function(r){return Oc(r)?Zo(r):Pc(r,{})},hj=function(r){return function(e){var t;if(!sj(e)||(t=Zo(e)).type!==r)throw new Pd("Incompatible receiver, "+r+" required");return t}};ij||Dd.state?(Rr=Dd.state||(Dd.state=new lj),Rr.get=Rr.get,Rr.has=Rr.has,Rr.set=Rr.set,Pc=function(r,e){if(Rr.has(r))throw new Pd(k0);return e.facade=r,Rr.set(r,e),e},Zo=function(r){return Rr.get(r)||{}},Oc=function(r){return Rr.has(r)}):(Xi=oj("state"),uj[Xi]=!0,Pc=function(r,e){if(qd(r,Xi))throw new Pd(k0);return e.facade=r,aj(r,Xi,e),e},Zo=function(r){return qd(r,Xi)?r[Xi]:{}},Oc=function(r){return qd(r,Xi)});var Rr,Xi;q0.exports={set:Pc,get:Zo,has:Oc,enforce:cj,getterFor:hj}});var Mc=v((vhe,O0)=>{"use strict";var Rd=J(),fj=Z(),pj=We(),Rc=Ze(),Od=Ce(),dj=na().CONFIGURABLE,mj=Nd(),P0=Lr(),vj=P0.enforce,gj=P0.get,D0=String,Lc=Object.defineProperty,Ej=Rd("".slice),yj=Rd("".replace),Sj=Rd([].join),wj=Od&&!fj(function(){return Lc(function(){},"length",{value:8}).length!==8}),xj=String(String).split("String"),_j=O0.exports=function(r,e,t){Ej(D0(e),0,7)==="Symbol("&&(e="["+yj(D0(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(e="get "+e),t&&t.setter&&(e="set "+e),(!Rc(r,"name")||dj&&r.name!==e)&&(Od?Lc(r,"name",{value:e,configurable:!0}):r.name=e),wj&&t&&Rc(t,"arity")&&r.length!==t.arity&&Lc(r,"length",{value:t.arity});try{t&&Rc(t,"constructor")&&t.constructor?Od&&Lc(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch{}var n=vj(r);return Rc(n,"source")||(n.source=Sj(xj,typeof e=="string"?e:"")),r};Function.prototype.toString=_j(function(){return pj(this)&&gj(this).source||mj(this)},"toString")});var Dt=v((ghe,R0)=>{"use strict";var Tj=We(),bj=Ke(),Cj=Mc(),Aj=kc();R0.exports=function(r,e,t,n){n||(n={});var i=n.enumerable,s=n.name!==void 0?n.name:e;if(Tj(t)&&Cj(t,s,n),n.global)i?r[e]=t:Aj(e,t);else{try{n.unsafe?r[e]&&(i=!0):delete r[e]}catch{}i?r[e]=t:bj.f(r,e,{value:t,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return r}});var Ld=v((Ehe,L0)=>{"use strict";var Ij=Math.ceil,kj=Math.floor;L0.exports=Math.trunc||function(e){var t=+e;return(t>0?kj:Ij)(t)}});var yt=v((yhe,M0)=>{"use strict";var Nj=Ld();M0.exports=function(r){var e=+r;return e!==e||e===0?0:Nj(e)}});var ni=v((She,B0)=>{"use strict";var qj=yt(),Dj=Math.max,Pj=Math.min;B0.exports=function(r,e){var t=qj(r);return t<0?Dj(t+e,0):Pj(t,e)}});var xn=v((whe,F0)=>{"use strict";var Oj=yt(),Rj=Math.min;F0.exports=function(r){var e=Oj(r);return e>0?Rj(e,9007199254740991):0}});var ze=v((xhe,$0)=>{"use strict";var Lj=xn();$0.exports=function(r){return Lj(r.length)}});var Bc=v((_he,j0)=>{"use strict";var Mj=at(),Bj=ni(),Fj=ze(),U0=function(r){return function(e,t,n){var i=Mj(e),s=Fj(i),a=Bj(n,s),o;if(r&&t!==t){for(;s>a;)if(o=i[a++],o!==o)return!0}else for(;s>a;a++)if((r||a in i)&&i[a]===t)return r||a||0;return!r&&-1}};j0.exports={includes:U0(!0),indexOf:U0(!1)}});var Bd=v((The,H0)=>{"use strict";var $j=J(),Md=Ze(),Uj=at(),jj=Bc().indexOf,Vj=ia(),V0=$j([].push);H0.exports=function(r,e){var t=Uj(r),n=0,i=[],s;for(s in t)!Md(Vj,s)&&Md(t,s)&&V0(i,s);for(;e.length>n;)Md(t,s=e[n++])&&(~jj(i,s)||V0(i,s));return i}});var Fc=v((bhe,W0)=>{"use strict";W0.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"]});var Yi=v(G0=>{"use strict";var Hj=Bd(),Wj=Fc(),Gj=Wj.concat("length","prototype");G0.f=Object.getOwnPropertyNames||function(e){return Hj(e,Gj)}});var Ko=v(z0=>{"use strict";z0.f=Object.getOwnPropertySymbols});var $c=v((Ihe,X0)=>{"use strict";var zj=sr(),Xj=J(),Yj=Yi(),Zj=Ko(),Kj=Ie(),Qj=Xj([].concat);X0.exports=zj("Reflect","ownKeys")||function(e){var t=Yj.f(Kj(e)),n=Zj.f;return n?Qj(t,n(e)):t}});var Fd=v((khe,Z0)=>{"use strict";var Y0=Ze(),Jj=$c(),eV=qt(),tV=Ke();Z0.exports=function(r,e,t){for(var n=Jj(e),i=tV.f,s=eV.f,a=0;a<n.length;a++){var o=n[a];!Y0(r,o)&&!(t&&Y0(t,o))&&i(r,o,s(e,o))}}});var Jo=v((Nhe,K0)=>{"use strict";var rV=Z(),nV=We(),iV=/#|\.prototype\./,Qo=function(r,e){var t=aV[sV(r)];return t===uV?!0:t===oV?!1:nV(e)?rV(e):!!e},sV=Qo.normalize=function(r){return String(r).replace(iV,".").toLowerCase()},aV=Qo.data={},oV=Qo.NATIVE="N",uV=Qo.POLYFILL="P";K0.exports=Qo});var N=v((qhe,Q0)=>{"use strict";var Uc=Le(),lV=qt().f,cV=ra(),hV=Dt(),fV=kc(),pV=Fd(),dV=Jo();Q0.exports=function(r,e){var t=r.target,n=r.global,i=r.stat,s,a,o,u,l,c;if(n?a=Uc:i?a=Uc[t]||fV(t,{}):a=Uc[t]&&Uc[t].prototype,a)for(o in e){if(l=e[o],r.dontCallGetSet?(c=lV(a,o),u=c&&c.value):u=a[o],s=dV(n?o:t+(i?".":"#")+o,r.forced),!s&&u!==void 0){if(typeof l==typeof u)continue;pV(l,u)}(r.sham||u&&u.sham)&&cV(l,"sham",!0),hV(a,o,l,r)}}});var _n=v((Dhe,J0)=>{"use strict";var mV=xt();J0.exports=Array.isArray||function(e){return mV(e)==="Array"}});var Zi=v((Phe,ex)=>{"use strict";var vV=TypeError,gV=9007199254740991;ex.exports=function(r){if(r>gV)throw vV("Maximum allowed index exceeded");return r}});var ii=v((Ohe,tx)=>{"use strict";var EV=wn(),yV=Ke(),SV=ji();tx.exports=function(r,e,t){var n=EV(e);n in r?yV.f(r,n,SV(0,t)):r[n]=t}});var jc=v((Rhe,nx)=>{"use strict";var wV=Be(),xV=wV("toStringTag"),rx={};rx[xV]="z";nx.exports=String(rx)==="[object z]"});var eu=v((Lhe,ix)=>{"use strict";var _V=jc(),TV=We(),Vc=xt(),bV=Be(),CV=bV("toStringTag"),AV=Object,IV=Vc((function(){return arguments})())==="Arguments",kV=function(r,e){try{return r[e]}catch{}};ix.exports=_V?Vc:function(r){var e,t,n;return r===void 0?"Undefined":r===null?"Null":typeof(t=kV(e=AV(r),CV))=="string"?t:IV?Vc(e):(n=Vc(e))==="Object"&&TV(e.callee)?"Arguments":n}});var sa=v((Mhe,lx)=>{"use strict";var NV=J(),qV=Z(),sx=We(),DV=eu(),PV=sr(),OV=Nd(),ax=function(){},ox=PV("Reflect","construct"),$d=/^\s*(?:class|function)\b/,RV=NV($d.exec),LV=!$d.test(ax),tu=function(e){if(!sx(e))return!1;try{return ox(ax,[],e),!0}catch{return!1}},ux=function(e){if(!sx(e))return!1;switch(DV(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return LV||!!RV($d,OV(e))}catch{return!0}};ux.sham=!0;lx.exports=!ox||qV(function(){var r;return tu(tu.call)||!tu(Object)||!tu(function(){r=!0})||r})?ux:tu});var px=v((Bhe,fx)=>{"use strict";var cx=_n(),MV=sa(),BV=Fe(),FV=Be(),$V=FV("species"),hx=Array;fx.exports=function(r){var e;return cx(r)&&(e=r.constructor,MV(e)&&(e===hx||cx(e.prototype))?e=void 0:BV(e)&&(e=e[$V],e===null&&(e=void 0))),e===void 0?hx:e}});var aa=v((Fhe,dx)=>{"use strict";var UV=px();dx.exports=function(r,e){return new(UV(r))(e===0?0:e)}});var oa=v(($he,mx)=>{"use strict";var jV=Z(),VV=Be(),HV=Hi(),WV=VV("species");mx.exports=function(r){return HV>=51||!jV(function(){var e=[],t=e.constructor={};return t[WV]=function(){return{foo:1}},e[r](Boolean).foo!==1})}});var Ud=v(()=>{"use strict";var GV=N(),zV=Z(),XV=_n(),YV=Fe(),ZV=Me(),KV=ze(),vx=Zi(),gx=ii(),QV=aa(),JV=oa(),eH=Be(),tH=Hi(),Ex=eH("isConcatSpreadable"),rH=tH>=51||!zV(function(){var r=[];return r[Ex]=!1,r.concat()[0]!==r}),nH=function(r){if(!YV(r))return!1;var e=r[Ex];return e!==void 0?!!e:XV(r)},iH=!rH||!JV("concat");GV({target:"Array",proto:!0,arity:1,forced:iH},{concat:function(e){var t=ZV(this),n=QV(t,0),i=0,s,a,o,u,l;for(s=-1,o=arguments.length;s<o;s++)if(l=s===-1?t:arguments[s],nH(l))for(u=KV(l),vx(i+u),a=0;a<u;a++,i++)a in l&&gx(n,i,l[a]);else vx(i+1),gx(n,i++,l);return n.length=i,n}})});var Sx=v((Vhe,yx)=>{"use strict";var sH=jc(),aH=eu();yx.exports=sH?{}.toString:function(){return"[object "+aH(this)+"]"}});var si=v(()=>{"use strict";var oH=jc(),uH=Dt(),lH=Sx();oH||uH(Object.prototype,"toString",lH,{unsafe:!0})});var ke=v((Ghe,wx)=>{"use strict";var cH=eu(),hH=String;wx.exports=function(r){if(cH(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return hH(r)}});var ua=v((zhe,xx)=>{"use strict";var fH=Bd(),pH=Fc();xx.exports=Object.keys||function(e){return fH(e,pH)}});var Hc=v(_x=>{"use strict";var dH=Ce(),mH=xd(),vH=Ke(),gH=Ie(),EH=at(),yH=ua();_x.f=dH&&!mH?Object.defineProperties:function(e,t){gH(e);for(var n=EH(t),i=yH(t),s=i.length,a=0,o;s>a;)vH.f(e,o=i[a++],n[o]);return e}});var bx=v((Yhe,Tx)=>{"use strict";var SH=sr();Tx.exports=SH("document","documentElement")});
vendor: 7,778 bytes, line 1
1var rn=v((Zhe,Dx)=>{"use strict";var wH=Ie(),xH=Hc(),Cx=Fc(),_H=ia(),TH=bx(),bH=Sd(),CH=Yo(),Ax=">",Ix="<",Vd="prototype",Hd="script",Nx=CH("IE_PROTO"),jd=function(){},qx=function(r){return Ix+Hd+Ax+r+Ix+"/"+Hd+Ax},kx=function(r){r.write(qx("")),r.close();var e=r.parentWindow.Object;return r=null,e},AH=function(){var r=bH("iframe"),e="java"+Hd+":",t;return r.style.display="none",TH.appendChild(r),r.src=String(e),t=r.contentWindow.document,t.open(),t.write(qx("document.F=Object")),t.close(),t.F},Wc,Gc=function(){try{Wc=new ActiveXObject("htmlfile")}catch{}Gc=typeof document<"u"?document.domain&&Wc?kx(Wc):AH():kx(Wc);for(var r=Cx.length;r--;)delete Gc[Vd][Cx[r]];return Gc()};_H[Nx]=!0;Dx.exports=Object.create||function(e,t){var n;return e!==null?(jd[Vd]=wH(e),n=new jd,jd[Vd]=null,n[Nx]=e):n=Gc(),t===void 0?n:xH.f(n,t)}});var la=v((Khe,Px)=>{"use strict";var IH=J();Px.exports=IH([].slice)});var zc=v((Qhe,Lx)=>{"use strict";var kH=xt(),NH=at(),Ox=Yi().f,qH=la(),Rx=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],DH=function(r){try{return Ox(r)}catch{return qH(Rx)}};Lx.exports.f=function(e){return Rx&&kH(e)==="Window"?DH(e):Ox(NH(e))}});var nn=v((Jhe,Bx)=>{"use strict";var Mx=Mc(),PH=Ke();Bx.exports=function(r,e,t){return t.get&&Mx(t.get,e,{getter:!0}),t.set&&Mx(t.set,e,{setter:!0}),PH.f(r,e,t)}});var Wd=v(Fx=>{"use strict";var OH=Be();Fx.f=OH});var _t=v((tfe,$x)=>{"use strict";var RH=Le();$x.exports=RH});var Pt=v((rfe,jx)=>{"use strict";var Ux=_t(),LH=Ze(),MH=Wd(),BH=Ke().f;jx.exports=function(r){var e=Ux.Symbol||(Ux.Symbol={});LH(e,r)||BH(e,r,{value:MH.f(r)})}});var Gd=v((nfe,Vx)=>{"use strict";var FH=Ue(),$H=sr(),UH=Be(),jH=Dt();Vx.exports=function(){var r=$H("Symbol"),e=r&&r.prototype,t=e&&e.valueOf,n=UH("toPrimitive");e&&!e[n]&&jH(e,n,function(i){return FH(t,this)},{arity:1})}});var Tn=v((ife,Wx)=>{"use strict";var VH=Ke().f,HH=Ze(),WH=Be(),Hx=WH("toStringTag");Wx.exports=function(r,e,t){r&&!t&&(r=r.prototype),r&&!HH(r,Hx)&&VH(r,Hx,{configurable:!0,value:e})}});var ca=v((sfe,Gx)=>{"use strict";var GH=xt(),zH=J();Gx.exports=function(r){if(GH(r)==="Function")return zH(r)}});var Ki=v((afe,Xx)=>{"use strict";var zx=ca(),XH=Nt(),YH=Qs(),ZH=zx(zx.bind);Xx.exports=function(r,e){return XH(r),e===void 0?r:YH?ZH(r,e):function(){return r.apply(e,arguments)}}});var bn=v((ofe,Zx)=>{"use strict";var KH=Ki(),QH=J(),JH=Vi(),e4=Me(),t4=ze(),r4=aa(),Yx=QH([].push),ai=function(r){var e=r===1,t=r===2,n=r===3,i=r===4,s=r===6,a=r===7,o=r===5||s;return function(u,l,c,h){for(var d=e4(u),f=JH(d),m=t4(f),S=KH(l,c),g=0,E=h||r4,y=e?E(u,m):t||a?E(u,0):void 0,x,b;m>g;g++)if((o||g in f)&&(x=f[g],b=S(x,g,d),r))if(e)y[g]=b;else if(b)switch(r){case 3:return!0;case 5:return x;case 6:return g;case 2:Yx(y,x)}else switch(r){case 4:return!1;case 7:Yx(y,x)}return s?-1:n||i?i:y}};Zx.exports={forEach:ai(0),map:ai(1),filter:ai(2),some:ai(3),every:ai(4),find:ai(5),findIndex:ai(6),filterReject:ai(7)}});var p_=v(()=>{"use strict";var Xc=N(),iu=Le(),tm=Ue(),n4=J(),i4=ar(),ha=Ce(),fa=Wi(),s4=Z(),ht=Ze(),a4=en(),Zd=Ie(),Yc=at(),rm=wn(),o4=ke(),Kd=ji(),pa=rn(),Jx=ua(),u4=Yi(),e_=zc(),l4=Ko(),t_=qt(),r_=Ke(),c4=Hc(),n_=zo(),zd=Dt(),h4=nn(),nm=zi(),f4=Yo(),i_=ia(),Kx=Xo(),p4=Be(),d4=Wd(),m4=Pt(),v4=Gd(),g4=Tn(),s_=Lr(),Zc=bn().forEach,Ht=f4("hidden"),Kc="Symbol",nu="prototype",E4=s_.set,Qx=s_.getterFor(Kc),yr=Object[nu],Qi=iu.Symbol,ru=Qi&&Qi[nu],y4=iu.RangeError,S4=iu.TypeError,Xd=iu.QObject,a_=t_.f,Ji=r_.f,o_=e_.f,w4=n_.f,u_=n4([].push),Cn=nm("symbols"),su=nm("op-symbols"),x4=nm("wks"),Qd=!Xd||!Xd[nu]||!Xd[nu].findChild,l_=function(r,e,t){var n=a_(yr,e);n&&delete yr[e],Ji(r,e,t),n&&r!==yr&&Ji(yr,e,n)},Jd=ha&&s4(function(){return pa(Ji({},"a",{get:function(){return Ji(this,"a",{value:7}).a}})).a!==7})?l_:Ji,Yd=function(r,e){var t=Cn[r]=pa(ru);return E4(t,{type:Kc,tag:r,description:e}),ha||(t.description=e),t},Qc=function(e,t,n){e===yr&&Qc(su,t,n),Zd(e);var i=rm(t);return Zd(n),ht(Cn,i)?(n.enumerable?(ht(e,Ht)&&e[Ht][i]&&(e[Ht][i]=!1),n=pa(n,{enumerable:Kd(0,!1)})):(ht(e,Ht)||Ji(e,Ht,Kd(1,pa(null))),e[Ht][i]=!0),Jd(e,i,n)):Ji(e,i,n)},im=function(e,t){Zd(e);var n=Yc(t),i=Jx(n).concat(f_(n));return Zc(i,function(s){(!ha||tm(em,n,s))&&Qc(e,s,n[s])}),e},_4=function(e,t){return t===void 0?pa(e):im(pa(e),t)},em=function(e){var t=rm(e),n=tm(w4,this,t);return this===yr&&ht(Cn,t)&&!ht(su,t)?!1:n||!ht(this,t)||!ht(Cn,t)||ht(this,Ht)&&this[Ht][t]?n:!0},c_=function(e,t){var n=Yc(e),i=rm(t);if(!(n===yr&&ht(Cn,i)&&!ht(su,i))){var s=a_(n,i);return s&&ht(Cn,i)&&!(ht(n,Ht)&&n[Ht][i])&&(s.enumerable=!0),s}},h_=function(e){var t=o_(Yc(e)),n=[];return Zc(t,function(i){!ht(Cn,i)&&!ht(i_,i)&&u_(n,i)}),n},f_=function(r){var e=r===yr,t=o_(e?su:Yc(r)),n=[];return Zc(t,function(i){ht(Cn,i)&&(!e||ht(yr,i))&&u_(n,Cn[i])}),n};fa||(Qi=function(){if(a4(ru,this))throw new S4("Symbol is not a constructor");var e=!arguments.length||arguments[0]===void 0?void 0:o4(arguments[0]),t=Kx(e),n=function(i){var s=this===void 0?iu:this;s===yr&&tm(n,su,i),ht(s,Ht)&&ht(s[Ht],t)&&(s[Ht][t]=!1);var a=Kd(1,i);try{Jd(s,t,a)}catch(o){if(!(o instanceof y4))throw o;l_(s,t,a)}};return ha&&Qd&&Jd(yr,t,{configurable:!0,set:n}),Yd(t,e)},ru=Qi[nu],zd(ru,"toString",function(){return Qx(this).tag}),zd(Qi,"withoutSetter",function(r){return Yd(Kx(r),r)}),n_.f=em,r_.f=Qc,c4.f=im,t_.f=c_,u4.f=e_.f=h_,l4.f=f_,d4.f=function(r){return Yd(p4(r),r)},ha&&(h4(ru,"description",{configurable:!0,get:function(){return Qx(this).description}}),i4||zd(yr,"propertyIsEnumerable",em,{unsafe:!0})));Xc({global:!0,constructor:!0,wrap:!0,forced:!fa,sham:!fa},{Symbol:Qi});Zc(Jx(x4),function(r){m4(r)});Xc({target:Kc,stat:!0,forced:!fa},{useSetter:function(){Qd=!0},useSimple:function(){Qd=!1}});Xc({target:"Object",stat:!0,forced:!fa,sham:!ha},{create:_4,defineProperty:Qc,defineProperties:im,getOwnPropertyDescriptor:c_});Xc({target:"Object",stat:!0,forced:!fa},{getOwnPropertyNames:h_});v4();g4(Qi,Kc);i_[Ht]=!0});var sm=v((cfe,d_)=>{"use strict";var T4=Wi();d_.exports=T4&&!!Symbol.for&&!!Symbol.keyFor});var v_=v(()=>{"use strict";var b4=N(),C4=sr(),A4=Ze(),I4=ke(),m_=zi(),k4=sm(),am=m_("string-to-symbol-registry"),N4=m_("symbol-to-string-registry");b4({target:"Symbol",stat:!0,forced:!k4},{for:function(r){var e=I4(r);if(A4(am,e))return am[e];var t=C4("Symbol")(e);return am[e]=t,N4[t]=e,t}})});var E_=v(()=>{"use strict";var q4=N(),D4=Ze(),P4=ea(),O4=Gi(),R4=zi(),L4=sm(),g_=R4("symbol-to-string-registry");q4({target:"Symbol",stat:!0,forced:!L4},{keyFor:function(e){if(!P4(e))throw new TypeError(O4(e)+" is not a symbol");if(D4(g_,e))return g_[e]}})});var da=v((mfe,x_)=>{"use strict";var M4=Qs(),w_=Function.prototype,y_=w_.apply,S_=w_.call;x_.exports=typeof Reflect=="object"&&Reflect.apply||(M4?S_.bind(y_):function(){return S_.apply(y_,arguments)})});var A_=v((vfe,C_)=>{"use strict";var B4=J(),__=_n(),F4=We(),T_=xt(),$4=ke(),b_=B4([].push);C_.exports=function(r){if(F4(r))return r;if(__(r)){for(var e=r.length,t=[],n=0;n<e;n++){var i=r[n];typeof i=="string"?b_(t,i):(typeof i=="number"||T_(i)==="Number"||T_(i)==="String")&&b_(t,$4(i))}var s=t.length,a=!0;return function(o,u){if(a)return a=!1,u;if(__(this))return u;for(var l=0;l<s;l++)if(t[l]===o)return u}}}});var F_=v(()=>{"use strict";var U4=N(),R_=sr(),L_=da(),j4=Ue(),au=J(),M_=Z(),I_=We(),k_=ea(),B_=la(),V4=A_(),H4=Wi(),W4=String,oi=R_("JSON","stringify"),Jc=au(/./.exec),N_=au("".charAt),G4=au("".charCodeAt),z4=au("".replace),X4=au(1 .toString),Y4=/[\uD800-\uDFFF]/g,q_=/^[\uD800-\uDBFF]$/,D_=/^[\uDC00-\uDFFF]$/,P_=!H4||M_(function(){var r=R_("Symbol")("stringify detection");return oi([r])!=="[null]"||oi({a:r})!=="{}"||oi(Object(r))!=="{}"}),O_=M_(function(){return oi("\uDF06\uD834")!=='"\\udf06\\ud834"'||oi("\uDEAD")!=='"\\udead"'}),Z4=function(r,e){var t=B_(arguments),n=V4(e);
1if(!(!I_(n)&&(r===void 0||k_(r))))return t[1]=function(i,s){if(I_(n)&&(s=j4(n,this,W4(i),s)),!k_(s))return s},L_(oi,null,t)},K4=function(r,e,t){var n=N_(t,e-1),i=N_(t,e+1);return Jc(q_,r)&&!Jc(D_,i)||Jc(D_,r)&&!Jc(q_,n)?"\\u"+X4(G4(r,0),16):r};oi&&U4({target:"JSON",stat:!0,arity:3,forced:P_||O_},{stringify:function(e,t,n){var i=B_(arguments),s=L_(P_?Z4:oi,null,i);return O_&&typeof s=="string"?z4(s,Y4,K4):s}})});var U_=v(()=>{"use strict";var Q4=N(),J4=Wi(),e9=Z(),$_=Ko(),t9=Me(),r9=!J4||e9(function(){$_.f(1)});Q4({target:"Object",stat:!0,forced:r9},{getOwnPropertySymbols:function(e){var t=$_.f;return t?t(t9(e)):[]}})});var om=v(()=>{"use strict";p_();v_();E_();F_();U_()});var j_=v(()=>{"use strict";var n9=Pt();n9("asyncIterator")});var Y_=v(()=>{"use strict";var i9=N(),s9=Ce(),a9=Le(),eh=J(),o9=Ze(),u9=We(),l9=en(),c9=ke(),h9=nn(),f9=Fd(),An=a9.Symbol,es=An&&An.prototype;s9&&u9(An)&&(!("description"in es)||An().description!==void 0)&&(um={},ou=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:c9(arguments[0]),t=l9(es,this)?new An(e):e===void 0?An():An(e);return e===""&&(um[t]=!0),t},f9(ou,An),ou.prototype=es,es.constructor=ou,V_=String(An("description detection"))==="Symbol(description detection)",H_=eh(es.valueOf),W_=eh(es.toString),G_=/^Symbol\((.*)\)[^)]+$/,z_=eh("".replace),X_=eh("".slice),h9(es,"description",{configurable:!0,get:function(){var e=H_(this);if(o9(um,e))return"";var t=W_(e),n=V_?X_(t,7,-1):z_(t,G_,"$1");return n===""?void 0:n}}),i9({global:!0,constructor:!0,forced:!0},{Symbol:ou}));var um,ou,V_,H_,W_,G_,z_,X_});var Z_=v(()=>{"use strict";var p9=Pt();p9("hasInstance")});var K_=v(()=>{"use strict";var d9=Pt();d9("isConcatSpreadable")});var Q_=v(()=>{"use strict";var m9=Pt();m9("iterator")});var J_=v(()=>{"use strict";var v9=Pt();v9("match")});var e2=v(()=>{"use strict";var g9=Pt();g9("matchAll")});var t2=v(()=>{"use strict";var E9=Pt();E9("replace")});var r2=v(()=>{"use strict";var y9=Pt();y9("search")});var n2=v(()=>{"use strict";var S9=Pt();S9("species")});var i2=v(()=>{"use strict";var w9=Pt();w9("split")});var s2=v(()=>{"use strict";var x9=Pt(),_9=Gd();x9("toPrimitive");_9()});var a2=v(()=>{"use strict";var T9=sr(),b9=Pt(),C9=Tn();b9("toStringTag");C9(T9("Symbol"),"Symbol")});var o2=v(()=>{"use strict";var A9=Pt();A9("unscopables")});var lm=v(()=>{"use strict";var I9=Le(),k9=Tn();k9(I9.JSON,"JSON",!0)});var th=v(()=>{"use strict";var N9=Tn();N9(Math,"Math",!0)});var rh=v(()=>{"use strict";var q9=N(),D9=Le(),P9=Tn();q9({global:!0},{Reflect:{}});P9(D9.Reflect,"Reflect",!0)});var l2=v((npe,u2)=>{"use strict";Ud();si();om();j_();Y_();Z_();K_();Q_();J_();e2();t2();r2();n2();i2();s2();a2();o2();lm();th();rh();var O9=_t();u2.exports=O9.Symbol});var p2=v((ipe,f2)=>{"use strict";var c2=Ce(),R9=J(),L9=Ue(),M9=Z(),cm=ua(),B9=Ko(),F9=zo(),$9=Me(),U9=Vi(),ma=Object.assign,h2=Object.defineProperty,j9=R9([].concat);f2.exports=!ma||M9(function(){if(c2&&ma({b:1},ma(h2({},"a",{enumerable:!0,get:function(){h2(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var r={},e={},t=Symbol("assign detection"),n="abcdefghijklmnopqrst";return r[t]=7,n.split("").forEach(function(i){e[i]=i}),ma({},r)[t]!==7||cm(ma({},e)).join("")!==n})?function(e,t){for(var n=$9(e),i=arguments.length,s=1,a=B9.f,o=F9.f;i>s;)for(var u=U9(arguments[s++]),l=a?j9(cm(u),a(u)):cm(u),c=l.length,h=0,d;c>h;)d=l[h++],(!c2||L9(o,u,d))&&(n[d]=u[d]);return n}:ma});var m2=v(()=>{"use strict";var V9=N(),d2=p2();V9({target:"Object",stat:!0,arity:2,forced:Object.assign!==d2},{assign:d2})});var v2=v(()=>{"use strict";var H9=N(),W9=Ce(),G9=rn();H9({target:"Object",stat:!0,sham:!W9},{create:G9})});var E2=v(()=>{"use strict";var z9=N(),X9=Ce(),g2=Ke().f;z9({target:"Object",stat:!0,forced:Object.defineProperty!==g2,sham:!X9},{defineProperty:g2})});var S2=v(()=>{"use strict";var Y9=N(),Z9=Ce(),y2=Hc().f;Y9({target:"Object",stat:!0,forced:Object.defineProperties!==y2,sham:!Z9},{defineProperties:y2})});var nh=v((ppe,w2)=>{"use strict";var K9=Z();w2.exports=!K9(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})});var sn=v((dpe,_2)=>{"use strict";var Q9=Ze(),J9=We(),e6=Me(),t6=Yo(),r6=nh(),x2=t6("IE_PROTO"),hm=Object,n6=hm.prototype;_2.exports=r6?hm.getPrototypeOf:function(r){var e=e6(r);if(Q9(e,x2))return e[x2];var t=e.constructor;return J9(t)&&e instanceof t?t.prototype:e instanceof hm?n6:null}});var fm=v((mpe,I2)=>{"use strict";var b2=Ce(),i6=Z(),C2=J(),s6=sn(),a6=ua(),o6=at(),u6=zo().f,A2=C2(u6),l6=C2([].push),c6=b2&&i6(function(){var r=Object.create(null);return r[2]=2,!A2(r,2)}),T2=function(r){return function(e){for(var t=o6(e),n=a6(t),i=c6&&s6(t)===null,s=n.length,a=0,o=[],u;s>a;)u=n[a++],(!b2||(i?u in t:A2(t,u)))&&l6(o,r?[u,t[u]]:t[u]);return o}};I2.exports={entries:T2(!0),values:T2(!1)}});var k2=v(()=>{"use strict";
vendor: 4,660 bytes, line 1
1var h6=N(),f6=fm().entries;h6({target:"Object",stat:!0},{entries:function(e){return f6(e)}})});var va=v((Epe,N2)=>{"use strict";var p6=Z();N2.exports=!p6(function(){return Object.isExtensible(Object.preventExtensions({}))})});var ih=v((ype,q2)=>{"use strict";var d6=Z();q2.exports=d6(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})});var ah=v((Spe,P2)=>{"use strict";var m6=Z(),v6=Fe(),g6=xt(),D2=ih(),sh=Object.isExtensible,E6=m6(function(){sh(1)});P2.exports=E6||D2?function(e){return!v6(e)||D2&&g6(e)==="ArrayBuffer"?!1:sh?sh(e):!0}:sh});var ga=v((wpe,L2)=>{"use strict";var y6=N(),S6=J(),w6=ia(),x6=Fe(),pm=Ze(),_6=Ke().f,O2=Yi(),T6=zc(),dm=ah(),b6=Xo(),C6=va(),R2=!1,In=b6("meta"),A6=0,mm=function(r){_6(r,In,{value:{objectID:"O"+A6++,weakData:{}}})},I6=function(r,e){if(!x6(r))return typeof r=="symbol"?r:(typeof r=="string"?"S":"P")+r;if(!pm(r,In)){if(!dm(r))return"F";if(!e)return"E";mm(r)}return r[In].objectID},k6=function(r,e){if(!pm(r,In)){if(!dm(r))return!0;if(!e)return!1;mm(r)}return r[In].weakData},N6=function(r){return C6&&R2&&dm(r)&&!pm(r,In)&&mm(r),r},q6=function(){D6.enable=function(){},R2=!0;var r=O2.f,e=S6([].splice),t={};t[In]=1,r(t).length&&(O2.f=function(n){for(var i=r(n),s=0,a=i.length;s<a;s++)if(i[s]===In){e(i,s,1);break}return i},y6({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:T6.f}))},D6=L2.exports={enable:q6,fastKey:I6,getWeakData:k6,onFreeze:N6};w6[In]=!0});var M2=v(()=>{"use strict";var P6=N(),O6=va(),R6=Z(),L6=Fe(),M6=ga().onFreeze,vm=Object.freeze,B6=R6(function(){vm(1)});P6({target:"Object",stat:!0,forced:B6,sham:!O6},{freeze:function(e){return vm&&L6(e)?vm(M6(e)):e}})});var Ea=v((Tpe,B2)=>{"use strict";B2.exports={}});var gm=v((bpe,F2)=>{"use strict";var F6=Be(),$6=Ea(),U6=F6("iterator"),j6=Array.prototype;F2.exports=function(r){return r!==void 0&&($6.Array===r||j6[U6]===r)}});var oh=v((Cpe,U2)=>{"use strict";var V6=eu(),$2=tn(),H6=ir(),W6=Ea(),G6=Be(),z6=G6("iterator");U2.exports=function(r){if(!H6(r))return $2(r,z6)||$2(r,"@@iterator")||W6[V6(r)]}});var Em=v((Ape,j2)=>{"use strict";var X6=Ue(),Y6=Nt(),Z6=Ie(),K6=Gi(),Q6=oh(),J6=TypeError;j2.exports=function(r,e){var t=arguments.length<2?Q6(r):e;if(Y6(t))return Z6(X6(t,r));throw new J6(K6(r)+" is not iterable")}});var ym=v((Ipe,H2)=>{"use strict";var eW=Ue(),V2=Ie(),tW=tn();H2.exports=function(r,e,t){var n,i;V2(r);try{if(n=tW(r,"return"),!n){if(e==="throw")throw t;return t}n=eW(n,r)}catch(s){i=!0,n=s}if(e==="throw")throw t;if(i)throw n;return V2(n),t}});var ya=v((kpe,X2)=>{"use strict";var rW=Ki(),nW=Ue(),iW=Ie(),sW=Gi(),aW=gm(),oW=ze(),W2=en(),uW=Em(),lW=oh(),G2=ym(),cW=TypeError,uh=function(r,e){this.stopped=r,this.result=e},z2=uh.prototype;X2.exports=function(r,e,t){var n=t&&t.that,i=!!(t&&t.AS_ENTRIES),s=!!(t&&t.IS_RECORD),a=!!(t&&t.IS_ITERATOR),o=!!(t&&t.INTERRUPTED),u=rW(e,n),l,c,h,d,f,m,S,g=function(y){return l&&G2(l,"normal",y),new uh(!0,y)},E=function(y){return i?(iW(y),o?u(y[0],y[1],g):u(y[0],y[1])):o?u(y,g):u(y)};if(s)l=r.iterator;else if(a)l=r;else{if(c=lW(r),!c)throw new cW(sW(r)+" is not iterable");if(aW(c)){for(h=0,d=oW(r);d>h;h++)if(f=E(r[h]),f&&W2(z2,f))return f;return new uh(!1)}l=uW(r,c)}for(m=s?r.next:l.next;!(S=nW(m,l)).done;){try{f=E(S.value)}catch(y){G2(l,"throw",y)}if(typeof f=="object"&&f&&W2(z2,f))return f}return new uh(!1)}});var Y2=v(()=>{"use strict";var hW=N(),fW=ya(),pW=ii();hW({target:"Object",stat:!0},{fromEntries:function(e){var t={};return fW(e,function(n,i){pW(t,n,i)},{AS_ENTRIES:!0}),t}})});var Q2=v(()=>{"use strict";var dW=N(),mW=Z(),vW=at(),Z2=qt().f,K2=Ce(),gW=!K2||mW(function(){Z2(1)});dW({target:"Object",stat:!0,forced:gW,sham:!K2},{getOwnPropertyDescriptor:function(e,t){return Z2(vW(e),t)}})});var J2=v(()=>{"use strict";var EW=N(),yW=Ce(),SW=$c(),wW=at(),xW=qt(),_W=ii();EW({target:"Object",stat:!0,sham:!yW},{getOwnPropertyDescriptors:function(e){for(var t=wW(e),n=xW.f,i=SW(t),s={},a=0,o,u;i.length>a;)u=n(t,o=i[a++]),u!==void 0&&_W(s,o,u);return s}})});var eT=v(()=>{"use strict";var TW=N(),bW=Z(),CW=zc().f,AW=bW(function(){return!Object.getOwnPropertyNames(1)});TW({target:"Object",stat:!0,forced:AW},{getOwnPropertyNames:CW})});var rT=v(()=>{"use strict";var IW=N(),kW=Z(),NW=Me(),tT=sn(),qW=nh(),DW=kW(function(){tT(1)});IW({target:"Object",stat:!0,forced:DW,sham:!qW},{getPrototypeOf:function(e){return tT(NW(e))}})});var nT=v(()=>{"use strict";var PW=N(),OW=sr(),RW=J(),LW=Nt(),MW=Xe(),BW=wn(),FW=ya(),$W=OW("Object","create"),UW=RW([].push);PW({target:"Object",stat:!0},{groupBy:function(e,t){MW(e),LW(t);var n=$W(null),i=0;return FW(e,function(s){var a=BW(t(s,i++));
1a in n?UW(n[a],s):n[a]=[s]}),n}})});var iT=v(()=>{"use strict";var jW=N(),VW=Ze();jW({target:"Object",stat:!0},{hasOwn:VW})});var Sm=v((Hpe,sT)=>{"use strict";sT.exports=Object.is||function(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}});var aT=v(()=>{"use strict";var HW=N(),WW=Sm();HW({target:"Object",stat:!0},{is:WW})});var uT=v(()=>{"use strict";var GW=N(),oT=ah();GW({target:"Object",stat:!0,forced:Object.isExtensible!==oT},{isExtensible:oT})});var cT=v(()=>{"use strict";var zW=N(),XW=Z(),YW=Fe(),ZW=xt(),lT=ih(),wm=Object.isFrozen,KW=lT||XW(function(){wm(1)});zW({target:"Object",stat:!0,forced:KW},{isFrozen:function(e){return!YW(e)||lT&&ZW(e)==="ArrayBuffer"?!0:wm?wm(e):!1}})});var fT=v(()=>{"use strict";var QW=N(),JW=Z(),e7=Fe(),t7=xt(),hT=ih(),xm=Object.isSealed,r7=hT||JW(function(){xm(1)});QW({target:"Object",stat:!0,forced:r7},{isSealed:function(e){return!e7(e)||hT&&t7(e)==="ArrayBuffer"?!0:xm?xm(e):!1}})});var dT=v(()=>{"use strict";var n7=N(),i7=Me(),pT=ua(),s7=Z(),a7=s7(function(){pT(1)});n7({target:"Object",stat:!0,forced:a7},{keys:function(e){return pT(i7(e))}})});var mT=v(()=>{"use strict";var o7=N(),u7=Fe(),l7=ga().onFreeze,c7=va(),h7=Z(),_m=Object.preventExtensions,f7=h7(function(){_m(1)});o7({target:"Object",stat:!0,forced:f7,sham:!c7},{preventExtensions:function(e){return _m&&u7(e)?_m(l7(e)):e}})});var Tm=v((nde,vT)=>{"use strict";var p7=Fe();vT.exports=function(r){return p7(r)||r===null}});var wT=v(()=>{"use strict";var d7=Ce(),m7=nn(),v7=Fe(),g7=Tm(),E7=Me(),y7=Xe(),gT=Object.getPrototypeOf,ET=Object.setPrototypeOf,yT=Object.prototype,ST="__proto__";if(d7&&gT&&ET&&!(ST in yT))try{m7(yT,ST,{configurable:!0,get:function(){return gT(E7(this))},set:function(e){var t=y7(this);g7(e)&&v7(t)&&ET(t,e)}})}catch{}});var xT=v(()=>{"use strict";var S7=N(),w7=Fe(),x7=ga().onFreeze,_7=va(),T7=Z(),bm=Object.seal,b7=T7(function(){bm(1)});S7({target:"Object",stat:!0,forced:b7,sham:!_7},{seal:function(e){return bm&&w7(e)?bm(x7(e)):e}})});var TT=v((ude,_T)=>{"use strict";var C7=J(),A7=Nt();_T.exports=function(r,e,t){try{return C7(A7(Object.getOwnPropertyDescriptor(r,e)[t]))}catch{}}});var Cm=v((lde,bT)=>{"use strict";var I7=Tm(),k7=String,N7=TypeError;bT.exports=function(r){if(I7(r))return r;throw new N7("Can't set "+k7(r)+" as a prototype")}});var uu=v((cde,CT)=>{"use strict";var q7=TT(),D7=Ie(),P7=Cm();
1CT.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var r=!1,e={},t;try{t=q7(Object.prototype,"__proto__","set"),t(e,[]),r=e instanceof Array}catch{}return function(i,s){return D7(i),P7(s),r?t(i,s):i.__proto__=s,i}})():void 0)});var AT=v(()=>{"use strict";var O7=N(),R7=uu();O7({target:"Object",stat:!0},{setPrototypeOf:R7})});var IT=v(()=>{"use strict";var L7=N(),M7=fm().values;L7({target:"Object",stat:!0},{values:function(e){return M7(e)}})});var Am=v((mde,NT)=>{"use strict";var B7=Js(),kT=B7.match(/AppleWebKit\/(\d+)\./);NT.exports=!!kT&&+kT[1]});var lu=v((vde,DT)=>{"use strict";var F7=ar(),$7=Le(),U7=Z(),qT=Am();DT.exports=F7||!U7(function(){if(!(qT&&qT<535)){var r=Math.random();__defineSetter__.call(null,r,function(){}),delete $7[r]}})});var PT=v(()=>{"use strict";var j7=N(),V7=Ce(),H7=lu(),W7=Nt(),G7=Me(),z7=Ke();V7&&j7({target:"Object",proto:!0,forced:H7},{__defineGetter__:function(e,t){z7.f(G7(this),e,{get:W7(t),enumerable:!0,configurable:!0})}})});var OT=v(()=>{"use strict";var X7=N(),Y7=Ce(),Z7=lu(),K7=Nt(),Q7=Me(),J7=Ke();Y7&&X7({target:"Object",proto:!0,forced:Z7},{__defineSetter__:function(e,t){J7.f(Q7(this),e,{set:K7(t),enumerable:!0,configurable:!0})}})});var RT=v(()=>{"use strict";var eG=N(),tG=Ce(),rG=lu(),nG=Me(),iG=wn(),sG=sn(),aG=qt().f;tG&&eG({target:"Object",proto:!0,forced:rG},{__lookupGetter__:function(e){var t=nG(this),n=iG(e),i;do if(i=aG(t,n))return i.get;while(t=sG(t))}})});var LT=v(()=>{"use strict";var oG=N(),uG=Ce(),lG=lu(),cG=Me(),hG=wn(),fG=sn(),pG=qt().f;uG&&oG({target:"Object",proto:!0,forced:lG},{__lookupSetter__:function(e){var t=cG(this),n=hG(e),i;do if(i=pG(t,n))return i.set;while(t=fG(t))}})});var BT=v((bde,MT)=>{"use strict";om();m2();v2();E2();S2();k2();M2();Y2();Q2();J2();eT();rT();nT();iT();aT();uT();cT();fT();dT();mT();wT();xT();AT();IT();si();PT();OT();RT();LT();lm();th();rh();var dG=_t();MT.exports=dG.Object});var km=v((Cde,jT)=>{"use strict";var $T=J(),mG=Nt(),vG=Fe(),gG=Ze(),FT=la(),EG=Qs(),UT=Function,yG=$T([].concat),SG=$T([].join),Im={},wG=function(r,e,t){if(!gG(Im,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";Im[e]=UT("C,a","return new C("+SG(n,",")+")")}return Im[e](r,t)};jT.exports=EG?UT.bind:function(e){var t=mG(this),n=t.prototype,i=FT(arguments,1),s=function(){var o=yG(i,FT(arguments));return this instanceof s?wG(t,o.length,o):t.apply(e,o)};return vG(n)&&(s.prototype=n),s}});var HT=v(()=>{"use strict";var xG=N(),VT=km();xG({target:"Function",proto:!0,forced:Function.bind!==VT},{bind:VT})});var XT=v(()=>{"use strict";var _G=Ce(),TG=na().EXISTS,WT=J(),bG=nn(),GT=Function.prototype,CG=WT(GT.toString),zT=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,AG=WT(zT.exec),IG="name";_G&&!TG&&bG(GT,IG,{configurable:!0,get:function(){try{return AG(zT,CG(this))[1]}catch{return""}}})});var KT=v(()=>{"use strict";var kG=We(),YT=Fe(),NG=Ke(),qG=en(),DG=Be(),PG=Mc(),Nm=DG("hasInstance"),ZT=Function.prototype;Nm in ZT||NG.f(ZT,Nm,{value:PG(function(r){if(!kG(this)||!YT(r))return!1;var e=this.prototype;return YT(e)?qG(e,r):r instanceof this},Nm)})});var JT=v((Pde,QT)=>{"use strict";HT();XT();KT();var OG=_t();QT.exports=OG.Function});var cu=v((Ode,eb)=>{"use strict";eb.exports=`	
2\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var ts=v((Rde,rb)=>{"use strict";var RG=J(),LG=Xe(),MG=ke(),Dm=cu(),tb=RG("".replace),BG=RegExp("^["+Dm+"]+"),FG=RegExp("(^|[^"+Dm+"])["+Dm+"]+$"),qm=function(r){return function(e){var t=MG(LG(e));return r&1&&(t=tb(t,BG,"")),r&2&&(t=tb(t,FG,"$1")),t}};rb.exports={start:qm(1),end:qm(2),trim:qm(3)}});var Pm=v((Lde,ub)=>{"use strict";var ab=Le(),$G=Z(),UG=J(),jG=ke(),VG=ts().trim,nb=cu(),hu=ab.parseInt,ib=ab.Symbol,sb=ib&&ib.iterator,ob=/^[+-]?0x/i,HG=UG(ob.exec),WG=hu(nb+"08")!==8||hu(nb+"0x16")!==22||sb&&!$G(function(){hu(Object(sb))});ub.exports=WG?function(e,t){var n=VG(jG(e));return hu(n,t>>>0||(HG(ob,n)?16:10))}:hu});var cb=v(()=>{"use strict";var GG=N(),lb=Pm();GG({global:!0,forced:parseInt!==lb},{parseInt:lb})});var fb=v((Fde,hb)=>{"use strict";cb();var zG=_t();hb.exports=zG.parseInt});var Om=v(($de,vb)=>{"use strict";var mb=Le(),XG=Z(),YG=J(),ZG=ke(),KG=ts().trim,QG=cu(),JG=YG("".charAt),lh=mb.parseFloat,pb=mb.Symbol,db=pb&&pb.iterator,ez=1/lh(QG+"-0")!==-1/0||db&&!XG(function(){lh(Object(db))});vb.exports=ez?function(e){var t=KG(ZG(e)),n=lh(t);return n===0&&JG(t,0)==="-"?-0:n}:lh});var Eb=v(()=>{"use strict";var tz=N(),gb=Om();tz({global:!0,forced:parseFloat!==gb},{parseFloat:gb})});var Sb=v((Vde,yb)=>{"use strict";Eb();var rz=_t();yb.exports=rz.parseFloat});var ch=v((Hde,xb)=>{"use strict";var nz=We(),iz=Fe(),wb=uu();xb.exports=function(r,e,t){var n,i;return wb&&nz(n=e.constructor)&&n!==t&&iz(i=n.prototype)&&i!==t.prototype&&wb(r,i),r}});var fu=v((Wde,_b)=>{"use strict";var sz=J();_b.exports=sz(1 .valueOf)});var Nb=v(()=>{"use strict";var az=N(),Rm=ar(),oz=Ce(),Cb=Le(),Lm=_t(),Ab=J(),uz=Jo(),Tb=Ze(),lz=ch(),cz=en(),hz=ea(),Ib=qc(),fz=Z(),pz=Yi().f,dz=qt().f,mz=Ke().f,vz=fu(),gz=ts().trim,pu="Number",Sa=Cb[pu],bb=Lm[pu],Mm=Sa.prototype,Ez=Cb.TypeError,yz=Ab("".slice),hh=Ab("".charCodeAt),Sz=function(r){var e=Ib(r,"number");return typeof e=="bigint"?e:wz(e)},wz=function(r){var e=Ib(r,"number"),t,n,i,s,a,o,u,l;if(hz(e))throw new Ez("Cannot convert a Symbol value to a number");if(typeof e=="string"&&e.length>
22){if(e=gz(e),t=hh(e,0),t===43||t===45){if(n=hh(e,2),n===88||n===120)return NaN}else if(t===48){switch(hh(e,1)){case 66:case 98:i=2,s=49;break;case 79:case 111:i=8,s=55;break;default:return+e}for(a=yz(e,2),o=a.length,u=0;u<o;u++)if(l=hh(a,u),l<48||l>s)return NaN;return parseInt(a,i)}}return+e},Bm=uz(pu,!Sa(" 0o1")||!Sa("0b1")||Sa("+0x1")),xz=function(r){return cz(Mm,r)&&fz(function(){vz(r)})},fh=function(e){var t=arguments.length<1?0:Sa(Sz(e));return xz(this)?lz(Object(t),this,fh):t};fh.prototype=Mm;Bm&&!Rm&&(Mm.constructor=fh);az({global:!0,constructor:!0,wrap:!0,forced:Bm},{Number:fh});var kb=function(r,e){for(var t=oz?pz(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),n=0,i;t.length>n;n++)Tb(e,i=t[n])&&!Tb(r,i)&&mz(r,i,dz(e,i))};Rm&&bb&&kb(Lm[pu],bb);(Bm||Rm)&&kb(Lm[pu],Sa)});var qb=v(()=>{"use strict";var _z=N();_z({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})});var Pb=v((Zde,Db)=>{"use strict";var Tz=Le(),bz=Tz.isFinite;Db.exports=Number.isFinite||function(e){return typeof e=="number"&&bz(e)}});var Ob=v(()=>{"use strict";var Cz=N(),Az=Pb();Cz({target:"Number",stat:!0},{isFinite:Az})});var Fm=v((Jde,Rb)=>{"use strict";var Iz=Fe(),kz=Math.floor;Rb.exports=Number.isInteger||function(e){return!Iz(e)&&isFinite(e)&&kz(e)===e}});var Lb=v(()=>{"use strict";var Nz=N(),qz=Fm();Nz({target:"Number",stat:!0},{isInteger:qz})});var Mb=v(()=>{"use strict";var Dz=N();Dz({target:"Number",stat:!0},{isNaN:function(e){return e!==e}})});var Bb=v(()=>{"use strict";var Pz=N(),Oz=Fm(),Rz=Math.abs;Pz({target:"Number",stat:!0},{isSafeInteger:function(e){return Oz(e)&&Rz(e)<=9007199254740991}})});var Fb=v(()=>{"use strict";var Lz=N();Lz({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})});var $b=v(()=>{"use strict";var Mz=N();Mz({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})});var jb=v(()=>{"use strict";var Bz=N(),Ub=Om();Bz({target:"Number",stat:!0,forced:Number.parseFloat!==Ub},{parseFloat:Ub})});var Hb=v(()=>{"use strict";var Fz=N(),Vb=Pm();Fz({target:"Number",stat:!0,forced:Number.parseInt!==Vb},{parseInt:Vb})});var du=v((dme,Wb)=>{"use strict";var $z=yt(),Uz=ke(),jz=Xe(),Vz=RangeError;Wb.exports=function(e){var t=Uz(jz(this)),n="",i=$z(e);if(i<0||i===1/0)throw new Vz("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))i&1&&(n+=t);return n}});var $m=v((mme,Gb)=>{"use strict";var Hz=Math.log,Wz=Math.LOG10E;Gb.exports=Math.log10||function(e){return Hz(e)*Wz}});var Kb=v(()=>{"use strict";var Gz=N(),jm=J(),zz=yt(),Xz=fu(),Yz=du(),Zz=$m(),Um=Z(),Kz=RangeError,zb=String,Qz=isFinite,Jz=Math.abs,eX=Math.floor,Xb=Math.pow,tX=Math.round,an=jm(1 .toExponential),rX=jm(Yz),Yb=jm("".slice),Zb=an(-69e-12,4)==="-6.9000e-11"&&an(1.255,2)==="1.25e+0"&&an(12345,3)==="1.235e+4"&&an(25,0)==="3e+1",nX=function(){return Um(function(){an(1,1/0)})&&Um(function(){an(1,-1/0)})},iX=function(){return!Um(function(){an(1/0,1/0),an(NaN,1/0)})},sX=!Zb||!nX()||!iX();Gz({target:"Number",proto:!0,forced:sX},{toExponential:function(e){var t=Xz(this);if(e===void 0)return an(t);var n=zz(e);if(!Qz(t))return String(t);if(n<0||n>20)throw new Kz("Incorrect fraction digits");if(Zb)return an(t,n);var i="",s="",a=0,o="",u="";if(t<0&&(i="-",t=-t),t===0)a=0,s=rX("0",n+1);else{var l=Zz(t);a=eX(l);var c=0,h=Xb(10,a-n);c=tX(t/h),2*t>=(2*c+1)*h&&(c+=1),c>=Xb(10,n+1)&&(c/=10,a+=1),s=zb(c)}return n!==0&&(s=Yb(s,0,1)+"."+Yb(s,1)),a===0?(o="+",u="0"):(o=a>0?"+":"-",u=zb(Jz(a))),s+="e"+o+u,i+s}})});var n1=v(()=>{"use strict";var aX=N(),Wm=J(),oX=yt(),uX=fu(),lX=du(),Qb=Z(),cX=RangeError,t1=String,r1=Math.floor,Hm=Wm(lX),Jb=Wm("".slice),mu=Wm(1 .toFixed),xa=function(r,e,t){return e===0?t:e%2===1?xa(r,e-1,t*r):xa(r*r,e/2,t)},hX=function(r){for(var e=0,t=r;t>=4096;)e+=12,t/=4096;for(;t>=2;)e+=1,t/=2;return e},wa=function(r,e,t){for(var n=-1,i=t;++n<6;)i+=e*r[n],r[n]=i%1e7,i=r1(i/1e7)},Vm=function(r,e){for(var t=6,n=0;--t>=0;)n+=r[t],r[t]=r1(n/e),n=n%e*1e7},e1=function(r){for(var e=6,t="";--e>=0;)if(t!==""||e===0||r[e]!==0){var n=t1(r[e]);
2t=t===""?n:t+Hm("0",7-n.length)+n}return t},fX=Qb(function(){return mu(8e-5,3)!=="0.000"||mu(.9,0)!=="1"||mu(1.255,2)!=="1.25"||mu(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!Qb(function(){mu({})});aX({target:"Number",proto:!0,forced:fX},{toFixed:function(e){var t=uX(this),n=oX(e),i=[0,0,0,0,0,0],s="",a="0",o,u,l,c;if(n<0||n>20)throw new cX("Incorrect fraction digits");if(t!==t)return"NaN";if(t<=-1e21||t>=1e21)return t1(t);if(t<0&&(s="-",t=-t),t>1e-21)if(o=hX(t*xa(2,69,1))-69,u=o<0?t*xa(2,-o,1):t/xa(2,o,1),u*=4503599627370496,o=52-o,o>0){for(wa(i,0,u),l=n;l>=7;)wa(i,1e7,0),l-=7;for(wa(i,xa(10,l,1),0),l=o-1;l>=23;)Vm(i,1<<23),l-=23;Vm(i,1<<l),wa(i,1,1),Vm(i,2),a=e1(i)}else wa(i,0,u),wa(i,1<<-o,0),a=e1(i)+Hm("0",n);return n>0?(c=a.length,a=s+(c<=n?"0."+Hm("0",n-c)+a:Jb(a,0,c-n)+"."+Jb(a,c-n))):a=s+a,a}})});var a1=v(()=>{"use strict";var pX=N(),dX=J(),i1=Z(),s1=fu(),ph=dX(1 .toPrecision),mX=i1(function(){return ph(1,void 0)!=="1"})||!i1(function(){ph({})});pX({target:"Number",proto:!0,forced:mX},{toPrecision:function(e){return e===void 0?ph(s1(this)):ph(s1(this),e)}})});var u1=v((xme,o1)=>{"use strict";Nb();qb();Ob();Lb();Mb();Bb();Fb();$b();jb();Hb();Kb();n1();a1();var vX=_t();o1.exports=vX.Number});var Gm=v((_me,l1)=>{"use strict";var gX=Math.log;l1.exports=Math.log1p||function(e){var t=+e;return t>-1e-8&&t<1e-8?t-t*t/2:gX(1+t)}});var h1=v(()=>{"use strict";var EX=N(),yX=Gm(),zm=Math.acosh,SX=Math.log,c1=Math.sqrt,wX=Math.LN2,xX=!zm||Math.floor(zm(Number.MAX_VALUE))!==710||zm(1/0)!==1/0;EX({target:"Math",stat:!0,forced:xX},{acosh:function(e){var t=+e;return t<1?NaN:t>9490626562425156e-8?SX(t)+wX:yX(t-1+c1(t-1)*c1(t+1))}})});var d1=v(()=>{"use strict";var _X=N(),f1=Math.asinh,TX=Math.log,bX=Math.sqrt;function p1(r){var e=+r;return!isFinite(e)||e===0?e:e<0?-p1(-e):TX(e+bX(e*e+1))}var CX=!(f1&&1/f1(0)>0);_X({target:"Math",stat:!0,forced:CX},{asinh:p1})});var v1=v(()=>{"use strict";var AX=N(),m1=Math.atanh,IX=Math.log,kX=!(m1&&1/m1(-0)<0);AX({target:"Math",stat:!0,forced:kX},{atanh:function(e){var t=+e;return t===0?t:IX((1+t)/(1-t))/2}})});var dh=v((Nme,g1)=>{"use strict";g1.exports=Math.sign||function(e){var t=+e;return t===0||t!==t?t:t<0?-1:1}});var E1=v(()=>{"use strict";var NX=N(),qX=dh(),DX=Math.abs,PX=Math.pow;NX({target:"Math",stat:!0},{cbrt:function(e){var t=+e;return qX(t)*PX(DX(t),1/3)}})});var y1=v(()=>{"use strict";var OX=N(),RX=Math.floor,LX=Math.log,MX=Math.LOG2E;OX({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-RX(LX(t+.5)*MX):32}})});var gu=v((Rme,S1)=>{"use strict";var vu=Math.expm1,BX=Math.exp;S1.exports=!vu||vu(10)>22025.465794806718||vu(10)<22025.465794806718||vu(-2e-17)!==-2e-17?function(e){var t=+e;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:BX(t)-1}:vu});var x1=v(()=>{"use strict";var FX=N(),$X=gu(),w1=Math.cosh,UX=Math.abs,Xm=Math.E,jX=!w1||w1(710)===1/0;FX({target:"Math",stat:!0,forced:jX},{cosh:function(e){var t=$X(UX(e)-1)+1;return(t+1/(t*Xm*Xm))*(Xm/2)}})});var T1=v(()=>{"use strict";var VX=N(),_1=gu();VX({target:"Math",stat:!0,forced:_1!==Math.expm1},{expm1:_1})});var I1=v(($me,A1)=>{"use strict";var HX=dh(),WX=Math.abs,C1=2220446049250313e-31,b1=1/C1,GX=function(r){return r+b1-b1};A1.exports=function(r,e,t,n){var i=+r,s=WX(i),a=HX(i);if(s<n)return a*GX(s/n/e)*n*e;var o=(1+e/C1)*s,u=o-(o-s);return u>t||u!==u?a*(1/0):a*u}});var N1=v((Ume,k1)=>{"use strict";var zX=I1(),XX=11920928955078125e-23,YX=34028234663852886e22,ZX=11754943508222875e-54;k1.exports=Math.fround||function(e){return zX(e,XX,YX,ZX)}});var q1=v(()=>{"use strict";var KX=N(),QX=N1();KX({target:"Math",stat:!0},{fround:QX})});var P1=v(()=>{"use strict";var JX=N(),D1=Math.hypot,eY=Math.abs,tY=Math.sqrt,rY=!!D1&&D1(1/0,NaN)!==1/0;JX({target:"Math",stat:!0,arity:2,forced:rY},{hypot:function(e,t){for(var n=0,i=0,s=arguments.length,a=0,o,u;i<s;)o=eY(arguments[i++]),a<o?(u=a/o,n=n*u*u+1,a=o):o>0?(u=o/a,n+=u*u):n+=o;return a===1/0?1/0:a*tY(n)}})});var R1=v(()=>{"use strict";var nY=N(),iY=Z(),O1=Math.imul,sY=iY(function(){return O1(4294967295,5)!==-5||O1.length!==2});nY({target:"Math",stat:!0,forced:sY},{imul:function(e,t){var n=65535,i=+e,s=+t,a=n&i,o=n&s;return 0|a*o+((n&i>>>16)*o+a*(n&s>>>16)<<16>>>0)}})});var L1=v(()=>{"use strict";var aY=N(),oY=$m();aY({target:"Math",stat:!0},{log10:oY})});var M1=v(()=>{"use strict";var uY=N(),lY=Gm();uY({target:"Math",stat:!0},{log1p:lY})});var B1=v(()=>{"use strict";var cY=N(),hY=Math.log,fY=Math.LN2;cY({target:"Math",stat:!0},{log2:function(e){return hY(e)/fY}})});var F1=v(()=>{"use strict";var pY=N(),dY=dh();pY({target:"Math",stat:!0},{sign:dY})});var j1=v(()=>{"use strict";
2var mY=N(),vY=Z(),$1=gu(),gY=Math.abs,U1=Math.exp,EY=Math.E,yY=vY(function(){return Math.sinh(-2e-17)!==-2e-17});mY({target:"Math",stat:!0,forced:yY},{sinh:function(e){var t=+e;return gY(t)<1?($1(t)-$1(-t))/2:(U1(t-1)-U1(-t-1))*(EY/2)}})});var W1=v(()=>{"use strict";var SY=N(),V1=gu(),H1=Math.exp;SY({target:"Math",stat:!0},{tanh:function(e){var t=+e,n=V1(t),i=V1(-t);return n===1/0?1:i===1/0?-1:(n-i)/(H1(t)+H1(-t))}})});var G1=v(()=>{"use strict";var wY=N(),xY=Ld();wY({target:"Math",stat:!0},{trunc:xY})});var X1=v((uve,z1)=>{"use strict";h1();d1();v1();E1();y1();x1();T1();q1();P1();R1();L1();M1();B1();F1();j1();W1();th();G1();var _Y=_t();z1.exports=_Y.Math});var mh=v((lve,Y1)=>{"use strict";var TY=Ie();Y1.exports=function(){var r=TY(this),e="";return r.hasIndices&&(e+="d"),r.global&&(e+="g"),r.ignoreCase&&(e+="i"),r.multiline&&(e+="m"),r.dotAll&&(e+="s"),r.unicode&&(e+="u"),r.unicodeSets&&(e+="v"),r.sticky&&(e+="y"),e}});var Eu=v((cve,Z1)=>{"use strict";var Ym=Z(),bY=Le(),Zm=bY.RegExp,Km=Ym(function(){var r=Zm("a","y");return r.lastIndex=2,r.exec("abcd")!==null}),CY=Km||Ym(function(){return!Zm("a","y").sticky}),AY=Km||Ym(function(){var r=Zm("^r","gy");return r.lastIndex=2,r.exec("str")!==null});Z1.exports={BROKEN_CARET:AY,MISSED_STICKY:CY,UNSUPPORTED_Y:Km}});var vh=v((hve,K1)=>{"use strict";var IY=Z(),kY=Le(),NY=kY.RegExp;K1.exports=IY(function(){var r=NY(".","s");return!(r.dotAll&&r.test(`
3`)&&r.flags==="s")})});var Qm=v((fve,Q1)=>{"use strict";var qY=Z(),DY=Le(),PY=DY.RegExp;Q1.exports=qY(function(){var r=PY("(?<a>b)","g");return r.exec("b").groups.a!=="b"||"b".replace(r,"$<a>c")!=="bc"})});var yh=v((pve,eC)=>{"use strict";var _a=Ue(),Eh=J(),OY=ke(),RY=mh(),LY=Eu(),MY=zi(),BY=rn(),FY=Lr().get,$Y=vh(),UY=Qm(),jY=MY("native-string-replace",String.prototype.replace),gh=RegExp.prototype.exec,ev=gh,VY=Eh("".charAt),HY=Eh("".indexOf),WY=Eh("".replace),Jm=Eh("".slice),tv=(function(){var r=
3/a/,e=/b*/g;return _a(gh,r,"a"),_a(gh,e,"a"),r.lastIndex!==0||e.lastIndex!==0})(),J1=LY.BROKEN_CARET,rv=/()??/.exec("")[1]!==void 0,GY=tv||rv||J1||$Y||UY;GY&&(ev=function(e){var t=this,n=FY(t),i=OY(e),s=n.raw,a,o,u,l,c,h,d;if(s)return s.lastIndex=t.lastIndex,a=_a(ev,s,i),t.lastIndex=s.lastIndex,a;var f=n.groups,m=J1&&t.sticky,S=_a(RY,t),g=t.source,E=0,y=i;if(m&&(S=WY(S,"y",""),HY(S,"g")===-1&&(S+="g"),y=Jm(i,t.lastIndex),t.lastIndex>0&&(!t.multiline||t.multiline&&VY(i,t.lastIndex-1)!==`
4`)&&(g="(?: "+g+")",y=" "+y,E++),o=new RegExp("^(?:"+g+")",S)),rv&&(o=new RegExp("^"+g+"$(?!\\s)",S)),tv&&(u=t.lastIndex),l=_a(gh,m?o:t,y),m?l?(l.input=Jm(l.input,E),l[0]=Jm(l[0],E),l.index=t.lastIndex,t.lastIndex+=l[0].length):t.lastIndex=0:tv&&l&&(t.lastIndex=t.global?l.index+l[0].length:u),rv&&l&&l.length>1&&_a(jY,l[0],o,function(){for(c=1;c<arguments.length-2;c++)arguments[c]===void 0&&(l[c]=void 0)}),l&&f)for(l.groups=h=BY(null),c=0;c<f.length;c++)d=f[c],h[d[0]]=l[d[1]];return l});eC.exports=ev});var yu=v(()=>{"use strict";var zY=N(),tC=yh();zY({target:"RegExp",proto:!0,forced:/./.exec!==tC},{exec:tC})});var iC=v(()=>{"use strict";var XY=N(),YY=J(),ZY=ni(),KY=RangeError,rC=String.fromCharCode,nC=String.fromCodePoint,QY=YY([].join),JY=!!nC&&nC.length!==1;XY({target:"String",stat:!0,arity:1,forced:JY},{fromCodePoint:function(e){for(var t=[],n=arguments.length,i=0,s;n>i;){if(s=+arguments[i++],ZY(s,1114111)!==s)throw new KY(s+" is not a valid code point");t[i]=s<65536?rC(s):rC(((s-=65536)>>10)+55296,s%1024+56320)}return QY(t,"")}})});var uC=v(()=>{"use strict";var eZ=N(),oC=J(),tZ=at(),rZ=Me(),sC=ke(),nZ=ze(),aC=oC([].push),iZ=oC([].join);eZ({target:"String",stat:!0},{raw:function(e){var t=tZ(rZ(e).raw),n=nZ(t);if(!n)return"";for(var i=arguments.length,s=[],a=0;;){if(aC(s,sC(t[a++])),a===n)return iZ(s,"");a<i&&aC(s,sC(arguments[a]))}}})});var Sh=v((Sve,hC)=>{"use strict";var nv=J(),sZ=yt(),aZ=ke(),oZ=Xe(),uZ=nv("".charAt),lC=nv("".charCodeAt),lZ=nv("".slice),cC=function(r){return function(e,t){var n=aZ(oZ(e)),i=sZ(t),s=n.length,a,o;return i<0||i>=s?r?"":void 0:(a=lC(n,i),a<55296||a>56319||i+1===s||(o=lC(n,i+1))<56320||o>57343?r?uZ(n,i):a:r?lZ(n,i,i+2):(a-55296<<10)+(o-56320)+65536)}};hC.exports={codeAt:cC(!1),charAt:cC(!0)}});var fC=v(()=>{"use strict";var cZ=N(),hZ=Sh().codeAt;cZ({target:"String",proto:!0},{codePointAt:function(e){return hZ(this,e)}})});var pC=v(()=>{"use strict";var fZ=N(),pZ=J(),dZ=Xe(),mZ=yt(),vZ=ke(),gZ=Z(),EZ=pZ("".charAt),yZ=gZ(function(){return"\u{20BB7}".at(-2)!=="\uD842"});fZ({target:"String",proto:!0,forced:yZ},{at:function(e){var t=vZ(dZ(this)),n=t.length,i=mZ(e),s=i>=0?i:n+i;return s<0||s>=n?void 0:EZ(t,s)}})});var Su=v((bve,dC)=>{"use strict";var SZ=Fe(),wZ=xt(),xZ=Be(),_Z=xZ("match");dC.exports=function(r){var e;return SZ(r)&&((e=r[_Z])!==void 0?!!e:wZ(r)==="RegExp")}});var wh=v((Cve,mC)=>{"use strict";var TZ=Su(),bZ=TypeError;mC.exports=function(r){if(TZ(r))throw new bZ("The method doesn't accept regular expressions");return r}});var xh=v((Ave,vC)=>{"use strict";var CZ=Be(),AZ=CZ("match");vC.exports=function(r){var e=/./;try{"/./"[r](e)}catch{try{return e[AZ]=!1,"/./"[r](e)}catch{}}return!1}});var yC=v(()=>{"use strict";var IZ=N(),kZ=ca(),NZ=qt().f,qZ=xn(),gC=ke(),DZ=wh(),PZ=Xe(),OZ=xh(),RZ=ar(),LZ=kZ("".slice),MZ=Math.min,EC=OZ("endsWith"),BZ=!RZ&&!EC&&!!(function(){var r=NZ(String.prototype,"endsWith");return r&&!r.writable})();IZ({target:"String",proto:!0,forced:!BZ&&!EC},{endsWith:function(e){var t=gC(PZ(this));DZ(e);var n=arguments.length>1?arguments[1]:void 0,i=t.length,s=n===void 0?i:MZ(qZ(n),i),a=gC(e);return LZ(t,s-a.length,s)===a}})});var wC=v(()=>{"use strict";var FZ=N(),$Z=J(),UZ=wh(),jZ=Xe(),SC=ke(),VZ=xh(),HZ=$Z("".indexOf);FZ({target:"String",proto:!0,forced:!VZ("includes")},{includes:function(e){return!!~HZ(SC(jZ(this)),SC(UZ(e)),arguments.length>1?arguments[1]:void 0)}})});var _C=v(()=>{"use strict";var WZ=N(),GZ=J(),zZ=Xe(),XZ=ke(),xC=GZ("".charCodeAt);WZ({target:"String",proto:!0},{isWellFormed:function(){for(var e=XZ(zZ(this)),t=e.length,n=0;n<t;n++){var i=xC(e,n);
4if((i&63488)===55296&&(i>=56320||++n>=t||(xC(e,n)&64512)!==56320))return!1}return!0}})});var wu=v((Ove,IC)=>{"use strict";yu();var TC=Ue(),bC=Dt(),YZ=yh(),CC=Z(),AC=Be(),ZZ=ra(),KZ=AC("species"),iv=RegExp.prototype;IC.exports=function(r,e,t,n){var i=AC(r),s=!CC(function(){var l={};return l[i]=function(){return 7},""[r](l)!==7}),a=s&&!CC(function(){var l=!1,c=/a/;return r==="split"&&(c={},c.constructor={},c.constructor[KZ]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!s||!a||t){var o=/./[i],u=e(i,""[r],function(l,c,h,d,f){var m=c.exec;return m===YZ||m===iv.exec?s&&!f?{done:!0,value:TC(o,c,h,d)}:{done:!0,value:TC(l,h,c,d)}:{done:!1}});bC(String.prototype,r,u[0]),bC(iv,i,u[1])}n&&ZZ(iv[i],"sham",!0)}});var xu=v((Rve,kC)=>{"use strict";var QZ=Sh().charAt;kC.exports=function(r,e,t){return e+(t?QZ(r,e).length:1)}});var Ta=v((Lve,qC)=>{"use strict";var NC=Ue(),JZ=Ie(),eK=We(),tK=xt(),rK=yh(),nK=TypeError;qC.exports=function(r,e){var t=r.exec;if(eK(t)){var n=NC(t,r,e);return n!==null&&JZ(n),n}if(tK(r)==="RegExp")return NC(rK,r,e);throw new nK("RegExp#exec called on incompatible receiver")}});var av=v(()=>{"use strict";var iK=Ue(),sK=wu(),aK=Ie(),oK=ir(),uK=xn(),sv=ke(),lK=Xe(),cK=tn(),hK=xu(),DC=Ta();sK("match",function(r,e,t){return[function(i){var s=lK(this),a=oK(i)?void 0:cK(i,r);return a?iK(a,i,s):new RegExp(i)[r](sv(s))},function(n){var i=aK(this),s=sv(n),a=t(e,i,s);if(a.done)return a.value;if(!i.global)return DC(i,s);var o=i.unicode;i.lastIndex=0;for(var u=[],l=0,c;(c=DC(i,s))!==null;){var h=sv(c[0]);u[l]=h,h===""&&(i.lastIndex=hK(s,uK(i.lastIndex),o)),l++}return l===0?null:u}]})});var cv=v((Fve,RC)=>{"use strict";var fK=Z(),pK=We(),dK=Fe(),mK=rn(),PC=sn(),vK=Dt(),gK=Be(),EK=ar(),lv=gK("iterator"),OC=!1,kn,ov,uv;[].keys&&(uv=[].keys(),"next"in uv?(ov=PC(PC(uv)),ov!==Object.prototype&&(kn=ov)):OC=!0);var yK=!dK(kn)||fK(function(){var r={};return kn[lv].call(r)!==r});yK?kn={}:EK&&(kn=mK(kn));pK(kn[lv])||vK(kn,lv,function(){return this});RC.exports={IteratorPrototype:kn,BUGGY_SAFARI_ITERATORS:OC}});var hv=v(($ve,LC)=>{"use strict";var SK=cv().IteratorPrototype,wK=rn(),xK=ji(),_K=Tn(),TK=Ea(),bK=function(){return this};LC.exports=function(r,e,t,n){var i=e+" Iterator";return r.prototype=wK(SK,{next:xK(+!n,t)}),_K(r,i,!1,!0),TK[i]=bK,r}});var _u=v((Uve,MC)=>{"use strict";MC.exports=function(r,e){return{value:r,done:e}}});var Tu=v((jve,FC)=>{"use strict";var CK=Ue(),AK=Ze(),IK=en(),kK=mh(),BC=RegExp.prototype;FC.exports=function(r){var e=r.flags;return e===void 0&&!("flags"in BC)&&!AK(r,"flags")&&IK(BC,r)?CK(kK,r):e}});var fv=v((Vve,$C)=>{"use strict";var NK=sa(),qK=Gi(),DK=TypeError;$C.exports=function(r){if(NK(r))return r;throw new DK(qK(r)+" is not a constructor")}});var pv=v((Hve,jC)=>{"use strict";var UC=Ie(),PK=fv(),OK=ir(),RK=Be(),LK=RK("species");jC.exports=function(r,e){var t=UC(r).constructor,n;return t===void 0||OK(n=UC(t)[LK])?e:PK(n)}});var QC=v(()=>{"use strict";var MK=N(),VC=Ue(),GC=ca(),BK=hv(),_h=_u(),HC=Xe(),zC=xn(),bu=ke(),FK=Ie(),$K=ir(),UK=xt(),jK=Su(),XC=Tu(),VK=tn(),HK=Dt(),WK=Z(),GK=Be(),zK=pv(),XK=xu(),YK=Ta(),YC=Lr(),mv=ar(),Th=GK("matchAll"),ZC="RegExp String",KC=ZC+" Iterator",ZK=YC.set,KK=YC.getterFor(KC),WC=RegExp.prototype,QK=TypeError,vv=GC("".indexOf),bh=GC("".matchAll),dv=!!bh&&!WK(function(){bh("a",/./)}),JK=BK(function(e,t,n,i){ZK(this,{type:KC,regexp:e,string:t,global:n,unicode:i,done:!1})},ZC,function(){var e=KK(this);if(e.done)return _h(void 0,!0);var t=e.regexp,n=e.string,i=YK(t,n);return i===null?(e.done=!0,_h(void 0,!0)):e.global?(bu(i[0])===""&&(t.lastIndex=XK(n,zC(t.lastIndex),e.unicode)),_h(i,!1)):(e.done=!0,_h(i,!1))}),gv=function(r){var e=FK(this),t=bu(r),n=zK(e,RegExp),i=bu(XC(e)),s,a,o;return s=new n(n===RegExp?e.source:e,i),a=!!~vv(i,"g"),o=!!~vv(i,"u"),s.lastIndex=zC(e.lastIndex),new JK(s,t,a,o)};MK({target:"String",proto:!0,forced:dv},{matchAll:function(e){var t=HC(this),n,i,s,a;if($K(e)){if(dv)return bh(t,e)}else{if(jK(e)&&(n=bu(HC(XC(e))),!~vv(n,"g")))throw new QK("`.matchAll` does not allow non-global regexes");if(dv)return bh(t,e);if(s=VK(e,Th),s===void 0&&mv&&UK(e)==="RegExp"&&(s=gv),s)return VC(s,e,t)}return i=bu(t),a=new RegExp(e,"g"),mv?VC(gv,a,i):a[Th](i)}});mv||Th in WC||HK(WC,Th,gv)});var Ch=v((zve,rA)=>{"use strict";var tA=J(),eQ=xn(),JC=ke(),tQ=du(),rQ=Xe(),nQ=tA(tQ),iQ=tA("".slice),sQ=Math.ceil,eA=function(r){return function(e,t,n){var i=JC(rQ(e)),s=eQ(t),a=i.length,o=n===void 0?" ":JC(n),u,l;return s<=a||o===""?i:(u=s-a,l=nQ(o,sQ(u/o.length)),l.length>u&&(l=iQ(l,0,u)),r?i+l:l+i)}};rA.exports={start:eA(!1),end:eA(!0)}});var Ev=v((Xve,nA)=>{"use strict";var aQ=Js();
vendor: 1,558 bytes, line 4
4nA.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(aQ)});var iA=v(()=>{"use strict";var oQ=N(),uQ=Ch().end,lQ=Ev();oQ({target:"String",proto:!0,forced:lQ},{padEnd:function(e){return uQ(this,e,arguments.length>1?arguments[1]:void 0)}})});var sA=v(()=>{"use strict";var cQ=N(),hQ=Ch().start,fQ=Ev();cQ({target:"String",proto:!0,forced:fQ},{padStart:function(e){return hQ(this,e,arguments.length>1?arguments[1]:void 0)}})});var aA=v(()=>{"use strict";var pQ=N(),dQ=du();pQ({target:"String",proto:!0},{repeat:dQ})});var xv=v((tge,oA)=>{"use strict";var wv=J(),mQ=Me(),vQ=Math.floor,yv=wv("".charAt),gQ=wv("".replace),Sv=wv("".slice),EQ=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,yQ=/\$([$&'`]|\d{1,2})/g;oA.exports=function(r,e,t,n,i,s){var a=t+r.length,o=n.length,u=yQ;return i!==void 0&&(i=mQ(i),u=EQ),gQ(s,u,function(l,c){var h;switch(yv(c,0)){case"$":return"$";case"&":return r;case"`":return Sv(e,0,t);case"'":return Sv(e,a);case"<":h=i[Sv(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>o){var f=vQ(d/10);return f===0?l:f<=o?n[f-1]===void 0?yv(c,1):n[f-1]+yv(c,1):l}h=n[d-1]}return h===void 0?"":h})}});var bv=v(()=>{"use strict";var SQ=da(),uA=Ue(),Ah=J(),wQ=wu(),xQ=Z(),_Q=Ie(),TQ=We(),bQ=ir(),CQ=yt(),AQ=xn(),ba=ke(),IQ=Xe(),kQ=xu(),NQ=tn(),qQ=xv(),DQ=Ta(),PQ=Be(),Tv=PQ("replace"),OQ=Math.max,RQ=Math.min,LQ=Ah([].concat),_v=Ah([].push),lA=Ah("".indexOf),cA=Ah("".slice),MQ=function(r){return r===void 0?r:String(r)},BQ=(function(){return"a".replace(/./,"$0")==="$0"})(),hA=(function(){return/./[Tv]?/./[Tv]("a","$0")==="":!1}
vendor: 2,293 bytes, line 4
4)(),FQ=!xQ(function(){var r=/./;return r.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(r,"$<a>")!=="7"});wQ("replace",function(r,e,t){var n=hA?"$":"$0";return[function(s,a){var o=IQ(this),u=bQ(s)?void 0:NQ(s,Tv);return u?uA(u,s,o,a):uA(e,ba(o),s,a)},function(i,s){var a=_Q(this),o=ba(i);if(typeof s=="string"&&lA(s,n)===-1&&lA(s,"$<")===-1){var u=t(e,a,o,s);if(u.done)return u.value}var l=TQ(s);l||(s=ba(s));var c=a.global,h;c&&(h=a.unicode,a.lastIndex=0);for(var d=[],f;f=DQ(a,o),!(f===null||(_v(d,f),!c));){var m=ba(f[0]);m===""&&(a.lastIndex=kQ(o,AQ(a.lastIndex),h))}for(var S="",g=0,E=0;E<d.length;E++){f=d[E];for(var y=ba(f[0]),x=OQ(RQ(CQ(f.index),o.length),0),b=[],C,_=1;_<f.length;_++)_v(b,MQ(f[_]));var k=f.groups;if(l){var O=LQ([y],b,x,o);k!==void 0&&_v(O,k),C=ba(SQ(s,void 0,O))}else C=qQ(y,o,x,b,k,s);x>=g&&(S+=cA(o,g,x)+C,g=x+y.length)}return S+cA(o,g)}]},!FQ||!BQ||hA)});var dA=v(()=>{"use strict";var $Q=N(),UQ=Ue(),Av=J(),fA=Xe(),jQ=We(),VQ=ir(),HQ=Su(),Ca=ke(),WQ=tn(),GQ=Tu(),zQ=xv(),XQ=Be(),YQ=ar(),ZQ=XQ("replace"),KQ=TypeError,Cv=Av("".indexOf),QQ=Av("".replace),pA=Av("".slice),JQ=Math.max;$Q({target:"String",proto:!0},{replaceAll:function(e,t){var n=fA(this),i,s,a,o,u,l,c,h,d,f=0,m=0,S="";if(!VQ(e)){if(i=HQ(e),i&&(s=Ca(fA(GQ(e))),!~Cv(s,"g")))throw new KQ("`.replaceAll` does not allow non-global regexes");if(a=WQ(e,ZQ),a)return UQ(a,e,n,t);if(YQ&&i)return QQ(Ca(n),e,t)}for(o=Ca(n),u=Ca(e),l=jQ(t),l||(t=Ca(t)),c=u.length,h=JQ(1,c),f=Cv(o,u);f!==-1;)d=l?Ca(t(u,f,o)):zQ(u,o,f,[],void 0,t),S+=pA(o,m,f)+d,m=f+c,f=f+h>o.length?-1:Cv(o,u,f+h);return m<o.length&&(S+=pA(o,m)),S}})});var Iv=v(()=>{"use strict";var eJ=Ue(),tJ=wu(),rJ=Ie(),nJ=ir(),iJ=Xe(),mA=Sm(),vA=ke(),sJ=tn(),aJ=Ta();tJ("search",function(r,e,t){return[function(i){var s=iJ(this),a=nJ(i)?void 0:sJ(i,r);return a?eJ(a,i,s):new RegExp(i)[r](vA(s))},function(n){var i=rJ(this),s=vA(n),a=t(e,i,s);if(a.done)return a.value;var o=i.lastIndex;mA(o,0)||(i.lastIndex=0);var u=aJ(i,s);return mA(i.lastIndex,o)||(i.lastIndex=o),u===null?-1:u.index}]})});var Dv=v(()=>{"use strict";var kv=Ue(),SA=J(),oJ=wu(),uJ=Ie(),lJ=ir(),cJ=Xe(),hJ=pv(),fJ=xu(),pJ=xn(),gA=ke(),dJ=tn(),EA=Ta(),mJ=Eu(),vJ=Z(),Aa=mJ.UNSUPPORTED_Y,gJ=4294967295,EJ=Math.min,Nv=SA([].push),qv=SA("".slice),yJ=!vJ(function(){var r=
4/(?:)/,e=r.exec;r.exec=function(){return e.apply(this,arguments)};var t="ab".split(r);return t.length!==2||t[0]!=="a"||t[1]!=="b"}),yA="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;oJ("split",function(r,e,t){var n="0".split(void 0,0).length?function(i,s){return i===void 0&&s===0?[]:kv(e,this,i,s)}:e;return[function(s,a){var o=cJ(this),u=lJ(s)?void 0:dJ(s,r);return u?kv(u,s,o,a):kv(n,gA(o),s,a)},function(i,s){var a=uJ(this),o=gA(i);if(!yA){var u=t(n,a,o,s,n!==e);if(u.done)return u.value}var l=hJ(a,RegExp),c=a.unicode,h=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Aa?"g":"y"),d=new l(Aa?"^(?:"+a.source+")":a,h),f=s===void 0?gJ:s>>>0;if(f===0)return[];if(o.length===0)return EA(d,o)===null?[o]:[];for(var m=0,S=0,g=[];S<o.length;){d.lastIndex=Aa?0:S;var E=EA(d,Aa?qv(o,S):o),y;if(E===null||(y=EJ(pJ(d.lastIndex+(Aa?S:0)),o.length))===m)S=fJ(o,S,c);else{if(Nv(g,qv(o,m,S)),g.length===f)return g;for(var x=1;x<=E.length-1;x++)if(Nv(g,E[x]),g.length===f)return g;S=m=y}}return Nv(g,qv(o,m)),g}]},yA||!yJ,Aa)});var _A=v(()=>{"use strict";var SJ=N(),wJ=ca(),xJ=qt().f,_J=xn(),wA=ke(),TJ=wh(),bJ=Xe(),CJ=xh(),AJ=ar(),IJ=wJ("".slice),kJ=Math.min,xA=CJ("startsWith"),NJ=!AJ&&!xA&&!!(function(){var r=xJ(String.prototype,"startsWith");return r&&!r.writable})();SJ({target:"String",proto:!0,forced:!NJ&&!xA},{startsWith:function(e){var t=wA(bJ(this));TJ(e);var n=_J(kJ(arguments.length>1?arguments[1]:void 0,t.length)),i=wA(e);return IJ(t,n,n+i.length)===i}})});var bA=v(()=>{"use strict";var qJ=N(),DJ=J(),PJ=Xe(),TA=yt(),OJ=ke(),RJ=DJ("".slice),LJ=Math.max,MJ=Math.min,BJ=!"".substr||"ab".substr(-1)!=="b";qJ({target:"String",proto:!0,forced:BJ},{substr:function(e,t){var n=OJ(PJ(this)),i=n.length,s=TA(e),a,o;return s===1/0&&(s=0),s<0&&(s=LJ(i+s,0)),a=t===void 0?i:TA(t),a<=0||a===1/0?"":(o=MJ(s+a,i),s>=o?"":RJ(n,s,o))}})});var kA=v(()=>{"use strict";var FJ=N(),IA=Ue(),Rv=J(),$J=Xe(),UJ=ke(),jJ=Z(),VJ=Array,Pv=Rv("".charAt),CA=Rv("".charCodeAt),HJ=Rv([].join),Ov="".toWellFormed,WJ="\uFFFD",AA=Ov&&jJ(function(){return IA(Ov,1)!=="1"});FJ({target:"String",proto:!0,forced:AA},{toWellFormed:function(){var e=UJ($J(this));if(AA)return IA(Ov,e);for(var t=e.length,n=VJ(t),i=0;i<t;i++){var s=CA(e,i);(s&63488)!==55296?n[i]=Pv(e,i):s>=56320||i+1>=t||(CA(e,i+1)&64512)!==56320?n[i]=WJ:(n[i]=Pv(e,i),n[++i]=Pv(e,i))}return HJ(n,"")}})});var Ih=v((vge,DA)=>{"use strict";var GJ=na().PROPER,zJ=Z(),NA=cu(),qA="\u200B\x85\u180E";DA.exports=function(r){return zJ(function(){return!!NA[r]()||qA[r]()!==qA||GJ&&NA[r].name!==r})}});var PA=v(()=>{"use strict";var XJ=N(),YJ=ts().trim,ZJ=Ih();XJ({target:"String",proto:!0,forced:ZJ("trim")},{trim:function(){return YJ(this)}})});var Lv=v((yge,OA)=>{"use strict";var KJ=ts().start,QJ=Ih();OA.exports=QJ("trimStart")?function(){return KJ(this)}:"".trimStart});var LA=v(()=>{"use strict";var JJ=N(),RA=Lv();JJ({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==RA},{trimLeft:RA})});var BA=v(()=>{"use strict";LA();var eee=N(),MA=Lv();eee({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==MA},{trimStart:MA})});var Mv=v((Tge,FA)=>{"use strict";var tee=ts().end,ree=Ih();FA.exports=ree("trimEnd")?function(){return tee(this)}:"".trimEnd});var UA=v(()=>{"use strict";var nee=N(),$A=Mv();nee({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==$A},{trimRight:$A})});var VA=v(()=>{"use strict";UA();var iee=N(),jA=Mv();iee({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==jA},{trimEnd:jA})});var qh=v((kge,JA)=>{"use strict";var see=N(),aee=Ue(),kh=ar(),KA=na(),oee=We(),uee=hv(),HA=sn(),WA=uu(),lee=Tn(),cee=ra(),Bv=Dt(),hee=Be(),GA=Ea(),QA=cv(),fee=KA.PROPER,pee=KA.CONFIGURABLE,zA=QA.IteratorPrototype,Nh=QA.BUGGY_SAFARI_ITERATORS,Cu=hee("iterator"),XA="keys",Au="values",YA="entries",ZA=function(){return this};JA.exports=function(r,e,t,n,i,s,a){uee(t,e,n);var o=function(E){if(E===i&&d)return d;if(!Nh&&E&&E in c)return c[E];switch(E){case XA:return function(){return new t(this,E)};case Au:return function(){return new t(this,E)};case YA:return function(){return new t(this,E)}}return function(){return new t(this)}},u=e+" Iterator",l=!1,c=r.prototype,h=c[Cu]||c["@@iterator"]||i&&c[i],d=!Nh&&h||o(i),f=e==="Array"&&c.entries||h,m,S,g;if(f&&(m=HA(f.call(new r)),m!==Object.prototype&&m.next&&(!kh&&HA(m)!==zA&&(WA?WA(m,zA):oee(m[Cu])||Bv(m,Cu,ZA)),lee(m,u,!0,!0),kh&&(GA[u]=ZA))),fee&&i===Au&&h&&h.name!==Au&&(!kh&&pee?cee(c,"name",Au):(l=!0,d=function(){return aee(h,this)})),i)if(S={values:o(Au),keys:s?d:o(XA),entries:o(YA)},a)for(g in S)(Nh||l||!(g in c))&&Bv(c,g,S[g]);else see({target:e,proto:!0,forced:Nh||l},S);return(!kh||a)&&c[Cu]!==d&&Bv(c,Cu,d,{name:i}),GA[e]=d,S}});var Iu=v(()=>{"use strict";var dee=Sh().charAt,mee=ke(),tI=Lr(),vee=qh(),eI=_u(),rI="String Iterator",gee=tI.set,Eee=tI.getterFor(rI);vee(String,"String",function(r){gee(this,{type:rI,string:mee(r),index:0})},function(){var e=Eee(this),t=e.string,n=e.index,i;return n>=t.length?eI(void 0,!0):(i=dee(t,n),e.index+=i.length,eI(i,!1))})});var Wt=v((Dge,iI)=>{"use strict";var yee=J(),See=Xe(),nI=ke(),wee=/"/g,xee=yee("".replace);iI.exports=function(r,e,t,n){var i=nI(See(r)),s="<"+e;return t!==""&&(s+=" "+t+'="'+xee(nI(n),wee,"&quot;")+'"'),s+">"+i+"</"+e+">"}}
4);var Gt=v((Pge,sI)=>{"use strict";var _ee=Z();sI.exports=function(r){return _ee(function(){var e=""[r]('"');return e!==e.toLowerCase()||e.split('"').length>3})}});var aI=v(()=>{"use strict";var Tee=N(),bee=Wt(),Cee=Gt();Tee({target:"String",proto:!0,forced:Cee("anchor")},{anchor:function(e){return bee(this,"a","name",e)}})});var oI=v(()=>{"use strict";var Aee=N(),Iee=Wt(),kee=Gt();Aee({target:"String",proto:!0,forced:kee("big")},{big:function(){return Iee(this,"big","","")}})});var uI=v(()=>{"use strict";var Nee=N(),qee=Wt(),Dee=Gt();Nee({target:"String",proto:!0,forced:Dee("blink")},{blink:function(){return qee(this,"blink","","")}})});var lI=v(()=>{"use strict";var Pee=N(),Oee=Wt(),Ree=Gt();Pee({target:"String",proto:!0,forced:Ree("bold")},{bold:function(){return Oee(this,"b","","")}})});var cI=v(()=>{"use strict";var Lee=N(),Mee=Wt(),Bee=Gt();Lee({target:"String",proto:!0,forced:Bee("fixed")},{fixed:function(){return Mee(this,"tt","","")}})});var hI=v(()=>{"use strict";var Fee=N(),$ee=Wt(),Uee=Gt();Fee({target:"String",proto:!0,forced:Uee("fontcolor")},{fontcolor:function(e){return $ee(this,"font","color",e)}})});var fI=v(()=>{"use strict";var jee=N(),Vee=Wt(),Hee=Gt();jee({target:"String",proto:!0,forced:Hee("fontsize")},{fontsize:function(e){return Vee(this,"font","size",e)}})});var pI=v(()=>{"use strict";var Wee=N(),Gee=Wt(),zee=Gt();Wee({target:"String",proto:!0,forced:zee("italics")},{italics:function(){return Gee(this,"i","","")}})});var dI=v(()=>{"use strict";var Xee=N(),Yee=Wt(),Zee=Gt();Xee({target:"String",proto:!0,forced:Zee("link")},{link:function(e){return Yee(this,"a","href",e)}})});var mI=v(()=>{"use strict";var Kee=N(),Qee=Wt(),Jee=Gt();Kee({target:"String",proto:!0,forced:Jee("small")},{small:function(){return Qee(this,"small","","")}})});var vI=v(()=>{"use strict";var ete=N(),tte=Wt(),rte=Gt();ete({target:"String",proto:!0,forced:rte("strike")},{strike:function(){return tte(this,"strike","","")}})});var gI=v(()=>{"use strict";var nte=N(),ite=Wt(),ste=Gt();nte({target:"String",proto:!0,forced:ste("sub")},{sub:function(){return ite(this,"sub","","")}})});var EI=v(()=>{"use strict";var ate=N(),ote=Wt(),ute=Gt();ate({target:"String",proto:!0,forced:ute("sup")},{sup:function(){return ote(this,"sup","","")}})});var SI=v((aEe,yI)=>{"use strict";si();yu();iC();uC();fC();pC();yC();wC();_C();av();QC();iA();sA();aA();bv();dA();Iv();Dv();_A();bA();kA();PA();BA();VA();Iu();aI();oI();uI();lI();cI();hI();fI();pI();dI();mI();vI();gI();EI();var lte=_t();yI.exports=lte.String});var wI=v(()=>{"use strict";var cte=N(),hte=J(),fte=Z(),pte=fte(function(){return new Date(16e11).getYear()!==120}),dte=hte(Date.prototype.getFullYear);cte({target:"Date",proto:!0,forced:pte},{getYear:function(){return dte(this)-1900}})});var _I=v(()=>{"use strict";var mte=N(),vte=J(),xI=Date,gte=vte(xI.prototype.getTime);mte({target:"Date",stat:!0},{now:function(){return gte(new xI)}})});var CI=v(()=>{"use strict";var Ete=N(),TI=J(),yte=yt(),bI=Date.prototype,Ste=TI(bI.getTime),wte=TI(bI.setFullYear);Ete({target:"Date",proto:!0},{setYear:function(e){Ste(this);var t=yte(e),n=t>=0&&t<=99?t+1900:t;return wte(this,n)}})});var AI=v(()=>{"use strict";var xte=N();xte({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})});var NI=v((mEe,kI)=>{"use strict";var ui=J(),II=Z(),rs=Ch().start,_te=RangeError,Tte=isFinite,bte=Math.abs,Nn=Date.prototype,Fv=Nn.toISOString,Cte=ui(Nn.getTime),Ate=ui(Nn.getUTCDate),Ite=ui(Nn.getUTCFullYear),kte=ui(Nn.getUTCHours),Nte=ui(Nn.getUTCMilliseconds),qte=ui(Nn.getUTCMinutes),Dte=ui(Nn.getUTCMonth),Pte=ui(Nn.getUTCSeconds);kI.exports=II(function(){return Fv.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!II(function(){Fv.call(new Date(NaN))})?function(){if(!Tte(Cte(this)))throw new _te("Invalid time value");var e=this,t=Ite(e),n=Nte(e),i=t<0?"-":t>9999?"+":"";return i+rs(bte(t),i?6:4,0)+"-"+rs(Dte(e)+1,2,0)+"-"+rs(Ate(e),2,0)+"T"+rs(kte(e),2,0)+":"+rs(qte(e),2,0)+":"+rs(Pte(e),2,0)+"."+rs(n,3,0)+"Z"}:Fv});var DI=v(()=>{"use strict";var Ote=N(),qI=NI();Ote({target:"Date",proto:!0,forced:Date.prototype.toISOString!==qI},{toISOString:qI})});var PI=v(()=>{"use strict";var Rte=N(),Lte=Z(),Mte=Me(),Bte=qc(),Fte=Lte(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});Rte({target:"Date",proto:!0,arity:1,forced:Fte},{toJSON:function(e){var t=Mte(this),n=Bte(t,"number");return typeof n=="number"&&!isFinite(n)?null:t.toISOString()}})});var MI=v(()=>{"use strict";var RI=J(),$te=Dt(),$v=Date.prototype,OI="Invalid Date",LI="toString",Ute=RI($v[LI]),jte=RI($v.getTime);String(new Date(NaN))!==OI&&$te($v,LI,function(){var e=jte(this);return e===e?Ute(this):OI})});var FI=v((xEe,BI)=>{"use strict";var Vte=Ie(),Hte=gd(),Wte=TypeError;BI.exports=function(r){if(Vte(this),r==="string"||r==="default")r="string";else if(r!=="number")throw new Wte("Incorrect hint");return Hte(this,r)}});var jI=v(()=>{"use strict";var Gte=Ze(),zte=Dt(),Xte=FI(),Yte=Be(),$I=Yte("toPrimitive"),UI=Date.prototype;Gte(UI,$I)||zte(UI,$I,Xte)});var HI=v((bEe,VI)=>{"use strict";wI();_I();CI();AI();DI();PI();MI();jI();var Zte=_t();VI.exports=Zte.Date});var GI=v((CEe,WI)=>{"use strict";var Kte=Ie(),Qte=ym();WI.exports=function(r,e,t,n){try{return n?e(Kte(t)[0],t[1]):e(t)}catch(i){Qte(r,"throw",i)}}});var ZI=v((AEe,YI)=>{"use strict";var Jte=Ki(),ere=Ue(),tre=Me(),rre=GI(),nre=gm(),ire=sa(),sre=ze(),zI=ii(),are=Em(),ore=oh(),XI=Array;YI.exports=function(e){var t=tre(e),n=ire(this),i=arguments.length,s=i>1?arguments[1]:void 0,a=s!==void 0;a&&(s=Jte(s,i>2?arguments[2]:void 0));var o=ore(t),u=0,l,c,h,d,f,m;if(o&&!(this===XI&&nre(o)))for(d=are(t,o),f=d.next,c=n?new this:[];!(h=ere(f,d)).done;
4u++)m=a?rre(d,s,[h.value,u],!0):h.value,zI(c,u,m);else for(l=sre(t),c=n?new this(l):XI(l);l>u;u++)m=a?s(t[u],u):t[u],zI(c,u,m);return c.length=u,c}});var jv=v((IEe,ek)=>{"use strict";var ure=Be(),QI=ure("iterator"),JI=!1;try{KI=0,Uv={next:function(){return{done:!!KI++}},return:function(){JI=!0}},Uv[QI]=function(){return this},Array.from(Uv,function(){throw 2})}catch{}var KI,Uv;ek.exports=function(r,e){try{if(!e&&!JI)return!1}catch{return!1}var t=!1;try{var n={};n[QI]=function(){return{next:function(){return{done:t=!0}}}},r(n)}catch{}return t}});var tk=v(()=>{"use strict";var lre=N(),cre=ZI(),hre=jv(),fre=!hre(function(r){Array.from(r)});lre({target:"Array",stat:!0,forced:fre},{from:cre})});var rk=v(()=>{"use strict";var pre=N(),dre=_n();pre({target:"Array",stat:!0},{isArray:dre})});var ik=v(()=>{"use strict";var mre=N(),vre=Z(),gre=sa(),Ere=ii(),nk=Array,yre=vre(function(){function r(){}return!(nk.of.call(r)instanceof r)});mre({target:"Array",stat:!0,forced:yre},{of:function(){for(var e=0,t=arguments.length,n=new(gre(this)?this:nk)(t);t>e;)Ere(n,e,arguments[e++]);return n.length=t,n}})});var Ot=v((REe,sk)=>{"use strict";var Sre=Be(),wre=rn(),xre=Ke().f,Vv=Sre("unscopables"),Hv=Array.prototype;Hv[Vv]===void 0&&xre(Hv,Vv,{configurable:!0,value:wre(null)});sk.exports=function(r){Hv[Vv][r]=!0}});var ak=v(()=>{"use strict";var _re=N(),Tre=Me(),bre=ze(),Cre=yt(),Are=Ot();_re({target:"Array",proto:!0},{at:function(e){var t=Tre(this),n=bre(t),i=Cre(e),s=i>=0?i:n+i;return s<0||s>=n?void 0:t[s]}});Are("at")});var ku=v((BEe,uk)=>{"use strict";var ok=Gi(),Ire=TypeError;uk.exports=function(r,e){if(!delete r[e])throw new Ire("Cannot delete property "+ok(e)+" of "+ok(r))}});var ck=v((FEe,lk)=>{"use strict";var kre=Me(),Wv=ni(),Nre=ze(),qre=ku(),Dre=Math.min;lk.exports=[].copyWithin||function(e,t){var n=kre(this),i=Nre(n),s=Wv(e,i),a=Wv(t,i),o=arguments.length>2?arguments[2]:void 0,u=Dre((o===void 0?i:Wv(o,i))-a,i-s),l=1;for(a<s&&s<a+u&&(l=-1,a+=u-1,s+=u-1);u-- >0;)a in n?n[s]=n[a]:qre(n,s),s+=l,a+=l;return n}});var hk=v(()=>{"use strict";var Pre=N(),Ore=ck(),Rre=Ot();Pre({target:"Array",proto:!0},{copyWithin:Ore});Rre("copyWithin")});var on=v((jEe,fk)=>{"use strict";var Lre=Z();fk.exports=function(r,e){var t=[][r];return!!t&&Lre(function(){t.call(null,e||function(){return 1},1)})}});var pk=v(()=>{"use strict";var Mre=N(),Bre=bn().every,Fre=on(),$re=Fre("every");Mre({target:"Array",proto:!0,forced:!$re},{every:function(e){return Bre(this,e,arguments.length>1?arguments[1]:void 0)}})});var vk=v((WEe,mk)=>{"use strict";var Ure=Me(),dk=ni(),jre=ze();mk.exports=function(e){for(var t=Ure(this),n=jre(t),i=arguments.length,s=dk(i>1?arguments[1]:void 0,n),a=i>2?arguments[2]:void 0,o=a===void 0?n:dk(a,n);o>s;)t[s++]=e;return t}});var gk=v(()=>{"use strict";var Vre=N(),Hre=vk(),Wre=Ot();Vre({target:"Array",proto:!0},{fill:Hre});Wre("fill")});var Ek=v(()=>{"use strict";var Gre=N(),zre=bn().filter,Xre=oa(),Yre=Xre("filter");Gre({target:"Array",proto:!0,forced:!Yre},{filter:function(e){return zre(this,e,arguments.length>1?arguments[1]:void 0)}})});var Sk=v(()=>{"use strict";var Zre=N(),Kre=bn().find,Qre=Ot(),Gv="find",yk=!0;Gv in[]&&Array(1)[Gv](function(){yk=!1});Zre({target:"Array",proto:!0,forced:yk},{find:function(e){return Kre(this,e,arguments.length>1?arguments[1]:void 0)}});Qre(Gv)});var xk=v(()=>{"use strict";var Jre=N(),ene=bn().findIndex,tne=Ot(),zv="findIndex",wk=!0;zv in[]&&Array(1)[zv](function(){wk=!1});Jre({target:"Array",proto:!0,forced:wk},{findIndex:function(e){return ene(this,e,arguments.length>1?arguments[1]:void 0)}});tne(zv)});var Xv=v((eye,Tk)=>{"use strict";var rne=Ki(),nne=Vi(),ine=Me(),sne=ze(),_k=function(r){var e=r===1;return function(t,n,i){for(var s=ine(t),a=nne(s),o=sne(a),u=rne(n,i),l,c;o-- >0;)if(l=a[o],c=u(l,o,s),c)switch(r){case 0:return l;case 1:return o}return e?-1:void 0}};Tk.exports={findLast:_k(0),findLastIndex:_k(1)}});var bk=v(()=>{"use strict";var ane=N(),one=Xv().findLast,une=Ot();ane({target:"Array",proto:!0},{findLast:function(e){return one(this,e,arguments.length>1?arguments[1]:void 0)}});une("findLast")});var Ck=v(()=>{"use strict";var lne=N(),cne=Xv().findLastIndex,hne=Ot();lne({target:"Array",proto:!0},{findLastIndex:function(e){return cne(this,e,arguments.length>1?arguments[1]:void 0)}});hne("findLastIndex")});var Yv=v((sye,Ik)=>{"use strict";
4var fne=_n(),pne=ze(),dne=Zi(),mne=Ki(),Ak=function(r,e,t,n,i,s,a,o){for(var u=i,l=0,c=a?mne(a,o):!1,h,d;l<n;)l in t&&(h=c?c(t[l],l,e):t[l],s>0&&fne(h)?(d=pne(h),u=Ak(r,e,h,d,u,s-1)-1):(dne(u+1),r[u]=h),u++),l++;return u};Ik.exports=Ak});var kk=v(()=>{"use strict";var vne=N(),gne=Yv(),Ene=Me(),yne=ze(),Sne=yt(),wne=aa();vne({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=Ene(this),n=yne(t),i=wne(t,0);return i.length=gne(i,t,t,n,0,e===void 0?1:Sne(e)),i}})});var Nk=v(()=>{"use strict";var xne=N(),_ne=Yv(),Tne=Nt(),bne=Me(),Cne=ze(),Ane=aa();xne({target:"Array",proto:!0},{flatMap:function(e){var t=bne(this),n=Cne(t),i;return Tne(e),i=Ane(t,0),i.length=_ne(i,t,t,n,0,1,e,arguments.length>1?arguments[1]:void 0),i}})});var Dk=v((cye,qk)=>{"use strict";var Ine=bn().forEach,kne=on(),Nne=kne("forEach");qk.exports=Nne?[].forEach:function(e){return Ine(this,e,arguments.length>1?arguments[1]:void 0)}});var Ok=v(()=>{"use strict";var qne=N(),Pk=Dk();qne({target:"Array",proto:!0,forced:[].forEach!==Pk},{forEach:Pk})});var Rk=v(()=>{"use strict";var Dne=N(),Pne=Bc().includes,One=Z(),Rne=Ot(),Lne=One(function(){return!Array(1).includes()});Dne({target:"Array",proto:!0,forced:Lne},{includes:function(e){return Pne(this,e,arguments.length>1?arguments[1]:void 0)}});Rne("includes")});var Mk=v(()=>{"use strict";var Mne=N(),Bne=ca(),Fne=Bc().indexOf,$ne=on(),Zv=Bne([].indexOf),Lk=!!Zv&&1/Zv([1],1,-0)<0,Une=Lk||!$ne("indexOf");Mne({target:"Array",proto:!0,forced:Une},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Lk?Zv(this,e,t)||0:Fne(this,e,t)}})});var Ph=v((gye,jk)=>{"use strict";var jne=at(),Kv=Ot(),Bk=Ea(),$k=Lr(),Vne=Ke().f,Hne=qh(),Dh=_u(),Wne=ar(),Gne=Ce(),Uk="Array Iterator",zne=$k.set,Xne=$k.getterFor(Uk);jk.exports=Hne(Array,"Array",function(r,e){zne(this,{type:Uk,target:jne(r),index:0,kind:e})},function(){var r=Xne(this),e=r.target,t=r.index++;if(!e||t>=e.length)return r.target=void 0,Dh(void 0,!0);switch(r.kind){case"keys":return Dh(t,!1);case"values":return Dh(e[t],!1)}return Dh([t,e[t]],!1)},"values");var Fk=Bk.Arguments=Bk.Array;Kv("keys");Kv("values");Kv("entries");if(!Wne&&Gne&&Fk.name!=="values")try{Vne(Fk,"name",{value:"values"})}catch{}});var Vk=v(()=>{"use strict";
vendor: 4,778 bytes, line 4
4var Yne=N(),Zne=J(),Kne=Vi(),Qne=at(),Jne=on(),eie=Zne([].join),tie=Kne!==Object,rie=tie||!Jne("join",",");Yne({target:"Array",proto:!0,forced:rie},{join:function(e){return eie(Qne(this),e===void 0?",":e)}})});var Gk=v((Sye,Wk)=>{"use strict";var nie=da(),iie=at(),sie=yt(),aie=ze(),oie=on(),uie=Math.min,Qv=[].lastIndexOf,Hk=!!Qv&&1/[1].lastIndexOf(1,-0)<0,lie=oie("lastIndexOf"),cie=Hk||!lie;Wk.exports=cie?function(e){if(Hk)return nie(Qv,this,arguments)||0;var t=iie(this),n=aie(t),i=n-1;for(arguments.length>1&&(i=uie(i,sie(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:Qv});var Xk=v(()=>{"use strict";var hie=N(),zk=Gk();hie({target:"Array",proto:!0,forced:zk!==[].lastIndexOf},{lastIndexOf:zk})});var Yk=v(()=>{"use strict";var fie=N(),pie=bn().map,die=oa(),mie=die("map");fie({target:"Array",proto:!0,forced:!mie},{map:function(e){return pie(this,e,arguments.length>1?arguments[1]:void 0)}})});var Oh=v((bye,Zk)=>{"use strict";var vie=Ce(),gie=_n(),Eie=TypeError,yie=Object.getOwnPropertyDescriptor,Sie=vie&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}})();Zk.exports=Sie?function(r,e){if(gie(r)&&!yie(r,"length").writable)throw new Eie("Cannot set read only .length");return r.length=e}:function(r,e){return r.length=e}});var Kk=v(()=>{"use strict";var wie=N(),xie=Me(),_ie=ze(),Tie=Oh(),bie=Zi(),Cie=Z(),Aie=Cie(function(){return[].push.call({length:4294967296},1)!==4294967297}),Iie=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}},kie=Aie||!Iie();wie({target:"Array",proto:!0,arity:1,forced:kie},{push:function(e){var t=xie(this),n=_ie(t),i=arguments.length;bie(n+i);for(var s=0;s<i;s++)t[n]=arguments[s],n++;return Tie(t,n),n}})});var Jv=v((Iye,Jk)=>{"use strict";var Nie=Nt(),qie=Me(),Die=Vi(),Pie=ze(),Oie=TypeError,Qk=function(r){return function(e,t,n,i){var s=qie(e),a=Die(s),o=Pie(s);Nie(t);var u=r?o-1:0,l=r?-1:1;if(n<2)for(;;){if(u in a){i=a[u],u+=l;break}if(u+=l,r?u<0:o<=u)throw new Oie("Reduce of empty array with no initial value")}for(;r?u>=0:o>u;u+=l)u in a&&(i=t(i,a[u],u,s));return i}};Jk.exports={left:Qk(!1),right:Qk(!0)}});var eg=v((kye,eN)=>{"use strict";var Rie=Le(),Lie=xt();eN.exports=Lie(Rie.process)==="process"});var rN=v(()=>{"use strict";var Mie=N(),Bie=Jv().left,Fie=on(),tN=Hi(),$ie=eg(),Uie=!$ie&&tN>79&&tN<83,jie=Uie||!Fie("reduce");Mie({target:"Array",proto:!0,forced:jie},{reduce:function(e){var t=arguments.length;return Bie(this,e,t,t>1?arguments[1]:void 0)}})});var iN=v(()=>{"use strict";var Vie=N(),Hie=Jv().right,Wie=on(),nN=Hi(),Gie=eg(),zie=!Gie&&nN>79&&nN<83,Xie=zie||!Wie("reduceRight");Vie({target:"Array",proto:!0,forced:Xie},{reduceRight:function(e){return Hie(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})});var aN=v(()=>{"use strict";var Yie=N(),Zie=J(),Kie=_n(),Qie=Zie([].reverse),sN=[1,2];Yie({target:"Array",proto:!0,forced:String(sN)===String(sN.reverse())},{reverse:function(){return Kie(this)&&(this.length=this.length),Qie(this)}})});var lN=v(()=>{"use strict";var Jie=N(),oN=_n(),ese=sa(),tse=Fe(),uN=ni(),rse=ze(),nse=at(),ise=ii(),sse=Be(),ase=oa(),ose=la(),use=ase("slice"),lse=sse("species"),tg=Array,cse=Math.max;Jie({target:"Array",proto:!0,forced:!use},{slice:function(e,t){var n=nse(this),i=rse(n),s=uN(e,i),a=uN(t===void 0?i:t,i),o,u,l;if(oN(n)&&(o=n.constructor,ese(o)&&(o===tg||oN(o.prototype))?o=void 0:tse(o)&&(o=o[lse],o===null&&(o=void 0)),o===tg||o===void 0))return ose(n,s,a);for(u=new(o===void 0?tg:o)(cse(a-s,0)),l=0;s<a;s++,l++)s in n&&ise(u,l,n[s]);return u.length=l,u}})});var cN=v(()=>{"use strict";var hse=N(),fse=bn().some,pse=on(),dse=pse("some");hse({target:"Array",proto:!0,forced:!dse},{some:function(e){return fse(this,e,arguments.length>1?arguments[1]:void 0)}})});var pN=v(($ye,fN)=>{"use strict";var hN=la(),mse=Math.floor,rg=function(r,e){var t=r.length;if(t<8)for(var n=1,i,s;n<t;){for(s=n,i=r[n];s&&e(r[s-1],i)>0;)r[s]=r[--s];s!==n++&&(r[s]=i)}else for(var a=mse(t/2),o=rg(hN(r,0,a),e),u=rg(hN(r,a),e),l=o.length,c=u.length,h=0,d=0;h<l||d<c;)r[h+d]=h<l&&d<c?e(o[h],u[d])<=0?o[h++]:u[d++]:h<l?o[h++]:u[d++];return r};fN.exports=rg});var vN=v((Uye,mN)=>{"use strict";var vse=Js(),dN=vse.match(/firefox\/(\d+)/i);mN.exports=!!dN&&+dN[1]});var EN=v((jye,gN)=>{"use strict";var gse=Js();gN.exports=/MSIE|Trident/.test(gse)});var AN=v(()=>{"use strict";var Ese=N(),bN=J(),yse=Nt(),Sse=Me(),yN=ze(),wse=ku(),SN=ke(),ng=Z(),xse=pN(),_se=on(),wN=vN(),Tse=EN(),xN=Hi(),_N=Am(),li=[],TN=bN(li.sort),bse=bN(li.push),Cse=ng(function(){li.sort(void 0)}),Ase=ng(function(){li.sort(null)}),Ise=_se("sort"),CN=!ng(function(){if(xN)return xN<70;if(!(wN&&wN>3)){if(Tse)return!0;
4if(_N)return _N<603;var r="",e,t,n,i;for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)li.push({k:t+i,v:n})}for(li.sort(function(s,a){return a.v-s.v}),i=0;i<li.length;i++)t=li[i].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return r!=="DGBEFHACIJK"}}),kse=Cse||!Ase||!Ise||!CN,Nse=function(r){return function(e,t){return t===void 0?-1:e===void 0?1:r!==void 0?+r(e,t)||0:SN(e)>SN(t)?1:-1}};Ese({target:"Array",proto:!0,forced:kse},{sort:function(e){e!==void 0&&yse(e);var t=Sse(this);if(CN)return e===void 0?TN(t):TN(t,e);var n=[],i=yN(t),s,a;for(a=0;a<i;a++)a in t&&bse(n,t[a]);for(xse(n,Nse(e)),s=yN(n),a=0;a<s;)t[a]=n[a++];for(;a<i;)wse(t,a++);return t}})});var Rh=v((Wye,kN)=>{"use strict";var qse=sr(),Dse=nn(),Pse=Be(),Ose=Ce(),IN=Pse("species");kN.exports=function(r){var e=qse(r);Ose&&e&&!e[IN]&&Dse(e,IN,{configurable:!0,get:function(){return this}})}});var NN=v(()=>{"use strict";var Rse=Rh();Rse("Array")});var qN=v(()=>{"use strict";var Lse=N(),Mse=Me(),Bse=ni(),Fse=yt(),$se=ze(),Use=Oh(),jse=Zi(),Vse=aa(),Hse=ii(),ig=ku(),Wse=oa(),Gse=Wse("splice"),zse=Math.max,Xse=Math.min;Lse({target:"Array",proto:!0,forced:!Gse},{splice:function(e,t){var n=Mse(this),i=$se(n),s=Bse(e,i),a=arguments.length,o,u,l,c,h,d;for(a===0?o=u=0:a===1?(o=0,u=i-s):(o=a-2,u=Xse(zse(Fse(t),0),i-s)),jse(i+o-u),l=Vse(n,u),c=0;c<u;c++)h=s+c,h in n&&Hse(l,c,n[h]);if(l.length=u,o<u){for(c=s;c<i-u;c++)h=c+u,d=c+o,h in n?n[d]=n[h]:ig(n,d);for(c=i;c>i-u+o;c--)ig(n,c-1)}else if(o>u)for(c=i-u;c>s;c--)h=c+u-1,d=c+o-1,h in n?n[d]=n[h]:ig(n,d);for(c=0;c<o;c++)n[c+s]=arguments[c+2];return Use(n,i-u+o),l}})});var PN=v((Zye,DN)=>{"use strict";var Yse=ze();DN.exports=function(r,e){for(var t=Yse(r),n=new e(t),i=0;i<t;i++)n[i]=r[t-i-1];return n}});var ON=v(()=>{"use strict";var Zse=N(),Kse=PN(),Qse=at(),Jse=Ot(),eae=Array;Zse({target:"Array",proto:!0},{toReversed:function(){return Kse(Qse(this),eae)}});Jse("toReversed")});var LN=v((Jye,RN)=>{"use strict";var tae=ze();RN.exports=function(r,e,t){for(var n=0,i=arguments.length>2?t:tae(e),s=new r(i);i>n;)s[n]=e[n++];return s}});var BN=v((eSe,MN)=>{"use strict";var rae=Le();MN.exports=function(r,e){var t=rae[r],n=t&&t.prototype;return n&&n[e]}});var FN=v(()=>{"use strict";var nae=N(),iae=J(),sae=Nt(),aae=at(),oae=LN(),uae=BN(),lae=Ot(),cae=Array,hae=iae(uae("Array","sort"));nae({target:"Array",proto:!0},{toSorted:function(e){e!==void 0&&sae(e);var t=aae(this),n=oae(cae,t);return hae(n,e)}});lae("toSorted")});var $N=v(()=>{"use strict";var fae=N(),pae=Ot(),dae=Zi(),mae=ze(),vae=ni(),gae=at(),Eae=yt(),yae=Array,Sae=Math.max,wae=Math.min;fae({target:"Array",proto:!0},{toSpliced:function(e,t){var n=gae(this),i=mae(n),s=vae(e,i),a=arguments.length,o=0,u,l,c,h;for(a===0?u=l=0:a===1?(u=0,l=i-s):(u=a-2,l=wae(Sae(Eae(t),0),i-s)),c=dae(i+u-l),h=yae(c);o<s;o++)h[o]=n[o];for(;o<s+u;o++)h[o]=arguments[o-s+2];for(;o<c;o++)h[o]=n[o+l-u];return h}});pae("toSpliced")});var UN=v(()=>{"use strict";var xae=Ot();xae("flat")});var jN=v(()=>{"use strict";var _ae=Ot();_ae("flatMap")});var VN=v(()=>{"use strict";var Tae=N(),bae=Me(),Cae=ze(),Aae=Oh(),Iae=ku(),kae=Zi(),Nae=[].unshift(0)!==1,qae=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(r){return r instanceof TypeError}},Dae=Nae||!qae();Tae({target:"Array",proto:!0,arity:1,forced:Dae},{unshift:function(e){var t=bae(this),n=Cae(t),i=arguments.length;if(i){kae(n+i);for(var s=n;s--;){var a=s+i;s in t?t[a]=t[s]:Iae(t,a)}for(var o=0;o<i;o++)t[o]=arguments[o]}return Aae(t,n+i)}})});var WN=v((hSe,HN)=>{"use strict";var Pae=ze(),Oae=yt(),Rae=RangeError;HN.exports=function(r,e,t,n){var i=Pae(r),s=Oae(t),a=s<0?i+s:s;if(a>=i||a<0)throw new Rae("Incorrect index");for(var o=new e(i),u=0;u<i;u++)o[u]=u===a?n:r[u];return o}});var GN=v(()=>{"use strict";var Lae=N(),Mae=WN(),Bae=at(),Fae=Array;Lae({target:"Array",proto:!0},{with:function(r,e){return Mae(Bae(this),Fae,r,e)}})});var XN=v((dSe,zN)=>{"use strict";tk();rk();ik();ak();Ud();hk();pk();gk();Ek();Sk();xk();bk();Ck();kk();Nk();Ok();Rk();Mk();Ph();Vk();Xk();Yk();Kk();rN();iN();aN();lN();cN();AN();NN();qN();ON();FN();$N();UN();jN();VN();GN();si();Iu();var $ae=_t();zN.exports=$ae.Array});var ZN=v((mSe,YN)=>{"use strict";var Uae=Ke().f;YN.exports=function(r,e,t){t in r||Uae(r,t,{configurable:!0,get:function(){return e[t]},set:function(n){e[t]=n}})}});var sq=v(()=>{"use strict";var jae=Ce(),ug=Le(),Nu=J(),Vae=Jo(),Hae=ch(),Wae=ra(),Gae=rn(),zae=Yi().f,KN=en(),Xae=Su(),QN=ke(),Yae=Tu(),tq=Eu(),Zae=ZN(),Kae=Dt(),Qae=Z(),Jae=Ze(),eoe=Lr().enforce,toe=Rh(),roe=Be(),rq=vh(),nq=Qm(),noe=roe("match"),hi=ug.RegExp,Ia=hi.prototype,ioe=ug.SyntaxError,soe=Nu(Ia.exec),Lh=Nu("".charAt),JN=Nu("".replace),eq=Nu("".indexOf),aoe=Nu("".slice),ooe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ns=/a/g,sg=/a/g,uoe=new hi(ns)!==ns,iq=tq.MISSED_STICKY,loe=tq.UNSUPPORTED_Y,coe=jae&&(!uoe||iq||rq||nq||Qae(function(){return sg[noe]=!1,hi(ns)!==ns||hi(sg)===sg||String(hi(ns,"i"))!=="/a/i"})),hoe=function(r){for(var e=r.length,t=0,n="",i=!1,s;t<=e;
vendor: 5,253 bytes, line 4
4t++){if(s=Lh(r,t),s==="\\"){n+=s+Lh(r,++t);continue}!i&&s==="."?n+="[\\s\\S]":(s==="["?i=!0:s==="]"&&(i=!1),n+=s)}return n},foe=function(r){for(var e=r.length,t=0,n="",i=[],s=Gae(null),a=!1,o=!1,u=0,l="",c;t<=e;t++){if(c=Lh(r,t),c==="\\")c+=Lh(r,++t);else if(c==="]")a=!1;else if(!a)switch(!0){case c==="[":a=!0;break;case c==="(":soe(ooe,aoe(r,t+1))&&(t+=2,o=!0),n+=c,u++;continue;case(c===">"&&o):if(l===""||Jae(s,l))throw new ioe("Invalid capture group name");s[l]=!0,i[i.length]=[l,u],o=!1,l="";continue}o?l+=c:n+=c}return[n,i]};if(Vae("RegExp",coe)){for(ci=function(e,t){var n=KN(Ia,this),i=Xae(e),s=t===void 0,a=[],o=e,u,l,c,h,d,f;if(!n&&i&&s&&e.constructor===ci)return e;if((i||KN(Ia,e))&&(e=e.source,s&&(t=Yae(o))),e=e===void 0?"":QN(e),t=t===void 0?"":QN(t),o=e,rq&&"dotAll"in ns&&(l=!!t&&eq(t,"s")>-1,l&&(t=JN(t,/s/g,""))),u=t,iq&&"sticky"in ns&&(c=!!t&&eq(t,"y")>-1,c&&loe&&(t=JN(t,/y/g,""))),nq&&(h=foe(e),e=h[0],a=h[1]),d=Hae(hi(e,t),n?this:Ia,ci),(l||c||a.length)&&(f=eoe(d),l&&(f.dotAll=!0,f.raw=ci(hoe(e),u)),c&&(f.sticky=!0),a.length&&(f.groups=a)),e!==o)try{Wae(d,"source",o===""?"(?:)":o)}catch{}return d},ag=zae(hi),og=0;ag.length>og;)Zae(ci,hi,ag[og++]);Ia.constructor=ci,ci.prototype=Ia,Kae(ug,"RegExp",ci,{constructor:!0})}var ci,ag,og;toe("RegExp")});var lq=v(()=>{"use strict";var poe=na().PROPER,doe=Dt(),moe=Ie(),aq=ke(),voe=Z(),goe=Tu(),lg="toString",oq=RegExp.prototype,uq=oq[lg],Eoe=voe(function(){return uq.call({source:"a",flags:"b"})!=="/a/b"}),yoe=poe&&uq.name!==lg;(Eoe||yoe)&&doe(oq,lg,function(){var e=moe(this),t=aq(e.source),n=aq(goe(e));return"/"+t+"/"+n},{unsafe:!0})});var hq=v(()=>{"use strict";var Soe=Ce(),woe=vh(),xoe=xt(),_oe=nn(),Toe=Lr().get,cq=RegExp.prototype,boe=TypeError;Soe&&woe&&_oe(cq,"dotAll",{configurable:!0,get:function(){if(this!==cq){if(xoe(this)==="RegExp")return!!Toe(this).dotAll;throw new boe("Incompatible receiver, RegExp required")}}})});var dq=v(()=>{"use strict";var Coe=Le(),Aoe=Ce(),Ioe=nn(),koe=mh(),Noe=Z(),fq=Coe.RegExp,pq=fq.prototype,qoe=Aoe&&Noe(function(){var r=!0;try{fq(".","d")}catch{r=!1}var e={},t="",n=r?"dgimsy":"gimsy",i=function(u,l){Object.defineProperty(e,u,{get:function(){return t+=l,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};r&&(s.hasIndices="d");for(var a in s)i(a,s[a]);var o=Object.getOwnPropertyDescriptor(pq,"flags").get.call(e);return o!==n||t!==n});qoe&&Ioe(pq,"flags",{configurable:!0,get:koe})});var vq=v(()=>{"use strict";var Doe=Ce(),Poe=Eu().MISSED_STICKY,Ooe=xt(),Roe=nn(),Loe=Lr().get,mq=RegExp.prototype,Moe=TypeError;Doe&&Poe&&Roe(mq,"sticky",{configurable:!0,get:function(){if(this!==mq){if(Ooe(this)==="RegExp")return!!Loe(this).sticky;throw new Moe("Incompatible receiver, RegExp required")}}})});var yq=v(()=>{"use strict";yu();var Boe=N(),gq=Ue(),Foe=We(),Eq=Ie(),$oe=ke(),Uoe=(function(){var r=!1,e=/[ac]/;return e.exec=function(){return r=!0,/./.exec.apply(this,arguments)},e.test("abc")===!0&&r})(),joe=/./.test;Boe({target:"RegExp",proto:!0,forced:!Uoe},{test:function(r){var e=Eq(this),t=$oe(r),n=e.exec;if(!Foe(n))return gq(joe,e,t);var i=gq(n,e,t);return i===null?!1:(Eq(i),!0)}})});var Sq=v(()=>{"use strict";sq();lq();hq();yu();dq();vq();yq();av();bv();Iv();Dv()});var cg=v((NSe,wq)=>{"use strict";var Voe=en(),Hoe=TypeError;wq.exports=function(r,e){if(Voe(e,r))return r;throw new Hoe("Incorrect invocation")}});var pg=v((qSe,_q)=>{"use strict";var Woe=N(),Goe=Le(),zoe=J(),xq=Jo(),Xoe=Dt(),Yoe=ga(),Zoe=ya(),Koe=cg(),Qoe=We(),Joe=ir(),hg=Fe(),fg=Z(),eue=jv(),tue=Tn(),rue=ch();_q.exports=function(r,e,t){var n=r.indexOf("Map")!==-1,i=r.indexOf("Weak")!==-1,s=n?"set":"add",a=Goe[r],o=a&&a.prototype,u=a,l={},c=function(E){var y=zoe(o[E]);Xoe(o,E,E==="add"?function(b){return y(this,b===0?0:b),this}:E==="delete"?function(x){return i&&!hg(x)?!1:y(this,x===0?0:x)}:E==="get"?function(b){return i&&!hg(b)?void 0:y(this,b===0?0:b)}:E==="has"?function(b){return i&&!hg(b)?!1:y(this,b===0?0:b)}:function(b,C){return y(this,b===0?0:b,C),this})},h=xq(r,!Qoe(a)||!(i||o.forEach&&!fg(function(){new a().entries().next()})));if(h)u=t.getConstructor(e,r,n,s),Yoe.enable();else if(xq(r,!0)){var d=new u,f=d[s](i?{}:-0,1)!==d,m=fg(function(){d.has(1)}),S=eue(function(E){new a(E)}),g=!i&&fg(function(){for(var E=new a,y=5;y--;)E[s](y,y);return!E.has(-0)});S||(u=e(function(E,y){Koe(E,o);var x=rue(new a,E,u);return Joe(y)||Zoe(y,x[s],{that:x,AS_ENTRIES:n}),x}),u.prototype=o,o.constructor=u),(m||g)&&(c("delete"),c("has"),n&&c("get")),(g||f)&&c(s),i&&o.clear&&delete o.clear}return l[r]=u,Woe({global:!0,constructor:!0,forced:u!==a},l),tue(u,r),i||t.setStrong(u,r,n),u}});var bq=v((DSe,Tq)=>{"use strict";var nue=Dt();Tq.exports=function(r,e,t){for(var n in e)nue(r,n,e[n],t);return r}});var mg=v((PSe,qq)=>{"use strict";var Cq=rn(),iue=nn(),Aq=bq(),sue=Ki(),aue=cg(),oue=ir(),uue=ya(),lue=qh(),Mh=_u(),cue=Rh(),qu=Ce(),Iq=ga().fastKey,Nq=Lr(),kq=Nq.set,dg=Nq.getterFor;qq.exports={getConstructor:function(r,e,t,n){var i=r(function(l,c){aue(l,s),kq(l,{type:e,index:Cq(null),first:void 0,last:void 0,size:0}),qu||(l.size=0),oue(c)||uue(c,l[n],{that:l,AS_ENTRIES:t})}),s=i.prototype,a=dg(e),o=function(l,c,h){var d=a(l),f=u(l,c),m,S;return f?f.value=h:(d.last=f={index:S=Iq(c,!0),key:c,value:h,previous:m=d.last,
4next:void 0,removed:!1},d.first||(d.first=f),m&&(m.next=f),qu?d.size++:l.size++,S!=="F"&&(d.index[S]=f)),l},u=function(l,c){var h=a(l),d=Iq(c),f;if(d!=="F")return h.index[d];for(f=h.first;f;f=f.next)if(f.key===c)return f};return Aq(s,{clear:function(){for(var c=this,h=a(c),d=h.first;d;)d.removed=!0,d.previous&&(d.previous=d.previous.next=void 0),d=d.next;h.first=h.last=void 0,h.index=Cq(null),qu?h.size=0:c.size=0},delete:function(l){var c=this,h=a(c),d=u(c,l);if(d){var f=d.next,m=d.previous;delete h.index[d.index],d.removed=!0,m&&(m.next=f),f&&(f.previous=m),h.first===d&&(h.first=f),h.last===d&&(h.last=m),qu?h.size--:c.size--}return!!d},forEach:function(c){for(var h=a(this),d=sue(c,arguments.length>1?arguments[1]:void 0),f;f=f?f.next:h.first;)for(d(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(c){return!!u(this,c)}}),Aq(s,t?{get:function(c){var h=u(this,c);return h&&h.value},set:function(c,h){return o(this,c===0?0:c,h)}}:{add:function(c){return o(this,c=c===0?0:c,c)}}),qu&&iue(s,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(r,e,t){var n=e+" Iterator",i=dg(e),s=dg(n);lue(r,e,function(a,o){kq(this,{type:n,target:a,state:i(a),kind:o,last:void 0})},function(){for(var a=s(this),o=a.kind,u=a.last;u&&u.removed;)u=u.previous;return!a.target||!(a.last=u=u?u.next:a.state.first)?(a.target=void 0,Mh(void 0,!0)):Mh(o==="keys"?u.key:o==="values"?u.value:[u.key,u.value],!1)},t?"entries":"values",!t,!0),cue(e)}}});var Dq=v(()=>{"use strict";var hue=pg(),fue=mg();hue("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},fue)});var Pq=v(()=>{"use strict";Dq()});var Rq=v((BSe,Oq)=>{"use strict";var Bh=J(),Du=Map.prototype;Oq.exports={Map,set:Bh(Du.set),get:Bh(Du.get),has:Bh(Du.has),remove:Bh(Du.delete),proto:Du}});var Lq=v(()=>{"use strict";var pue=N(),due=J(),mue=Nt(),vue=Xe(),gue=ya(),Fh=Rq(),Eue=ar(),yue=Fh.Map,Sue=Fh.has,wue=Fh.get,xue=Fh.set,_ue=due([].push);pue({target:"Map",stat:!0,forced:Eue},{groupBy:function(e,t){vue(e),mue(t);var n=new yue,i=0;return gue(e,function(s){var a=t(s,i++);Sue(n,a)?_ue(wue(n,a),s):xue(n,a,[s])}),n}})});var Bq=v((USe,Mq)=>{"use strict";Ph();Pq();Lq();si();Iu();var Tue=_t();Mq.exports=Tue.Map});var Fq=v(()=>{"use strict";var bue=pg(),Cue=mg();bue("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},Cue)});var $q=v(()=>{"use strict";Fq()});var jq=v((GSe,Uq)=>{"use strict";Ph();si();$q();Iu();var Aue=_t();Uq.exports=Aue.Set});var Vq=v(()=>{"use strict";var Iue=N(),kue=da(),Nue=Nt(),que=Ie(),Due=Z(),Pue=!Due(function(){Reflect.apply(function(){})});Iue({target:"Reflect",stat:!0,forced:Pue},{apply:function(e,t,n){return kue(Nue(e),t,que(n))}})});var Zq=v(()=>{"use strict";var Oue=N(),Rue=sr(),vg=da(),Lue=km(),Hq=fv(),Mue=Ie(),Wq=Fe(),Bue=rn(),zq=Z(),gg=Rue("Reflect","construct"),Fue=Object.prototype,$ue=[].push,Xq=zq(function(){function r(){}return!(gg(function(){},[],r)instanceof r)}),Yq=!zq(function(){gg(function(){})}),Gq=Xq||Yq;Oue({target:"Reflect",stat:!0,forced:Gq,sham:Gq},{construct:function(e,t){Hq(e),Mue(t);var n=arguments.length<3?e:Hq(arguments[2]);if(Yq&&!Xq)return gg(e,t,n);if(e===n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var i=[null];return vg($ue,i,t),new(vg(Lue,e,i))}var s=n.prototype,a=Bue(Wq(s)?s:Fue),o=vg(e,a,t);return Wq(o)?o:a}})});var Jq=v(()=>{"use strict";var Uue=N(),jue=Ce(),Kq=Ie(),Vue=wn(),Qq=Ke(),Hue=Z(),Wue=Hue(function(){Reflect.defineProperty(Qq.f({},1,{value:1}),1,{value:2})});Uue({target:"Reflect",stat:!0,forced:Wue,sham:!jue},{defineProperty:function(e,t,n){Kq(e);var i=Vue(t);Kq(n);try{return Qq.f(e,i,n),!0}catch{return!1}}})});var eD=v(()=>{"use strict";var Gue=N(),zue=Ie(),Xue=qt().f;Gue({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=Xue(zue(e),t);return n&&!n.configurable?!1:delete e[t]}})});var Eg=v((twe,rD)=>{"use strict";var tD=Ze();rD.exports=function(r){return r!==void 0&&(tD(r,"value")||tD(r,"writable"))}});var iD=v(()=>{"use strict";var Yue=N(),Zue=Ue(),Kue=Fe(),Que=Ie(),Jue=Eg(),ele=qt(),tle=sn();function nD(r,e){var t=arguments.length<3?r:arguments[2],n,i;if(Que(r)===t)return r[e];if(n=ele.f(r,e),n)return Jue(n)?n.value:n.get===void 0?void 0:Zue(n.get,t);if(Kue(i=tle(r)))return nD(i,e,t)}Yue({target:"Reflect",stat:!0},{get:nD})});var sD=v(()=>{"use strict";var rle=N(),nle=Ce(),ile=Ie(),sle=qt();rle({target:"Reflect",stat:!0,sham:!nle},{getOwnPropertyDescriptor:function(e,t){return sle.f(ile(e),t)}})});var aD=v(()=>{"use strict";var ale=N(),ole=Ie(),ule=sn(),lle=nh();ale({target:"Reflect",stat:!0,sham:!lle},{getPrototypeOf:function(e){return ule(ole(e))}})});var oD=v(()=>{"use strict";var cle=N();cle({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})});var uD=v(()=>{"use strict";var hle=N(),fle=Ie(),ple=ah();hle({target:"Reflect",stat:!0},{isExtensible:function(e){return fle(e),ple(e)}})});var lD=v(()=>{"use strict";var dle=N(),mle=$c();dle({target:"Reflect",stat:!0},{ownKeys:mle})});var cD=v(()=>{"use strict";var vle=N(),gle=sr(),Ele=Ie(),yle=va();vle({target:"Reflect",stat:!0,sham:!yle},{preventExtensions:function(e){Ele(e);try{var t=gle("Object","preventExtensions");return t&&t(e),!0}catch{return!1}}})});var mD=v(()=>{"use strict";var Sle=N(),wle=Ue(),xle=Ie(),hD=Fe(),_le=Eg(),Tle=Z(),yg=Ke(),fD=qt(),ble=sn(),pD=ji();function dD(r,e,t){var n=arguments.length<4?r:arguments[3],i=fD.f(xle(r),e),s,a,o;if(!i){if(hD(a=ble(r)))return dD(a,e,t,n);i=pD(0)}
4if(_le(i)){if(i.writable===!1||!hD(n))return!1;if(s=fD.f(n,e)){if(s.get||s.set||s.writable===!1)return!1;s.value=t,yg.f(n,e,s)}else yg.f(n,e,pD(0,t))}else{if(o=i.set,o===void 0)return!1;wle(o,n,t)}return!0}var Cle=Tle(function(){var r=function(){},e=yg.f(new r,"a",{configurable:!0});return Reflect.set(r.prototype,"a",1,e)!==!1});Sle({target:"Reflect",stat:!0,forced:Cle},{set:dD})});var gD=v(()=>{"use strict";var Ale=N(),Ile=Ie(),kle=Cm(),vD=uu();vD&&Ale({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){Ile(e),kle(t);try{return vD(e,t),!0}catch{return!1}}})});var yD=v((Swe,ED)=>{"use strict";si();Vq();Zq();Jq();eD();iD();sD();aD();oD();uD();lD();cD();mD();gD();rh();var Nle=_t();ED.exports=Nle.Reflect});var Bg=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g"),As=class r{element=null;classNames=[];attrs=[];notSelectors=[];static parse(e){let t=[],n=(u,l)=>{l.notSelectors.length>0&&!l.element&&l.classNames.length==0&&l.attrs.length==0&&(l.element="*"),u.push(l)},i=new r,s,a=i,o=!1;for(Bg.lastIndex=0;s=Bg.exec(e);){if(s[1]){if(o)throw new Error("Nesting :not in a selector is not allowed");o=!0,a=new r,i.notSelectors.push(a)}let u=s[2];if(u){let c=s[3];c==="#"?a.addAttribute("id",u.slice(1)):c==="."?a.addClassName(u.slice(1)):a.setElement(u)}let l=s[4];if(l&&a.addAttribute(a.unescapeAttribute(l),s[6]),s[7]&&(o=!1,a=i),s[8]){if(o)throw new Error("Multiple selectors in :not are not supported");n(t,i),i=a=new r}}return n(t,i),t}unescapeAttribute(e){let t="",n=!1;for(let i=0;i<e.length;i++){let s=e.charAt(i);if(s==="\\"){n=!0;continue}if(s==="$"&&!n)throw new Error(`Error in attribute selector "${e}". Unescaped "$" is not supported. Please escape with "\\$".`);n=!1,t+=s}return t}escapeAttribute(e){return e.replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}isElementSelector(){return this.hasElementSelector()&&this.classNames.length==0&&this.attrs.length==0&&this.notSelectors.length===0}hasElementSelector(){return!!this.element}
4setElement(e=null){this.element=e}getAttrs(){let e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+=`.${t}`),this.attrs)for(let t=0;t<this.attrs.length;t+=2){let n=this.escapeAttribute(this.attrs[t]),i=this.attrs[t+1];e+=`[${n}${i?"="+i:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}},sl=class r{static createNotMatcher(e){let t=new r;return t.addSelectables(e,null),t}_elementMap=new Map;_elementPartialMap=new Map;_classMap=new Map;_classPartialMap=new Map;_attrValueMap=new Map;_attrValuePartialMap=new Map;_listContexts=[];addSelectables(e,t){let n=null;e.length>1&&(n=new mf(e),this._listContexts.push(n));for(let i=0;i<e.length;i++)this._addSelectable(e[i],t,n)}_addSelectable(e,t,n){let i=this,s=e.element,a=e.classNames,o=e.attrs,u=new vf(e,t,n);if(s&&(o.length===0&&a.length===0?this._addTerminal(i._elementMap,s,u):i=this._addPartial(i._elementPartialMap,s)),a)for(let l=0;l<a.length;l++){let c=o.length===0&&l===a.length-1,h=a[l];c?this._addTerminal(i._classMap,h,u):i=this._addPartial(i._classPartialMap,h)}if(o)for(let l=0;l<o.length;l+=2){let c=l===o.length-2,h=o[l],d=o[l+1];if(c){let f=i._attrValueMap,m=f.get(h);m||(m=new Map,f.set(h,m)),this._addTerminal(m,d,u)}else{let f=i._attrValuePartialMap,m=f.get(h);m||(m=new Map,f.set(h,m)),i=this._addPartial(m,d)}}}_addTerminal(e,t,n){let i=e.get(t);i||(i=[],e.set(t,i)),i.push(n)}_addPartial(e,t){let n=e.get(t);return n||(n=new r,e.set(t,n)),n}match(e,t){let n=!1,i=e.element,s=e.classNames,a=e.attrs;for(let o=0;o<this._listContexts.length;o++)this._listContexts[o].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,i,e,t)||n,n=this._matchPartial(this._elementPartialMap,i,e,t)||n,s)for(let o=0;o<s.length;o++){let u=s[o];n=this._matchTerminal(this._classMap,u,e,t)||n,n=this._matchPartial(this._classPartialMap,u,e,t)||n}if(a)for(let o=0;o<a.length;o+=2){let u=a[o],l=a[o+1],c=this._attrValueMap.get(u);l&&(n=this._matchTerminal(c,"",e,t)||n),n=this._matchTerminal(c,l,e,t)||n;let h=this._attrValuePartialMap.get(u);l&&(n=this._matchPartial(h,"",e,t)||n),n=this._matchPartial(h,l,e,t)||n}return n}_matchTerminal(e,t,n,i){if(!e||typeof t!="string")return!1;let s=e.get(t)||[],a=e.get("*");if(a&&(s=s.concat(a)),s.length===0)return!1;let o,u=!1;for(let l=0;l<s.length;l++)o=s[l],u=o.finalize(n,i)||u;return u}_matchPartial(e,t,n,i){if(!e||typeof t!="string")return!1;let s=e.get(t);return s?s.match(n,i):!1}},mf=class{selectors;alreadyMatched=!1;constructor(e){this.selectors=e}},vf=class{selector;cbContext;listContext;notSelectors;constructor(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}finalize(e,t){let n=!0;return this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)&&(n=!sl.createNotMatcher(this.notSelectors).match(e,null)),n&&t&&(!this.listContext||!this.listContext.alreadyMatched)&&(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n}},al=class{registry;constructor(e){this.registry=e}match(e){return this.registry.has(e)?this.registry.get(e):[]}};var Un;(function(r){r[r.Emulated=0]="Emulated",r[r.None=2]="None",r[r.ShadowDom=3]="ShadowDom"})(Un||(Un={}));var ol;(function(r){r[r.OnPush=0]="OnPush",r[r.Default=1]="Default"})(ol||(ol={}));var ms;(function(r){r[r.None=0]="None",r[r.SignalBased=1]="SignalBased",r[r.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(ms||(ms={}));var Fg={name:"custom-elements"},$g={name:"no-errors-schema"};var Re;(function(r){r[r.NONE=0]="NONE",r[r.HTML=1]="HTML",r[r.STYLE=2]="STYLE",r[r.SCRIPT=3]="SCRIPT",r[r.URL=4]="URL",r[r.RESOURCE_URL=5]="RESOURCE_URL"})(Re||(Re={}));var Ug;(function(r){r[r.Error=0]="Error",r[r.Warning=1]="Warning",r[r.Ignore=2]="Ignore"})(Ug||(Ug={}));function GD(r){let e=r.classNames&&r.classNames.length?[8,...r.classNames]:[];return[r.element&&r.element!=="*"?r.element:"",...r.attrs,...e]}function zD(r){let e=r.classNames&&r.classNames.length?[8,...r.classNames]:[];return r.element?[5,r.element,...r.attrs,...e]:r.attrs.length?[3,...r.attrs,...e]:r.classNames&&r.classNames.length?[9,...r.classNames]:[]}function XD(r){let e=GD(r),t=r.notSelectors&&r.notSelectors.length?r.notSelectors.map(n=>zD(n)):[];return e.concat(...t)}function Mp(r){return r?As.parse(r).map(XD):[]}var jr;
4(function(r){r[r.Directive=0]="Directive",r[r.Component=1]="Component",r[r.Injectable=2]="Injectable",r[r.Pipe=3]="Pipe",r[r.NgModule=4]="NgModule"})(jr||(jr={}));var jg;(function(r){r[r.Directive=0]="Directive",r[r.Pipe=1]="Pipe",r[r.NgModule=2]="NgModule"})(jg||(jg={}));var Vg;(function(r){r[r.Emulated=0]="Emulated",r[r.None=2]="None",r[r.ShadowDom=3]="ShadowDom"})(Vg||(Vg={}));var ul;function YD(r){return JD(QD(r.nodes).join("")+`[${r.meaning}]`)}function ZD(r){return r.id||qy(r)}function qy(r){let e=new gf,t=r.nodes.map(n=>n.visit(e,null));return Dy(t.join(""),r.meaning)}var ll=class{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(n=>n.visit(this)).join(", ")}]`}visitIcu(e,t){let n=Object.keys(e.cases).map(i=>`${i} {${e.cases[i].visit(this)}}`);return`{${e.expression}, ${e.type}, ${n.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(n=>n.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}visitBlockPlaceholder(e,t){return`<ph block name="${e.startName}">${e.children.map(n=>n.visit(this)).join(", ")}</ph name="${e.closeName}">`}},KD=new ll;function QD(r){return r.map(e=>e.visit(KD,null))}var gf=class extends ll{visitIcu(e){let t=Object.keys(e.cases).map(n=>`${n} {${e.cases[n].visit(this)}}`);return`{${e.type}, ${t.join(", ")}}`}};function JD(r){ul??=new TextEncoder;let e=[...ul.encode(r)],t=rP(e,cl.Big),n=e.length*8,i=new Uint32Array(80),s=1732584193,a=4023233417,o=2562383102,u=271733878,l=3285377520;t[n>>5]|=128<<24-n%32,t[(n+64>>9<<4)+15]=n;for(let c=0;c<t.length;c+=16){let h=s,d=a,f=o,m=u,S=l;for(let g=0;g<80;g++){g<16?i[g]=t[c+g]:i[g]=zh(i[g-3]^i[g-8]^i[g-14]^i[g-16],1);let E=eP(g,a,o,u),y=E[0],x=E[1],b=[zh(s,5),y,l,x,i[g]].reduce(as);l=u,u=o,o=zh(a,30),a=s,s=b}s=as(s,h),a=as(a,d),o=as(o,f),u=as(u,m),l=as(l,S)}return qa(s)+qa(a)+qa(o)+qa(u)+qa(l)}function qa(r){return(r>>>0).toString(16).padStart(8,"0")}function eP(r,e,t,n){return r<20?[e&t|~e&n,1518500249]:r<40?[e^t^n,1859775393]:r<60?[e&t|e&n|t&n,2400959708]:[e^t^n,3395469782]}function Hg(r){ul??=new TextEncoder;let e=ul.encode(r),t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=Wg(t,e.length,0),i=Wg(t,e.length,102072);return n==0&&(i==0||i==1)&&(n=n^319790063,i=i^-1801410264),BigInt.asUintN(32,BigInt(n))<<BigInt(32)|BigInt.asUintN(32,BigInt(i))}function Dy(r,e=""){let t=Hg(r);return e&&(t=BigInt.asUintN(64,t<<BigInt(1))|t>>BigInt(63)&BigInt(1),t+=Hg(e)),BigInt.asUintN(63,t).toString()}function Wg(r,e,t){let n=2654435769,i=2654435769,s=0,a=e-12;for(;s<=a;s+=12){n+=r.getUint32(s,!0),i+=r.getUint32(s+4,!0),t+=r.getUint32(s+8,!0);let u=Gg(n,i,t);n=u[0],i=u[1],t=u[2]}let o=e-s;return t+=e,o>=4?(n+=r.getUint32(s,!0),s+=4,o>=8?(i+=r.getUint32(s,!0),s+=4,o>=9&&(t+=r.getUint8(s++)<<8),o>=10&&(t+=r.getUint8(s++)<<16),o===11&&(t+=r.getUint8(s++)<<24)):(o>=5&&(i+=r.getUint8(s++)),o>=6&&(i+=r.getUint8(s++)<<8),o===7&&(i+=r.getUint8(s++)<<16))):(o>=1&&(n+=r.getUint8(s++)),o>=2&&(n+=r.getUint8(s++)<<8),o===3&&(n+=r.getUint8(s++)<<16)),Gg(n,i,t)[2]}function Gg(r,e,t){return r-=e,r-=t,r^=t>>>13,e-=t,e-=r,e^=r<<8,t-=r,t-=e,t^=e>>>13,r-=e,r-=t,r^=t>>>12,e-=t,e-=r,e^=r<<16,t-=r,t-=e,t^=e>>>5,r-=e,r-=t,r^=t>>>3,e-=t,e-=r,e^=r<<10,t-=r,t-=e,t^=e>>>15,[r,e,t]}var cl;(function(r){r[r.Little=0]="Little",r[r.Big=1]="Big"})(cl||(cl={}));function as(r,e){return tP(r,e)[1]}function tP(r,e){let t=(r&65535)+(e&65535),n=(r>>>16)+(e>>>16)+(t>>>16);return[n>>>16,n<<16|t&65535]}function zh(r,e){return r<<e|r>>>32-e}function rP(r,e){let t=r.length+3>>>2,n=[];for(let i=0;i<t;i++)n[i]=nP(r,i*4,e);return n}function zg(r,e){return e>=r.length?0:r[e]}function nP(r,e,t){let n=0;if(t===cl.Big)for(let i=0;i<4;i++)n+=zg(r,e+i)<<24-8*i;else for(let i=0;i<4;i++)n+=zg(r,e+i)<<8*i;return n}var Ef;(function(r){r[r.None=0]="None",r[r.Const=1]="Const"})(Ef||(Ef={}));var hl=class{modifiers;constructor(e=Ef.None){this.modifiers=e}hasModifier(e){return(this.modifiers&e)!==0}},Hr;(function(r){r[r.Dynamic=0]="Dynamic",r[r.Bool=1]="Bool",r[r.String=2]="String",r[r.Int=3]="Int",r[r.Number=4]="Number",r[r.Function=5]="Function",r[r.Inferred=6]="Inferred",r[r.None=7]="None"})(Hr||(Hr={}));var Wr=class extends hl{name;constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}},pr=class extends hl{value;typeParams;constructor(e,t,n=null){super(t),this.value=e,this.typeParams=n}visitType(e,t){return e.visitExpressionType(this,t)}};
4var Uo=new Wr(Hr.Dynamic),Qt=new Wr(Hr.Inferred),iP=new Wr(Hr.Bool),nce=new Wr(Hr.Int),Bp=new Wr(Hr.Number),Fp=new Wr(Hr.String),ice=new Wr(Hr.Function),Gr=new Wr(Hr.None),Is;(function(r){r[r.Minus=0]="Minus",r[r.Plus=1]="Plus"})(Is||(Is={}));var B;(function(r){r[r.Equals=0]="Equals",r[r.NotEquals=1]="NotEquals",r[r.Assign=2]="Assign",r[r.Identical=3]="Identical",r[r.NotIdentical=4]="NotIdentical",r[r.Minus=5]="Minus",r[r.Plus=6]="Plus",r[r.Divide=7]="Divide",r[r.Multiply=8]="Multiply",r[r.Modulo=9]="Modulo",r[r.And=10]="And",r[r.Or=11]="Or",r[r.BitwiseOr=12]="BitwiseOr",r[r.BitwiseAnd=13]="BitwiseAnd",r[r.Lower=14]="Lower",r[r.LowerEquals=15]="LowerEquals",r[r.Bigger=16]="Bigger",r[r.BiggerEquals=17]="BiggerEquals",r[r.NullishCoalesce=18]="NullishCoalesce",r[r.Exponentiation=19]="Exponentiation",r[r.In=20]="In",r[r.AdditionAssignment=21]="AdditionAssignment",r[r.SubtractionAssignment=22]="SubtractionAssignment",r[r.MultiplicationAssignment=23]="MultiplicationAssignment",r[r.DivisionAssignment=24]="DivisionAssignment",r[r.RemainderAssignment=25]="RemainderAssignment",r[r.ExponentiationAssignment=26]="ExponentiationAssignment",r[r.AndAssignment=27]="AndAssignment",r[r.OrAssignment=28]="OrAssignment",r[r.NullishCoalesceAssignment=29]="NullishCoalesceAssignment"})(B||(B={}));function sP(r,e){return r==null||e==null?r==e:r.isEquivalent(e)}function Py(r,e,t){let n=r.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(!t(r[i],e[i]))return!1;return!0}function tr(r,e){return Py(r,e,(t,n)=>t.isEquivalent(n))}var qe=class{type;sourceSpan;constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new rr(this,e,null,t)}key(e,t,n){return new gn(this,e,t,n)}callFn(e,t,n){return new Ut(this,e,null,t,n)}instantiate(e,t,n){return new Xa(this,e,t,n)}conditional(e,t=null,n){return new zr(this,e,t,null,n)}equals(e,t){return new _e(B.Equals,this,e,null,t)}notEquals(e,t){return new _e(B.NotEquals,this,e,null,t)}identical(e,t){return new _e(B.Identical,this,e,null,t)}notIdentical(e,t){return new _e(B.NotIdentical,this,e,null,t)}minus(e,t){return new _e(B.Minus,this,e,null,t)}plus(e,t){return new _e(B.Plus,this,e,null,t)}divide(e,t){return new _e(B.Divide,this,e,null,t)}multiply(e,t){return new _e(B.Multiply,this,e,null,t)}modulo(e,t){return new _e(B.Modulo,this,e,null,t)}power(e,t){return new _e(B.Exponentiation,this,e,null,t)}and(e,t){return new _e(B.And,this,e,null,t)}bitwiseOr(e,t){return new _e(B.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new _e(B.BitwiseAnd,this,e,null,t)}or(e,t){return new _e(B.Or,this,e,null,t)}lower(e,t){return new _e(B.Lower,this,e,null,t)}lowerEquals(e,t){return new _e(B.LowerEquals,this,e,null,t)}bigger(e,t){return new _e(B.Bigger,this,e,null,t)}biggerEquals(e,t){return new _e(B.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(cP,e)}nullishCoalesce(e,t){return new _e(B.NullishCoalesce,this,e,null,t)}toStmt(){return new mr(this,null)}},dr=class r extends qe{name;constructor(e,t,n){super(t,n),this.name=e}isEquivalent(e){return e instanceof r&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}clone(){return new r(this.name,this.type,this.sourceSpan)}set(e){return new _e(B.Assign,this,e,null,this.sourceSpan)}},ks=class r extends qe{expr;constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof r&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new r(this.expr.clone())}},fl=class r extends qe{expr;constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitVoidExpr(this,t)}isEquivalent(e){return e instanceof r&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new r(this.expr.clone())}},we=class r extends qe{node;constructor(e,t,n){super(t,n),this.node=e}isEquivalent(e){return e instanceof r&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}clone(){return new r(this.node,this.type,this.sourceSpan)}},Ut=class r extends qe{fn;args;pure;constructor(e,t,n,i,s=!1){super(n,i),this.fn=e,this.args=t,this.pure=s}get receiver(){return this.fn}isEquivalent(e){return e instanceof r&&this.fn.isEquivalent(e.fn)&&tr(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}clone(){return new r(this.fn.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan,this.pure)}},za=class r extends qe{tag;template;constructor(e,t,n,i){super(n,i),this.tag=e,this.template=t}isEquivalent(e){return e instanceof r&&this.tag.isEquivalent(e.tag)&&this.template.isEquivalent(e.template)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateLiteralExpr(this,t)}clone(){return new r(this.tag.clone(),this.template.clone(),this.type,this.sourceSpan)}},Xa=class r extends qe{classExpr;args;constructor(e,t,n,i){super(n,i),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof r&&this.classExpr.isEquivalent(e.classExpr)&&tr(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}clone(){return new r(this.classExpr.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan)}},gt=class r extends qe{value;constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof r&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}clone(){return new r(this.value,this.type,this.sourceSpan)}},Ya=class r extends qe{elements;expressions;constructor(e,t,n){super(null,n),this.elements=e,this.expressions=t}isEquivalent(e){return e instanceof r&&Py(this.elements,e.elements,(t,n)=>t.text===n.text)&&tr(this.expressions,e.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTemplateLiteralExpr(this,t)}clone(){return new r(this.elements.map(e=>e.clone()),this.expressions.map(e=>e.clone()))}},pl=class r extends qe{text;rawText;constructor(e,t,n){super(Fp,t),this.text=e,this.rawText=n??yf(el(e))}visitExpression(e,t){return e.visitTemplateLiteralElementExpr(this,t)}isEquivalent(e){return e instanceof r&&e.text===this.text&&e.rawText===this.rawText}isConstant(){return!0}clone(){return new r(this.text,this.sourceSpan,this.rawText)}},Si=class{text;sourceSpan;constructor(e,t){this.text=e,this.sourceSpan=t}},xs=class{text;sourceSpan;associatedMessage;constructor(e,t,n){this.text=e,this.sourceSpan=t,this.associatedMessage=n}}
4,aP="|",Xg="@@",oP="\u241F",dl=class r extends qe{metaBlock;messageParts;placeHolderNames;expressions;constructor(e,t,n,i,s){super(Fp,s),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=n,this.expressions=i}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}clone(){return new r(this.metaBlock,this.messageParts,this.placeHolderNames,this.expressions.map(e=>e.clone()),this.sourceSpan)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}${aP}${e}`),this.metaBlock.customId&&(e=`${e}${Xg}${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}${oP}${t}`}),Yg(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){return this.messageParts[e]?.sourceSpan??this.sourceSpan}getPlaceholderSourceSpan(e){return this.placeHolderNames[e]?.sourceSpan??this.expressions[e]?.sourceSpan??this.sourceSpan}serializeI18nTemplatePart(e){let t=this.placeHolderNames[e-1],n=this.messageParts[e],i=t.text;return t.associatedMessage?.legacyIds.length===0&&(i+=`${Xg}${Dy(t.associatedMessage.messageString,t.associatedMessage.meaning)}`),Yg(i,n.text,this.getMessagePartSourceSpan(e))}},el=r=>r.replace(/\\/g,"\\\\"),uP=r=>r.replace(/^:/,"\\:"),lP=r=>r.replace(/:/g,"\\:"),yf=r=>r.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function Yg(r,e,t){return r===""?{cooked:e,raw:yf(uP(el(e))),range:t}:{cooked:`:${r}:${e}`,raw:yf(`:${lP(el(r))}:${el(e)}`),range:t}}var Ci=class r extends qe{value;typeParams;constructor(e,t,n=null,i){super(t,i),this.value=e,this.typeParams=n}isEquivalent(e){return e instanceof r&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}clone(){return new r(this.value,this.type,this.typeParams,this.sourceSpan)}};var zr=class r extends qe{condition;falseCase;trueCase;constructor(e,t,n=null,i,s){super(i||t.type,s),this.condition=e,this.falseCase=n,this.trueCase=t}isEquivalent(e){return e instanceof r&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&sP(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}clone(){return new r(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}};var Za=class r extends qe{condition;constructor(e,t){super(iP,t),this.condition=e}isEquivalent(e){return e instanceof r&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}clone(){return new r(this.condition.clone(),this.sourceSpan)}},lt=class r{name;type;constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}clone(){return new r(this.name,this.type)}},Hn=class r extends qe{params;statements;name;constructor(e,t,n,i,s){super(n,i),this.params=e,this.statements=t,this.name=s}isEquivalent(e){return(e instanceof r||e instanceof Ka)&&tr(this.params,e.params)&&tr(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new Ka(e,this.params,this.statements,this.type,t,this.sourceSpan)}clone(){return new r(this.params.map(e=>e.clone()),this.statements,this.type,this.sourceSpan,this.name)}},Ai=class r extends qe{params;body;constructor(e,t,n,i){super(n,i),this.params=e,this.body=t}isEquivalent(e){return!(e instanceof r)||!tr(this.params,e.params)?!1:this.body instanceof qe&&e.body instanceof qe?this.body.isEquivalent(e.body):Array.isArray(this.body)&&Array.isArray(e.body)?tr(this.body,e.body):!1}isConstant(){return!1}visitExpression(e,t){return e.visitArrowFunctionExpr(this,t)}clone(){return new r(this.params.map(e=>e.clone()),Array.isArray(this.body)?this.body:this.body.clone(),this.type,this.sourceSpan)}toDeclStmt(e,t){return new it(e,this,Qt,t,this.sourceSpan)}},Ii=class r extends qe{operator;expr;parens;constructor(e,t,n,i,s=!0){super(n||Bp,i),this.operator=e,this.expr=t,this.parens=s}isEquivalent(e){return e instanceof r&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}clone(){return new r(this.operator,this.expr.clone(),this.type,this.sourceSpan,this.parens)}},kr=class r extends qe{expr;constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitParenthesizedExpr(this,t)}isEquivalent(e){return e instanceof r&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new r(this.expr.clone())}},_e=class r extends qe{operator;rhs;lhs;constructor(e,t,n,i,s){super(i||t.type,s),this.operator=e,this.rhs=n,this.lhs=t}isEquivalent(e){return e instanceof r&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}clone(){return new r(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}isAssignment(){let e=this.operator;return e===B.Assign||e===B.AdditionAssignment||e===B.SubtractionAssignment||e===B.MultiplicationAssignment||e===B.DivisionAssignment||e===B.RemainderAssignment||e===B.ExponentiationAssignment||e===B.AndAssignment||e===B.OrAssignment||e===B.NullishCoalesceAssignment}},rr=class r extends qe{receiver;name;constructor(e,t,n,i){super(n,i),this.receiver=e,this.name=t}get index(){return this.name}isEquivalent(e){return e instanceof r&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new _e(B.Assign,this.receiver.prop(this.name),e,null,this.sourceSpan)}clone(){return new r(this.receiver.clone(),this.name,this.type,this.sourceSpan)}},gn=class r extends qe{receiver;index;constructor(e,t,n,i){super(n,i),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof r&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new _e(B.Assign,this.receiver.key(this.index),e,null,this.sourceSpan)}clone(){return new r(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}},Nr=class r extends qe{entries;constructor(e,t,n){super(t,n),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof r&&tr(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}clone(){return new r(this.entries.map(e=>e.clone()),this.type,this.sourceSpan)}},Ns=class r{key;value;quoted;constructor(e,t,n){this.key=e,this.value=t,this.quoted=n}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}clone(){return new r(this.key,this.value.clone(),this.quoted)}},Xr=class r extends qe{entries;valueType=null;constructor(e,t,n){super(t,n),this.entries=e,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof r&&tr(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}clone(){let e=this.entries.map(t=>t.clone());return new r(e,this.type,this.sourceSpan)}};var qs=new gt(null,null,null),cP=new gt(null,Qt,null),ut;(function(r){r[r.None=0]="None",r[r.Final=1]="Final",r[r.Private=2]="Private",r[r.Exported=4]="Exported",r[r.Static=8]="Static"})(ut||(ut={}));var Sf=class{text;multiline;trailingNewline;constructor(e,t,n){this.text=e,this.multiline=t,this.trailingNewline=n}toString(){return this.multiline?` ${this.text} `:this.text}},ml=class extends Sf{tags;constructor(e){super("",!0,!0),this.tags=e}toString(){return mP(this.tags)}},ki=class{modifiers;sourceSpan;leadingComments;constructor(e=ut.None,t=null,n){this.modifiers=e,this.sourceSpan=t,this.leadingComments=n}hasModifier(e){return(this.modifiers&e)!==0}
4addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}},it=class r extends ki{name;value;type;constructor(e,t,n,i,s,a){super(i,s,a),this.name=e,this.value=t,this.type=n||t&&t.type||null}isEquivalent(e){return e instanceof r&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}},Ka=class r extends ki{name;params;statements;type;constructor(e,t,n,i,s,a,o){super(s,a,o),this.name=e,this.params=t,this.statements=n,this.type=i||null}isEquivalent(e){return e instanceof r&&tr(this.params,e.params)&&tr(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}},mr=class r extends ki{expr;constructor(e,t,n){super(ut.None,t,n),this.expr=e}isEquivalent(e){return e instanceof r&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}},mt=class r extends ki{value;constructor(e,t=null,n){super(ut.None,t,n),this.value=e}isEquivalent(e){return e instanceof r&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}},vl=class r extends ki{condition;trueCase;falseCase;constructor(e,t,n=[],i,s){super(ut.None,i,s),this.condition=e,this.trueCase=t,this.falseCase=n}isEquivalent(e){return e instanceof r&&this.condition.isEquivalent(e.condition)&&tr(this.trueCase,e.trueCase)&&tr(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}};function hP(r=[]){return new ml(r)}function Ee(r,e,t){return new dr(r,e,t)}function K(r,e=null,t){return new Ci(r,null,e,t)}function vt(r,e,t){return new pr(r,e,t)}function jo(r){return new ks(r)}function Ae(r,e,t){return new Nr(r,e,t)}function kt(r,e=null){return new Xr(r.map(t=>new Ns(t.key,t.value,t.quoted)),e,null)}function fP(r,e){return new Za(r,e)}function zn(r,e,t,n,i){return new Hn(r,e,t,n,i)}function qr(r,e,t,n){return new Ai(r,e,t,n)}function yc(r,e,t,n,i){return new vl(r,e,t,n,i)}function pP(r,e,t,n){return new za(r,e,t,n)}function A(r,e,t){return new gt(r,e,t)}function dP(r,e,t,n,i){return new dl(r,e,t,n,i)}function Zg(r){let e="";if(r.tagName&&(e+=` @${r.tagName}`),r.text){if(r.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');e+=" "+r.text.replace(/@/g,"\\@")}return e}function mP(r){if(r.length===0)return"";if(r.length===1&&r[0].tagName&&!r[0].text)return`*${Zg(r[0])} `;let e=`*
5`;for(let t of r)e+=" *",e+=Zg(t).replace(/\n/g,`
6 * `),e+=`
7`;return e+=" ",e}var vP="_c",Kg=Ee("<unknown>"),gP={},EP=50,gl=class r extends qe{resolved;original;shared=!1;constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===gP?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof r&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}clone(){throw new Error("Not supported.")}fixup(e){this.resolved=e,this.shared=!0}},El=class{isClosureCompilerEnabled;statements=[];literals=new Map;literalFactories=new Map;sharedConstants=new Map;_claimedNames=new Map;nextNameIndex=0;constructor(e=!1){this.isClosureCompilerEnabled=e}getConstLiteral(e,t){if(e instanceof gt&&!Qg(e)||e instanceof gl)return e;let n=_s.INSTANCE.keyOf(e),i=this.literals.get(n),s=!1;if(i||(i=new gl(e),this.literals.set(n,i),s=!0),!s&&!i.shared||s&&t){let a=this.freshName(),o,u;this.isClosureCompilerEnabled&&Qg(e)?(o=new Hn([],[new mt(e)]),u=Ee(a).callFn([])):(o=e,u=Ee(a)),this.statements.push(new it(a,o,Qt,ut.Final)),i.fixup(u)}return i}getSharedConstant(e,t){let n=e.keyOf(t);if(!this.sharedConstants.has(n)){let i=this.freshName();this.sharedConstants.set(n,Ee(i)),this.statements.push(e.toSharedConstantDeclaration(i,t))}return this.sharedConstants.get(n)}getLiteralFactory(e){if(e instanceof Nr){let t=e.entries.map(i=>i.isConstant()?i:Kg),n=_s.INSTANCE.keyOf(Ae(t));return this._getLiteralFactory(n,e.entries,i=>Ae(i))}else{let t=kt(e.entries.map(i=>({key:i.key,value:i.value.isConstant()?i.value:Kg,quoted:i.quoted}))),n=_s.INSTANCE.keyOf(t);return this._getLiteralFactory(n,e.entries.map(i=>i.value),i=>kt(i.map((s,a)=>
7({key:e.entries[a].key,value:s,quoted:e.entries[a].quoted}))))}}getSharedFunctionReference(e,t,n=!0){let i=e instanceof Ai;for(let a of this.statements)if(i&&a instanceof it&&a.value?.isEquivalent(e)||!i&&a instanceof Ka&&e instanceof Hn&&e.isEquivalent(a))return Ee(a.name);let s=n?this.uniqueName(t):t;return this.statements.push(e instanceof Hn?e.toDeclStmt(s,ut.Final):new it(s,e,Qt,ut.Final,e.sourceSpan)),Ee(s)}_getLiteralFactory(e,t,n){let i=this.literalFactories.get(e),s=t.filter(a=>!a.isConstant());if(!i){let a=t.map((c,h)=>c.isConstant()?this.getConstLiteral(c,!0):Ee(`a${h}`)),o=a.filter(yP).map(c=>new lt(c.name,Uo)),u=qr(o,n(a),Qt),l=this.freshName();this.statements.push(new it(l,u,Qt,ut.Final)),i=Ee(l),this.literalFactories.set(e,i)}return{literalFactory:i,literalFactoryArguments:s}}uniqueName(e,t=!0){let n=this._claimedNames.get(e)??0,i=n===0&&!t?`${e}`:`${e}${n}`;return this._claimedNames.set(e,n+1),i}freshName(){return this.uniqueName(vP)}},_s=class r{static INSTANCE=new r;keyOf(e){if(e instanceof gt&&typeof e.value=="string")return`"${e.value}"`;if(e instanceof gt)return String(e.value);if(e instanceof Nr){let t=[];for(let n of e.entries)t.push(this.keyOf(n));return`[${t.join(",")}]`}else if(e instanceof Xr){let t=[];for(let n of e.entries){let i=n.key;n.quoted&&(i=`"${i}"`),t.push(i+":"+this.keyOf(n.value))}return`{${t.join(",")}}`}else{if(e instanceof Ci)return`import("${e.value.moduleName}", ${e.value.name})`;if(e instanceof dr)return`read(${e.name})`;if(e instanceof ks)return`typeof(${this.keyOf(e.expr)})`;throw new Error(`${this.constructor.name} does not handle expressions of type ${e.constructor.name}`)}}};function yP(r){return r instanceof dr}function Qg(r){return r instanceof gt&&typeof r.value=="string"&&r.value.length>=EP}var T="@angular/core",w=class{static NEW_METHOD="factory";static TRANSFORM_METHOD="transform";static PATCH_DEPS="patchedDeps";static core={name:null,moduleName:T};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:T};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:T};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:T};static element={name:"\u0275\u0275element",moduleName:T};static elementStart={name:"\u0275\u0275elementStart",moduleName:T};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:T};static domElement={name:"\u0275\u0275domElement",moduleName:T};static domElementStart={name:"\u0275\u0275domElementStart",moduleName:T};static domElementEnd={name:"\u0275\u0275domElementEnd",moduleName:T};static domElementContainer={name:"\u0275\u0275domElementContainer",moduleName:T};static domElementContainerStart={name:"\u0275\u0275domElementContainerStart",moduleName:T};static domElementContainerEnd={name:"\u0275\u0275domElementContainerEnd",moduleName:T};static domTemplate={name:"\u0275\u0275domTemplate",moduleName:T};static domListener={name:"\u0275\u0275domListener",moduleName:T};static advance={name:"\u0275\u0275advance",moduleName:T};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:T};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:T};static attribute={name:"\u0275\u0275attribute",moduleName:T};static classProp={name:"\u0275\u0275classProp",moduleName:T};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:T};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:T};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:T};static styleMap={name:"\u0275\u0275styleMap",moduleName:T};static classMap={name:"\u0275\u0275classMap",moduleName:T};static styleProp={name:"\u0275\u0275styleProp",moduleName:T};static interpolate={name:"\u0275\u0275interpolate",moduleName:T};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:T};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:T};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:T};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:T};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:T};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:T};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:T};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:T};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:T};static nextContext={name:"\u0275\u0275nextContext",moduleName:T};
7static resetView={name:"\u0275\u0275resetView",moduleName:T};static templateCreate={name:"\u0275\u0275template",moduleName:T};static defer={name:"\u0275\u0275defer",moduleName:T};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:T};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:T};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:T};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:T};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:T};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:T};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:T};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:T};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:T};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:T};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:T};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:T};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:T};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:T};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:T};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:T};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:T};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:T};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:T};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:T};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:T};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:T};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:T};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:T};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:T};static conditional={name:"\u0275\u0275conditional",moduleName:T};static repeater={name:"\u0275\u0275repeater",moduleName:T};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:T};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:T};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:T};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:T};static text={name:"\u0275\u0275text",moduleName:T};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:T};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:T};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:T};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:T};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:T};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:T};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:T};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:T};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:T};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:T};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:T};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:T};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:T};static restoreView={name:"\u0275\u0275restoreView",moduleName:T};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:T};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:T};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:T};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:T};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:T};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:T};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:T};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:T};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:T};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:T};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:T};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:T};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:T};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:T};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:T};static domProperty={name:"\u0275\u0275domProperty",moduleName:T};static ariaProperty={name:"\u0275\u0275ariaProperty",moduleName:T};static property={name:"\u0275\u0275property",moduleName:T};static animationEnterListener={name:"\u0275\u0275animateEnterListener",moduleName:T};static animationLeaveListener={name:"\u0275\u0275animateLeaveListener",moduleName:T};static animationEnter={name:"\u0275\u0275animateEnter",moduleName:T};static animationLeave={name:"\u0275\u0275animateLeave",moduleName:T};
7static i18n={name:"\u0275\u0275i18n",moduleName:T};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:T};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:T};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:T};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:T};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:T};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:T};static pipe={name:"\u0275\u0275pipe",moduleName:T};static projection={name:"\u0275\u0275projection",moduleName:T};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:T};static reference={name:"\u0275\u0275reference",moduleName:T};static inject={name:"\u0275\u0275inject",moduleName:T};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:T};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:T};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:T};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:T};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:T};static forwardRef={name:"forwardRef",moduleName:T};static resolveForwardRef={name:"resolveForwardRef",moduleName:T};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:T};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:T};static \u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:T};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:T};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:T};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:T};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:T};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:T};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:T};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:T};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:T};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:T};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:T};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:T};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:T};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:T};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:T};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:T};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:T};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:T};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:T};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:T};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:T};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:T};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:T};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:T};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:T};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:T};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:T};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:T};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:T};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:T};static definePipe={name:"\u0275\u0275definePipe",moduleName:T};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:T};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:T};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:T};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:T};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:T};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:T};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:T};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:T};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:T};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:T};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:T};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:T};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:T};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:T};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:T};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:T};static declareLet={name:"\u0275\u0275declareLet",moduleName:T};static storeLet={name:"\u0275\u0275storeLet",moduleName:T};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:T};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:T};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:T};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:T};static CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:T};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:T};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:T};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:T};static listener={name:"\u0275\u0275listener",moduleName:T};
7static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:T};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:T};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:T};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:T};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:T};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:T};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:T};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:T};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:T};static validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:T};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:T};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:T};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:T};static assertType={name:"\u0275assertType",moduleName:T}},SP=/-+([a-z0-9])/g;function wP(r){return r.replace(SP,(...e)=>e[1].toUpperCase())}function xP(r,e){return Oy(r,":",e)}function _P(r,e){return Oy(r,".",e)}function Oy(r,e,t){let n=r.indexOf(e);return n==-1?t:[r.slice(0,n).trim(),r.slice(n+1).trim()]}function TP(r){let e=[];for(let t=0;t<r.length;t++){let n=r.charCodeAt(t);if(n>=55296&&n<=56319&&r.length>t+1){let i=r.charCodeAt(t+1);i>=56320&&i<=57343&&(t++,n=(n-55296<<10)+i-56320+65536)}n<=127?e.push(n):n<=2047?e.push(n>>6&31|192,n&63|128):n<=65535?e.push(n>>12|224,n>>6&63|128,n&63|128):n<=2097151&&e.push(n>>18&7|240,n>>12&63|128,n>>6&63|128,n&63|128)}return e}function Ry(r){if(typeof r=="string")return r;if(Array.isArray(r))return`[${r.map(Ry).join(", ")}]`;if(r==null)return""+r;let e=r.overriddenName||r.name;if(e)return`${e}`;if(!r.toString)return"object";let t=r.toString();if(t==null)return""+t;let n=t.indexOf(`
8`);return n>=0?t.slice(0,n):t}var wf=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Fa=globalThis,bP=/^([1-9]|1[0-8])\./;function Ly(r){return r.startsWith("0.")?!0:!bP.test(r)}var CP=3,AP="# sourceMappingURL=data:application/json;base64,",xf=class{file;sourcesContent=new Map;lines=[];lastCol0=0;hasMappings=!1;constructor(e=null){this.file=e}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,n,i){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(t!=null&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(e==null)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(n==null||i==null))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:i}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;let e=new Map,t=[],n=[];Array.from(this.sourcesContent.keys()).forEach((l,c)=>{e.set(l,c),t.push(l),n.push(this.sourcesContent.get(l)||null)});let i="",s=0,a=0,o=0,u=0;return this.lines.forEach(l=>{s=0,i+=l.map(c=>{let h=Bu(c.col0-s);return s=c.col0,c.sourceUrl!=null&&(h+=Bu(e.get(c.sourceUrl)-a),a=e.get(c.sourceUrl),h+=Bu(c.sourceLine0-o),o=c.sourceLine0,h+=Bu(c.sourceCol0-u),u=c.sourceCol0),h}).join(","),i+=";"}),i=i.slice(0,-1),{file:this.file||"",version:CP,sourceRoot:"",sources:t,sourcesContent:n,mappings:i}}toJsComment(){return this.hasMappings?"//"+AP+IP(JSON.stringify(this,null,0)):""}};function IP(r){let e="",t=TP(r);for(let n=0;n<t.length;){let i=t[n++],s=n<t.length?t[n++]:null,a=n<t.length?t[n++]:null;e+=Ra(i>>2),e+=Ra((i&3)<<4|(s===null?0:s>>4)),e+=s===null?"=":Ra((s&15)<<2|(a===null?0:a>>6)),e+=s===null||a===null?"=":Ra(a&63)}return e}function Bu(r){r=r<0?(-r<<1)+1:r<<1;let e="";do{let t=r&31;r=r>>5,r>0&&(t=t|32),e+=Ra(t)}while(r>0);return e}var kP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
8+/";function Ra(r){if(r<0||r>=64)throw new Error("Can only encode value in the range [0, 63]");return kP[r]}var NP=/'|\\|\n|\r|\$/g,qP=/^[$A-Z_][0-9A-Z_$]*$/i,_f="  ",yl=class{indent;partsLength=0;parts=[];srcSpans=[];constructor(e){this.indent=e}},DP=new Map([[B.And,"&&"],[B.Bigger,">"],[B.BiggerEquals,">="],[B.BitwiseOr,"|"],[B.BitwiseAnd,"&"],[B.Divide,"/"],[B.Assign,"="],[B.Equals,"=="],[B.Identical,"==="],[B.Lower,"<"],[B.LowerEquals,"<="],[B.Minus,"-"],[B.Modulo,"%"],[B.Exponentiation,"**"],[B.Multiply,"*"],[B.NotEquals,"!="],[B.NotIdentical,"!=="],[B.NullishCoalesce,"??"],[B.Or,"||"],[B.Plus,"+"],[B.In,"in"],[B.AdditionAssignment,"+="],[B.SubtractionAssignment,"-="],[B.MultiplicationAssignment,"*="],[B.DivisionAssignment,"/="],[B.RemainderAssignment,"%="],[B.ExponentiationAssignment,"**="],[B.AndAssignment,"&&="],[B.OrAssignment,"||="],[B.NullishCoalesceAssignment,"??="]]),Tf=class r{_indent;static createRoot(){return new r(0)}_lines;constructor(e){this._indent=e,this._lines=[new yl(e)]}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return this._currentLine.parts.length===0}lineLength(){return this._currentLine.indent*_f.length+this._currentLine.partsLength}print(e,t,n=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new yl(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(e=>e.parts.length>0?Jg(e.indent)+e.parts.join(""):"").join(`
9`)}toSourceMapGenerator(e,t=0){let n=new xf(e),i=!1,s=()=>{i||(n.addSource(e," ").addMapping(0,e,0,0),i=!0)};for(let a=0;a<t;a++)n.addLine(),s();return this.sourceLines.forEach((a,o)=>{n.addLine();let u=a.srcSpans,l=a.parts,c=a.indent*_f.length,h=0;for(;h<u.length&&!u[h];)c+=l[h].length,h++;for(h<u.length&&o===0&&c===0?i=!0:s();h<u.length;){let d=u[h],f=d.start.file,m=d.start.line,S=d.start.col;for(n.addSource(f.url,f.content).addMapping(c,f.url,m,S),c+=l[h].length,h++;h<u.length&&(d===u[h]||!u[h]);)c+=l[h].length,h++}}),n}spanOf(e,t){let n=this._lines[e];if(n){let i=t-Jg(n.indent).length;for(let s=0;s<n.parts.length;s++){let a=n.parts[s];if(a.length>i)return n.srcSpans[s];i-=a.length}}return null}get sourceLines(){return this._lines.length&&this._lines[this._lines.length-1].parts.length===0?this._lines.slice(0,-1):this._lines}},bf=class{_escapeDollarInStrings;lastIfCondition=null;constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(e.leadingComments!==void 0)for(let n of e.leadingComments)n instanceof ml?t.print(e,`/*${n.toString()}*/`,n.trailingNewline):n.multiline?t.print(e,`/* ${n.text} */`,n.trailingNewline):n.text.split(`
10`).forEach(i=>{t.println(e,`// ${i}`)})}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),this.lastIfCondition=e.condition,e.condition.visitExpression(this,t),this.lastIfCondition=null,t.print(e,") {");let n=e.falseCase!=null&&e.falseCase.length>0;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitInvokeFunctionExpr(e,t){let n=e.fn instanceof Ai;return n&&t.print(e.fn,"("),e.fn.visitExpression(this,t),n&&t.print(e.fn,")"),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitTaggedTemplateLiteralExpr(e,t){return e.tag.visitExpression(this,t),e.template.visitExpression(this,t),null}visitTemplateLiteralExpr(e,t){t.print(e,"`");for(let n=0;n<e.elements.length;n++){e.elements[n].visitExpression(this,t);let i=n<e.expressions.length?e.expressions[n]:null;i!==null&&(t.print(i,"${"),i.visitExpression(this,t),t.print(i,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){t.print(e,e.rawText)}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitVoidExpr(e,t){t.print(e,"void "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){return t.print(e,e.name),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){let n=e.value;return typeof n=="string"?t.print(e,vi(n,this._escapeDollarInStrings)):t.print(e,`${n}`),null}visitLocalizedString(e,t){let n=e.serializeI18nHead();t.print(e,"$localize `"+n.raw);for(let i=1;i<e.messageParts.length;i++)t.print(e,"${"),e.expressions[i-1].visitExpression(this,t),t.print(e,`}${e.serializeI18nTemplatePart(i).raw}`);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitDynamicImportExpr(e,t){t.print(e,`import(${e.url})`)}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let n;switch(e.operator){case Is.Plus:n="+";break;case Is.Minus:n="-";break;default:throw new Error(`Unknown operator ${e.operator}`)}let i=e!==this.lastIfCondition;return i&&t.print(e,"("),t.print(e,n),e.expr.visitExpression(this,t),i&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){let n=DP.get(e.operator);if(!n)throw new Error(`Unknown operator ${e.operator}`);let i=e!==this.lastIfCondition;return i&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${n} `),e.rhs.visitExpression(this,t),i&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects(n=>{t.print(e,`${vi(n.key,this._escapeDollarInStrings,n.quoted)}:`),n.value.visitExpression(this,t)},e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitParenthesizedExpr(e,t){e.expr.visitExpression(this,t)}visitAllExpressions(e,t,n){this.visitAllObjects(i=>i.visitExpression(this,t),e,t,n)}visitAllObjects(e,t,n,i){let s=!1;for(let a=0;a<t.length;a++)a>0&&(n.lineLength()>80?(n.print(null,i,!0),s||(n.incIndent(),n.incIndent(),s=!0)):n.print(null,i,!1)),e(t[a]);s&&(n.decIndent(),n.decIndent())}visitAllStatements(e,t){e.forEach(n=>
10n.visitStatement(this,t))}};function vi(r,e,t=!0){if(r==null)return null;let n=r.replace(NP,(...s)=>s[0]=="$"?e?"\\$":"$":s[0]==`
11`?"\\n":s[0]=="\r"?"\\r":`\\${s[0]}`);return t||!qP.test(n)?`'${n}'`:n}function Jg(r){let e="";for(let t=0;t<r;t++)e+=_f;return e}function Sc(r,e){if(e===0)return vt(r);let t=[];for(let n=0;n<e;n++)t.push(Uo);return vt(r,void 0,t)}function PP(r,e){let t=vi(e,!1,!1);return t!==e?`${r}[${t}]`:`${r}.${e}`}function OP(r){return RP("ngJitMode",r)}function RP(r,e){let t=new Ci({name:r,moduleName:null}),n=new _e(B.Identical,new ks(t),A("undefined")),i=new _e(B.Or,n,t,void 0,void 0);return new _e(B.And,i,e)}function nt(r){let e=new we(r);return{value:e,type:e}}function gi(r,e){let t=Ae(r.map(n=>n.value));return e?qr([],t):t}function $p(r,e){return{expression:r,forwardRef:e}}function LP({expression:r,forwardRef:e}){switch(e){case 0:case 1:return r;case 2:return MP(r)}}function MP(r){return K(w.forwardRef).callFn([qr([],r)])}var Qa;(function(r){r[r.Class=0]="Class",r[r.Function=1]="Function"})(Qa||(Qa={}));function pi(r){let e=Ee("__ngFactoryType__"),t=null,n=tE(r)?e:new _e(B.Or,e,r.type.value),i=null;r.deps!==null?r.deps!=="invalid"&&(i=new Xa(n,eE(r.deps,r.target))):(t=Ee(`\u0275${r.name}_BaseFactory`),i=t.callFn([n]));let s=[],a=null;function o(l){let c=Ee("__ngConditionalFactory__");s.push(new it(c.name,qs,Qt));let h=i!==null?c.set(i).toStmt():K(w.invalidFactory).callFn([]).toStmt();return s.push(yc(e,[h],[c.set(l).toStmt()])),c}if(tE(r)){let l=eE(r.delegateDeps,r.target),c=new(r.delegateType===Qa.Class?Xa:Ut)(r.delegate,l);a=o(c)}else jP(r)?a=o(r.expression):a=i;if(a===null)s.push(K(w.invalidFactory).callFn([]).toStmt());else if(t!==null){let l=K(w.getInheritedFactory).callFn([r.type.value]),c=new _e(B.Or,t,t.set(l));s.push(new mt(c.callFn([n])))}else s.push(new mt(a));let u=zn([new lt(e.name,Uo)],s,Qt,void 0,`${r.name}_Factory`);return t!==null&&(u=qr([],[new it(t.name),new mt(u)]).callFn([],void 0,!0)),{expression:u,statements:[],type:BP(r)}}function BP(r){let e=r.deps!==null&&r.deps!=="invalid"?$P(r.deps):Gr;return vt(K(w.FactoryDeclaration,[Sc(r.type.type,r.typeArgumentCount),e]))}function eE(r,e){return r.map((t,n)=>FP(t,e,n))}function FP(r,e,t){if(r.token===null)return K(w.invalidFactoryDep).callFn([A(t)]);if(r.attributeNameType===null){let n=0|(r.self?2:0)|(r.skipSelf?4:0)|(r.host?1:0)|(r.optional?8:0)|(e===jr.Pipe?16:0),i=n!==0||r.optional?A(n):null,s=[r.token];i&&s.push(i);let a=VP(e);return K(a).callFn(s)}else return K(w.injectAttribute).callFn([r.token])}function $P(r){let e=!1,t=r.map(n=>{let i=UP(n);return i!==null?(e=!0,i):A(null)});return e?vt(Ae(t)):Gr}function UP(r){let e=[];return r.attributeNameType!==null&&e.push({key:"attribute",value:r.attributeNameType,quoted:!1}),r.optional&&e.push({key:"optional",value:A(!0),quoted:!1}),r.host&&e.push({key:"host",value:A(!0),quoted:!1}),r.self&&e.push({key:"self",value:A(!0),quoted:!1}),r.skipSelf&&e.push({key:"skipSelf",value:A(!0),quoted:!1}),e.length>0?kt(e):null}function tE(r){return r.delegateType!==void 0}function jP(r){return r.expression!==void 0}function VP(r){switch(r){case jr.Component:case jr.Directive:case jr.Pipe:return w.directiveInject;case jr.NgModule:case jr.Injectable:default:return w.inject}}var Ni=class{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new Jt(e+this.start,e+this.end)}},He=class{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},Ja=class extends He{nameSpan;constructor(e,t,n){super(e,t),this.nameSpan=n}},Lt=class extends He{visit(e,t=null){}},Yr=class extends He{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},qi=class extends Yr{visit(e,t=null){return e.visitThisReceiver?.(this,t)}},Ds=class extends He{expressions;constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitChain(this,t)}},Sl=class extends He{condition;trueExp;falseExp;constructor(e,t,n,i,s){super(e,t),this.condition=n,this.trueExp=i,this.falseExp=s}visit(e,t=null){return e.visitConditional(this,t)}},dn=class extends Ja{receiver;name;constructor(e,t,n,i,s){super(e,t,n),this.receiver=i,this.name=s}visit(e,t=null){return e.visitPropertyRead(this,t)}},eo=class extends Ja{receiver;name;constructor(e,t,n,i,s){super(e,t,n),this.receiver=i,this.name=s}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},Di=class extends He{receiver;key;constructor(e,t,n,i){super(e,t),this.receiver=n,this.key=i}visit(e,t=null){return e.visitKeyedRead(this,t)}},to=class extends He{receiver;key;constructor(e,t,n,i){super(e,t),this.receiver=n,this.key=i}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}},$a;(function(r){r[r.ReferencedByName=0]="ReferencedByName",r[r.ReferencedDirectly=1]="ReferencedDirectly"})($a||($a={}));var wl=class extends Ja{exp;name;args;type;constructor(e,t,n,i,s,a,o){super(e,t,o),this.exp=n,this.name=i,this.args=s,this.type=a}visit(e,t=null){return e.visitPipe(this,t)}},Xt=class extends He{value;constructor(e,t,n){super(e,t),this.value=n}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},xl=class extends He{expressions;constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitLiteralArray(this,t)}},_l=class extends He{keys;values;constructor(e,t,n,i){super(e,t),this.keys=n,this.values=i}visit(e,t=null){return e.visitLiteralMap(this,t)}},Vo=class extends He{strings;expressions;constructor(e,t,n,i){super(e,t),this.strings=n,this.expressions=i}visit(e,t=null){return e.visitInterpolation(this,t)}},Tt=class extends He{operation;left;right;constructor(e,t,n,i,s){super(e,t),this.operation=n,this.left=i,this.right=s}visit(e,t=null){return e.visitBinary(this,t)}static isAssignmentOperation(e){return e==="="||e==="+="||e==="-="||e==="*="||e==="/="||e==="%="||e==="**="||e==="&&="||e==="||="||e==="??="}},Ts=class r extends Tt{operator;expr;left=null;right=null;operation=null;static createMinus(e,t,n){return new r(e,t,"-",n,"-",new Xt(e,t,0),n)}
11static createPlus(e,t,n){return new r(e,t,"+",n,"-",n,new Xt(e,t,0))}constructor(e,t,n,i,s,a,o){super(e,t,s,a,o),this.operator=n,this.expr=i}visit(e,t=null){return e.visitUnary!==void 0?e.visitUnary(this,t):e.visitBinary(this,t)}},ro=class extends He{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitPrefixNot(this,t)}},no=class extends He{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitTypeofExpression(this,t)}},io=class extends He{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitVoidExpression(this,t)}},so=class extends He{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitNonNullAssert(this,t)}},Ps=class extends He{receiver;args;argumentSpan;constructor(e,t,n,i,s){super(e,t),this.receiver=n,this.args=i,this.argumentSpan=s}visit(e,t=null){return e.visitCall(this,t)}},Tl=class extends He{receiver;args;argumentSpan;constructor(e,t,n,i,s){super(e,t),this.receiver=n,this.args=i,this.argumentSpan=s}visit(e,t=null){return e.visitSafeCall(this,t)}},ao=class extends He{tag;template;constructor(e,t,n,i){super(e,t),this.tag=n,this.template=i}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}},oo=class extends He{elements;expressions;constructor(e,t,n,i){super(e,t),this.elements=n,this.expressions=i}visit(e,t){return e.visitTemplateLiteral(this,t)}},bl=class extends He{text;constructor(e,t,n){super(e,t),this.text=n}visit(e,t){return e.visitTemplateLiteralElement(this,t)}},uo=class extends He{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t){return e.visitParenthesizedExpression(this,t)}},Jt=class{start;end;constructor(e,t){this.start=e,this.end=t}},Yt=class extends He{ast;source;location;errors;constructor(e,t,n,i,s){super(new Ni(0,t===null?0:t.length),new Jt(i,t===null?i:i+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=s}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},lo=class{sourceSpan;key;value;constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}},Cf=class{sourceSpan;key;value;constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}},Cl=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let n=0;n<e.elements.length;n++){this.visit(e.elements[n],t);let i=n<e.expressions.length?e.expressions[n]:null;i!==null&&this.visit(i,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitAll(e,t){for(let n of e)this.visit(n,t)}},vs=class{name;expression;type;sourceSpan;keySpan;valueSpan;isLiteral;isLegacyAnimation;isAnimation;constructor(e,t,n,i,s,a){this.name=e,this.expression=t,this.type=n,this.sourceSpan=i,this.keySpan=s,this.valueSpan=a,this.isLiteral=this.type===_r.LITERAL_ATTR,this.isLegacyAnimation=this.type===_r.LEGACY_ANIMATION,this.isAnimation=this.type===_r.ANIMATION}},_r;(function(r){r[r.DEFAULT=0]="DEFAULT",r[r.LITERAL_ATTR=1]="LITERAL_ATTR",r[r.LEGACY_ANIMATION=2]="LEGACY_ANIMATION",r[r.TWO_WAY=3]="TWO_WAY",r[r.ANIMATION=4]="ANIMATION"})(_r||(_r={}));var wt;(function(r){r[r.Regular=0]="Regular",r[r.LegacyAnimation=1]="LegacyAnimation",r[r.TwoWay=2]="TwoWay",r[r.Animation=3]="Animation"})(wt||(wt={}));var Al=class{name;targetOrPhase;type;handler;sourceSpan;handlerSpan;keySpan;constructor(e,t,n,i,s,a,o){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=i,this.sourceSpan=s,this.handlerSpan=a,this.keySpan=o}},Af=class{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=s}},Te;(function(r){r[r.Property=0]="Property",r[r.Attribute=1]="Attribute",r[r.Class=2]="Class",r[r.Style=3]="Style",r[r.LegacyAnimation=4]="LegacyAnimation",r[r.TwoWay=5]="TwoWay",r[r.Animation=6]="Animation"})(Te||(Te={}));var Il=class{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,s,a,o,u){this.name=e,this.type=t,this.securityContext=n,this.value=i,this.unit=s,this.sourceSpan=a,this.keySpan=o,this.valueSpan=u}}
11,Cr;(function(r){r[r.RAW_TEXT=0]="RAW_TEXT",r[r.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",r[r.PARSABLE_DATA=2]="PARSABLE_DATA"})(Cr||(Cr={}));function Dr(r,e=!0){if(r[0]!=":")return[null,r];let t=r.indexOf(":",1);if(t===-1){if(e)throw new Error(`Unsupported format "${r}" expecting ":namespace:name"`);return[null,r]}return[r.slice(1,t),r.slice(t+1)]}function rE(r){return Dr(r)[1]==="ng-container"}function If(r){return Dr(r)[1]==="ng-content"}function HP(r){return Dr(r)[1]==="ng-template"}function kf(r){return r===null?null:Dr(r)[0]}function tl(r,e){return r?`:${r}:${e}`:e}var wc=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}},Ei=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}},Os=class{value;sourceSpan;i18n;constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}visit(e){return e.visitBoundText(this)}},Rs=class{name;value;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,n,i,s,a){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=s,this.i18n=a}visit(e){return e.visitTextAttribute(this)}},Nf=class r{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,n,i,s,a,o,u,l){this.name=e,this.type=t,this.securityContext=n,this.value=i,this.unit=s,this.sourceSpan=a,this.keySpan=o,this.valueSpan=u,this.i18n=l}static fromBoundElementProperty(e,t){if(e.keySpan===void 0)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new r(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}},qf=class r{name;type;handler;target;phase;sourceSpan;handlerSpan;keySpan;constructor(e,t,n,i,s,a,o,u){this.name=e,this.type=t,this.handler=n,this.target=i,this.phase=s,this.sourceSpan=a,this.handlerSpan=o,this.keySpan=u}static fromParsedEvent(e){let t=e.type===wt.Regular?e.targetOrPhase:null,n=e.type===wt.LegacyAnimation?e.targetOrPhase:null;if(e.keySpan===void 0)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new r(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}},Zr=class{name;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;isVoid;i18n;constructor(e,t,n,i,s,a,o,u,l,c,h,d,f){this.name=e,this.attributes=t,this.inputs=n,this.outputs=i,this.directives=s,this.children=a,this.references=o,this.isSelfClosing=u,this.sourceSpan=l,this.startSourceSpan=c,this.endSourceSpan=h,this.isVoid=d,this.i18n=f}visit(e){return e.visitElement(this)}},Kr=class{nameSpan;sourceSpan;prefetchSpan;whenOrOnSourceSpan;hydrateSpan;constructor(e,t,n,i,s){this.nameSpan=e,this.sourceSpan=t,this.prefetchSpan=n,this.whenOrOnSourceSpan=i,this.hydrateSpan=s}visit(e){return e.visitDeferredTrigger(this)}},kl=class extends Kr{value;constructor(e,t,n,i,s){super(null,t,n,i,s),this.value=e}},Df=class extends Kr{},Pf=class extends Kr{},Of=class extends Kr{},Nl=class extends Kr{reference;constructor(e,t,n,i,s,a){super(t,n,i,s,a),this.reference=e}},Rf=class extends Kr{delay;constructor(e,t,n,i,s,a){super(t,n,i,s,a),this.delay=e}},ql=class extends Kr{reference;constructor(e,t,n,i,s,a){super(t,n,i,s,a),this.reference=e}},Dl=class extends Kr{reference;constructor(e,t,n,i,s,a){super(t,n,i,s,a),this.reference=e}},vr=class{nameSpan;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i){this.nameSpan=e,this.sourceSpan=t,this.startSourceSpan=n,this.endSourceSpan=i}},co=class extends vr{children;minimumTime;i18n;constructor(e,t,n,i,s,a,o){super(n,i,s,a),this.children=e,this.minimumTime=t,this.i18n=o}visit(e){return e.visitDeferredBlockPlaceholder(this)}},ho=class extends vr{children;afterTime;minimumTime;i18n;constructor(e,t,n,i,s,a,o,u){super(i,s,a,o),this.children=e,this.afterTime=t,this.minimumTime=n,this.i18n=u}visit(e){return e.visitDeferredBlockLoading(this)}},fo=class extends vr{children;i18n;constructor(e,t,n,i,s,a){super(t,n,i,s),this.children=e,this.i18n=a}visit(e){return e.visitDeferredBlockError(this)}},Pi=class extends vr{children;placeholder;loading;error;mainBlockSpan;i18n;triggers;prefetchTriggers;hydrateTriggers;definedTriggers;definedPrefetchTriggers;definedHydrateTriggers;constructor(e,t,n,i,s,a,o,u,l,c,h,d,f){super(u,l,h,d),this.children=e,this.placeholder=s,this.loading=a,this.error=o,this.mainBlockSpan=c,this.i18n=f,this.triggers=t,this.prefetchTriggers=n,this.hydrateTriggers=i,this.definedTriggers=Object.keys(t),this.definedPrefetchTriggers=Object.keys(n),this.definedHydrateTriggers=Object.keys(i)}visit(e){return e.visitDeferredBlock(this)}visitAll(e){this.visitTriggers(this.definedHydrateTriggers,this.hydrateTriggers,e),this.visitTriggers(this.definedTriggers,this.triggers,e),this.visitTriggers(this.definedPrefetchTriggers,this.prefetchTriggers,e),Xh(e,this.children);let t=[this.placeholder,this.loading,this.error].filter(n=>n!==null);Xh(e,t)}visitTriggers(e,t,n){Xh(n,e.map(i=>t[i]))}},Pl=class extends vr{expression;cases;unknownBlocks;constructor(e,t,n,i,s,a,o){super(o,i,s,a),this.expression=e,this.cases=t,this.unknownBlocks=n}visit(e){return e.visitSwitchBlock(this)}},po=class extends vr{expression;children;i18n;constructor(e,t,n,i,s,a,o){super(a,n,i,s),this.expression=e,this.children=t,this.i18n=o}visit(e){return e.visitSwitchBlockCase(this)}},Ls=class extends vr{item;expression;trackBy;trackKeywordSpan;contextVariables;children;empty;mainBlockSpan;i18n;constructor(e,t,n,i,s,a,o,u,l,c,h,d,f){super(d,u,c,h),this.item=e,this.expression=t,this.trackBy=n,this.trackKeywordSpan=i,this.contextVariables=s,this.children=a,this.empty=o,this.mainBlockSpan=l,this.i18n=f}visit(e){return e.visitForLoopBlock(this)}},mo=class extends vr{children;i18n;constructor(e,t,n,i,s,a){super(s,t,n,i),this.children=e,this.i18n=a}visit(e){return e.visitForLoopBlockEmpty(this)}},Ol=class extends vr{branches;constructor(e,t,n,i,s){super(s,t,n,i),this.branches=e}visit(e){return e.visitIfBlock(this)}},wi=class extends vr{expression;children;expressionAlias;i18n;constructor(e,t,n,i,s,a,o,u){super(o,i,s,a),this.expression=e,this.children=t,this.expressionAlias=n,this.i18n=u}visit(e){return e.visitIfBlockBranch(this)}},Rl=class{name;sourceSpan;nameSpan;constructor(e,t,n){this.name=e,this.sourceSpan=t,this.nameSpan=n}visit(e){return e.visitUnknownBlock(this)}},Up=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,n,i,s){this.name=e,this.value=t,this.sourceSpan=n,this.nameSpan=i,this.valueSpan=s}visit(e){return e.visitLetDeclaration(this)}},Ua=class{componentName;tagName;fullName;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,n,i,s,a,o,u,l,c,h,d,f,m){this.componentName=e,this.tagName=t,this.fullName=n,this.attributes=i,this.inputs=s,this.outputs=a,this.directives=o,this.children=u,this.references=l,this.isSelfClosing=c,this.sourceSpan=h,this.startSourceSpan=d,this.endSourceSpan=f,this.i18n=m}visit(e){return e.visitComponent(this)}},My=class{name;attributes;inputs;outputs;references;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,n,i,s,a,o,u,l){this.name=e,this.attributes=t,this.inputs=n,this.outputs=i,this.references=s,this.sourceSpan=a,this.startSourceSpan=o,this.endSourceSpan=u,this.i18n=l}
11visit(e){return e.visitDirective(this)}},er=class{tagName;attributes;inputs;outputs;directives;templateAttrs;children;references;variables;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,n,i,s,a,o,u,l,c,h,d,f,m){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=i,this.directives=s,this.templateAttrs=a,this.children=o,this.references=u,this.variables=l,this.isSelfClosing=c,this.sourceSpan=h,this.startSourceSpan=d,this.endSourceSpan=f,this.i18n=m}visit(e){return e.visitTemplate(this)}},Ms=class{selector;attributes;children;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;name="ng-content";constructor(e,t,n,i,s,a,o,u){this.selector=e,this.attributes=t,this.children=n,this.isSelfClosing=i,this.sourceSpan=s,this.startSourceSpan=a,this.endSourceSpan=o,this.i18n=u}visit(e){return e.visitContent(this)}},Xn=class{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=s}visit(e){return e.visitVariable(this)}},vo=class{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=s}visit(e){return e.visitReference(this)}},By=class{vars;placeholders;sourceSpan;i18n;constructor(e,t,n,i){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=i}visit(e){return e.visitIcu(this)}},go=class{tagNames;bindings;listeners;sourceSpan;constructor(e,t,n,i){if(this.tagNames=e,this.bindings=t,this.listeners=n,this.sourceSpan=i,e.length===0)throw new Error("HostElement must have at least one tag name.")}visit(){throw new Error("HostElement cannot be visited")}};function Xh(r,e){let t=[];if(r.visit)for(let n of e)r.visit(n);else for(let n of e){let i=n.visit(r);i&&t.push(i)}return t}var At=class{nodes;placeholders;placeholderToMessage;meaning;description;customId;sources;id;legacyIds=[];messageString;constructor(e,t,n,i,s,a){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=i,this.description=s,this.customId=a,this.id=this.customId,this.messageString=WP(this.nodes),e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}},Da=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}},mn=class{children;sourceSpan;constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}},Ll=class{expression;type;cases;sourceSpan;expressionPlaceholder;constructor(e,t,n,i,s){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=i,this.expressionPlaceholder=s}visit(e,t){return e.visitIcu(this,t)}},Yn=class{tag;attrs;startName;closeName;children;isVoid;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,s,a,o,u,l){this.tag=e,this.attrs=t,this.startName=n,this.closeName=i,this.children=s,this.isVoid=a,this.sourceSpan=o,this.startSourceSpan=u,this.endSourceSpan=l}visit(e,t){return e.visitTagPlaceholder(this,t)}},Eo=class{value;name;sourceSpan;constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitPlaceholder(this,t)}},Bs=class{value;name;sourceSpan;previousMessage;constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitIcuPlaceholder(this,t)}},Zn=class{name;parameters;startName;closeName;children;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,s,a,o,u){this.name=e,this.parameters=t,this.startName=n,this.closeName=i,this.children=s,this.sourceSpan=a,this.startSourceSpan=o,this.endSourceSpan=u}visit(e,t){return e.visitBlockPlaceholder(this,t)}};function WP(r){let e=new Lf;return r.map(n=>n.visit(e)).join("")}var Lf=class{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){let t=Object.keys(e.cases).map(n=>`${n} {${e.cases[n].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){let t=e.children.map(n=>n.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}visitPlaceholder(e){return`{$${e.name}}`}visitIcuPlaceholder(e){return`{$${e.name}}`}visitBlockPlaceholder(e){let t=e.children.map(n=>n.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}};var GP=class{visitTag(e){let t=this._serializeAttributes(e.attrs);if(e.children.length==0)return`<${e.name}${t}/>`;let n=e.children.map(i=>i.visit(this));return`<${e.name}${t}>${n.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){let t=Object.keys(e).map(n=>`${n}="${e[n]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [
12${e.dtd}
13]>`}},vce=new GP;function zP(r){return r.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}var Fy="i18n",Mf="i18n-",XP="VAR_";function $y(r){return r===Fy||r.startsWith(Mf)}function YP(r){return r.attrs.some(e=>$y(e.name))}function Uy(r){return r.nodes[0]}function jp(r={},e){let t={};return r&&Object.keys(r).length&&Object.keys(r).forEach(n=>t[Ho(n,e)]=r[n]),t}function Ho(r,e=!0){let t=zP(r);if(!e)return t;let n=t.split("_");if(n.length===1)return r.toLowerCase();let i;/^\d+$/.test(n[n.length-1])&&(i=n.pop());let s=n.shift().toLowerCase();return n.length&&(s+=n.map(a=>a.charAt(0).toUpperCase()+a.slice(1).toLowerCase()).join("")),i?`${s}_${i}`:s}var ZP=/[-.]/,Vp="_t",yo="ctx",Hp="rf";function jy(r,e){let t=null;return()=>(t||(r(new it(Vp,void 0,Uo)),t=Ee(e)),t)}function gs(r){return Array.isArray(r)?Ae(r.map(gs)):A(r,Qt)}function nE(r,e){let t=Object.getOwnPropertyNames(r);return t.length===0?null:kt(t.map(n=>{let i=r[n],s,a,o,u;if(typeof i=="string")s=n,o=n,a=i,u=gs(a);else{o=n,s=i.classPropertyName,a=i.bindingPropertyName;let l=a!==s,c=i.transformFunction!==null,h=ms.None;if(i.isSignal&&(h|=ms.SignalBased),c&&(h|=ms.HasDecoratorInputTransform),e&&(l||c||h!==ms.None)){let d=[A(h),gs(a)];(l||c)&&(d.push(gs(s)),c&&d.push(i.transformFunction)),u=Ae(d)}else u=gs(a)}return{key:o,quoted:ZP.test(o),value:u}}))}var Kn=class{values=[];set(e,t){if(t){let n=this.values.find(i=>i.key===e);n?n.value=t:this.values.push({key:e,value:t,quoted:!1})}}toLiteralMap(){return kt(this.values)}};function KP(r){let e=r instanceof Zr?r.name:"ng-template",t=QP(r),n=new As,i=Dr(e)[1];return n.setElement(i),Object.getOwnPropertyNames(t).forEach(s=>{let a=Dr(s)[1],o=t[s];n.addAttribute(a,o),s.toLowerCase()==="class"&&o.trim().split(/\s+/).forEac
13h(l=>n.addClassName(l))}),n}function QP(r){let e={};return r instanceof er&&r.tagName!=="ng-template"?r.templateAttrs.forEach(t=>e[t.name]=""):(r.attributes.forEach(t=>{$y(t.name)||(e[t.name]=t.value)}),r.inputs.forEach(t=>{(t.type===Te.Property||t.type===Te.TwoWay)&&(e[t.name]="")}),r.outputs.forEach(t=>{e[t.name]=""})),e}function iE(r,e){let t=null,n={name:r.name,type:r.type,typeArgumentCount:r.typeArgumentCount,deps:[],target:jr.Injectable};if(r.useClass!==void 0){let o=r.useClass.expression.isEquivalent(r.type.value),u;r.deps!==void 0&&(u=r.deps),u!==void 0?t=pi({...n,delegate:r.useClass.expression,delegateDeps:u,delegateType:Qa.Class}):o?t=pi(n):t={statements:[],expression:sE(r.type.value,r.useClass.expression,e)}}else r.useFactory!==void 0?r.deps!==void 0?t=pi({...n,delegate:r.useFactory,delegateDeps:r.deps||[],delegateType:Qa.Function}):t={statements:[],expression:qr([],r.useFactory.callFn([]))}:r.useValue!==void 0?t=pi({...n,expression:r.useValue.expression}):r.useExisting!==void 0?t=pi({...n,expression:K(w.inject).callFn([r.useExisting.expression])}):t={statements:[],expression:sE(r.type.value,r.type.value,e)};let i=r.type.value,s=new Kn;return s.set("token",i),s.set("factory",t.expression),r.providedIn.expression.value!==null&&s.set("providedIn",LP(r.providedIn)),{expression:K(w.\u0275\u0275defineInjectable).callFn([s.toLiteralMap()],void 0,!0),type:JP(r),statements:t.statements}}function JP(r){return new pr(K(w.InjectableDeclaration,[Sc(r.type.type,r.typeArgumentCount)]))}function sE(r,e,t){if(r.node===e.node)return e.prop("\u0275fac");if(!t)return aE(e);let n=K(w.resolveForwardRef).callFn([e]);return aE(n)}function aE(r){let e=new lt("__ngFactoryType__",Uo);return qr([e],r.prop("\u0275fac").callFn([Ee(e.name)]))}var eO=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function tO(r,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${r}' to be an array, [start, end].`);if(e!=null){let t=e[0],n=e[1];eO.forEach(i=>{if(i.test(t)||i.test(n))throw new Error(`['${t}', '${n}'] contains unusable interpolation symbol.`)})}}var Ml=class r{start;end;static fromArray(e){return e?(tO("interpolation",e),new r(e[0],e[1])):Vr}constructor(e,t){this.start=e,this.end=t}},Vr=new Ml("{{","}}"),rO=new Set(["switch"]),pt=0,nO=8,Wp=9,xi=10,Vy=11,Hy=12,Gp=13,Wy=32,Bf=33,So=34,Gy=35,xc=36,iO=37,Bl=38,wo=39,Ir=40,bt=41,oE=42,zy=43,fr=44,Fl=45,La=46,Tr=47,ln=58,Zt=59,bs=60,St=61,or=62,uE=63,zp=48,sO=55,Xy=57,ei=65,aO=69,oO=70,uO=88,Xs=90,Wn=91,Cs=92,yi=93,lO=94,ti=95,Oi=97,cO=98,hO=101,Xp=102,Yy=110,Zy=114,Ky=116,Qy=117,Jy=118,eS=120,Wo=122,Ar=123,lE=124,Ft=125,tS=160,os=64,Ff=96;function xo(r){return r>=Wp&&r<=Wy||r==tS}function br(r){return zp<=r&&r<=Xy}function Fs(r){return r>=Oi&&r<=Wo||r>=ei&&r<=Xs}function fO(r){return r>=Oi&&r<=Xp||r>=ei&&r<=oO||br(r)}function $l(r){return r===xi||r===Gp}function cE(r){return zp<=r&&r<=sO}function ja(r){return r===wo||r===So||r===Ff}var _o=class r{file;offset;line;col;constructor(e,t,n,i){this.file=e,this.offset=t,this.line=n,this.col=i}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,n=t.length,i=this.offset,s=this.line,a=this.col;for(;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==xi){s--;let u=t.substring(0,i-1).lastIndexOf(String.fromCharCode(xi));a=u>0?i-u:i}else a--;for(;i<n&&e>0;){let o=t.charCodeAt(i);i++,e--,o==xi?(s++,a=0):a++}return new r(this.file,i,s,a)}getContext(e,t){let n=this.file.content,i=this.offset;if(i!=null){i>n.length-1&&(i=n.length-1);let s=i,a=0,o=0;for(;a<e&&i>0&&(i--,a++,!(n[i]==`
14`&&++o==t)););for(a=0,o=0;a<e&&s<n.length-1&&(s++,a++,!(n[s]==`
15`&&++o==t)););return{before:n.substring(i,this.offset),after:n.substring(this.offset,s+1)}}return null}},Ul=class{content;url;constructor(e,t){this.content=e,this.url=t}},ce=class{start;end;fullStart;details;constructor(e,t,n=e,i=null){this.start=e,this.end=t,this.fullStart=n,this.details=i}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},hn;(function(r){r[r.WARNING=0]="WARNING",r[r.ERROR=1]="ERROR"})(hn||(hn={}));
15var oe=class extends Error{span;msg;level;relatedError;constructor(e,t,n=hn.ERROR,i){super(t),this.span=e,this.msg=t,this.level=n,this.relatedError=i,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${hn[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};function pO(r,e,t){let n=`in ${r} ${e} in ${t}`,i=new Ul("",n);return new ce(new _o(i,-1,-1,-1),new _o(i,-1,-1,-1))}var dO=0;function mO(r){if(!r||!r.reference)return null;let e=r.reference;if(e.__anonymousType)return e.__anonymousType;if(e.__forward_ref__)return"__forward_ref__";let t=Ry(e);return t.indexOf("(")>=0?(t=`anonymous_${dO++}`,e.__anonymousType=t):t=di(t),t}function di(r){return r.replace(/\W/g,"_")}var hE='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})',$f=class extends bf{constructor(){super(!1)}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(e,t){return t.print(e,`var ${e.name}`),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitTaggedTemplateLiteralExpr(e,t){let n=e.template.elements;return e.tag.visitExpression(this,t),t.print(e,`(${hE}(`),t.print(e,`[${n.map(i=>vi(i.text,!1)).join(", ")}], `),t.print(e,`[${n.map(i=>vi(i.rawText,!1)).join(", ")}])`),e.template.expressions.forEach(i=>{t.print(e,", "),i.visitExpression(this,t)}),t.print(e,")"),null}visitTemplateLiteralExpr(e,t){t.print(e,"`");for(let n=0;n<e.elements.length;n++){e.elements[n].visitExpression(this,t);let i=n<e.expressions.length?e.expressions[n]:null;i!==null&&(t.print(i,"${"),i.visitExpression(this,t),t.print(i,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){return t.print(e,e.rawText),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitArrowFunctionExpr(e,t){if(t.print(e,"("),this._visitParams(e.params,t),t.print(e,") =>"),Array.isArray(e.body))t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.print(e,"}");else{let n=e.body instanceof Xr;n&&t.print(e,"("),e.body.visitExpression(this,t),n&&t.print(e,")")}return null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,`$localize(${hE}(`);let n=[e.serializeI18nHead()];for(let i=1;i<e.messageParts.length;i++)n.push(e.serializeI18nTemplatePart(i));return t.print(e,`[${n.map(i=>vi(i.cooked,!1)).join(", ")}], `),t.print(e,`[${n.map(i=>vi(i.raw,!1)).join(", ")}])`),e.expressions.forEach(i=>{t.print(e,", "),i.visitExpression(this,t)}),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects(n=>t.print(null,n.name),e,t,",")}},Fu;function vO(){if(Fu===void 0){let r=Fa.trustedTypes;if(Fu=null,r)try{Fu=r.createPolicy("angular#unsafe-jit",{createScript:e=>e})}catch{}}return Fu}function gO(r){return vO()?.createScript(r)||r}function fE(...r){if(!Fa.trustedTypes)return new Function(...r);let e=r.slice(0,-1).join(","),t=r[r.length-1],n=`(function anonymous(${e}
16) { ${t}
17})`,i=Fa.eval(gO(n));return i.bind===void 0?new Function(...r):(i.toString=()=>n,i.bind(Fa))}var Uf=class{evaluateStatements(e,t,n,i){let s=new jf(n),a=Tf.createRoot();return t.length>0&&!EO(t[0])&&(t=[A("use strict").toStmt(),...t]),s.visitAllStatements(t,a),s.createReturnStmt(a),this.evaluateCode(e,a,s.getArgs(),i)}evaluateCode(e,t,n,i){let s=`"use strict";${t.toSource()}
18//# sourceURL=${e}`,a=[],o=[];for(let l in n)o.push(n[l]),a.push(l);if(i){let l=fE(...a.concat("return null;")).toString(),c=l.slice(0,l.indexOf("return null;")).split(`
19`).length-1;s+=`
20${t.toSourceMapGenerator(e,c).toJsComment()}`}let u=fE(...a.concat(s));return this.executeFunction(u,o)}executeFunction(e,t){return e(...t)}},jf=class extends $f{refResolver;_evalArgNames=[];_evalArgValues=[];_evalExportedVars=[];constructor(e){super(),this.refResolver=e}createReturnStmt(e){new mt(new Xr(this._evalExportedVars.map(n=>
20new Ns(n,Ee(n),!1)))).visitStatement(this,e)}getArgs(){let e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.refResolver.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(ut.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(ut.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}_emitReferenceToExternal(e,t,n){let i=this._evalArgValues.indexOf(t);if(i===-1){i=this._evalArgValues.length,this._evalArgValues.push(t);let s=mO({reference:t})||"val";this._evalArgNames.push(`jit_${s}_${i}`)}n.print(e,this._evalArgNames[i])}};function EO(r){return r.isEquivalent(A("use strict").toStmt())}function pE(r){let e=new Kn;r.providers!==null&&e.set("providers",r.providers),r.imports.length>0&&e.set("imports",Ae(r.imports));let t=K(w.defineInjector).callFn([e.toLiteralMap()],void 0,!0),n=yO(r);return{expression:t,type:n,statements:[]}}function yO(r){return new pr(K(w.InjectorDeclaration,[new pr(r.type.type)]))}var Vf=class{context;constructor(e){this.context=e}resolveExternalReference(e){if(e.moduleName!=="@angular/core")throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}},To;(function(r){r[r.Inline=0]="Inline",r[r.SideEffect=1]="SideEffect",r[r.Omit=2]="Omit"})(To||(To={}));var fn;(function(r){r[r.Global=0]="Global",r[r.Local=1]="Local"})(fn||(fn={}));function SO(r){let e=[],t=new Kn;if(t.set("type",r.type.value),r.kind===fn.Global&&r.bootstrap.length>0&&t.set("bootstrap",gi(r.bootstrap,r.containsForwardDecls)),r.selectorScopeMode===To.Inline)r.declarations.length>0&&t.set("declarations",gi(r.declarations,r.containsForwardDecls)),r.imports.length>0&&t.set("imports",gi(r.imports,r.containsForwardDecls)),r.exports.length>0&&t.set("exports",gi(r.exports,r.containsForwardDecls));else if(r.selectorScopeMode===To.SideEffect){let s=_O(r);s!==null&&e.push(s)}r.schemas!==null&&r.schemas.length>0&&t.set("schemas",Ae(r.schemas.map(s=>s.value))),r.id!==null&&(t.set("id",r.id),e.push(K(w.registerNgModuleType).callFn([r.type.value,r.id]).toStmt()));let n=K(w.defineNgModule).callFn([t.toLiteralMap()],void 0,!0),i=xO(r);return{expression:n,type:i,statements:e}}function wO(r){let e=new Kn;return e.set("type",new we(r.type)),r.bootstrap!==void 0&&e.set("bootstrap",new we(r.bootstrap)),r.declarations!==void 0&&e.set("declarations",new we(r.declarations)),r.imports!==void 0&&e.set("imports",new we(r.imports)),r.exports!==void 0&&e.set("exports",new we(r.exports)),r.schemas!==void 0&&e.set("schemas",new we(r.schemas)),r.id!==void 0&&e.set("id",new we(r.id)),K(w.defineNgModule).callFn([e.toLiteralMap()])}function xO(r){if(r.kind===fn.Local)return new pr(r.type.value);let{type:e,declarations:t,exports:n,imports:i,includeImportTypes:s,publicDeclarationTypes:a}=r;return new pr(K(w.NgModuleDeclaration,[new pr(e.type),a===null?Yh(t):TO(a),s?Yh(i):Gr,Yh(n)]))}function _O(r){let e=new Kn;if(r.kind===fn.Global?r.declarations.length>0&&e.set("declarations",gi(r.declarations,r.containsForwardDecls)):r.declarationsExpression&&e.set("declarations",r.declarationsExpression),r.kind===fn.Global?r.imports.length>0&&e.set("imports",gi(r.imports,r.containsForwardDecls)):r.importsExpression&&e.set("imports",r.importsExpression),r.kind===fn.Global?r.exports.length>0&&e.set("exports",gi(r.exports,r.containsForwardDecls)):r.exportsExpression&&e.set("exports",r.exportsExpression),r.kind===fn.Local&&r.bootstrapExpression&&e.set("bootstrap",r.bootstrapExpression),Object.keys(e.values).length===0)return null;let t=new Ut(K(w.setNgModuleScope),[r.type.value,e.toLiteralMap()]),n=OP(t),i=new Hn([],[n.toStmt()]);return new Ut(i,[]).toStmt()}function Yh(r){let e=r.map(t=>jo(t.type));return r.length>0?vt(Ae(e)):Gr}function TO(r){let e=r.map(t=>jo(t));return r.length>0?vt(Ae(e)):Gr}function dE(r){let e=[];e.push({key:"name",value:A(r.pipeName??r.name),quoted:!1}),e.push({key:"type",value:r.type.value,quoted:!1}),e.push({key:"pure",value:A(r.pure),quoted:!1}),r.isStandalone===!1&&e.push({key:"standalone",value:A(!1),quoted:!1});let t=K(w.definePipe).callFn([kt(e)],void 0,!0),n=bO(r);return{expression:t,type:n,statements:[]}}function bO(r){return new pr(K(w.PipeDeclaration,[Sc(r.type.type,r.typeArgumentCount),new pr(new gt(r.pipeName)),new pr(new gt(r.isStandalone))]))}var Ri;
20(function(r){r[r.Directive=0]="Directive",r[r.Pipe=1]="Pipe",r[r.NgModule=2]="NgModule"})(Ri||(Ri={}));var CO=new Set(["inherit","initial","revert","unset","alternate","alternate-reverse","normal","reverse","backwards","both","forwards","none","paused","running","ease","ease-in","ease-in-out","ease-out","linear","step-start","step-end","end","jump-both","jump-end","jump-none","jump-start","start"]),AO=["@media","@supports","@document","@layer","@container","@scope","@starting-style"],Hf=class{shimCssText(e,t,n=""){let i=[];e=e.replace($O,o=>{if(o.match(UO))i.push(o);else{let u=o.match(FO);i.push((u?.join("")??"")+`
21`)}return Yp}),e=this._insertDirectives(e);let s=this._scopeCssText(e,t,n),a=0;return s.replace(jO,()=>i[a++])}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_scopeKeyframesRelatedCss(e,t){let n=new Set,i=$u(e,s=>this._scopeLocalKeyframeDeclarations(s,t,n));return $u(i,s=>this._scopeAnimationRule(s,t,n))}_scopeLocalKeyframeDeclarations(e,t,n){return{...e,selector:e.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/,(i,s,a,o,u)=>(n.add(gE(o,a)),`${s}${a}${t}_${o}${a}${u}`))}}_scopeAnimationKeyframe(e,t,n){return e.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/,(i,s,a,o,u)=>(o=`${n.has(gE(o,a))?t+"_":""}${o}`,`${s}${a}${o}${a}${u}`))}_animationDeclarationKeyframesRe=/(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;_scopeAnimationRule(e,t,n){let i=e.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*),*([^;]+)/g,(s,a,o)=>a+o.replace(this._animationDeclarationKeyframesRe,(u,l,c="",h,d)=>h?`${l}${this._scopeAnimationKeyframe(`${c}${h}${c}`,t,n)}`:CO.has(d)?u:`${l}${this._scopeAnimationKeyframe(d,t,n)}`));return i=i.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g,(s,a,o)=>`${a}${o.split(",").map(u=>this._scopeAnimationKeyframe(u,t,n)).join(",")}`),{...e,content:i}}_insertPolyfillDirectivesInCssText(e){return e.replace(kO,function(...t){return t[2]+"{"})}_insertPolyfillRulesInCssText(e){return e.replace(NO,(...t)=>{let n=t[0].replace(t[1],"").replace(t[2],"");return t[4]+n})}_scopeCssText(e,t,n){let i=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeKeyframesRelatedCss(e,t),e=this._scopeSelectors(e,t,n)),e=e+`
22`+i,e.trim()}_extractUnscopedRulesFromCssText(e){let t="",n;for(mE.lastIndex=0;(n=mE.exec(e))!==null;){let i=n[0].replace(n[2],"").replace(n[1],n[4]);t+=i+`
23
24`}return t}_convertColonHost(e){return e.replace(qO,(t,n,i)=>{if(n){let s=[],a=n.split(",").map(o=>o.trim());for(let o of a){if(!o)break;let u=Fn+o.replace(jl,"")+i;s.push(u)}return s.join(",")}else return Fn+i})}_convertColonHostContext(e){let t=e.length,n=0,i=0,s="";for(let a=0;a<t;a++){let o=e[a];if(o===","&&n===0){s+=this._convertColonHostContextInSelectorPart(e.slice(i,a))+",",i=a+1;continue}if(a===t-1){s+=this._convertColonHostContextInSelectorPart(e.slice(i));break}o==="("?n++:o===")"&&n--}return s}_convertColonHostContextInSelectorPart(e){return e.replace(DO,(t,n)=>{let i=[[]],s;for(;s=PO.exec(t);){let a=(s[1]??"").trim().split(",").map(u=>u.trim()).filter(u=>u!==""),o=i.length;JO(i,a.length);for(let u=0;u<a.length;u++)for(let l=0;l<o;l++)i[l+u*o].push(a[u]);t=s[2]}return i.map(a=>QO(a,t,n)).join(", ")})}_convertShadowDOMSelectors(e){return RO.reduce((t,n)=>t.replace(n," "),e)}_scopeSelectors(e,t,n){return $u(e,i=>{let s=i.selector,a=i.content;return i.selector[0]!=="@"?s=this._scopeSelector({selector:s,scopeSelector:t,hostSelector:n,isParentSelector:!0}):AO.some(o=>i.selector.startsWith(o))?a=this._scopeSelectors(i.content,t,n):(i.selector.startsWith("@font-face")||i.selector.startsWith("@page"))&&(a=this._stripScopingSelectors(i.content)),new bo(s,a)})}_stripScopingSelectors(e){return $u(e,t=>{let n=t.selector.replace(vE," ").replace(Zh," ");return new bo(n,t.content)})}_safeSelector;_shouldScopeIndicator;_scopeSelector({selector:e,scopeSelector:t,hostSelector:n,isParentSelector:i=!1}){let s=/ ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;return e.split(s).map(a=>a.split(vE)).map(a=>{let[o,...u]=a;return[(c=>this._selectorNeedsScoping(c,t)?this._applySelectorScope({selector:c,scopeSelector:t,hostSelector:n,isParentSelector:i}):c)(o),...u].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){let t=/\[/g,n=/\]/g;return e=e.replace(t,"\\[").replace(n,"\\]"),new RegExp("^("+e+")"+LO,"m")}_applySimpleSelectorScope(e,t,n){if(Es.lastIndex=0,Es.test(e)){let i=`[${n}]`,s=e;for(;s.match(Zh);)s=s.replace(Zh,(a,o)=>o.replace(/([^:\)]*)(:*)(.*)/,(u,l,c,h)=>l+i+c+h));return s.replace(Es,i)}return t+" "+e}_applySelectorScope({selector:e,scopeSelector:t,hostSelector:n,isParentSelector:i}){let s=/\[is=([^\]]*)\]/g;t=t.replace(s,(S,...g)=>g[0]);let a=`[${t}]`,o=S=>{let g=S.trim();if(!g)return S;
24if(S.includes(Fn)){if(g=this._applySimpleSelectorScope(S,t,n),!S.match(OO)){let[E,y,x,b]=g.match(/([^:]*)(:*)([\s\S]*)/);g=y+a+x+b}}else{let E=S.replace(Es,"");if(E.length>0){let y=E.match(/([^:]*)(:*)([\s\S]*)/);y&&(g=y[1]+a+y[2]+y[3])}}return g},u=S=>{let g="",E=[],y;for(;(y=Pa.exec(S))!==null;){let x=1,b=Pa.lastIndex;for(;b<S.length;){let C=S[b];if(b++,C==="("){x++;continue}if(C===")"){if(x--,x===0)break;continue}}E.push(`${y[0]}${S.slice(Pa.lastIndex,b)}`),Pa.lastIndex=b}return E.join("")===S?g=E.map(x=>{let[b]=x.match(Pa)??[],C=x.slice(b?.length,-1);C.includes(Fn)&&(this._shouldScopeIndicator=!0);let _=this._scopeSelector({selector:C,scopeSelector:t,hostSelector:n});return`${b}${_})`}).join(""):(this._shouldScopeIndicator=this._shouldScopeIndicator||S.includes(Fn),g=this._shouldScopeIndicator?o(S):S),g};i&&(this._safeSelector=new Wf(e),e=this._safeSelector.content());let l="",c=0,h,d=/( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g,f=e.includes(Fn);for((i||this._shouldScopeIndicator)&&(this._shouldScopeIndicator=!f);(h=d.exec(e))!==null;){let S=h[1],g=e.slice(c,h.index);if(g.match(/__esc-ph-(\d+)__/)&&e[h.index+1]?.match(/[a-fA-F\d]/))continue;let E=u(g);l+=`${E} ${S} `,c=d.lastIndex}let m=e.substring(c);return l+=u(m),this._safeSelector.restore(l)}_insertPolyfillHostInCssText(e){return e.replace(BO,rS).replace(MO,jl)}},Wf=class{placeholders=[];index=0;_content;constructor(e){e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g),e=e.replace(/(\\.)/g,(t,n)=>{let i=`__esc-ph-${this.index}__`;return this.placeholders.push(n),this.index++,i}),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(t,n,i)=>{let s=`__ph-${this.index}__`;return this.placeholders.push(i),this.index++,n+s})}restore(e){return e.replace(/__(?:ph|esc-ph)-(\d+)__/g,(t,n)=>this.placeholders[+n])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(n,i)=>{let s=`__ph-${this.index}__`;return this.placeholders.push(i),this.index++,s})}},IO="(:(where|is)\\()?",Pa=/:(where|is)\(/gi,kO=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,NO=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,mE=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,jl="-shadowcsshost",rS="-shadowcsscontext",nS="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))",qO=new RegExp(jl+nS+"?([^,{]*)","gim"),iS=rS+nS+"?([^{]*)",DO=new RegExp(`${IO}(${iS})`,"gim"),PO=new RegExp(iS,"im"),Fn=jl+"-no-combinator",OO=new RegExp(`${Fn}(?![^(]*\\))`,"g"),Zh=/-shadowcsshost-no-combinator([^\s,]*)/,RO=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],vE=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,LO="([>\\s~+[.,{:][\\s\\S]*)?$",Es=/-shadowcsshost/gim,MO=/:host/gim,BO=/:host-context/gim,FO=/\r?\n/g,$O=/\/\*[\s\S]*?\*\//g,UO=/\/\*\s*#\s*source(Mapping)?URL=/g,Yp="%COMMENT%",jO=new RegExp(Yp,"g"),Kh="%BLOCK%",VO=new RegExp(`(\\s*(?:${Yp}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),HO=new Map([["{","}"]]),sS="%COMMA_IN_PLACEHOLDER%",aS="%SEMI_IN_PLACEHOLDER%",oS="%COLON_IN_PLACEHOLDER%",WO=new RegExp(sS,"g"),GO=new RegExp(aS,"g"),zO=new RegExp(oS,"g"),bo=class{selector;content;constructor(e,t){this.selector=e,this.content=t}};function $u(r,e){let t=ZO(r),n=XO(t,HO,Kh),i=0,s=n.escapedString.replace(VO,(...a)=>{let o=a[2],u="",l=a[4],c="";l&&l.startsWith("{"+Kh)&&(u=n.blocks[i++],l=l.substring(Kh.length+1),c="{");let h=e(new bo(o,u));return`${a[1]}${h.selector}${a[3]}${c}${h.content}${l}`});return KO(s)}var Gf=class{escapedString;blocks;constructor(e,t){this.escapedString=e,this.blocks=t}};function XO(r,e,t){let n=[],i=[],s=0,a=0,o=-1,u,l;for(let c=0;c<r.length;c++){let h=r[c];h==="\\"?c++:h===l?(s--,s===0&&(i.push(r.substring(o,c)),n.push(t),a=c,o=-1,u=l=void 0)):h===u?s++:s===0&&e.has(h)&&(u=h,l=e.get(h),s=1,o=c+1,n.push(r.substring(a,o)))}return o!==-1?(i.push(r.substring(o)),n.push(t)):n.push(r.substring(a)),new Gf(n.join(""),i)}var YO={";":aS,",":sS,":":oS};function ZO(r){let e=r,t=null;for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\")n++;else if(t!==null)if(i===t)t=null;else{let s=YO[i];s&&(e=`${e.substr(0,n)}${s}${e.substr(n+1)}`,n+=s.length-1)}else(i==="'"||i==='"')&&(t=i)}return e}function KO(r){let e=r.replace(WO,",");return e=e.replace(GO,";"),e=e.replace(zO,":"),e}function gE(r,e){return e?r.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):r}function QO(r,e,t=""){let n=Fn;Es.lastIndex=0;let i=Es.test(e);
24if(r.length===0)return n+e;let s=[r.pop()||""];for(;r.length>0;){let a=s.length,o=r.pop();for(let u=0;u<a;u++){let l=s[u];s[a*2+u]=l+" "+o,s[a+u]=o+" "+l,s[u]=o+l}}return s.map(a=>i?`${t}${a}${e}`:`${t}${a}${n}${e}, ${t}${a} ${n}${e}`).join(",")}function JO(r,e){let t=r.length;for(let n=1;n<e;n++)for(let i=0;i<t;i++)r[i+n*t]=r[i].slice(0)}var p;(function(r){r[r.ListEnd=0]="ListEnd",r[r.Statement=1]="Statement",r[r.Variable=2]="Variable",r[r.ElementStart=3]="ElementStart",r[r.Element=4]="Element",r[r.Template=5]="Template",r[r.ElementEnd=6]="ElementEnd",r[r.ContainerStart=7]="ContainerStart",r[r.Container=8]="Container",r[r.ContainerEnd=9]="ContainerEnd",r[r.DisableBindings=10]="DisableBindings",r[r.ConditionalCreate=11]="ConditionalCreate",r[r.ConditionalBranchCreate=12]="ConditionalBranchCreate",r[r.Conditional=13]="Conditional",r[r.EnableBindings=14]="EnableBindings",r[r.Text=15]="Text",r[r.Listener=16]="Listener",r[r.InterpolateText=17]="InterpolateText",r[r.Binding=18]="Binding",r[r.Property=19]="Property",r[r.StyleProp=20]="StyleProp",r[r.ClassProp=21]="ClassProp",r[r.StyleMap=22]="StyleMap",r[r.ClassMap=23]="ClassMap",r[r.Advance=24]="Advance",r[r.Pipe=25]="Pipe",r[r.Attribute=26]="Attribute",r[r.ExtractedAttribute=27]="ExtractedAttribute",r[r.Defer=28]="Defer",r[r.DeferOn=29]="DeferOn",r[r.DeferWhen=30]="DeferWhen",r[r.I18nMessage=31]="I18nMessage",r[r.DomProperty=32]="DomProperty",r[r.Namespace=33]="Namespace",r[r.ProjectionDef=34]="ProjectionDef",r[r.Projection=35]="Projection",r[r.RepeaterCreate=36]="RepeaterCreate",r[r.Repeater=37]="Repeater",r[r.TwoWayProperty=38]="TwoWayProperty",r[r.TwoWayListener=39]="TwoWayListener",r[r.DeclareLet=40]="DeclareLet",r[r.StoreLet=41]="StoreLet",r[r.I18nStart=42]="I18nStart",r[r.I18n=43]="I18n",r[r.I18nEnd=44]="I18nEnd",r[r.I18nExpression=45]="I18nExpression",r[r.I18nApply=46]="I18nApply",r[r.IcuStart=47]="IcuStart",r[r.IcuEnd=48]="IcuEnd",r[r.IcuPlaceholder=49]="IcuPlaceholder",r[r.I18nContext=50]="I18nContext",r[r.I18nAttributes=51]="I18nAttributes",r[r.SourceLocation=52]="SourceLocation",r[r.Animation=53]="Animation",r[r.AnimationString=54]="AnimationString",r[r.AnimationBinding=55]="AnimationBinding",r[r.AnimationListener=56]="AnimationListener"})(p||(p={}));var Q;(function(r){r[r.LexicalRead=0]="LexicalRead",r[r.Context=1]="Context",r[r.TrackContext=2]="TrackContext",r[r.ReadVariable=3]="ReadVariable",r[r.NextContext=4]="NextContext",r[r.Reference=5]="Reference",r[r.StoreLet=6]="StoreLet",r[r.ContextLetReference=7]="ContextLetReference",r[r.GetCurrentView=8]="GetCurrentView",r[r.RestoreView=9]="RestoreView",r[r.ResetView=10]="ResetView",r[r.PureFunctionExpr=11]="PureFunctionExpr",r[r.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",r[r.PipeBinding=13]="PipeBinding",r[r.PipeBindingVariadic=14]="PipeBindingVariadic",r[r.SafePropertyRead=15]="SafePropertyRead",r[r.SafeKeyedRead=16]="SafeKeyedRead",r[r.SafeInvokeFunction=17]="SafeInvokeFunction",r[r.SafeTernaryExpr=18]="SafeTernaryExpr",r[r.EmptyExpr=19]="EmptyExpr",r[r.AssignTemporaryExpr=20]="AssignTemporaryExpr",r[r.ReadTemporaryExpr=21]="ReadTemporaryExpr",r[r.SlotLiteralExpr=22]="SlotLiteralExpr",r[r.ConditionalCase=23]="ConditionalCase",r[r.ConstCollected=24]="ConstCollected",r[r.TwoWayBindingSet=25]="TwoWayBindingSet"})(Q||(Q={}));var Kt;(function(r){r[r.None=0]="None",r[r.AlwaysInline=1]="AlwaysInline"})(Kt||(Kt={}));var st;(function(r){r[r.Context=0]="Context",r[r.Identifier=1]="Identifier",r[r.SavedView=2]="SavedView",r[r.Alias=3]="Alias"})(st||(st={}));var jt;(function(r){r[r.Normal=0]="Normal",r[r.TemplateDefinitionBuilder=1]="TemplateDefinitionBuilder"})(jt||(jt={}));var X;(function(r){r[r.Attribute=0]="Attribute",r[r.ClassName=1]="ClassName",r[r.StyleProperty=2]="StyleProperty",r[r.Property=3]="Property",r[r.Template=4]="Template",r[r.I18n=5]="I18n",r[r.LegacyAnimation=6]="LegacyAnimation",r[r.TwoWayProperty=7]="TwoWayProperty",r[r.Animation=8]="Animation"})(X||(X={}));var $s;(function(r){r[r.Creation=0]="Creation",r[r.Postproccessing=1]="Postproccessing"})($s||($s={}));var Li;(function(r){r[r.I18nText=0]="I18nText",r[r.I18nAttribute=1]="I18nAttribute"})(Li||(Li={}));var De;(function(r){r[r.None=0]="None",r[r.ElementTag=1]="ElementTag",r[r.TemplateTag=2]="TemplateTag",r[r.OpenTag=4]="OpenTag",r[r.CloseTag=8]="CloseTag",r[r.ExpressionIndex=16]="ExpressionIndex"})(De||(De={}));var dt;(function(r){r[r.HTML=0]="HTML",r[r.SVG=1]="SVG",r[r.Math=2]="Math"})(dt||(dt={}));var Ne;(function(r){r[r.Idle=0]="Idle",r[r.Immediate=1]="Immediate",r[r.Timer=2]="Timer",r[r.Hover=3]="Hover",r[r.Interaction=4]="Interaction",r[r.Viewport=5]="Viewport",r[r.Never=6]="Never"})(Ne||(Ne={}));var Vn;(function(r){r[r.RootI18n=0]="RootI18n",r[r.Icu=1]="Icu",r[r.Attr=2]="Attr"})(Vn||(Vn={}));var It;(function(r){r[r.NgTemplate=0]="NgTemplate",r[r.Structural=1]="Structural",r[r.Block=2]="Block"})(It||(It={}));var uS=Symbol("ConsumesSlot"),Zp=Symbol("DependsOnSlotContext"),Ys=Symbol("ConsumesVars"),_c=Symbol("UsesVarOffset"),Er={[uS]:!0,numSlotsUsed:1},nr={[Zp]:!0},Vt={[Ys]:!0};function Zs(r){return r[uS]===!0}function Co(r){return r[Zp]===!0}function Qh(r){return r[Ys]===!0}function EE(r){return r[_c]===!0}function gr(r){return{kind:p.Statement,statement:r,...he}}function jn(r,e,t,n){return{kind:p.Variable,xref:r,variable:e,initializer:t,flags:n,...he}}var he={debugListId:null,prev:null,next:null};function eR(r,e,t){return{kind:p.InterpolateText,target:r,interpolation:e,sourceSpan:t,...nr,...Vt,...he}}var Ye=class{strings;expressions;i18nPlaceholders;constructor(e,t,n){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=n,n.length!==0&&n.length!==t.length)throw new Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${n.length}`)}};function Mi(r,e,t,n,i,s,a,o,u,l,c){return{kind:p.Binding,bindingKind:e,target:r,name:t,expression:n,unit:i,securityContext:s,isTextAttribute:a,isStructuralTemplateAttribute:o,templateKind:u,i18nContext:null,i18nMessage:l,sourceSpan:c,...he}}function tR(r,e,t,n,i,s,a,o,u,l){return{kind:p.Property,target:r,name:e,expression:t,bindingKind:n,securityContext:i,sanitizer:null,isStructuralTemplateAttribute:s,templateKind:a,i18nContext:o,i18nMessage:u,sourceSpan:l,...nr,...Vt,...he}}function rR(r,e,t,n,i,s,a,o,u){return{kind:p.TwoWayProperty,target:r,name:e,expression:t,securityContext:n,sanitizer:null,isStructuralTemplateAttribute:i,templateKind:s,i18nContext:a,i18nMessage:o,sourceSpan:u,...nr,...Vt,...he}}function nR(r,e,t,n,i){return{kind:p.StyleProp,target:r,name:e,expression:t,unit:n,sourceSpan:i,...nr,...Vt,...he}}function iR(r,e,t,n){return{kind:p.ClassProp,target:r,name:e,expression:t,sourceSpan:n,...nr,...Vt,...he}}function sR(r,e,t){return{kind:p.StyleMap,target:r,expression:e,sourceSpan:t,...nr,...Vt,...he}}function aR(r,e,t){return{kind:p.ClassMap,target:r,expression:e,sourceSpan:t,...nr,...Vt,...he}}function oR(r,e,t,n,i,s,a,o,u,l){return{kind:p.Attribute,target:r,namespace:e,name:t,expression:n,securityContext:i,sanitizer:null,isTextAttribute:s,isStru
24cturalTemplateAttribute:a,templateKind:o,i18nContext:null,i18nMessage:u,sourceSpan:l,...nr,...Vt,...he}}function uR(r,e){return{kind:p.Advance,delta:r,sourceSpan:e,...he}}function lS(r,e,t,n){return{kind:p.Conditional,target:r,test:e,conditions:t,processed:null,sourceSpan:n,contextValue:null,...he,...nr,...Vt}}function lR(r,e,t,n){return{kind:p.Repeater,target:r,targetSlot:e,collection:t,sourceSpan:n,...he,...nr}}function yE(r,e,t,n,i,s,a){return{kind:p.AnimationBinding,name:r,target:e,animationKind:t,expression:n,i18nMessage:null,securityContext:i,sanitizer:null,sourceSpan:s,animationBindingKind:a,...he}}function cR(r,e,t,n){return{kind:p.DeferWhen,target:r,expr:e,modifier:t,sourceSpan:n,...he,...nr,...Vt}}function cS(r,e,t,n,i,s,a,o,u,l,c){return{kind:p.I18nExpression,context:r,target:e,i18nOwner:t,handle:n,expression:i,icuPlaceholder:s,i18nPlaceholder:a,resolutionTime:o,usage:u,name:l,sourceSpan:c,...he,...Vt,...nr}}function hR(r,e,t){return{kind:p.I18nApply,owner:r,handle:e,sourceSpan:t,...he}}function fR(r,e,t,n){return{kind:p.StoreLet,target:r,declaredName:e,value:t,sourceSpan:n,...nr,...Vt,...he}}function Qr(r){return r instanceof Pe}var Pe=class extends qe{constructor(e=null){super(null,e)}},ft=class r extends Pe{name;kind=Q.LexicalRead;constructor(e){super(),this.name=e}visitExpression(e,t){}isEquivalent(e){return this.name===e.name}isConstant(){return!1}transformInternalExpressions(){}clone(){return new r(this.name)}},Vl=class r extends Pe{target;targetSlot;offset;kind=Q.Reference;constructor(e,t,n){super(),this.target=e,this.targetSlot=t,this.offset=n}visitExpression(){}isEquivalent(e){return e instanceof r&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new r(this.target,this.targetSlot,this.offset)}},Ao=class r extends Pe{target;value;sourceSpan;kind=Q.StoreLet;[Ys]=!0;[Zp]=!0;constructor(e,t,n){super(),this.target=e,this.value=t,this.sourceSpan=n}visitExpression(){}isEquivalent(e){return e instanceof r&&e.target===this.target&&e.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.value=z(this.value,e,t)}clone(){return new r(this.target,this.value,this.sourceSpan)}},Io=class r extends Pe{target;targetSlot;kind=Q.ContextLetReference;constructor(e,t){super(),this.target=e,this.targetSlot=t}visitExpression(){}isEquivalent(e){return e instanceof r&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new r(this.target,this.targetSlot)}},Qn=class r extends Pe{view;kind=Q.Context;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof r&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new r(this.view)}},zf=class r extends Pe{view;kind=Q.TrackContext;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof r&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new r(this.view)}},Hl=class r extends Pe{kind=Q.NextContext;steps=1;constructor(){super()}visitExpression(){}isEquivalent(e){return e instanceof r&&e.steps===this.steps}isConstant(){return!1}transformInternalExpressions(){}clone(){let e=new r;return e.steps=this.steps,e}},Xf=class r extends Pe{kind=Q.GetCurrentView;constructor(){super()}visitExpression(){}isEquivalent(e){return e instanceof r}isConstant(){return!1}transformInternalExpressions(){}clone(){return new r}},Wl=class r extends Pe{view;kind=Q.RestoreView;constructor(e){super(),this.view=e}visitExpression(e,t){typeof this.view!="number"&&this.view.visitExpression(e,t)}isEquivalent(e){return!(e instanceof r)||typeof e.view!=typeof this.view?!1:typeof this.view=="number"?this.view===e.view:this.view.isEquivalent(e.view)}isConstant(){return!1}transformInternalExpressions(e,t){typeof this.view!="number"&&(this.view=z(this.view,e,t))}clone(){return new r(this.view instanceof qe?this.view.clone():this.view)}},Yf=class r extends Pe{expr;kind=Q.ResetView;constructor(e){super(),this.expr=e}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof r&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=z(this.expr,e,t)}clone(){return new r(this.expr.clone())}},Gl=class r extends Pe{target;value;kind=Q.TwoWayBindingSet;constructor(e,t){super(),this.target=e,this.value=t}visitExpression(e,t){this.target.visitExpression(e,t),this.value.visitExpression(e,t)}isEquivalent(e){return this.target.isEquivalent(e.target)&&this.value.isEquivalent(e.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.target=z(this.target,e,t),this.value=z(this.value,e,t)}clone(){return new r(this.target,this.value)}},vn=class r extends Pe{xref;kind=Q.ReadVariable;name=null;constructor(e){super(),this.xref=e}visitExpression(){}isEquivalent(e){return e instanceof r&&e.xref===this.xref}isConstant(){return!1}transformInternalExpressions(){}clone(){let e=new r(this.xref);return e.name=this.name,e}},Bi=class r extends Pe{kind=Q.PureFunctionExpr;[Ys]=!0;[_c]=!0;varOffset=null;body;args;fn=null;constructor(e,t){super(),this.body=e,this.args=t}visitExpression(e,t){this.body?.visitExpression(e,t);for(let n of this.args)n.visitExpression(e,t)}isEquivalent(e){return!(e instanceof r)||e.args.length!==this.args.length?!1:e.body!==null&&this.body!==null&&e.body.isEquivalent(this.body)&&e.args.every((t,n)=>t.isEquivalent(this.args[n]))}isConstant(){return!1}transformInternalExpressions(e,t){this.body!==null?this.body=z(this.body,e,t|be.InChildOperation):this.fn!==null&&(this.fn=z(this.fn,e,t));for(let n=0;n<this.args.length;n++)this.args[n]=z(this.args[n],e,t)}clone(){let e=new r(this.body?.clone()??null,this.args.map(t=>t.clone()));
24return e.fn=this.fn?.clone()??null,e.varOffset=this.varOffset,e}},Us=class r extends Pe{index;kind=Q.PureFunctionParameterExpr;constructor(e){super(),this.index=e}visitExpression(){}isEquivalent(e){return e instanceof r&&e.index===this.index}isConstant(){return!0}transformInternalExpressions(){}clone(){return new r(this.index)}},Fi=class r extends Pe{target;targetSlot;name;args;kind=Q.PipeBinding;[Ys]=!0;[_c]=!0;varOffset=null;constructor(e,t,n,i){super(),this.target=e,this.targetSlot=t,this.name=n,this.args=i}visitExpression(e,t){for(let n of this.args)n.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){for(let n=0;n<this.args.length;n++)this.args[n]=z(this.args[n],e,t)}clone(){let e=new r(this.target,this.targetSlot,this.name,this.args.map(t=>t.clone()));return e.varOffset=this.varOffset,e}},ko=class r extends Pe{target;targetSlot;name;args;numArgs;kind=Q.PipeBindingVariadic;[Ys]=!0;[_c]=!0;varOffset=null;constructor(e,t,n,i,s){super(),this.target=e,this.targetSlot=t,this.name=n,this.args=i,this.numArgs=s}visitExpression(e,t){this.args.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.args=z(this.args,e,t)}clone(){let e=new r(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return e.varOffset=this.varOffset,e}},js=class r extends Pe{receiver;name;kind=Q.SafePropertyRead;constructor(e,t){super(),this.receiver=e,this.name=t}get index(){return this.name}visitExpression(e,t){this.receiver.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=z(this.receiver,e,t)}clone(){return new r(this.receiver.clone(),this.name)}},Vs=class r extends Pe{receiver;index;kind=Q.SafeKeyedRead;constructor(e,t,n){super(n),this.receiver=e,this.index=t}visitExpression(e,t){this.receiver.visitExpression(e,t),this.index.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=z(this.receiver,e,t),this.index=z(this.index,e,t)}clone(){return new r(this.receiver.clone(),this.index.clone(),this.sourceSpan)}},$i=class r extends Pe{receiver;args;kind=Q.SafeInvokeFunction;constructor(e,t){super(),this.receiver=e,this.args=t}visitExpression(e,t){this.receiver.visitExpression(e,t);for(let n of this.args)n.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=z(this.receiver,e,t);for(let n=0;n<this.args.length;n++)this.args[n]=z(this.args[n],e,t)}clone(){return new r(this.receiver.clone(),this.args.map(e=>e.clone()))}},Hs=class r extends Pe{guard;expr;kind=Q.SafeTernaryExpr;constructor(e,t){super(),this.guard=e,this.expr=t}visitExpression(e,t){this.guard.visitExpression(e,t),this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.guard=z(this.guard,e,t),this.expr=z(this.expr,e,t)}clone(){return new r(this.guard.clone(),this.expr.clone())}},No=class r extends Pe{kind=Q.EmptyExpr;visitExpression(e,t){}isEquivalent(e){return e instanceof r}isConstant(){return!0}clone(){return new r}transformInternalExpressions(){}},Jr=class r extends Pe{expr;xref;kind=Q.AssignTemporaryExpr;name=null;constructor(e,t){super(),this.expr=e,this.xref=t}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=z(this.expr,e,t)}clone(){let e=new r(this.expr.clone(),this.xref);return e.name=this.name,e}},Jn=class r extends Pe{xref;kind=Q.ReadTemporaryExpr;name=null;constructor(e){super(),this.xref=e}visitExpression(e,t){}isEquivalent(){return this.xref===this.xref}isConstant(){return!1}transformInternalExpressions(e,t){}clone(){let e=new r(this.xref);return e.name=this.name,e}},zl=class r extends Pe{slot;kind=Q.SlotLiteralExpr;constructor(e){super(),this.slot=e}visitExpression(e,t){}isEquivalent(e){return e instanceof r&&e.slot===this.slot}isConstant(){return!0}clone(){return new r(this.slot)}transformInternalExpressions(){}},Xl=class r extends Pe{expr;target;targetSlot;
24alias;kind=Q.ConditionalCase;constructor(e,t,n,i=null){super(),this.expr=e,this.target=t,this.targetSlot=n,this.alias=i}visitExpression(e,t){this.expr!==null&&this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof r&&e.expr===this.expr}isConstant(){return!0}clone(){return new r(this.expr,this.target,this.targetSlot)}transformInternalExpressions(e,t){this.expr!==null&&(this.expr=z(this.expr,e,t))}},qo=class r extends Pe{expr;kind=Q.ConstCollected;constructor(e){super(),this.expr=e}transformInternalExpressions(e,t){this.expr=e(this.expr,t)}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof r?this.expr.isEquivalent(e.expr):!1}isConstant(){return this.expr.isConstant()}clone(){return new r(this.expr)}};function ct(r,e){et(r,(t,n)=>(e(t,n),t),be.None)}var be;(function(r){r[r.None=0]="None",r[r.InChildOperation=1]="InChildOperation"})(be||(be={}));function Jh(r,e,t){for(let n=0;n<r.expressions.length;n++)r.expressions[n]=z(r.expressions[n],e,t)}function et(r,e,t){switch(r.kind){case p.StyleProp:case p.StyleMap:case p.ClassProp:case p.ClassMap:case p.AnimationString:case p.AnimationBinding:case p.Binding:r.expression instanceof Ye?Jh(r.expression,e,t):r.expression=z(r.expression,e,t);break;case p.Property:case p.DomProperty:case p.Attribute:r.expression instanceof Ye?Jh(r.expression,e,t):r.expression=z(r.expression,e,t),r.sanitizer=r.sanitizer&&z(r.sanitizer,e,t);break;case p.TwoWayProperty:r.expression=z(r.expression,e,t),r.sanitizer=r.sanitizer&&z(r.sanitizer,e,t);break;case p.I18nExpression:r.expression=z(r.expression,e,t);break;case p.InterpolateText:Jh(r.interpolation,e,t);break;case p.Statement:Yl(r.statement,e,t);break;case p.Variable:r.initializer=z(r.initializer,e,t);break;case p.Conditional:for(let n of r.conditions)n.expr!==null&&(n.expr=z(n.expr,e,t));r.processed!==null&&(r.processed=z(r.processed,e,t)),r.contextValue!==null&&(r.contextValue=z(r.contextValue,e,t));break;case p.Animation:case p.AnimationListener:case p.Listener:case p.TwoWayListener:for(let n of r.handlerOps)et(n,e,t|be.InChildOperation);break;case p.ExtractedAttribute:r.expression=r.expression&&z(r.expression,e,t),r.trustedValueFn=r.trustedValueFn&&z(r.trustedValueFn,e,t);break;case p.RepeaterCreate:if(r.trackByOps===null)r.track=z(r.track,e,t);else for(let n of r.trackByOps)et(n,e,t|be.InChildOperation);r.trackByFn!==null&&(r.trackByFn=z(r.trackByFn,e,t));break;case p.Repeater:r.collection=z(r.collection,e,t);break;case p.Defer:r.loadingConfig!==null&&(r.loadingConfig=z(r.loadingConfig,e,t)),r.placeholderConfig!==null&&(r.placeholderConfig=z(r.placeholderConfig,e,t)),r.resolverFn!==null&&(r.resolverFn=z(r.resolverFn,e,t));break;case p.I18nMessage:for(let[n,i]of r.params)r.params.set(n,z(i,e,t));for(let[n,i]of r.postprocessingParams)r.postprocessingParams.set(n,z(i,e,t));break;case p.DeferWhen:r.expr=z(r.expr,e,t);break;case p.StoreLet:r.value=z(r.value,e,t);break;case p.Advance:case p.Container:case p.ContainerEnd:case p.ContainerStart:case p.DeferOn:case p.DisableBindings:case p.Element:case p.ElementEnd:case p.ElementStart:case p.EnableBindings:case p.I18n:case p.I18nApply:case p.I18nContext:case p.I18nEnd:case p.I18nStart:case p.IcuEnd:case p.IcuStart:case p.Namespace:case p.Pipe:case p.Projection:case p.ProjectionDef:case p.Template:case p.Text:case p.I18nAttributes:case p.IcuPlaceholder:case p.DeclareLet:case p.SourceLocation:case p.ConditionalCreate:case p.ConditionalBranchCreate:break;default:throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${p[r.kind]}`)}}function z(r,e,t){if(r instanceof Pe)r.transformInternalExpressions(e,t);else if(r instanceof _e)r.lhs=z(r.lhs,e,t),r.rhs=z(r.rhs,e,t);else if(r instanceof Ii)r.expr=z(r.expr,e,t);else if(r instanceof rr)r.receiver=z(r.receiver,e,t);else if(r instanceof gn)r.receiver=z(r.receiver,e,t),r.index=z(r.index,e,t);else if(r instanceof Ut){r.fn=z(r.fn,e,t);for(let n=0;n<r.args.length;n++)r.args[n]=z(r.args[n],e,t)}else if(r instanceof Nr)for(let n=0;n<r.entries.length;n++)r.entries[n]=z(r.entries[n],e,t);else if(r instanceof Xr)for(let n=0;n<r.entries.length;n++)r.entries[n].value=z(r.entries[n].value,e,t);else if(r instanceof zr)r.condition=z(r.condition,e,t),r.trueCase=z(r.trueCase,e,t),r.falseCase!==null&&(r.falseCase=z(r.falseCase,e,t));else if(r instanceof ks)r.expr=z(r.expr,e,t);else if(r instanceof fl)r.expr=z(r.expr,e,t);else if(r instanceof dl)for(let n=0;n<r.expressions.length;n++)r.expressions[n]=z(r.expressions[n],e,t);else if(r instanceof Za)r.condition=z(r.condition,e,t);else if(r instanceof za)r.tag=z(r.tag,e,t),r.template.expressions=r.template.expressions.map(n=>z(n,e,t));else if(r instanceof Ai)if(Array.isArray(r.body))for(let n=0;n<r.body.length;n++)Yl(r.body[n],e,t);else r.body=z(r.body,e,t);else if(!(r instanceof we)){if(r instanceof Ya)for(let n=0;n<r.expressions.length;n++)r.expressions[n]=z(r.expressions[n],e,t);else if(r instanceof kr)r.expr=z(r.expr,e,t);else if(!(r instanceof dr||r instanceof Ci||r instanceof gt))throw new Error(`Unhandled expression kind: ${r.constructor.name}`)}return e(r,t)}function Yl(r,e,t){if(r instanceof mr)r.expr=z(r.expr,e,t);else if(r instanceof mt)r.value=z(r.value,e,t);else if(r instanceof it)r.value!==void 0&&(r.value=z(r.value,e,t));else if(r instanceof vl){r.condition=z(r.condition,e,t);for(let n of r.trueCase)Yl(n,e,t);for(let n of r.falseCase)Yl(n,e,t)}else throw new Error(`Unhandled statement kind: ${r.constructor.name}`)}function hS(r){return r instanceof gt&&typeof r.value=="string"}var M=class r{static nextListId=0;debugListId=r.nextListId++;head={kind:p.ListEnd,next:null,prev:null,debugListId:this.debugListId};
24tail={kind:p.ListEnd,next:null,prev:null,debugListId:this.debugListId};constructor(){this.head.next=this.tail,this.tail.prev=this.head}push(e){if(Array.isArray(e)){for(let n of e)this.push(n);return}r.assertIsNotEnd(e),r.assertIsUnowned(e),e.debugListId=this.debugListId;let t=this.tail.prev;e.prev=t,t.next=e,e.next=this.tail,this.tail.prev=e}prepend(e){if(e.length===0)return;for(let i of e)r.assertIsNotEnd(i),r.assertIsUnowned(i),i.debugListId=this.debugListId;let t=this.head.next,n=this.head;for(let i of e)n.next=i,i.prev=n,n=i;n.next=t,t.prev=n}*[Symbol.iterator](){let e=this.head.next;for(;e!==this.tail;){r.assertIsOwned(e,this.debugListId);let t=e.next;yield e,e=t}}*reversed(){let e=this.tail.prev;for(;e!==this.head;){r.assertIsOwned(e,this.debugListId);let t=e.prev;yield e,e=t}}static replace(e,t){r.assertIsNotEnd(e),r.assertIsNotEnd(t),r.assertIsOwned(e),r.assertIsUnowned(t),t.debugListId=e.debugListId,e.prev!==null&&(e.prev.next=t,t.prev=e.prev),e.next!==null&&(e.next.prev=t,t.next=e.next),e.debugListId=null,e.prev=null,e.next=null}static replaceWithMany(e,t){if(t.length===0){r.remove(e);return}r.assertIsNotEnd(e),r.assertIsOwned(e);let n=e.debugListId;e.debugListId=null;for(let l of t)r.assertIsNotEnd(l),r.assertIsUnowned(l);let{prev:i,next:s}=e;e.prev=null,e.next=null;let a=i;for(let l of t)r.assertIsUnowned(l),l.debugListId=n,a.next=l,l.prev=a,l.next=null,a=l;let o=t[0],u=a;i!==null&&(i.next=o,o.prev=i),s!==null&&(s.prev=u,u.next=s)}static remove(e){r.assertIsNotEnd(e),r.assertIsOwned(e),e.prev.next=e.next,e.next.prev=e.prev,e.debugListId=null,e.prev=null,e.next=null}static insertBefore(e,t){if(Array.isArray(e)){for(let n of e)r.insertBefore(n,t);return}if(r.assertIsOwned(t),t.prev===null)throw new Error("AssertionError: illegal operation on list start");r.assertIsNotEnd(e),r.assertIsUnowned(e),e.debugListId=t.debugListId,e.prev=null,t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e}static insertAfter(e,t){if(r.assertIsOwned(t),t.next===null)throw new Error("AssertionError: illegal operation on list end");r.assertIsNotEnd(e),r.assertIsUnowned(e),e.debugListId=t.debugListId,t.next.prev=e,e.next=t.next,e.prev=t,t.next=e}static assertIsUnowned(e){if(e.debugListId!==null)throw new Error(`AssertionError: illegal operation on owned node: ${p[e.kind]}`)}static assertIsOwned(e,t){if(e.debugListId===null)throw new Error(`AssertionError: illegal operation on unowned node: ${p[e.kind]}`);if(t!==void 0&&e.debugListId!==t)throw new Error(`AssertionError: node belongs to the wrong list (expected ${t}, actual ${e.debugListId})`)}static assertIsNotEnd(e){if(e.kind===p.ListEnd)throw new Error("AssertionError: illegal operation on list head or tail")}},Et=class{slot=null},pR=new Set([p.Element,p.ElementStart,p.Container,p.ContainerStart,p.Template,p.RepeaterCreate,p.ConditionalCreate,p.ConditionalBranchCreate]);function En(r){return pR.has(r.kind)}function dR(r,e,t,n,i,s){return{kind:p.ElementStart,xref:e,tag:r,handle:new Et,attributes:null,localRefs:[],nonBindable:!1,namespace:t,i18nPlaceholder:n,startSourceSpan:i,wholeSourceSpan:s,...Er,...he}}function fS(r,e,t,n,i,s,a,o){return{kind:p.Template,xref:r,templateKind:e,attributes:null,tag:t,handle:new Et,functionNameSuffix:n,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:i,i18nPlaceholder:s,startSourceSpan:a,wholeSourceSpan:o,...Er,...he}}function pS(r,e,t,n,i,s,a,o){return{kind:p.ConditionalCreate,xref:r,templateKind:e,attributes:null,tag:t,handle:new Et,functionNameSuffix:n,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:i,i18nPlaceholder:s,startSourceSpan:a,wholeSourceSpan:o,...Er,...he}}function dS(r,e,t,n,i,s,a,o){return{kind:p.ConditionalBranchCreate,xref:r,templateKind:e,attributes:null,tag:t,handle:new Et,functionNameSuffix:n,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:i,i18nPlaceholder:s,startSourceSpan:a,wholeSourceSpan:o,...Er,...he}}function mR(r,e,t,n,i,s,a,o,u,l){return{kind:p.RepeaterCreate,attributes:null,xref:r,handle:new Et,emptyView:e,track:n,trackByFn:null,trackByOps:null,tag:t,emptyTag:s,emptyAttributes:null,functionNameSuffix:"For",namespace:dt.HTML,nonBindable:!1,localRefs:[],decls:null,vars:null,varNames:i,usesComponentInstance:!1,i18nPlaceholder:a,emptyI18nPlaceholder:o,startSourceSpan:u,wholeSourceSpan:l,...Er,...he,...Vt,numSlotsUsed:e
24===null?2:3}}function vR(r,e){return{kind:p.ElementEnd,xref:r,sourceSpan:e,...he}}function gR(r){return{kind:p.DisableBindings,xref:r,...he}}function ER(r){return{kind:p.EnableBindings,xref:r,...he}}function mS(r,e,t,n){return{kind:p.Text,xref:r,handle:new Et,initialValue:e,icuPlaceholder:t,sourceSpan:n,...Er,...he}}function yR(r,e,t,n,i,s){return{kind:p.AnimationString,name:r,target:e,animationKind:t,expression:n,i18nMessage:null,securityContext:i,sanitizer:null,sourceSpan:s,...he}}function SR(r,e,t,n,i,s){let a=new M;return a.push(n),{kind:p.Animation,name:r,target:e,animationKind:t,handlerOps:a,handlerFnName:null,i18nMessage:null,securityContext:i,sanitizer:null,sourceSpan:s,...he}}function Kp(r,e,t,n,i,s,a,o,u){let l=new M;return l.push(i),{kind:p.Listener,target:r,targetSlot:e,tag:n,hostListener:o,name:t,handlerOps:l,handlerFnName:null,consumesDollarEvent:!1,isLegacyAnimationListener:s!==null,legacyAnimationPhase:s,eventTarget:a,sourceSpan:u,...he}}function vS(r,e,t,n,i,s,a,o,u){let l=new M;return l.push(i),{kind:p.AnimationListener,target:r,targetSlot:e,tag:n,hostListener:o,name:t,animationKind:s,handlerOps:l,handlerFnName:null,consumesDollarEvent:!1,eventTarget:a,sourceSpan:u,...he}}function gS(r,e,t,n,i,s){let a=new M;return a.push(i),{kind:p.TwoWayListener,target:r,targetSlot:e,tag:n,name:t,handlerOps:a,handlerFnName:null,sourceSpan:s,...he}}function ES(r,e,t){return{kind:p.Pipe,xref:r,handle:e,name:t,...he,...Er}}function wR(r){return{kind:p.Namespace,active:r,...he}}function xR(r){return{kind:p.ProjectionDef,def:r,...he}}function _R(r,e,t,n,i){return{kind:p.Projection,xref:r,handle:new Et,selector:e,i18nPlaceholder:t,fallbackView:n,projectionSlotIndex:0,attributes:null,localRefs:[],sourceSpan:i,...he,...Er,numSlotsUsed:n===null?1:2}}function cr(r,e,t,n,i,s,a,o){return{kind:p.ExtractedAttribute,target:r,bindingKind:e,namespace:t,name:n,expression:i,i18nContext:s,i18nMessage:a,securityContext:o,trustedValueFn:null,...he}}function TR(r,e,t,n,i,s){return{kind:p.Defer,xref:r,handle:new Et,mainView:e,mainSlot:t,loadingView:null,loadingSlot:null,loadingConfig:null,loadingMinimumTime:null,loadingAfterTime:null,placeholderView:null,placeholderSlot:null,placeholderConfig:null,placeholderMinimumTime:null,errorView:null,errorSlot:null,ownResolverFn:n,resolverFn:i,flags:null,sourceSpan:s,...he,...Er,numSlotsUsed:2}}function Bn(r,e,t,n){return{kind:p.DeferOn,defer:r,trigger:e,modifier:t,sourceSpan:n,...he}}function bR(r,e,t){return{kind:p.DeclareLet,xref:r,declaredName:e,sourceSpan:t,handle:new Et,...Er,...he}}function CR(r,e,t,n,i,s,a,o){return{kind:p.I18nMessage,xref:r,i18nContext:e,i18nBlock:t,message:n,messagePlaceholder:i,params:s,postprocessingParams:a,needsPostprocessing:o,subMessages:[],...he}}function Tc(r,e,t,n){return{kind:p.I18nStart,xref:r,handle:new Et,root:t??r,message:e,messageIndex:null,subTemplateIndex:null,context:null,sourceSpan:n,...he,...Er}}function bc(r,e){return{kind:p.I18nEnd,xref:r,sourceSpan:e,...he}}function AR(r,e,t,n){return{kind:p.IcuStart,xref:r,message:e,messagePlaceholder:t,context:null,sourceSpan:n,...he}}function IR(r){return{kind:p.IcuEnd,xref:r,...he}}function kR(r,e,t){return{kind:p.IcuPlaceholder,xref:r,name:e,strings:t,expressionPlaceholders:[],...he}}function ef(r,e,t,n,i){if(t===null&&r!==Vn.Attr)throw new Error("AssertionError: i18nBlock must be provided for non-attribute contexts.");return{kind:p.I18nContext,contextKind:r,xref:e,i18nBlock:t,message:n,sourceSpan:i,params:new Map,postprocessingParams:new Map,...he}}function yS(r,e,t){return{kind:p.I18nAttributes,xref:r,handle:e,target:t,i18nAttributesConfig:null,...he,...Er}}function NR(r,e){return{kind:p.SourceLocation,templatePath:r,locations:e,...he}}function qR(r,e,t,n,i,s){return{kind:p.DomProperty,name:r,expression:e,bindingKind:t,i18nContext:n,securityContext:i,sanitizer:null,sourceSpan:s,...Vt,...he}}var SS="CTX_REF_MARKER",G;(function(r){r[r.Tmpl=0]="Tmpl",r[r.Host=1]="Host",r[r.Both=2]="Both"})(G||(G={}));var Mt;(function(r){r[r.Full=0]="Full",r[r.DomOnly=1]="DomOnly"})(Mt||(Mt={}));var Zl=class{componentName;pool;compatibility;mode;constructor(e,t,n,i){this.componentName=e,this.pool=t,this.compatibility=n,this.mode=i}kind=G.Both;allocateXrefId(){return this.nextXrefId++}nextXrefId=0},Do=class extends Zl{relativeContextFilePath;i18nUseExternalIds;deferMeta;allDeferrableDepsFn;relativeTemplatePath;enableDebugLocations;constructor(e,t,n,i,s,a,o,u,l,c){super(e,t,n,i),this.relativeContextFilePath=s,this.i18nUseExternalIds=a,this.deferMeta=o,this.allDeferrableDepsFn=u,this.relativeTemplatePath=l,this.enableDebugLocations=c,this.root=new hr(this,this.allocateXrefId(),null),this.views.set(this.root.xref,this.root)}kind=G.Tmpl;fnSuffix="Template";root;views=new Map;contentSelectors=null;allocateView(e){let t=new hr(this,this.allocateXrefId(),e);return this.views.set(t.xref,t),t}get units(){return this.views.values()}addConst(e,t){for(let i=0;i<this.consts.length;i++)if(this.consts[i].isEquivalent(e))return i;let n=this.consts.length;
24return this.consts.push(e),t&&this.constsInitializers.push(...t),n}consts=[];constsInitializers=[]},Kl=class{xref;constructor(e){this.xref=e}create=new M;update=new M;fnName=null;vars=null;*ops(){for(let e of this.create)if(yield e,e.kind===p.Listener||e.kind===p.Animation||e.kind===p.AnimationListener||e.kind===p.TwoWayListener)for(let t of e.handlerOps)yield t;else if(e.kind===p.RepeaterCreate&&e.trackByOps!==null)for(let t of e.trackByOps)yield t;for(let e of this.update)yield e}},hr=class extends Kl{job;parent;constructor(e,t,n){super(t),this.job=e,this.parent=n}contextVariables=new Map;aliases=new Set;decls=null},Ql=class extends Zl{constructor(e,t,n,i){super(e,t,n,i),this.root=new Zf(this)}kind=G.Host;fnSuffix="HostBindings";root;get units(){return[this.root]}},Zf=class extends Kl{job;constructor(e){super(0),this.job=e}attributes=null};function DR(r){for(let e of r.units)for(let t of e.ops())et(t,PR,be.None)}function PR(r){if(r instanceof Ut&&r.fn instanceof ft&&r.fn.name==="$any"){if(r.args.length!==1)throw new Error("The $any builtin function expects exactly one argument.");return r.args[0]}return r}function OR(r){let e=new Map;for(let t of r.units)for(let n of t.create)n.kind===p.I18nContext&&e.set(n.xref,n);for(let t of r.units)for(let n of t.update)n.kind===p.I18nExpression&&RR(e,n)&&M.insertAfter(hR(n.i18nOwner,n.handle,null),n)}function RR(r,e){if(e.next?.kind!==p.I18nExpression)return!0;let t=r.get(e.context),n=r.get(e.next.context);if(t===void 0)throw new Error("AssertionError: expected an I18nContextOp to exist for the I18nExpressionOp's context");if(n===void 0)throw new Error("AssertionError: expected an I18nContextOp to exist for the next I18nExpressionOp's context");return t.i18nBlock!==null?t.i18nBlock!==n.i18nBlock:e.i18nOwner!==e.next.i18nOwner}function LR(r){for(let e of r.units){let t=e.update.head,n=[],i=null;for(let s of e.create){if(s.kind===p.I18nStart)i={blockXref:s.xref,lastSlotConsumer:s.xref};else if(s.kind===p.I18nEnd){for(let a of n)a.target=i.lastSlotConsumer,M.insertBefore(a,t);n.length=0,i=null}if(Zs(s))for(i!==null&&(i.lastSlotConsumer=s.xref);t.next!==null;){if(i!==null&&t.kind===p.I18nExpression&&t.usage===Li.I18nText&&t.i18nOwner===i.blockXref){let o=t;t=t.next,M.remove(o),n.push(o);continue}let a=!1;if(Co(t)&&t.target!==s.xref?a=!0:(t.kind===p.Statement||t.kind===p.Variable)&&ct(t,o=>{!a&&Co(o)&&o.target!==s.xref&&(a=!0)}),a)break;t=t.next}}}}function MR(r){if(!(!r.enableDebugLocations||r.relativeTemplatePath===null))for(let e of r.units){let t=[];for(let n of e.create)if(n.kind===p.ElementStart||n.kind===p.Element){let i=n.startSourceSpan.start;t.push({targetSlot:n.handle,offset:i.offset,line:i.line,column:i.col})}t.length>0&&e.create.push(NR(r.relativeTemplatePath,t))}}function Qp(r){let e=new Map;for(let t of r.create)Zs(t)&&(e.set(t.xref,t),t.kind===p.RepeaterCreate&&t.emptyView!==null&&e.set(t.emptyView,t));return e}function BR(r){for(let e of r.units){let t=Qp(e);for(let n of e.ops())switch(n.kind){case p.Attribute:FR(e,n,t);break;case p.Property:if(n.bindingKind!==X.LegacyAnimation&&n.bindingKind!==X.Animation){let i;n.i18nMessage!==null&&n.templateKind===null?i=X.I18n:n.isStructuralTemplateAttribute?i=X.Template:i=X.Property,M.insertBefore(cr(n.target,i,null,n.name,null,null,null,n.securityContext),ds(t,n.target))}break;case p.TwoWayProperty:M.insertBefore(cr(n.target,X.TwoWayProperty,null,n.name,null,null,null,n.securityContext),ds(t,n.target));break;case p.StyleProp:case p.ClassProp:e.job.compatibility===jt.TemplateDefinitionBuilder&&n.expression instanceof No&&M.insertBefore(cr(n.target,X.Property,null,n.name,null,null,null,Re.STYLE),ds(t,n.target));break;case p.Listener:if(!n.isLegacyAnimationListener){let i=cr(n.target,X.Property,null,n.name,null,null,null,Re.NONE);if(r.kind===G.Host){if(r.compatibility)break;e.create.push(i)}else M.insertBefore(i,ds(t,n.target))}break;case p.TwoWayListener:if(r.kind!==G.Host){let i=cr(n.target,X.Property,null,n.name,null,null,null,Re.NONE);M.insertBefore(i,ds(t,n.target))}break}}}function ds(r,e){let t=r.get(e);if(t===void 0)throw new Error("All attributes should have an element-like target.");return t}function FR(r,e,t){if(e.expression instanceof Ye)return;let n=e.isTextAttribute||e.expression.isConstant();if(r.job.compatibility===jt.TemplateDefinitionBuilder&&(n&&=e.isTextAttribute),n){let i=cr(e.target,e.isStructuralTemplateAttribute?X.Template:X.Attribute,e.namespace,e.name,e.expression,e.i18nContext,e.i18nMessage,e.securityContext);if(r.job.kind===G.Host)r.create.push(i);else{let s=ds(t,e.target);M.insertBefore(i,s)}M.remove(e)}}function $R(r,e){let t=r.get(e);if(t===void 0)throw new Error("All attributes should have an element-like target.");return t}function UR(r){let e=new Map;for(let t of r.units)for(let n of t.create)En(n)&&e.set(n.xref,n);for(let t of r.units)for(let n of t.ops())if(n.kind===p.Binding)switch(n.bindingKind){case X.Attribute:if(n.name==="ngNonBindable"){M.remove(n);let i=$R(e,n.target);i.nonBindable=!0}else if(n.name.startsWith("animate."))M.replace(n,yE(n.name,n.target,n.name==="animate.enter"?"enter":"leave",n.expression,n.securityContext,n.sourceSpan,
240));else{let[i,s]=Dr(n.name);M.replace(n,oR(n.target,i,s,n.expression,n.securityContext,n.isTextAttribute,n.isStructuralTemplateAttribute,n.templateKind,n.i18nMessage,n.sourceSpan))}break;case X.Animation:M.replace(n,yE(n.name,n.target,n.name==="animate.enter"?"enter":"leave",n.expression,n.securityContext,n.sourceSpan,1));break;case X.Property:case X.LegacyAnimation:r.kind===G.Host?M.replace(n,qR(n.name,n.expression,n.bindingKind,n.i18nContext,n.securityContext,n.sourceSpan)):M.replace(n,tR(n.target,n.name,n.expression,n.bindingKind,n.securityContext,n.isStructuralTemplateAttribute,n.templateKind,n.i18nContext,n.i18nMessage,n.sourceSpan));break;case X.TwoWayProperty:if(!(n.expression instanceof qe))throw new Error(`Expected value of two-way property binding "${n.name}" to be an expression`);M.replace(n,rR(n.target,n.name,n.expression,n.securityContext,n.isStructuralTemplateAttribute,n.templateKind,n.i18nContext,n.i18nMessage,n.sourceSpan));break;case X.I18n:case X.ClassName:case X.StyleProperty:throw new Error(`Unhandled binding of kind ${X[n.bindingKind]}`)}}var SE=new Map([[w.ariaProperty,w.ariaProperty],[w.attribute,w.attribute],[w.classProp,w.classProp],[w.element,w.element],[w.elementContainer,w.elementContainer],[w.elementContainerEnd,w.elementContainerEnd],[w.elementContainerStart,w.elementContainerStart],[w.elementEnd,w.elementEnd],[w.elementStart,w.elementStart],[w.domProperty,w.domProperty],[w.i18nExp,w.i18nExp],[w.listener,w.listener],[w.listener,w.listener],[w.property,w.property],[w.styleProp,w.styleProp],[w.syntheticHostListener,w.syntheticHostListener],[w.syntheticHostProperty,w.syntheticHostProperty],[w.templateCreate,w.templateCreate],[w.twoWayProperty,w.twoWayProperty],[w.twoWayListener,w.twoWayListener],[w.declareLet,w.declareLet],[w.conditionalCreate,w.conditionalBranchCreate],[w.conditionalBranchCreate,w.conditionalBranchCreate],[w.domElement,w.domElement],[w.domElementStart,w.domElementStart],[w.domElementEnd,w.domElementEnd],[w.domElementContainer,w.domElementContainer],[w.domElementContainerStart,w.domElementContainerStart],[w.domElementContainerEnd,w.domElementContainerEnd],[w.domListener,w.domListener],[w.domTemplate,w.domTemplate],[w.animationEnter,w.animationEnter],[w.animationLeave,w.animationLeave],[w.animationEnterListener,w.animationEnterListener],[w.animationLeaveListener,w.animationLeaveListener]]),jR=256;function VR(r){for(let e of r.units)wE(e.create),wE(e.update)}function wE(r){let e=null;for(let t of r){if(t.kind!==p.Statement||!(t.statement instanceof mr)){e=null;continue}if(!(t.statement.expr instanceof Ut)||!(t.statement.expr.fn instanceof Ci)){e=null;continue}let n=t.statement.expr.fn.value;if(!SE.has(n)){e=null;continue}if(e!==null&&SE.get(e.instruction)===n&&e.length<jR){let i=e.expression.callFn(t.statement.expr.args,t.statement.expr.sourceSpan,t.statement.expr.pure);e.expression=i,e.op.statement=i.toStmt(),e.length++,M.remove(t)}else e={op:t,instruction:n,expression:t.statement.expr,length:1}}}function HR(r){for(let e of r.units)for(let t of e.update)(t.kind===p.Attribute||t.kind===p.StyleProp||t.kind==p.StyleMap||t.kind===p.ClassMap)&&t.expression instanceof Ye&&t.expression.strings.length===2&&t.expression.strings.every(i=>i==="")&&(t.expression=t.expression.expressions[0])}function WR(r){for(let e of r.units)for(let t of e.ops()){if(t.kind!==p.Conditional)continue;let n,i=t.conditions.findIndex(o=>o.expr===null);if(i>=0){let o=t.conditions.splice(i,1)[0].targetSlot;n=new zl(o)}else n=A(-1);let s=t.test==null?null:new Jr(t.test,r.allocateXrefId()),a=null;for(let o=t.conditions.length-1;o>=0;o--){let u=t.conditions[o];if(u.expr!==null){if(s!==null){let l=o===0?s:new Jn(s.xref);u.expr=new _e(B.Identical,l,u.expr)}else u.alias!==null&&(a??=r.allocateXrefId(),u.expr=new Jr(u.expr,a),t.contextValue=new Jn(a));n=new zr(u.expr,new zl(u.targetSlot),n)}}t.processed=n,t.conditions=[]}}var GR=new Map([["&&",B.And],[">",B.Bigger],[">=",B.BiggerEquals],["|",B.BitwiseOr],["&",B.BitwiseAnd],["/",B.Divide],["=",B.Assign],["==",B.Equals],["===",B.Identical],["<",B.Lower],["<=",B.LowerEquals],["-",B.Minus],["%",B.Modulo],["**",B.Exponentiation],["*",B.Multiply],["!=",B.NotEquals],["!==",B.NotIdentical],["??",B.NullishCoalesce],["||",B.Or],["+",B.Plus],["in",B.In],["+=",B.AdditionAssignment],["-=",B.SubtractionAssignment],["*=",B.MultiplicationAssignment],["/=",B.DivisionAssignment],["%=",B.RemainderAssignment],["**=",B.ExponentiationAssignment],["&&=",B.AndAssignment],["||=",B.OrAssignment],["??=",B.NullishCoalesceAssignment]]);function wS(r){let e=new Map([["svg",dt.SVG],["math",dt.Math]]);return r===null?dt.HTML:e.get(r)??dt.HTML}function zR(r){let e=new Map([["svg",dt.SVG],["math",dt.Math]]);for(let[t,n]of e.entries())if(n===r)return t;return null}function XR(r,e){return e===dt.HTML?r:`:${zR(e)}:${r}`}function Ws(r){return Array.isArray(r)?Ae(r.map(Ws)):A(r)}function YR(r){let e=new Map;for(let t of r.units)for(let n of t.create)if(n.kind===p.ExtractedAttribute){let i=e.get(n.target)||new 
24Kf(r.compatibility);e.set(n.target,i),i.add(n.bindingKind,n.name,n.expression,n.namespace,n.trustedValueFn),M.remove(n)}if(r instanceof Do)for(let t of r.units)for(let n of t.create)if(n.kind==p.Projection){let i=e.get(n.xref);if(i!==void 0){let s=Qf(i);s.entries.length>0&&(n.attributes=s)}}else En(n)&&(n.attributes=xE(r,e,n.xref),n.kind===p.RepeaterCreate&&n.emptyView!==null&&(n.emptyAttributes=xE(r,e,n.emptyView)));else if(r instanceof Ql)for(let[t,n]of e.entries()){if(t!==r.root.xref)throw new Error("An attribute would be const collected into the host binding's template function, but is not associated with the root xref.");let i=Qf(n);i.entries.length>0&&(r.root.attributes=i)}}function xE(r,e,t){let n=e.get(t);if(n!==void 0){let i=Qf(n);if(i.entries.length>0)return r.addConst(i)}return null}var us=Object.freeze([]),Kf=class{compatibility;known=new Map;byKind=new Map;propertyBindings=null;projectAs=null;get attributes(){return this.byKind.get(X.Attribute)??us}get classes(){return this.byKind.get(X.ClassName)??us}get styles(){return this.byKind.get(X.StyleProperty)??us}get bindings(){return this.propertyBindings??us}get template(){return this.byKind.get(X.Template)??us}get i18n(){return this.byKind.get(X.I18n)??us}constructor(e){this.compatibility=e}isKnown(e,t){let n=this.known.get(e)??new Set;return this.known.set(e,n),n.has(t)?!0:(n.add(t),!1)}add(e,t,n,i,s){if(!(this.compatibility===jt.TemplateDefinitionBuilder&&(e===X.Attribute||e===X.ClassName||e===X.StyleProperty))&&this.isKnown(e,t))return;if(t==="ngProjectAs"){if(n===null||!(n instanceof gt)||n.value==null||typeof n.value?.toString()!="string")throw Error("ngProjectAs must have a string literal value");this.projectAs=n.value.toString()}let o=this.arrayFor(e);if(o.push(...ZR(i,t)),e===X.Attribute||e===X.StyleProperty){if(n===null)throw Error("Attribute, i18n attribute, & style element attributes must have a value");if(s!==null){if(!hS(n))throw Error("AssertionError: extracted attribute value should be string literal");o.push(pP(s,new Ya([new pl(n.value)],[]),void 0,n.sourceSpan))}else o.push(n)}}arrayFor(e){return e===X.Property||e===X.TwoWayProperty?(this.propertyBindings??=[],this.propertyBindings):(this.byKind.has(e)||this.byKind.set(e,[]),this.byKind.get(e))}};function ZR(r,e){let t=A(e);return r?[A(0),A(r),t]:[t]}function Qf({attributes:r,bindings:e,classes:t,i18n:n,projectAs:i,styles:s,template:a}){let o=[...r];if(i!==null){let u=Mp(i)[0];o.push(A(5),Ws(u))}return t.length>0&&o.push(A(1),...t),s.length>0&&o.push(A(2),...s),e.length>0&&o.push(A(3),...e),a.length>0&&o.push(A(4),...a),n.length>0&&o.push(A(6),...n),Ae(o)}function KR(r,e){let t=r.get(e);if(t===void 0)throw new Error("All attributes should have an element-like target.");return t}function QR(r){let e=new Map;for(let t of r.units)for(let n of t.create)En(n)&&e.set(n.xref,n);for(let t of r.units)for(let n of t.ops())if(n.kind===p.AnimationBinding){let i=JR(n);r.kind===G.Host?t.create.push(i):M.insertAfter(i,KR(e,n.target)),M.remove(n)}}function JR(r){if(r.animationBindingKind===0)return yR(r.name,r.target,r.name==="animate.enter"?"enter":"leave",r.expression,r.securityContext,r.sourceSpan);{let e=r.expression;return SR(r.name,r.target,r.name==="animate.enter"?"enter":"leave",[gr(new mt(e,e.sourceSpan))],r.securityContext,r.sourceSpan)}}function eL(r){let e=new Map;for(let t of r.units){for(let n of t.create)n.kind===p.I18nAttributes&&e.set(n.target,n);for(let n of t.update)switch(n.kind){case p.Property:case p.Attribute:if(n.i18nContext===null||!(n.expression instanceof Ye))continue;let i=e.get(n.target);if(i===void 0)throw new Error("AssertionError: An i18n attribute binding instruction requires the owning element to have an I18nAttributes create instruction");if(i.target!==n.target)throw new Error("AssertionError: Expected i18nAttributes target element to match binding target element");let s=[];for(let a=0;a<n.expression.expressions.length;a++){let o=n.expression.expressions[a];if(n.expression.i18nPlaceholders.length!==n.expression.expressions.length)throw new Error(`AssertionError: An i18n attribute binding instruction requires the same number of expressions and placeholders, but found ${n.expression.i18nPlaceholders.length} placeholders and ${n.expression.expressions.length} expressions`);
24s.push(cS(n.i18nContext,i.target,i.xref,i.handle,o,null,n.expression.i18nPlaceholders[a],$s.Creation,Li.I18nAttribute,n.name,n.sourceSpan))}M.replaceWithMany(n,s);break}}}function tL(r){let e=new Map;for(let i of r.units)for(let s of i.ops())switch(s.kind){case p.Binding:case p.Property:case p.Attribute:case p.ExtractedAttribute:if(s.i18nMessage===null)continue;if(!e.has(s.i18nMessage)){let a=ef(Vn.Attr,r.allocateXrefId(),null,s.i18nMessage,null);i.create.push(a),e.set(s.i18nMessage,a.xref)}s.i18nContext=e.get(s.i18nMessage);break}let t=new Map;for(let i of r.units)for(let s of i.create)switch(s.kind){case p.I18nStart:if(s.xref===s.root){let a=ef(Vn.RootI18n,r.allocateXrefId(),s.xref,s.message,null);i.create.push(a),s.context=a.xref,t.set(s.xref,a)}break}for(let i of r.units)for(let s of i.create)if(s.kind===p.I18nStart&&s.xref!==s.root){let a=t.get(s.root);if(a===void 0)throw Error("AssertionError: Root i18n block i18n context should have been created.");s.context=a.xref,t.set(s.xref,a)}let n=null;for(let i of r.units)for(let s of i.create)switch(s.kind){case p.I18nStart:n=s;break;case p.I18nEnd:n=null;break;case p.IcuStart:if(n===null)throw Error("AssertionError: Unexpected ICU outside of an i18n block.");if(s.message.id!==n.message.id){let a=ef(Vn.Icu,r.allocateXrefId(),n.root,s.message,null);i.create.push(a),s.context=a.xref}else s.context=n.context,t.get(n.xref).contextKind=Vn.Icu;break}}function rL(r){let e=new Map;for(let t of r.units)for(let n of t.update.reversed())if(n.kind===p.Binding&&n.isTextAttribute){let i=e.get(n.target)||new Set;i.has(n.name)&&r.compatibility===jt.TemplateDefinitionBuilder&&(n.name==="style"||n.name==="class")&&M.remove(n),i.add(n.name),e.set(n.target,i)}}function nL(r){for(let e of r.units)for(let t of e.create)t.kind===p.Defer&&(t.placeholderMinimumTime!==null&&(t.placeholderConfig=new qo(Ws([t.placeholderMinimumTime]))),(t.loadingMinimumTime!==null||t.loadingAfterTime!==null)&&(t.loadingConfig=new qo(Ws([t.loadingMinimumTime,t.loadingAfterTime]))))}function iL(r){let e=new Map;function t(i){if(e.has(i.xref))return e.get(i.xref);let s=new sL;for(let a of i.create)if(!(!En(a)||a.localRefs===null)){if(!Array.isArray(a.localRefs))throw new Error("LocalRefs were already processed, but were needed to resolve defer targets.");for(let o of a.localRefs)o.target===""&&s.targets.set(o.name,{xref:a.xref,slot:a.handle})}return e.set(i.xref,s),s}function n(i,s,a){switch(s.trigger.kind){case Ne.Idle:case Ne.Never:case Ne.Immediate:case Ne.Timer:return;case Ne.Hover:case Ne.Interaction:case Ne.Viewport:if(s.trigger.targetName===null){if(a===null)throw new Error("defer on trigger with no target name must have a placeholder block");let l=r.views.get(a);if(l==null)throw new Error("AssertionError: could not find placeholder view for defer on trigger");for(let c of l.create)if(Zs(c)&&(En(c)||c.kind===p.Projection)){s.trigger.targetXref=c.xref,s.trigger.targetView=a,s.trigger.targetSlotViewSteps=-1,s.trigger.targetSlot=c.handle;return}return}let o=a!==null?r.views.get(a):i,u=a!==null?-1:0;for(;o!==null;){let l=t(o);if(l.targets.has(s.trigger.targetName)){let{xref:c,slot:h}=l.targets.get(s.trigger.targetName);s.trigger.targetXref=c,s.trigger.targetView=o.xref,s.trigger.targetSlotViewSteps=u,s.trigger.targetSlot=h;return}o=o.parent!==null?r.views.get(o.parent):null,u++}break;default:throw new Error(`Trigger kind ${s.trigger.kind} not handled`)}}for(let i of r.units){let s=new Map;for(let a of i.create)switch(a.kind){case p.Defer:s.set(a.xref,a);break;case p.DeferOn:let o=s.get(a.defer);n(i,a,a.modifier==="hydrate"?o.mainView:o.placeholderView);break}}}var sL=class{targets=new Map},aL=new Map([[p.ElementEnd,[p.ElementStart,p.Element]],[p.ContainerEnd,[p.ContainerStart,p.Container]],[p.I18nEnd,[p.I18nStart,p.I18n]]]),oL=new Set([p.Pipe]);function uL(r){for(let e of r.units)for(let t of e.create){let n=aL.get(t.kind);if(n===void 0)continue;let[i,s]=n,a=t.prev;for(;a!==null&&oL.has(a.kind);)a=a.prev;a!==null&&a.kind===i&&(a.kind=s,M.remove(t))}}function lL(r){for(let e of r.units)for(let t of e.ops())et(t,n=>mL(n,{job:r}),be.None),et(t,vL,be.None)}function zt(r){return r instanceof Ii?zt(r.expr):r instanceof _e?zt(r.lhs)||zt(r.rhs):r instanceof zr?r.falseCase&&zt(r.falseCase)?!0:zt(r.condition)||zt(r.trueCase):r instanceof Za?zt(r.condition):r instanceof Jr?zt(r.expr):r instanceof rr?zt(r.receiver):r instanceof gn?zt(r.receiver)||zt(r.index):r instanceof kr?zt(r.expr):r instanceof Ut||r instanceof Nr||r instanceof Xr||r instanceof $i||r instanceof Fi}function cL(r){let e=new Set;return z(r,t=>(t instanceof Jr&&e.add(t.xref),t),be.None),e}function hL(r,e,t){return z(r,n=>{if(n instanceof Jr&&e.has(n.xref)){let i=new Jn(n.xref);return t.job.compatibility===jt.TemplateDefinitionBuilder?new Jr(i,i.xref):i}return n},be.None),r}function ls(r,e,t){let n;if(zt(r)){let i=t.job.allocateXrefId();n=[new Jr(r,i),new Jn(i)]}else n=[r,r.clone()],hL(n[1],cL(n[0]),t);return new Hs(n[0],e(n[1]))}function fL(r){return r instanceof js||r instanceof Vs||r instanceof $i}function pL(r){return r instanceof rr||r instanceof gn||r instanceof Ut}function xS(r){return fL(r)||pL(r)}function dL(r){if(xS(r)&&r.receiver instanceof Hs){let e=r.receiver;for(;e.expr instanceof Hs;)e=e.expr;return e}return null}function mL(r,e){if(!xS(r))return r;let t=dL(r);if(t){if(r instanceof Ut)return t.expr=t.expr.callFn(r.args),r.receiver;if(r instanceof rr)return t.expr=t.expr.prop(r.name),r.receiver;if(r instanceof gn)return t.expr=t.expr.key(r.index),r.receiver;if(r instanceof $i)return t.expr=ls(t.expr,n=>n.callFn(r.args),e),r.receiver;if(r instanceof js)return t.expr=ls(t.expr,n=>n.prop(r.name),e),r.receiver;if(r instanceof Vs)return t.expr=ls(t.expr,n=>n.key(r.index),e),r.receiver}else{if(r instanceof $i)return ls(r.receiver,n=>n.callFn(r.args),e);if(r instanceof js)return ls(r.receiver,n=>n.prop(r.name),e);if(r instanceof Vs)return ls(r.receiver,n=>n.key(r.index),e)}return r}function vL(r){return r instanceof Hs?new kr(new zr(new _e(B.Equals,r.guard,qs),qs,r.expr)):r}var _E="\uFFFD",gL="#",EL="*",yL="/",SL=":",wL="[",xL="]",_L="|";function TL(r){let e=new Map,t=new Map,n=new Map;for(let s of r.units)for(let a of s.create)switch(a.kind){case p.I18nContext:let o=bL(r,a);s.create.push(o),e.set(a.xref,o),n.set(a.xref,a);break;case p.I18nStart:t.set(a.xref,a);break}let i=null;for(let s of r.units)for(let a of s.create)switch(a.kind){case p.IcuStart:i=a,M.remove(a);let o=n.get(a.context);if(o.contextKind!==Vn.Icu)continue;let u=t.get(o.i18nBlock);if(u.context===o.xref)continue;let l=t.get(u.root),c=e.get(l.context);if(c===void 0)throw Error("AssertionError: ICU sub-message should belong to a root message.");let h=e.get(o.xref);h.messagePlaceholder=a.messagePlaceholder,c.subMessages.push(h.xref);break;case p.IcuEnd:i=null,M.remove(a);break;case p.IcuPlaceholder:if(i===null||i.context==null)throw Error("AssertionError: Unexpected ICU placeholder outside of i18n context");e.get(i.context).postprocessingParams.set(a.name,A(CL(a))),M.remove(a);break}}function bL(r,e,t){let n=TE(e.params),i=TE(e.postprocessingParams),s=[...e.params.values()].some(a=>a.length>1);return CR(r.allocateXrefId(),e.xref,e.i18nBlock,e.message,null,n,i,s)}function CL(r){if(r.strings.length!==r.expressionPlaceholders.length+1)throw Error(`AssertionError: Invalid ICU placeholder with ${r.strings.length} strings and ${r.expressionPlaceholders.length} expressions`);let e=r.expressionPlaceholders.map(ys);return r.strings.flatMap((t,n)=>[t,e[n]||""]).join("")}function TE(r){let e=new Map;for(let[t,n]of r){let i=AL(n);i!==null&&e.set(t,A(i))}return e}function AL(r){if(r.length===0)return null;let e=r.map(t=>ys(t));return e.length===1?e[0]:`${wL}${e.join(_L)}${xL}`}function ys(r){if(r.flags&De.ElementTag&&r.flags&De.TemplateTag){if(typeof r.value!="object")throw Error("AssertionError: Expected i18n param value to have an element and template slot");let i=ys({...r,value:r.value.element,flags:r.flags&~De.TemplateTag}),s=ys({...r,value:r.value.template,flags:r.flags&~De.ElementTag});return r.flags&De.OpenTag&&r.flags&De.CloseTag?`${s}${i}${s}`:r.flags&De.CloseTag?`${i}${s}`:`${s}${i}`}if(r.flags&De.OpenTag&&r.flags&De.CloseTag)return`${ys({...r,flags:r.flags&~De.CloseTag})}${ys({...r,flags:r.flags&~De.OpenTag})}`;if(r.flags===De.None)return`${r.value}`;let e="",t="";r.flags&De.ElementTag?e=gL:r.flags&De.TemplateTag&&(e=EL),e!==""&&(t=r.flags&De.CloseTag?yL:"");let n=r.subTemplateIndex===null?"":`${SL}${r.subTemplateIndex}`;return`${_E}${t}${e}${r.value}${n}${_E}`}function IL(r){for(let e of r.units){let t=new Map;for(let i of e.create){if(Zs(i)){if(i.handle.slot===null)throw new Error("AssertionError: expected slots to have been allocated before generating advance() calls")}else continue;t.set(i.xref,i.handle.slot)}let n=0;for(let i of e.update){let s=null;if(Co(i)?s=i:ct(i,o=>{s===null&&Co(o)&&(s=o)}),s===null)continue;if(!t.has(s.target))throw new Error(`AssertionError: reference to unknown slot for target ${s.target}`);let a=t.get(s.target);if(n!==a){let o=a-n;if(o<0)throw new Error("AssertionError: slot counter should never need to move backwards");M.insertBefore(uR(o,s.sourceSpan),i),n=a}}}}function kL(r){for(let e of r.units)for(let t of e.update){if(t.kind!==p.StoreLet)continue;let n={kind:st.Identifier,name:null,identifier:t.declaredName,local:!0};M.replace(t,jn(r.allocateXrefId(),n,new Ao(t.target,t.value,t.sourceSpan),Kt.None))}}function NL(r){let e=r.compatibility===jt.TemplateDefinitionBuilder,t=[],n=0;for(let i of r.units)for(let s of i.create)s.kind===p.Projection&&(t.push(s.selector),s.projectionSlotIndex=n++);if(t.length>0){let i=null;if(t.length>1||t[0]!=="*"){let s=t.map(a=>a==="*"?a:Mp(a));i=r.pool.getConstLiteral(Ws(s),e)}r.contentSelectors=r.pool.getConstLiteral(Ws(t),e),r.root.create.prepend([xR(i)])}}function qL(r){Ma(r.root,null)}function Ma(r,e){let t=DL(r,e);for(let n of r.create)switch(n.kind){case p.ConditionalCreate:case p.ConditionalBranchCreate:case p.Template:Ma(r.job.views.get(n.xref),t);break;case p.Projection:n.fallbackView!==null&&Ma(r.job.views.get(n.fallbackView),t);break;case p.RepeaterCreate:Ma(r.job.views.get(n.xref),t),n.emptyView&&Ma(r.job.views.get(n.emptyView),t),n.trackByOps!==null&&n.trackByOps.prepend(rl(r,t,!1));break;case p.Animation:case p.AnimationListener:case p.Listener:case p.TwoWayListener:n.handlerOps.prepend(rl(r,t,!0));break}r.update.prepend(rl(r,t,!1))}function DL(r,e){let t={view:r.xref,viewContextVariable:{kind:st.Context,name:null,view:r.xref},contextVariables:new Map,aliases:r.aliases,references:[],letDeclarations:[],parent:e};for(let n of r.contextVariables.keys())t.contextVariables.set(n,{kind:st.Identifier,name:null,identifier:n,local:!1});for(let n of r.create)switch(n.kind){case p.ElementStart:case p.ConditionalCreate:case p.ConditionalBranchCreate:case p.Template:if(!Array.isArray(n.localRefs))throw new Error("AssertionError: expected localRefs to be an array");for(let i=0;i<n.localRefs.length;i++)t.references.push({name:n.localRefs[i].name,targetId:n.xref,targetSlot:n.handle,offset:i,variable:{kind:st.Identifier,name:null,identifier:n.localRefs[i].name,local:!1}});break;
24case p.DeclareLet:t.letDeclarations.push({targetId:n.xref,targetSlot:n.handle,variable:{kind:st.Identifier,name:null,identifier:n.declaredName,local:!1}});break}return t}function rl(r,e,t){let n=[];e.view!==r.xref&&n.push(jn(r.job.allocateXrefId(),e.viewContextVariable,new Hl,Kt.None));let i=r.job.views.get(e.view);for(let[s,a]of i.contextVariables){let o=new Qn(e.view),u=a===SS?o:new rr(o,a);n.push(jn(r.job.allocateXrefId(),e.contextVariables.get(s),u,Kt.None))}for(let s of i.aliases)n.push(jn(r.job.allocateXrefId(),s,s.expression.clone(),Kt.AlwaysInline));for(let s of e.references)n.push(jn(r.job.allocateXrefId(),s.variable,new Vl(s.targetId,s.targetSlot,s.offset),Kt.None));if(e.view!==r.xref||t)for(let s of e.letDeclarations)n.push(jn(r.job.allocateXrefId(),s.variable,new Io(s.targetId,s.targetSlot),Kt.None));return e.parent!==null&&n.push(...rl(r,e.parent,!1)),n}function PL(r){for(let e of r.units)for(let t of e.ops())et(t,n=>n instanceof qo?A(r.addConst(n.expr)):n,be.None)}var bE="style.",CE="class.",OL="style!",AE="class!",IE="!important";function RL(r){for(let e of r.root.update)if(e.kind===p.Binding&&e.bindingKind===X.Property)if(e.name.endsWith(IE)&&(e.name=e.name.substring(0,e.name.length-IE.length)),e.name.startsWith(bE)){e.bindingKind=X.StyleProperty,e.name=e.name.substring(bE.length),LL(e.name)||(e.name=ML(e.name));let{property:t,suffix:n}=tf(e.name);e.name=t,e.unit=n}else e.name.startsWith(OL)?(e.bindingKind=X.StyleProperty,e.name="style"):e.name.startsWith(CE)?(e.bindingKind=X.ClassName,e.name=tf(e.name.substring(CE.length)).property):e.name.startsWith(AE)&&(e.bindingKind=X.ClassName,e.name=tf(e.name.substring(AE.length)).property)}function LL(r){return r.startsWith("--")}function ML(r){return r.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function tf(r){let e=r.indexOf("!important");e!==-1&&(r=e>0?r.substring(0,e):"");let t=null,n=r,i=r.lastIndexOf(".");return i>0&&(t=r.slice(i+1),n=r.substring(0,i)),{property:n,suffix:t}}function Jf(r,e=!1){return kt(Object.keys(r).map(t=>({key:t,quoted:e,value:r[t]})))}var ep=class{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){let t=Object.keys(e.cases).map(i=>`${i} {${e.cases[i].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${Ho(e,!1)}}`}},BL=new ep;function _S(r){return r.visit(BL)}var yn=class{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}},Ui=class extends yn{value;tokens;constructor(e,t,n,i){super(t,i),this.value=e,this.tokens=n}visit(e,t){return e.visitText(this,t)}},_i=class extends yn{switchValue;type;cases;switchValueSourceSpan;constructor(e,t,n,i,s,a){super(i,a),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=s}visit(e,t){return e.visitExpansion(this,t)}},Jl=class{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,n,i,s){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=i,this.expSourceSpan=s}visit(e,t){return e.visitExpansionCase(this,t)}},tp=class extends yn{name;value;keySpan;valueSpan;valueTokens;constructor(e,t,n,i,s,a,o){super(n,o),this.name=e,this.value=t,this.keySpan=i,this.valueSpan=s,this.valueTokens=a}visit(e,t){return e.visitAttribute(this,t)}},ur=class extends yn{name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;isVoid;constructor(e,t,n,i,s,a,o,u=null,l,c){super(a,c),this.name=e,this.attrs=t,this.directives=n,this.children=i,this.isSelfClosing=s,this.startSourceSpan=o,this.endSourceSpan=u,this.isVoid=l}visit(e,t){return e.visitElement(this,t)}},Po=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}},lr=class extends yn{name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,s,a,o=null,u){super(i,u),this.name=e,this.parameters=t,this.children=n,this.nameSpan=s,this.startSourceSpan=a,this.endSourceSpan=o}visit(e,t){return e.visitBlock(this,t)}},Bt=class extends yn{componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;constructor(e,t,n,i,s,a,o,u,l,c=null,h){super(u,h),this.componentName=e,this.tagName=t,this.fullName=n,this.attrs=i,this.directives=s,this.children=a,this.isSelfClosing=o,this.startSourceSpan=l,this.endSourceSpan=c}visit(e,t){return e.visitComponent(this,t)}},rp=class{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,s=null){this.name=e,this.attrs=t,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=s}visit(e,t){return e.visitDirective(this,t)}},ec=class{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}},tc=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,n,i,s){this.name=e,this.value=t,this.sourceSpan=n,this.nameSpan=i,this.valueSpan=s}visit(e,t){return e.visitLetDeclaration(this,t)}};function $e(r,e,t=null){let n=[],i=r.visit?s=>r.visit(s,t)||s.visit(r,t):s=>s.visit(r,t);return e.forEach(s=>{let a=i(s);a&&n.push(a)}),n}var Oo
vendor: 35,739 bytes, lines 24-25
24={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:`
25`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:"	",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},
25TS="\uE500";Oo.ngsp=TS;var np=class{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}};function FL(r,e,t,n={}){let i=new ip(new Ul(r,e),t,n);return i.tokenize(),new np(YL(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}var $L=/\r\n?/g;function cs(r){return`Unexpected character "${r===pt?"EOF":String.fromCharCode(r)}"`}function kE(r){return`Unknown entity "${r}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}function UL(r,e){return`Unable to parse entity "${e}" - ${r} character reference entities must end with ";"`}var rc;(function(r){r.HEX="hexadecimal",r.DEC="decimal"})(rc||(rc={}));var jL=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error"],ip=class{_getTagDefinition;_cursor;_tokenizeIcu;_interpolationConfig;_leadingTriviaCodePoints;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,n){this._getTagDefinition=t,this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Vr,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(s=>s.codePointAt(0)||0);let i=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new sp(e,i):new nc(e,i),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0,this._tokenizeLet=n.tokenizeLet??!0,this._selectorlessEnabled=n.selectorlessEnabled??!1;try{this._cursor.init()}catch(s){this.handleError(s)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace($L,`
26`)}tokenize(){for(;this._cursor.peek()!==pt;){let e=this._cursor.clone();try{this._attemptCharCode(bs)?this._attemptCharCode(Bf)?this._attemptCharCode(Wn)?this._consumeCdata(e):this._attemptCharCode(Fl)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(Tr)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeLet&&this._cursor.peek()===os&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(Ft)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(41),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(n=>xo(n)?!e:XL(n)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._requireCharCode(os),this._beginToken(24,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===Ir)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(Ge),this._attemptCharCode(bt))this._attemptCharCodeUntilFn(Ge);else{t.type=28;return}this._attemptCharCode(Ar)?(this._beginToken(25),this._endToken([])):t.type=28}_consumeBlockEnd(e){this._beginToken(26,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(qE);this._cursor.peek()!==bt&&this._cursor.peek()!==pt;){this._beginToken(27);let e=this._cursor.clone(),t=null,n=0;for(;this._cursor.peek()!==Zt&&this._cursor.peek()!==pt||t!==null;){let i=this._cursor.peek();if(i===Cs)this._cursor.advance();else if(i===t)t=null;else if(t===null&&ja(i))t=i;else if(i===Ir&&t===null)n++;else if(i===bt&&t===null){if(n===0)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(qE)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(29,e),xo(this._cursor.peek()))this._attemptCharCodeUntilFn(Ge);else{let i=this._endToken([this._cursor.getChars(e)]);i.type=32;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(Ge),!this._attemptCharCode(St)){t.type=32;return}this._attemptCharCodeUntilFn(i=>
26Ge(i)&&!$l(i)),this._consumeLetDeclarationValue(),this._cursor.peek()===Zt?(this._beginToken(31),this._endToken([]),this._cursor.advance()):(t.type=32,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(n=>Fs(n)||n===xc||n===ti||t&&br(n)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(30,e);this._cursor.peek()!==pt;){let t=this._cursor.peek();if(t===Zt)break;ja(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(n=>n===Cs?(this._cursor.advance(),!1):n===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(GL(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Ft){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new oe(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(this._currentTokenType===null)throw new oe(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");let n={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new oe(t,e);return this._currentTokenStart=null,this._currentTokenType=null,n}handleError(e){if(e instanceof Ro&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof oe)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return zL(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(cs(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let n=this._cursor.clone();for(let i=0;i<t;i++)if(!this._attemptCharCode(e.charCodeAt(i)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(cs(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError(cs(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let n=this._cursor.clone();for(let i=0;i<t;i++){if(n.peek()!==e.charCodeAt(i))return!1;n.advance()}return!0}_isBlockStart(){return this._cursor.peek()===os&&jL.some(e=>this._peekStr(e))}_isLetStart(){return this._cursor.peek()===os&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(Gy)){let n=this._attemptCharCode(eS)||this._attemptCharCode(uO),i=this._cursor.clone();if(this._attemptCharCodeUntilFn(HL),this._cursor.peek()!=Zt){this._cursor.advance();let a=n?rc.HEX:rc.DEC;throw this._createError(UL(a,this._cursor.getChars(t)),this._cursor.getSpan())}let s=this._cursor.getChars(i);this._cursor.advance();try{let a=parseInt(s,n?16:10);this._endToken([String.fromCharCode(a),this._cursor.getChars(t)])}catch{throw this._createError(kE(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(WL),this._cursor.peek()!=Zt)this._beginToken(e,t),this._cursor=n,this._endToken(["&"]);else{let i=this._cursor.getChars(n);this._cursor.advance();let s=Oo.hasOwnProperty(i)&&Oo[i];if(!s)throw this._createError(kE(i),this._cursor.getSpan(t));this._endToken([s,`&${i};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let n=[];for(;;){let i=this._cursor.clone(),s=t();if(this._cursor=i,s)break;e&&this._cursor.peek()===Bl?(this._endToken([this._processCarriageReturns(n.join(""))]),n.length=0,this._consumeEntity(6),this._beginToken(6)):n.push(this._readChar())}this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(10,e),this._requireCharCode(Fl),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e);let t=this._cursor.clone();this._attemptUntilChar(or);let n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])}_consumePrefixAndName(e){let t=this._cursor.clone(),n="";for(;this._cursor.peek()!==ln&&!VL(this._cursor.peek());)this._cursor.advance();let i;this._cursor.peek()===ln?(n=this._cursor.getChars(t),this._cursor.advance(),i=this._cursor.clone()):i=t,this._requireCharCodeUntilFn(e,n===""?0:1);let s=this._cursor.getChars(i);return[n,s]}_consumeTagOpen(e){let t,n,i,s;try{if(this._selectorlessEnabled&&Uu(this._cursor.peek()))s=this._consumeComponentOpenStart(e),[i,n,t]=s.parts,n&&(i+=`:${n}`),t&&(i+=`:${t}`),this._attemptCharCodeUntilFn(Ge);else{if(!Fs(this._cursor.peek()))throw this._createError(cs(this._cursor.peek()),this._cursor.getSpan(e));s=this._consumeTagOpenStart(e),n=s.parts[0],t=i=s.parts[1],this._attemptCharCodeUntilFn(Ge)}for(;!PE(this._cursor.peek());)if(this._selectorlessEnabled&&this._cursor.peek()===os){let o=this._cursor.clone(),u=o.clone();u.advance(),Uu(u.peek())&&this._consumeDirective(o,u)}else this._consumeAttribute();s.type===33?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(o){if(o instanceof oe){s?s.type=s.type===33?37:4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}let a=this._getTagDefinition(t).getContentType(n);a===Cr.RAW_TEXT?this._consumeRawTextWithTagClose(s,i,!1):a===Cr.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(s,i,!0)}_consumeRawTextWithTagClose(e,t,n){this._consumeRawText(n,()=>!this._attemptCharCode(bs)||!this._attemptCharCode(Tr)||(this._attemptCharCodeUntilFn(Ge),!this._attemptStrCaseInsensitive(t))?!1:(this._attemptCharCodeUntilFn(Ge),this._attemptCharCode(or))),this._beginToken(e.type===33?36:3),this._requireCharCodeUntilFn(i=>i===or,3),this._cursor.advance(),this._endToken(e.parts)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName(fi);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(33,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;DE(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),n="",i="";return this._cursor.peek()===ln&&(this._cursor.advance(),[n,i]=this._consumePrefixAndName(fi)),[t,n,i]}_consumeAttribute(){this._consumeAttributeName(),this._attemptCharCodeUntilFn(Ge),this._attemptCharCode(St)&&(this._attemptCharCodeUntilFn(Ge),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(Ge)}_consumeAttributeName(){let e=this._cursor.peek();if(e===wo||e===So)throw this._createError(cs(e),this._cursor.getSpan());this._beginToken(14);let t;if(this._openDirectiveCount>0){let i=0;t=s=>{if(this._openDirectiveCount>0){if(s===Ir)i++;else if(s===bt){if(i===0)return!0;
26i--}}return fi(s)}}else if(e===Wn){let i=0;t=s=>(s===Wn?i++:s===yi&&i--,i<=0?fi(s):$l(s))}else t=fi;let n=this._consumePrefixAndName(t);this._endToken(n)}_consumeAttributeValue(){if(this._cursor.peek()===wo||this._cursor.peek()===So){let e=this._cursor.peek();this._consumeQuote(e);let t=()=>this._cursor.peek()===e;this._consumeWithInterpolation(16,17,t,t),this._consumeQuote(e)}else{let e=()=>fi(this._cursor.peek());this._consumeWithInterpolation(16,17,e,e)}}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(Tr)?2:1;this._beginToken(e),this._requireCharCode(or),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(Tr)?35:34;this._beginToken(e),this._requireCharCode(or),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let n=e.clone();for(;n.peek()!==or&&!Uu(n.peek());)n.advance();if(Uu(n.peek())){this._beginToken(36,e);let i=this._consumeComponentName();this._attemptCharCodeUntilFn(Ge),this._requireCharCode(or),this._endToken(i);return}}this._beginToken(3,e),this._attemptCharCodeUntilFn(Ge);let t=this._consumePrefixAndName(fi);this._attemptCharCodeUntilFn(Ge),this._requireCharCode(or),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(Ar),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);let e=this._readUntil(fr),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let i=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(i)}this._requireCharCode(fr),this._attemptCharCodeUntilFn(Ge),this._beginToken(7);let n=this._readUntil(fr);this._endToken([n]),this._requireCharCode(fr),this._attemptCharCodeUntilFn(Ge)}_consumeExpansionCaseStart(){this._beginToken(20);let e=this._readUntil(Ar).trim();this._endToken([e]),this._attemptCharCodeUntilFn(Ge),this._beginToken(21),this._requireCharCode(Ar),this._endToken([]),this._attemptCharCodeUntilFn(Ge),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(Ft),this._endToken([]),this._attemptCharCodeUntilFn(Ge),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(Ft),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,n,i){this._beginToken(e);let s=[];for(;!n();){let a=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(s.join(""))],a),s.length=0,this._consumeInterpolation(t,a,i),this._beginToken(e)):this._cursor.peek()===Bl?(this._endToken([this._processCarriageReturns(s.join(""))]),s.length=0,this._consumeEntity(e),this._beginToken(e)):s.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(s.join(""))])}_consumeInterpolation(e,t,n){let i=[];this._beginToken(e,t),i.push(this._interpolationConfig.start);let s=this._cursor.clone(),a=null,o=!1;for(;this._cursor.peek()!==pt&&(n===null||!n());){let u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,i.push(this._getProcessedChars(s,u)),this._endToken(i);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){i.push(this._getProcessedChars(s,u)),i.push(this._interpolationConfig.end),this._endToken(i);return}else this._attemptStr("//")&&(o=!0);let l=this._cursor.peek();this._cursor.advance(),l===Cs?this._cursor.advance():l===a?a=null:!o&&a===null&&ja(l)&&(a=l)}i.push(this._getProcessedChars(s,this._cursor)),this._endToken(i)}_consumeDirective(e,t){for(this._requireCharCode(os),this._cursor.advance();DE(this._cursor.peek());)this._cursor.advance();this._beginToken(38,e);let n=this._cursor.getChars(t);if(this._endToken([n]),this._attemptCharCodeUntilFn(Ge),this._cursor.peek()===Ir){for(this._openDirectiveCount++,this._beginToken(39),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(Ge);!PE(this._cursor.peek())&&this._cursor.peek()!==bt;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(Ge),this._openDirectiveCount--,this._cursor.peek()!==bt){if(this._cursor.peek()===or||this._cursor.peek()===Tr)return;throw this._createError(cs(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(40),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(Ge)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===pt||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Ft&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._isLetStart()||this._cursor.peek()===Ft))}
26_isTagStart(){if(this._cursor.peek()===bs){let e=this._cursor.clone();e.advance();let t=e.peek();if(Oi<=t&&t<=Wo||ei<=t&&t<=Xs||t===Tr||t===Bf)return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===21}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===19}isExpansionFormStart(){if(this._cursor.peek()!==Ar)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}};function Ge(r){return!xo(r)||r===pt}function fi(r){return xo(r)||r===or||r===bs||r===Tr||r===wo||r===So||r===St||r===pt}function VL(r){return(r<Oi||Wo<r)&&(r<ei||Xs<r)&&(r<zp||r>Xy)}function HL(r){return r===Zt||r===pt||!fO(r)}function WL(r){return r===Zt||r===pt||!Fs(r)}function GL(r){return r!==Ft}function zL(r,e){return NE(r)===NE(e)}function NE(r){return r>=Oi&&r<=Wo?r-Oi+ei:r}function XL(r){return Fs(r)||br(r)||r===ti}function qE(r){return r!==Zt&&Ge(r)}function Uu(r){return r===ti||r>=ei&&r<=Xs}function DE(r){return Fs(r)||br(r)||r===ti}function PE(r){return r===Tr||r===or||r===bs||r===pt}function YL(r){let e=[],t;for(let n=0;n<r.length;n++){let i=r[n];t&&t.type===5&&i.type===5||t&&t.type===16&&i.type===16?(t.parts[0]+=i.parts[0],t.sourceSpan.end=i.sourceSpan.end):(t=i,e.push(t))}return e}var nc=class r{state;file;input;end;constructor(e,t){if(e instanceof r){this.file=e.file,this.input=e.input,this.end=e.end;let n=e.state;this.state={peek:n.peek,offset:n.offset,line:n.line,column:n.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new r(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let n=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)n===e&&(e=e.clone()),e.advance();let i=this.locationFromCursor(e),s=this.locationFromCursor(this),a=n!==e?this.locationFromCursor(n):i;return new ce(i,s,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Ro('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===xi?(e.line++,e.column=0):$l(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?pt:this.charAt(e.offset)}locationFromCursor(e){return new _o(e.file,e.state.offset,e.state.line,e.state.column)}},sp=class r extends nc{internalState;constructor(e,t){e instanceof r?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}
26advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new r(this)}getChars(e){let t=e.clone(),n="";for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===Cs)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===Yy)this.state.peek=xi;else if(e()===Zy)this.state.peek=Gp;else if(e()===Jy)this.state.peek=Vy;else if(e()===Ky)this.state.peek=Wp;else if(e()===cO)this.state.peek=nO;else if(e()===Xp)this.state.peek=Hy;else if(e()===Qy)if(this.advanceState(this.internalState),e()===Ar){this.advanceState(this.internalState);let t=this.clone(),n=0;for(;e()!==Ft;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===eS){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(cE(e())){let t="",n=0,i=this.clone();for(;cE(e())&&n<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else $l(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let n=this.input.slice(e.internalState.offset,e.internalState.offset+t),i=parseInt(n,16);if(isNaN(i))throw e.state=e.internalState,new Ro("Invalid hexadecimal escape sequence",e);return i}},Ro=class extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},Qe=class r extends oe{elementName;static create(e,t,n){return new r(e,t,n)}constructor(e,t,n){super(t,n),this.elementName=e}},ic=class{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}},ZL=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,n){let i=FL(e,t,this.getTagDefinition,n),s=new ap(i.tokens,this.getTagDefinition);return s.build(),new ic(s.rootNodes,[...i.errors,...s.errors])}},ap=class r{tokens;tagDefinitionResolver;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(e,t){this.tokens=e,this.tagDefinitionResolver=t,this._advance()}build(){for(;this._peek.type!==41;)this._peek.type===0||this._peek.type===4?this._consumeElementStartTag(this._advance()):this._peek.type===3?this._consumeElementEndTag(this._advance()):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===19?this._consumeExpansion(this._advance()):this._peek.type===24?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===26?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===28?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===32?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===33||this._peek.type===37?this._consumeComponentStartTag(this._advance()):this._peek.type===36?this._consumeComponentEndTag(this._advance()):this._advance();for(let e of this._containerStack)e instanceof lr&&this.errors.push(Qe.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(13)}_consumeComment(e){let t=this._advanceIf(7),n=this._advanceIf(11),i=t!=null?t.parts[0].trim():null,
26s=n==null?e.sourceSpan:new ce(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Po(i,s))}_consumeExpansion(e){let t=this._advance(),n=this._advance(),i=[];for(;this._peek.type===20;){let a=this._parseExpansionCase();if(!a)return;i.push(a)}if(this._peek.type!==23){this.errors.push(Qe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let s=new ce(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new _i(t.parts[0],n.parts[0],i,s,t.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==21)return this.errors.push(Qe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;let i=this._advance();n.push({type:41,parts:[],sourceSpan:i.sourceSpan});let s=new r(n,this.tagDefinitionResolver);if(s.build(),s.errors.length>0)return this.errors=this.errors.concat(s.errors),null;let a=new ce(e.sourceSpan.start,i.sourceSpan.end,e.sourceSpan.fullStart),o=new ce(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart);return new Jl(e.parts[0],s.rootNodes,a,e.sourceSpan,o)}_collectExpansionExpTokens(e){let t=[],n=[21];for(;;){if((this._peek.type===19||this._peek.type===21)&&n.push(this._peek.type),this._peek.type===22)if(OE(n,21)){if(n.pop(),n.length===0)return t}else return this.errors.push(Qe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===23)if(OE(n,19))n.pop();else return this.errors.push(Qe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===41)return this.errors.push(Qe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){let t=[e],n=e.sourceSpan,i=e.parts[0];if(i.length>0&&i[0]===`
27`){let s=this._getContainer();s!=null&&s.children.length===0&&this._getTagDefinition(s)?.ignoreFirstLf&&(i=i.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[i]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?i+=e.parts.join("").replace(/&([^;]+);/g,RE):e.type===9?i+=e.parts[0]:i+=e.parts.join("");if(i.length>0){let s=e.sourceSpan;this._addToParent(new Ui(i,new ce(n.start,s.end,n.fullStart,n.details),t))}}_closeVoidElement(){let e=this._getContainer();e!==null&&this._getTagDefinition(e)?.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){let t=[],n=[];this._consumeAttributesAndDirectives(t,n);let i=this._getElementFullName(e,this._getClosestElementLikeParent()),s=this._getTagDefinition(i),a=!1;this._peek.type===2?(this._advance(),a=!0,s?.canSelfClose||kf(i)!==null||s?.isVoid||this.errors.push(Qe.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))):this._peek.type===1&&(this._advance(),a=!1);let o=this._peek.sourceSpan.fullStart,u=new ce(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=new ce(e.sourceSpan.start,o,e.sourceSpan.fullStart),c=new ur(i,t,n,[],a,u,l,void 0,s?.isVoid??!1),h=this._getContainer(),d=h!==null&&!!this._getTagDefinition(h)?.isClosedByChild(c.name);this._pushContainer(c,d),a?this._popContainer(i,ur,u):e.type===4&&(this._popContainer(i,ur,null),this.errors.push(Qe.create(i,u,`Opening tag "${i}" not terminated.`)))}_consumeComponentStartTag(e){let t=e.parts[0],n=[],i=[];this._consumeAttributesAndDirectives(n,i);let s=this._getClosestElementLikeParent(),a=this._getComponentTagName(e,s),o=this._getComponentFullName(e,s),u=this._peek.type===35;this._advance();let l=this._peek.sourceSpan.fullStart,c=new ce(e.sourceSpan.start,l,e.sourceSpan.fullStart),h=new ce(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new Bt(t,a,o,n,i,[],u,c,h,void 0),f=this._getContainer(),m=f!==null&&d.tagName!==null&&!!this._getTagDefinition(f)?.isClosedByChild(d.tagName);this._pushContainer(d,m),u?this._popContainer(o,Bt,c):e.type===37&&(this._popContainer(o,Bt,null),this.errors.push(Qe.create(o,c,`Opening tag "${o}" not terminated.`)))}_consumeAttributesAndDirectives(e,t){for(;this._peek.type===14||this._peek.type===38;
27)this._peek.type===38?t.push(this._consumeDirective(this._peek)):e.push(this._consumeAttr(this._advance()))}_consumeComponentEndTag(e){let t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,Bt,e.sourceSpan)){let n=this._containerStack[this._containerStack.length-1],i;n instanceof Bt&&n.componentName===e.parts[0]?i=`, did you mean "${n.fullName}"?`:i=". It may happen when the tag has already been closed by another tag.";let s=`Unexpected closing tag "${t}"${i}`;this.errors.push(Qe.create(t,e.sourceSpan,s))}}_getTagDefinition(e){return typeof e=="string"?this.tagDefinitionResolver(e):e instanceof ur?this.tagDefinitionResolver(e.name):e instanceof Bt&&e.tagName!==null?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){let t=this._getElementFullName(e,this._getClosestElementLikeParent());if(this._getTagDefinition(t)?.isVoid)this.errors.push(Qe.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,ur,e.sourceSpan)){let n=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Qe.create(t,e.sourceSpan,n))}}_popContainer(e,t,n){let i=!1;for(let s=this._containerStack.length-1;s>=0;s--){let a=this._containerStack[s];if(((a instanceof Bt?a.fullName:a.name)===e||e===null)&&a instanceof t)return a.endSourceSpan=n,a.sourceSpan.end=n!==null?n.end:a.sourceSpan.end,this._containerStack.splice(s,this._containerStack.length-s),!i;(a instanceof lr||!this._getTagDefinition(a)?.closedByParent)&&(i=!0)}return!1}_consumeAttr(e){let t=tl(e.parts[0],e.parts[1]),n=e.sourceSpan.end;this._peek.type===15&&this._advance();let i="",s=[],a,o;if(this._peek.type===16)for(a=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let c=this._advance();s.push(c),c.type===17?i+=c.parts.join("").replace(/&([^;]+);/g,RE):c.type===9?i+=c.parts[0]:i+=c.parts.join(""),o=n=c.sourceSpan.end}this._peek.type===15&&(n=this._advance().sourceSpan.end);let l=a&&o&&new ce(a.start,o,a.fullStart);return new tp(t,i,new ce(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,l,s.length>0?s:void 0,void 0)}_consumeDirective(e){let t=[],n=e.sourceSpan.end,i=null;if(this._advance(),this._peek.type===39){for(n=this._peek.sourceSpan.end,this._advance();this._peek.type===14;)t.push(this._consumeAttr(this._advance()));this._peek.type===40?(i=this._peek.sourceSpan,this._advance()):this.errors.push(Qe.create(null,e.sourceSpan,"Unterminated directive definition"))}let s=new ce(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new ce(s.start,i===null?e.sourceSpan.end:i.end,s.fullStart);return new rp(e.parts[0],t,a,s,i)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===27;){let o=this._advance();t.push(new ec(o.parts[0],o.sourceSpan))}this._peek.type===25&&this._advance();let n=this._peek.sourceSpan.fullStart,i=new ce(e.sourceSpan.start,n,e.sourceSpan.fullStart),s=new ce(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new lr(e.parts[0],t,[],i,e.sourceSpan,s);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,lr,e.sourceSpan)||this.errors.push(Qe.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===27;){let o=this._advance();t.push(new ec(o.parts[0],o.sourceSpan))}let n=this._peek.sourceSpan.fullStart,i=new ce(e.sourceSpan.start,n,e.sourceSpan.fullStart),s=new ce(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new lr(e.parts[0],t,[],i,e.sourceSpan,s);this._pushContainer(a,!1),this._popContainer(null,lr,null),this.errors.push(Qe.create(e.parts[0],i,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],n,i;if(this._peek.type!==30){this.errors.push(Qe.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==31){this.errors.push(Qe.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else i=this._advance();let s=i.sourceSpan.fullStart,a=new ce(e.sourceSpan.start,s,e.sourceSpan.fullStart),o=e.sourceSpan.toString().lastIndexOf(t),u=e.sourceSpan.start.moveBy(o),l=new ce(u,e.sourceSpan.end),c=new tc(t,n.parts[0],a,l,
27n.sourceSpan);this._addToParent(c)}_consumeIncompleteLet(e){let t=e.parts[0]??"",n=t?` "${t}"`:"";if(t.length>0){let i=e.sourceSpan.toString().lastIndexOf(t),s=e.sourceSpan.start.moveBy(i),a=new ce(s,e.sourceSpan.end),o=new ce(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),u=new tc(t,"",e.sourceSpan,a,o);this._addToParent(u)}this.errors.push(Qe.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let e=this._containerStack.length-1;e>-1;e--){let t=this._containerStack[e];if(t instanceof ur||t instanceof Bt)return t}return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){let n=this._getPrefix(e,t);return tl(n,e.parts[1])}_getComponentFullName(e,t){let n=e.parts[0],i=this._getComponentTagName(e,t);return i===null?n:i.startsWith(":")?n+i:`${n}:${i}`}_getComponentTagName(e,t){let n=this._getPrefix(e,t),i=e.parts[2];return!n&&!i?null:!n&&i?i:tl(n,i||"ng-component")}_getPrefix(e,t){let n,i;if(e.type===33||e.type===37||e.type===36?(n=e.parts[1],i=e.parts[2]):(n=e.parts[0],i=e.parts[1]),n=n||this._getTagDefinition(i)?.implicitNamespacePrefix||"",!n&&t){let s=t instanceof ur?t.name:t.tagName;if(s!==null){let a=Dr(s)[1],o=this._getTagDefinition(a);o!==null&&!o.preventNamespaceInheritance&&(n=kf(s))}}return n}};function OE(r,e){return r.length>0&&r[r.length-1]===e}function RE(r,e){return Oo[e]!==void 0?Oo[e]||r:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):r}var bS="ngPreserveWhitespaces",LE=new Set(["pre","template","textarea","script","style"]),CS=` \f
28\r	\v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,KL=new RegExp(`[^${CS}]`),QL=new RegExp(`[${CS}]{2,}`,"g");function ME(r){return r.some(e=>e.name===bS)}function AS(r){return r.replace(new RegExp(TS,"g")," ")}var sc=class{preserveSignificantWhitespace;originalNodeMap;requireContext;icuExpansionDepth=0;constructor(e,t,n=!0){this.preserveSignificantWhitespace=e,this.originalNodeMap=t,this.requireContext=n}visitElement(e,t){if(LE.has(e.name)||ME(e.attrs)){let i=new ur(e.name,$r(this,e.attrs),$r(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n);return this.originalNodeMap?.set(i,e),i}let n=new ur(e.name,e.attrs,e.directives,$r(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n);return this.originalNodeMap?.set(n,e),n}visitAttribute(e,t){return e.name!==bS?e:null}visitText(e,t){let n=e.value.match(KL),i=t&&(t.prev instanceof _i||t.next instanceof _i);if(this.icuExpansionDepth>0&&this.preserveSignificantWhitespace)return e;if(n||i){let a=e.tokens.map(c=>c.type===5?rM(c):c);if(!this.preserveSignificantWhitespace&&a.length>0){let c=a[0];a.splice(0,1,JL(c,t));let h=a[a.length-1];a.splice(a.length-1,1,eM(h,t))}let o=kS(e.value),u=this.preserveSignificantWhitespace?o:tM(o,t),l=new Ui(u,e.sourceSpan,a,e.i18n);return this.originalNodeMap?.set(l,e),l}return null}visitComment(e,t){return e}visitExpansion(e,t){this.icuExpansionDepth++;let n;try{n=new _i(e.switchValue,e.type,$r(this,e.cases),e.sourceSpan,e.switchValueSourceSpan,e.i18n)}finally{this.icuExpansionDepth--}return this.originalNodeMap?.set(n,e),n}visitExpansionCase(e,t){let n=new Jl(e.value,$r(this,e.expression),e.sourceSpan,e.valueSourceSpan,e.expSourceSpan);return this.originalNodeMap?.set(n,e),n}visitBlock(e,t){let n=new lr(e.name,e.parameters,$r(this,e.children),e.sourceSpan,e.nameSpan,e.startSourceSpan,e.endSourceSpan);return this.originalNodeMap?.set(n,e),n}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitComponent(e,t){if(e.tagName&&LE.has(e.tagName)||ME(e.attrs)){let i=new Bt(e.componentName,e.tagName,e.fullName,$r(this,e.attrs),$r(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return this.originalNodeMap?.set(i,e),i}let n=new Bt(e.componentName,e.tagName,e.fullName,e.attrs,e.directives,$r(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return this.originalNodeMap?.set(n,e),n}visitDirective(e,t){return e}visit(e,t){if(this.requireContext&&!t)throw new Error("WhitespaceVisitor requires context. Visit via `visitAllWithSiblings` to get this context.");return!1}};function JL(r,e){return r.type!==5||!!e?.prev?r:IS(r,n=>n.trimStart())}function eM(r,e){return r.type!==5||!!e?.next?r:IS(r,n=>n.trimEnd())}function tM(r,e){let t=!e?.prev,n=!e?.next,i=t?r.trimStart():r;return n?i.trimEnd():i}function rM({type:r,parts:e,sourceSpan:t}){return{type:r,parts:[kS(e[0])],sourceSpan:t}}function IS({type:r,parts:e,sourceSpan:t},n){return{type:r,parts:[n(e[0])],sourceSpan:t}}function kS(r){return AS(r).replace(QL," ")}function $r(r,e){let t=[];return e.forEach((n,i)=>{let s={prev:e[i-1],next:e[i+1]},a=n.visit(r,s);a&&t.push(a)}),t}var me;(function(r){r[r.Character=0]="Character",r[r.Identifier=1]="Identifier",r[r.PrivateIdentifier=2]="PrivateIdentifier",r[r.Keyword=3]="Keyword",r[r.String=4]="String",r[r.Operator=5]="Operator",r[r.Number=6]="Number",r[r.Error=7]="Error"})(me||(me={}));var Gn;(function(r){r[r.Plain=0]="Plain",r[r.TemplateLiteralPart=1]="TemplateLiteralPart",r[r.TemplateLiteralEnd=2]="TemplateLiteralEnd"})(Gn||(Gn={}));
28var nM=["var","let","as","null","undefined","true","false","if","else","this","typeof","void","in"],Lo=class{tokenize(e){return new op(e).scan()}},Pr=class{index;end;type;numValue;strValue;constructor(e,t,n,i,s){this.index=e,this.end=t,this.type=n,this.numValue=i,this.strValue=s}isCharacter(e){return this.type===me.Character&&this.numValue===e}isNumber(){return this.type===me.Number}isString(){return this.type===me.String}isOperator(e){return this.type===me.Operator&&this.strValue===e}isIdentifier(){return this.type===me.Identifier}isPrivateIdentifier(){return this.type===me.PrivateIdentifier}isKeyword(){return this.type===me.Keyword}isKeywordLet(){return this.type===me.Keyword&&this.strValue==="let"}isKeywordAs(){return this.type===me.Keyword&&this.strValue==="as"}isKeywordNull(){return this.type===me.Keyword&&this.strValue==="null"}isKeywordUndefined(){return this.type===me.Keyword&&this.strValue==="undefined"}isKeywordTrue(){return this.type===me.Keyword&&this.strValue==="true"}isKeywordFalse(){return this.type===me.Keyword&&this.strValue==="false"}isKeywordThis(){return this.type===me.Keyword&&this.strValue==="this"}isKeywordTypeof(){return this.type===me.Keyword&&this.strValue==="typeof"}isKeywordVoid(){return this.type===me.Keyword&&this.strValue==="void"}isKeywordIn(){return this.type===me.Keyword&&this.strValue==="in"}isError(){return this.type===me.Error}toNumber(){return this.type===me.Number?this.numValue:-1}isTemplateLiteralPart(){return this.isString()&&this.kind===Gn.TemplateLiteralPart}isTemplateLiteralEnd(){return this.isString()&&this.kind===Gn.TemplateLiteralEnd}isTemplateLiteralInterpolationStart(){return this.isOperator("${")}isTemplateLiteralInterpolationEnd(){return this.isOperator("}")}toString(){switch(this.type){case me.Character:case me.Identifier:case me.Keyword:case me.Operator:case me.PrivateIdentifier:case me.String:case me.Error:return this.strValue;case me.Number:return this.numValue.toString();default:return null}}},Va=class extends Pr{kind;constructor(e,t,n,i){super(e,t,me.String,0,n),this.kind=i}};function ju(r,e,t){return new Pr(r,e,me.Character,t,String.fromCharCode(t))}function iM(r,e,t){return new Pr(r,e,me.Identifier,0,t)}function sM(r,e,t){return new Pr(r,e,me.PrivateIdentifier,0,t)}function aM(r,e,t){return new Pr(r,e,me.Keyword,0,t)}function hs(r,e,t){return new Pr(r,e,me.Operator,0,t)}function oM(r,e,t){return new Pr(r,e,me.Number,t,"")}function uM(r,e,t){return new Pr(r,e,me.Error,0,t)}var Vu=new Pr(-1,-1,me.Character,0,""),op=class{input;tokens=[];length;peek=0;index=-1;braceStack=[];constructor(e){this.input=e,this.length=e.length,this.advance()}scan(){let e=this.scanToken();for(;e!==null;)this.tokens.push(e),e=this.scanToken();return this.tokens}advance(){this.peek=++this.index>=this.length?pt:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,n=this.peek,i=this.index;for(;n<=Wy;)if(++i>=t){n=pt;break}else n=e.charCodeAt(i);if(this.peek=n,this.index=i,i>=t)return null;if(BE(n))return this.scanIdentifier();if(br(n))return this.scanNumber(i);let s=i;switch(n){case La:return this.advance(),br(this.peek)?this.scanNumber(s):ju(s,this.index,La);case Ir:case bt:case Wn:case yi:case fr:case ln:case Zt:return this.scanCharacter(s,n);case Ar:return this.scanOpenBrace(s,n);case Ft:return this.scanCloseBrace(s,n);case wo:case So:return this.scanString();case Ff:return this.advance(),this.scanTemplateLiteralPart(s);case Gy:return this.scanPrivateIdentifier();case zy:return this.scanComplexOperator(s,"+",St,"=");case Fl:return this.scanComplexOperator(s,"-",St,"=");case Tr:return this.scanComplexOperator(s,"/",St,"=");case iO:return this.scanComplexOperator(s,"%",St,"=");case lO:return this.scanOperator(s,"^");case oE:return this.scanStar(s);case uE:return this.scanQuestion(s);case bs:case or:return this.scanComplexOperator(s,String.fromCharCode(n),St,"=");case Bf:case St:return this.scanComplexOperator(s,String.fromCharCode(n),St,"=",St,"=");case Bl:return this.scanComplexOperator(s,"&",Bl,"&",St,"=");case lE:return this.scanComplexOperator(s,"|",lE,"|",St,"=");case tS:for(;xo(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(n)}]`,0)}scanCharacter(e,t){return this.advance(),ju(e,this.index,t)}scanOperator(e,t){return this.advance(),hs(e,this.index,t)}scanOpenBrace(e,t){return this.braceStack.push("expression"),this.advance(),ju(e,this.index,t)}scanCloseBrace(e,t){return this.advance(),this.braceStack.pop()==="interpolation"?(this.tokens.push(hs(e,this.index,"}")),this.scanTemplateLiteralPart(this.index)):ju(e,this.index,t)}scanComplexOperator(e,t,n,i,s,a){this.advance();let o=t;return this.peek==n&&(this.advance(),o+=i),s!=null&&this.peek==s&&(this.advance(),o+=a),hs(e,this.index,o)}scanIdentifier(){let e=this.index;for(this.advance();FE(this.peek);)this.advance();let t=this.input.substring(e,this.index);return nM.indexOf(t)>-1?aM(e,this.index,t):iM(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!BE(this.peek))return this.error("Invalid character [#]",-1);for(;FE(this.peek);)this.advance();let t=this.input.substring(e,this.index);return sM(e,this.index,t)}scanNumber(e){let t=this.index===e,n=!1;for(this.advance();;){if(!br(this.peek))if(this.peek===ti){if(!br(this.input.charCodeAt(this.index-1))||!br(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);n=!0}else if(this.peek===La)t=!1;else if(lM(this.peek)){if(this.advance(),cM(this.peek)&&this.advance(),!br(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let i=this.input.substring(e,this.index);n&&(i=i.replace(/_/g,""));let s=t?fM(i):parseFloat(i);return oM(e,this.index,s)}scanString(){let e=this.index,t=this.peek;this.advance();let n="",i=this.index,s=this.input;for(;this.peek!=t;)if(this.peek==Cs){let o=this.scanStringBackslash(n,i);if(typeof o!="string")return o;n=o,i=this.index}else{if(this.peek==pt)return this.error("Unterminated quote",0);this.advance()}let a=s.substring(i,this.index);return this.advance(),new Va(e,this.index,n+a,Gn.Plain)}scanQuestion(e){this.advance();let t="?";return this.peek===uE?(t+="?",this.advance(),this.peek===St&&(t+="=",this.advance())):this.peek===La&&(t+=".",this.advance()),hs(e,this.index,t)}scanTemplateLiteralPart(e){let t="",n=this.index;for(;this.peek!==Ff;)if(this.peek===Cs){let s=this.scanStringBackslash(t,n);
28if(typeof s!="string")return s;t=s,n=this.index}else if(this.peek===xc){let s=this.index;if(this.advance(),this.peek===Ar)return this.braceStack.push("interpolation"),this.tokens.push(new Va(e,s,t+this.input.substring(n,s),Gn.TemplateLiteralPart)),this.advance(),hs(s,this.index,this.input.substring(s,this.index))}else{if(this.peek===pt)return this.error("Unterminated template literal",0);this.advance()}let i=this.input.substring(n,this.index);return this.advance(),new Va(e,this.index,t+i,Gn.TemplateLiteralEnd)}error(e,t){let n=this.index+t;return uM(n,this.index,`Lexer Error: ${e} at column ${n} in expression [${this.input}]`)}scanStringBackslash(e,t){e+=this.input.substring(t,this.index);let n;if(this.advance(),this.peek===Qy){let i=this.input.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(i))n=parseInt(i,16);else return this.error(`Invalid unicode escape [\\u${i}]`,0);for(let s=0;s<5;s++)this.advance()}else n=hM(this.peek),this.advance();return e+=String.fromCharCode(n),e}scanStar(e){this.advance();let t="*";return this.peek===oE?(t+="*",this.advance(),this.peek===St&&(t+="=",this.advance())):this.peek===St&&(t+="=",this.advance()),hs(e,this.index,t)}};function BE(r){return Oi<=r&&r<=Wo||ei<=r&&r<=Xs||r==ti||r==xc}function FE(r){return Fs(r)||br(r)||r==ti||r==xc}function lM(r){return r==hO||r==aO}function cM(r){return r==Fl||r==zy}function hM(r){switch(r){case Yy:return xi;case Xp:return Hy;case Zy:return Gp;case Ky:return Wp;case Jy:return Vy;default:return r}}function fM(r){let e=parseInt(r);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+r);return e}var up=class{strings;expressions;offsets;constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}},lp=class{templateBindings;warnings;errors;constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}};function $n(r){return r.start.toString()||"(unknown)"}var ac=class{_lexer;_supportsDirectPipeReferences;constructor(e,t=!1){this._lexer=e,this._supportsDirectPipeReferences=t}parseAction(e,t,n,i=Vr){let s=[];this._checkNoInterpolation(s,e,t,i);let{stripped:a}=this._stripComments(e),o=this._lexer.tokenize(a),u=new mi(e,t,n,o,1,s,0,this._supportsDirectPipeReferences).parseChain();return new Yt(u,e,$n(t),n,s)}parseBinding(e,t,n,i=Vr){let s=[],a=this._parseBindingAst(e,t,n,i,s);return new Yt(a,e,$n(t),n,s)}checkSimpleExpression(e){let t=new cp;return e.visit(t),t.errors}parseSimpleBinding(e,t,n,i=Vr){let s=[],a=this._parseBindingAst(e,t,n,i,s),o=this.checkSimpleExpression(a);return o.length>0&&s.push(ws(`Host binding expression cannot contain ${o.join(" ")}`,e,"",t)),new Yt(a,e,$n(t),n,s)}_parseBindingAst(e,t,n,i,s){this._checkNoInterpolation(s,e,t,i);let{stripped:a}=this._stripComments(e),o=this._lexer.tokenize(a);return new mi(e,t,n,o,0,s,0,this._supportsDirectPipeReferences).parseChain()}parseTemplateBindings(e,t,n,i,s){let a=this._lexer.tokenize(t),o=[];return new mi(t,n,s,a,0,o,0,this._supportsDirectPipeReferences).parseTemplateBindings({source:e,span:new Jt(i,i+e.length)})}parseInterpolation(e,t,n,i,s=Vr){let a=[],{strings:o,expressions:u,offsets:l}=this.splitInterpolation(e,t,a,i,s);if(u.length===0)return null;let c=[];for(let h=0;h<u.length;++h){let d=i?.[h*2+1]?.sourceSpan,f=u[h].text,{stripped:m,hasComments:S}=this._stripComments(f),g=this._lexer.tokenize(m);if(S&&m.trim().length===0&&g.length===0){a.push(ws("Interpolation expression cannot only contain a comment",e,`at column ${u[h].start} in`,t));continue}let E=new mi(d?f:e,d||t,n,g,0,a,l[h],this._supportsDirectPipeReferences).parseChain();c.push(E)}return this.createInterpolationAst(o.map(h=>h.text),c,e,$n(t),n,a)}parseInterpolationExpression(e,t,n){let{stripped:i}=this._stripComments(e),s=this._lexer.tokenize(i),a=[],o=new mi(e,t,n,s,0,a,0,this._supportsDirectPipeReferences).parseChain(),u=["",""];return this.createInterpolationAst(u,[o],e,$n(t),n,a)}createInterpolationAst(e,t,n,i,s,a){let o=new Ni(0,n.length),u=new Vo(o,o.toAbsolute(s),e,t);return new Yt(u,n,i,s,a)}splitInterpolation(e,t,n,i,s=Vr){let a=[],o=[],u=[],l=i?pM(i):null,c=0,h=!1,d=!1,{start:f,end:m}=s;for(;c<e.length;)if(h){let S=c,g=S+f.length,E=this._getInterpolationEndIndex(e,m,g);if(E===-1){h=!1,d=!0;break}let y=E+m.length,x=e.substring(g,E);x.trim().length===0&&n.push(ws("Blank expressions are not allowed in interpolated strings",e,`at column ${c} in`,t)),o.push({text:x,start:S,end:y});let C=(l?.get(S)??S)+f.length;u.push(C),c=y,h=!1}else{let S=c;c=e.indexOf(f,c),c===-1&&(c=e.length);let g=e.substring(S,c);a.push({text:g,start:S,end:c}),h=!0}if(!h)if(d){let S=a[a.length-1];S.text+=e.substring(c),S.end=e.length}else a.push({text:e.substring(c),start:c,end:e.length});return new up(a,o,u)}wrapLiteralPrimitive(e,t,n){let i=new Ni(0,e==null?0:e.length);return new Yt(new Xt(i,i.toAbsolute(n),e),e,typeof t=="string"?t:$n(t),n,[])}_stripComments(e){let t=this._commentStart(e);return t!=null?{stripped:e.substring(0,t),hasComments:!0}:{stripped:e,hasComments:!1}}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){let i=e.charCodeAt(n),s=e.charCodeAt(n+1);if(i===Tr&&s==Tr&&t==null)return n;t===i?t=null:t==null&&ja(i)&&(t=i)}return null}_checkNoInterpolation(e,t,n,{start:i,end:s}){let a=-1,o=-1;
28for(let u of this._forEachUnquotedChar(t,0))if(a===-1)t.startsWith(i)&&(a=u);else if(o=this._getInterpolationEndIndex(t,s,u),o>-1)break;a>-1&&o>-1&&e.push(ws(`Got interpolation (${i}${s}) where expression was expected`,t,`at column ${a} in`,n))}_getInterpolationEndIndex(e,t,n){for(let i of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,i))return i;if(e.startsWith("//",i))return e.indexOf(t,i)}return-1}*_forEachUnquotedChar(e,t){let n=null,i=0;for(let s=t;s<e.length;s++){let a=e[s];ja(e.charCodeAt(s))&&(n===null||n===a)&&i%2===0?n=n===null?a:null:n===null&&(yield s),i=a==="\\"?i+1:0}}},Ss;(function(r){r[r.None=0]="None",r[r.Writable=1]="Writable"})(Ss||(Ss={}));var mi=class{input;parseSourceSpan;absoluteOffset;tokens;parseFlags;errors;offset;supportsDirectPipeReferences;rparensExpected=0;rbracketsExpected=0;rbracesExpected=0;context=Ss.None;sourceSpanCache=new Map;index=0;constructor(e,t,n,i,s,a,o,u){this.input=e,this.parseSourceSpan=t,this.absoluteOffset=n,this.tokens=i,this.parseFlags=s,this.errors=a,this.offset=o,this.supportsDirectPipeReferences=u}peek(e){let t=this.index+e;return t<this.tokens.length?this.tokens[t]:Vu}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let n=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(n=t),e>n){let i=n;n=e,e=i}return new Ni(e,n)}sourceSpan(e,t){let n=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)}advance(){this.index++}withContext(e,t){this.context|=e;let n=t();return this.context^=e,n}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}isAssignmentOperator(e){return e.type===me.Operator&&Tt.isAssignmentOperation(e.strValue)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Vu?"end of input":`token ${e}`}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),""):(this.advance(),e.toString())}parseChain(){let e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){let n=this.parsePipe();if(e.push(n),this.consumeOptionalCharacter(Zt))for(this.parseFlags&1||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(Zt););else if(this.index<this.tokens.length){let i=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===i)break}}if(e.length===0){let n=this.offset,i=this.offset+this.input.length;return new Lt(this.span(n,i),this.sourceSpan(n,i))}return e.length==1?e[0]:new Ds(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.inputIndex,t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseFlags&1&&this.error("Cannot have a pipe in an action expression");do{let n=this.inputIndex,i=this.expectIdentifierOrKeyword(),s,a;i!==null?s=this.sourceSpan(n):(i="",a=this.next.index!==-1?this.next.index:this.input.length+this.offset,s=new Ni(a,a).toAbsolute(this.absoluteOffset));let o=[];for(;this.consumeOptionalCharacter(ln);)o.push(this.parseExpression());let u;if(this.supportsDirectPipeReferences){let l=i.charCodeAt(0);u=l===ti||l>=ei&&l<=Xs?$a.ReferencedDirectly:$a.ReferencedByName}else u=$a.ReferencedByName;t=new wl(this.span(e),this.sourceSpan(e,a),t,i,o,u,s)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){let e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){let n=this.parsePipe(),i;if(this.consumeOptionalCharacter(ln))i=this.parsePipe();else{let s=this.inputIndex,a=this.input.substring(e,s);this.error(`Conditional expression ${a} requires all 3 expressions`),i=new Lt(this.span(e),this.sourceSpan(e))}return new Sl(this.span(e),this.sourceSpan(e),t,n,i)}else return t}parseLogicalOr(){let e=this.inputIndex,t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){let n=this.parseLogicalAnd();t=new Tt(this.span(e),this.sourceSpan(e),"||",t,n)}return t}parseLogicalAnd(){let e=this.inputIndex,t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){let n=this.parseNullishCoalescing();t=new Tt(this.span(e),this.sourceSpan(e),"&&",t,n)}return t}parseNullishCoalescing(){let e=this.inputIndex,t=this.parseEquality();for(;this.consumeOptionalOperator("??");){let n=this.parseEquality();t=new Tt(this.span(e),this.sourceSpan(e),"??",t,n)}return t}parseEquality(){let e=this.inputIndex,t=this.parseRelational();for(;this.next.type==me.Operator;){let n=this.next.strValue;switch(n){case"==":case"===":case"!=":case"!==":this.advance();let i=this.parseRelational();t=new Tt(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseRelational(){let e=this.inputIndex,t=this.parseAdditive();for(;this.next.type==me.Operator||this.next.isKeywordIn;){let n=this.next.strValue;switch(n){case"<":case">":case"<=":case">=":case"in":this.advance();let i=this.parseAdditive();t=new Tt(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==me.Operator;){let n=this.next.strValue;switch(n){case"+":case"-":this.advance();let i=this.parseMultiplicative();t=new Tt(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parseExponentiation();for(;this.next.type==me.Operator;){let n=this.next.strValue;switch(n){case"*":case"%":case"/":this.advance();let i=this.parseExponentiation();t=new Tt(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseExponentiation(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==me.Operator&&this.next.strValue==="**";){(t instanceof Ts||t instanceof ro||t instanceof no||t instanceof io)&&this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"),this.advance();let n=this.parseExponentiation();t=new Tt(this.span(e),this.sourceSpan(e),"**",t,n)}return t}parsePrefix(){if(this.next.type==me.Operator){let e=this.inputIndex,t=this.next.strValue,n;switch(t){case"+":return this.advance(),n=this.parsePrefix(),Ts.createPlus(this.span(e),this.sourceSpan(e),n);case"-":return this.advance(),n=this.parsePrefix(),Ts.createMinus(this.span(e),this.sourceSpan(e),n);case"!":return this.advance(),n=this.parsePrefix(),new ro(this.span(e),this.sourceSpan(e),n)}}else if(this.next.isKeywordTypeof()){this.advance();let e=this.inputIndex,t=this.parsePrefix();return new no(this.span(e),this.sourceSpan(e),t)}else if(this.next.isKeywordVoid()){this.advance();let e=this.inputIndex,t=this.parsePrefix();return new io(this.span(e),this.sourceSpan(e),t)}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(La))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(Ir)?t=this.parseCall(t,e,!0):t=this.consumeOptionalCharacter(Wn)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(Wn))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(Ir))t=this.parseCall(t,e,!1);
28else if(this.consumeOptionalOperator("!"))t=new so(this.span(e),this.sourceSpan(e),t);else if(this.next.isTemplateLiteralEnd())t=this.parseNoInterpolationTaggedTemplateLiteral(t,e);else if(this.next.isTemplateLiteralPart())t=this.parseTaggedTemplateLiteral(t,e);else return t}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(Ir)){this.rparensExpected++;let t=this.parsePipe();return this.consumeOptionalCharacter(bt)||(this.error("Missing closing parentheses"),this.consumeOptionalCharacter(bt)),this.rparensExpected--,new uo(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isKeywordNull())return this.advance(),new Xt(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new Xt(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new Xt(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new Xt(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordIn())return this.advance(),new Xt(this.span(e),this.sourceSpan(e),"in");if(this.next.isKeywordThis())return this.advance(),new qi(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(Wn)){this.rbracketsExpected++;let t=this.parseExpressionList(yi);return this.rbracketsExpected--,this.expectCharacter(yi),new xl(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isCharacter(Ar))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Yr(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new Xt(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isTemplateLiteralEnd())return this.parseNoInterpolationTemplateLiteral();if(this.next.isTemplateLiteralPart())return this.parseTemplateLiteral();if(this.next.isString()&&this.next.kind===Gn.Plain){let t=this.next.toString();return this.advance(),new Xt(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Lt(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new Lt(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new Lt(this.span(e),this.sourceSpan(e)))}}}}parseExpressionList(e){let t=[];do if(!this.next.isCharacter(e))t.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(fr));return t}parseLiteralMap(){let e=[],t=[],n=this.inputIndex;if(this.expectCharacter(Ar),!this.consumeOptionalCharacter(Ft)){this.rbracesExpected++;do{let i=this.inputIndex,s=this.next.isString(),a=this.expectIdentifierOrKeywordOrString(),o={key:a,quoted:s};if(e.push(o),s)this.expectCharacter(ln),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(ln))t.push(this.parsePipe());else{o.isShorthandInitialized=!0;let u=this.span(i),l=this.sourceSpan(i);t.push(new dn(u,l,l,new Yr(u,l),a))}}while(this.consumeOptionalCharacter(fr)&&!this.next.isCharacter(Ft));this.rbracesExpected--,this.expectCharacter(Ft)}return new _l(this.span(n),this.sourceSpan(n),e,t)}parseAccessMember(e,t,n){let i=this.inputIndex,s=this.withContext(Ss.Writable,()=>{let o=this.expectIdentifierOrKeyword()??"";return o.length===0&&this.error("Expected identifier for property access",e.span.end),o}),a=this.sourceSpan(i);if(n)return this.isAssignmentOperator(this.next)?(this.advance(),this.error("The '?.' operator cannot be used in the assignment"),new Lt(this.span(t),this.sourceSpan(t))):new eo(this.span(t),this.sourceSpan(t),a,e,s);if(this.isAssignmentOperator(this.next)){let o=this.next.strValue;if(!(this.parseFlags&1))return this.advance(),this.error("Bindings cannot contain assignments"),new Lt(this.span(t),this.sourceSpan(t));let u=new dn(this.span(t),this.sourceSpan(t),a,e,s);this.advance();let l=this.parseConditional();return new Tt(this.span(t),this.sourceSpan(t),o,u,l)}else return new dn(this.span(t),this.sourceSpan(t),a,e,s)}parseCall(e,t,n){let i=this.inputIndex;this.rparensExpected++;let s=this.parseCallArguments(),a=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(bt),this.rparensExpected--;let o=this.span(t),u=this.sourceSpan(t);return n?new Tl(o,u,e,s,a):new Ps(o,u,e,s,a)}parseCallArguments(){if(this.next.isCharacter(bt))return[];let e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(fr));return e}expectTemplateBindingKey(){let e="",t=!1,n=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new Jt(n,n+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){let n=this.parseLetBinding();if(n)t.push(n);else{let i=this.expectTemplateBindingKey(),s=this.parseAsBinding(i);s?t.push(s):(i.source=e.source+i.source.charAt(0).toUpperCase()+i.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(i)))}this.consumeStatementTerminator()}return new lp(t,[],this.errors)}parseKeyedReadOrWrite(e,t,n){return this.withContext(Ss.Writable,()=>{this.rbracketsExpected++;let i=this.parsePipe();if(i instanceof Lt&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(yi),this.isAssignmentOperator(this.next)){let s=this.next.strValue;if(n)this.advance(),this.error("The '?.' operator cannot be used in the assignment");else{let a=new Di(this.span(t),this.sourceSpan(t),e,i);this.advance();let o=this.parseConditional();return new Tt(this.span(t),this.sourceSpan(t),s,a,o)}}else return n?new to(this.span(t),this.sourceSpan(t),e,i):new Di(this.span(t),this.sourceSpan(t),e,i);return new Lt(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(ln);let n=this.getDirectiveBoundTarget(),i=this.currentAbsoluteOffset,s=this.parseAsBinding(e);s||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);let a=new Jt(e.span.start,i);return t.push(new Cf(a,e,n)),s&&t.push(s),t}
28getDirectiveBoundTarget(){if(this.next===Vu||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:n}=e.span,i=this.input.substring(t,n);return new Yt(e,i,$n(this.parseSourceSpan),this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let n=new Jt(e.span.start,this.currentAbsoluteOffset);return new lo(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let i=new Jt(e,this.currentAbsoluteOffset);return new lo(i,t,n)}parseNoInterpolationTaggedTemplateLiteral(e,t){let n=this.parseNoInterpolationTemplateLiteral();return new ao(this.span(t),this.sourceSpan(t),e,n)}parseNoInterpolationTemplateLiteral(){let e=this.next.strValue,t=this.inputIndex;this.advance();let n=this.span(t),i=this.sourceSpan(t);return new oo(n,i,[new bl(n,i,e)],[])}parseTaggedTemplateLiteral(e,t){let n=this.parseTemplateLiteral();return new ao(this.span(t),this.sourceSpan(t),e,n)}parseTemplateLiteral(){let e=[],t=[],n=this.inputIndex;for(;this.next!==Vu;){let i=this.next;if(i.isTemplateLiteralPart()||i.isTemplateLiteralEnd()){let s=this.inputIndex;if(this.advance(),e.push(new bl(this.span(s),this.sourceSpan(s),i.strValue)),i.isTemplateLiteralEnd())break}else if(i.isTemplateLiteralInterpolationStart()){this.advance();let s=this.parsePipe();s instanceof Lt?this.error("Template literal interpolation cannot be empty"):t.push(s)}else this.advance()}return new oo(this.span(n),this.sourceSpan(n),e,t)}consumeStatementTerminator(){this.consumeOptionalCharacter(Zt)||this.consumeOptionalCharacter(fr)}error(e,t=this.index){this.errors.push(ws(e,this.input,this.getErrorLocationText(t),this.parseSourceSpan)),this.skip()}getErrorLocationText(e){return e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let n=`Private identifiers are not supported. Unexpected private identifier: ${e}`;t!==null&&(n+=`, ${t}`),this.error(n)}skip(){let e=this.next;for(;this.index<this.tokens.length&&!e.isCharacter(Zt)&&!e.isOperator("|")&&(this.rparensExpected<=0||!e.isCharacter(bt))&&(this.rbracesExpected<=0||!e.isCharacter(Ft))&&(this.rbracketsExpected<=0||!e.isCharacter(yi))&&(!(this.context&Ss.Writable)||!this.isAssignmentOperator(e));)this.next.isError()&&this.errors.push(ws(this.next.toString(),this.input,this.getErrorLocationText(this.next.index),this.parseSourceSpan)),this.advance(),e=this.next}};function ws(r,e,t,n){t.length>0&&(t=` ${t} `);let i=$n(n),s=`Parser Error: ${r}${t}[${e}] in ${i}`;return new oe(n,s)}var cp=class extends Cl{errors=[];visitPipe(){this.errors.push("pipes")}};function pM(r){let e=new Map,t=0,n=0,i=0;for(;i<r.length;){let s=r[i];if(s.type===9){let[a,o]=s.parts;t+=o.length,n+=a.length}else{let a=s.parts.reduce((o,u)=>o+u.length,0);n+=a,t+=a}e.set(n,t),i++}return e}function dM(r){return r.visit(new hp)}var hp=class{visitUnary(e,t){return`${e.operator}${e.expr.visit(this,t)}`}visitBinary(e,t){return`${e.left.visit(this,t)} ${e.operation} ${e.right.visit(this,t)}`}visitChain(e,t){return e.expressions.map(n=>n.visit(this,t)).join("; ")}visitConditional(e,t){return`${e.condition.visit(this,t)} ? ${e.trueExp.visit(this,t)} : ${e.falseExp.visit(this,t)}`}visitThisReceiver(){return"this"}visitImplicitReceiver(){return""}visitInterpolation(e,t){return vM(e.strings,e.expressions.map(n=>n.visit(this,t))).join("")}visitKeyedRead(e,t){return`${e.receiver.visit(this,t)}[${e.key.visit(this,t)}]`}visitLiteralArray(e,t){return`[${e.expressions.map(n=>n.visit(this,t)).join(", ")}]`}visitLiteralMap(e,t){return`{${mM(e.keys.map(n=>n.quoted?`'${n.key}'`:n.key),e.values.map(n=>n.visit(this,t))).map(([n,i])=>`${n}: ${i}`).join(", ")}}`}visitLiteralPrimitive(e){if(e.value===null)return"null";switch(typeof e.value){case"number":case"boolean":return e.value.toString();case"undefined":return"undefined";case"string":return`'${e.value.replace(/'/g,"\\'")}'`;default:throw new Error(`Unsupported primitive type: ${e.value}`)}}visitPipe(e,t){return`${e.exp.visit(this,t)} | ${e.name}`}visitPrefixNot(e,t){return`!${e.expression.visit(this,t)}`}visitNonNullAssert(e,t){return`${e.expression.visit(this,t)}!`}visitPropertyRead(e,t){return e.receiver instanceof Yr?e.name:`${e.receiver.visit(this,t)}.${e.name}`}visitSafePropertyRead(e,t){return`${e.receiver.visit(this,t)}?.${e.name}`}visitSafeKeyedRead(e,t){return`${e.receiver.visit(this,t)}?.[${e.key.visit(this,t)}]`}visitCall(e,t){return`${e.receiver.visit(this,t)}(${e.args.map(n=>n.visit(this,t)).join(", ")})`}visitSafeCall(e,t){return`${e.receiver.visit(this,t)}?.(${e.args.map(n=>n.visit(this,t)).join(", ")})`}visitTypeofExpression(e,t){return`typeof ${e.expression.visit(this,t)}`}visitVoidExpression(e,t){return`void ${e.expression.visit(this,t)}`}visitASTWithSource(e,t){return e.ast.visit(this,t)}visitTemplateLiteral(e,t){let n="";for(let i=0;i<e.elements.length;i++){n+=e.elements[i].visit(this,t);let s=i<e.expressions.length?e.expressions[i]:null;s!==null&&(n+="${"+s.visit(this,t)+"}")}return"`"+n+"`"}visitTemplateLiteralElement(e,t){return e.text}visitTaggedTemplateLiteral(e,t){return e.tag.visit(this,t)+e.template.visit(this,t)}visitParenthesizedExpression(e,t){return"("+e.expression.visit(this,t)+")"}};function mM(r,e){if(r.length!==e.length)throw new Error("Array lengths must match");return r.map((t,n)=>[t,e[n]])}function vM(r,e){let t=[];for(let n=0;n<Math.max(r.length,e.length);n++)n<r.length&&t.push(r[n]),n<e.length&&t.push(e[n]);return t}var nl;function $E(){return nl||(nl={}
28,Hu(Re.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Hu(Re.STYLE,["*|style"]),Hu(Re.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Hu(Re.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),nl}function Hu(r,e){for(let t of e)nl[t.toLowerCase()]=r}var gM=new Set(["sandbox","allow","allowfullscreen","referrerpolicy","csp","fetchpriority"]);function EM(r){return gM.has(r.toLowerCase())}var fp=class{},yM="boolean",SM="number",wM="string",xM="object",_M=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!control
28s,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxcl
28ick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],NS=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colspan":"ariaColSpan","aria-current":"ariaCurrent","aria-disabled":"ariaDisabled","aria-expanded":"ariaExpanded","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),TM=Array.from(NS).reduce((r,[e,t])=>(r.set(e,t),r),new Map),Gs=class extends fp{_schema=new Map;_eventSchema=new Map;constructor(){super(),_M.forEach(e=>{let t=new Map,n=new Set,[i,s]=e.split("|"),a=s.split(","),[o,u]=i.split("^");o.split(",").forEach(c=>{this._schema.set(c.toLowerCase(),t),this._eventSchema.set(c.toLowerCase(),n)});let l=u&&this._schema.get(u.toLowerCase());if(l){for(let[c,h]of l)t.set(c,h);for(let c of this._eventSchema.get(u.toLowerCase()))n.add(c)}a.forEach(c=>{if(c.length>0)switch(c[0]){case"*":n.add(c.substring(1));break;case"!":t.set(c.substring(1),yM);break;case"#":t.set(c.substring(1),SM);break;case"%":t.set(c.substring(1),xM);break;default:t.set(c,wM)}})})}hasProperty(e,t,n){if(n.some(s=>s.name===$g.name))return!0;if(e.indexOf("-")>-1){if(rE(e)||If(e))return!1;if(n.some(s=>s.name===Fg.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(n=>n.name===$g.name)||e.indexOf("-")>-1&&(rE(e)||If(e)||t.some(n=>n.name===Fg.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,n){n&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let i=$E()[e+"|"+t];
28return i||(i=$E()["*|"+t],i||Re.NONE)}getMappedPropName(e){return NS.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
29If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(n=>TM.get(n)??n)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return wP(e)}normalizeAnimationStyleValue(e,t,n){let i="",s=n.toString().trim(),a=null;if(bM(e)&&n!==0&&n!=="0")if(typeof n=="number")i="px";else{let o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&(a=`Please provide a CSS unit value for ${t}:${n}`)}return{error:a,value:s+i}}};function bM(r){switch(r){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var ve=class{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=Cr.PARSABLE_DATA,closedByParent:i=!1,isVoid:s=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:o=!1,canSelfClose:u=!1}={}){e&&e.length>0&&e.forEach(l=>this.closedByChildren[l]=!0),this.isVoid=s,this.closedByParent=i||s,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=a,this.preventNamespaceInheritance=o,this.canSelfClose=u??s}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},UE,fs;function pp(r){return fs||(UE=new ve({canSelfClose:!0}),fs=Object.assign(Object.create(null),{base:new ve({isVoid:!0}),meta:new ve({isVoid:!0}),area:new ve({isVoid:!0}),embed:new ve({isVoid:!0}),link:new ve({isVoid:!0}),img:new ve({isVoid:!0}),input:new ve({isVoid:!0}),param:new ve({isVoid:!0}),hr:new ve({isVoid:!0}),br:new ve({isVoid:!0}),source:new ve({isVoid:!0}),track:new ve({isVoid:!0}),wbr:new ve({isVoid:!0}),p:new ve({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new ve({closedByChildren:["tbody","tfoot"]}),tbody:new ve({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new ve({closedByChildren:["tbody"],closedByParent:!0}),tr:new ve({closedByChildren:["tr"],closedByParent:!0}),td:new ve({closedByChildren:["td","th"],closedByParent:!0}),th:new ve({closedByChildren:["td","th"],closedByParent:!0}),col:new ve({isVoid:!0}),svg:new ve({implicitNamespacePrefix:"svg"}),foreignObject:new ve({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new ve({implicitNamespacePrefix:"math"}),li:new ve({closedByChildren:["li"],closedByParent:!0}),dt:new ve({closedByChildren:["dt","dd"]}),dd:new ve({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new ve({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new ve({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new ve({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new ve({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new ve({closedByChildren:["optgroup"],closedByParent:!0}),option:new ve({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new ve({ignoreFirstLf:!0}),listing:new ve({ignoreFirstLf:!0}),style:new ve({contentType:Cr.RAW_TEXT}),script:new ve({contentType:Cr.RAW_TEXT}),title:new ve({contentType:{default:Cr.ESCAPABLE_RAW_TEXT,svg:Cr.PARSABLE_DATA}}),textarea:new ve({contentType:Cr.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}
29),new Gs().allKnownElementNames().forEach(e=>{!fs[e]&&kf(e)===null&&(fs[e]=new ve({canSelfClose:!1}))})),fs[r]??fs[r.toLowerCase()]??UE}var jE={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},dp=class{_placeHolderNameCounts={};_signatureToName={};getStartTagPlaceholderName(e,t,n){let i=this._hashTag(e,t,n);if(this._signatureToName[i])return this._signatureToName[i];let s=e.toUpperCase(),a=jE[s]||`TAG_${s}`,o=this._generateUniqueName(n?a:`START_${a}`);return this._signatureToName[i]=o,o}getCloseTagPlaceholderName(e){let t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];let n=e.toUpperCase(),i=jE[n]||`TAG_${n}`,s=this._generateUniqueName(`CLOSE_${i}`);return this._signatureToName[t]=s,s}getPlaceholderName(e,t){let n=e.toUpperCase(),i=`PH: ${n}=${t}`;if(this._signatureToName[i])return this._signatureToName[i];let s=this._generateUniqueName(n);return this._signatureToName[i]=s,s}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}getStartBlockPlaceholderName(e,t){let n=this._hashBlock(e,t);if(this._signatureToName[n])return this._signatureToName[n];let i=this._generateUniqueName(`START_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[n]=i,i}getCloseBlockPlaceholderName(e){let t=this._hashClosingBlock(e);if(this._signatureToName[t])return this._signatureToName[t];let n=this._generateUniqueName(`CLOSE_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[t]=n,n}_hashTag(e,t,n){let i=`<${e}`,s=Object.keys(t).sort().map(o=>` ${o}=${t[o]}`).join(""),a=n?"/>":`></${e}>`;return i+s+a}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_hashBlock(e,t){let n=t.length===0?"":` (${t.sort().join("; ")})`;return`@${e}${n} {}`}_hashClosingBlock(e){return this._hashBlock(`close_${e}`,[])}_toSnakeCase(e){return e.toUpperCase().replace(/[^A-Z0-9]/g,"_")}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;let n=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=n+1,`${e}_${n}`}},CM=new ac(new Lo);function AM(r,e,t,n){let i=new mp(CM,r,e,t,n);return(s,a,o,u,l)=>i.toI18nMessage(s,a,o,u,l)}function IM(r,e){return e}var mp=class{_expressionParser;_interpolationConfig;_containerBlocks;_retainEmptyTokens;_preserveExpressionWhitespace;constructor(e,t,n,i,s){this._expressionParser=e,this._interpolationConfig=t,this._containerBlocks=n,this._retainEmptyTokens=i,this._preserveExpressionWhitespace=s}toI18nMessage(e,t="",n="",i="",s){let a={isIcu:e.length==1&&e[0]instanceof _i,icuDepth:0,placeholderRegistry:new dp,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:s||IM},o=$e(this,e,a);return new At(o,a.placeholderToContent,a.placeholderToMessage,t,n,i)}visitElement(e,t){return this._visitElementLike(e,t)}visitComponent(e,t){return this._visitElementLike(e,t)}visitDirective(e,t){throw new Error("Unreachable code")}visitAttribute(e,t){let n=e.valueTokens===void 0||e.valueTokens.length===1?new Da(e.value,e.valueSpan||e.sourceSpan):this._visitTextWithInterpolation(e.valueTokens,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitText(e,t){let n=e.tokens.length===1?new Da(e.value,e.sourceSpan):this._visitTextWithInterpolation(e.tokens,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;let n={},i=new Ll(e.switchValue,e.type,n,e.sourceSpan);if(e.cases.forEach(o=>{n[o.value]=new mn(o.expression.map(u=>u.visit(this,t)),o.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){let o=t.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return i.expressionPlaceholder=o,t.placeholderToContent[o]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,i)}let s=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[s]=this.toI18nMessage([e],"","","",void 0);let a=new Bs(i,s,e.sourceSpan);return t.visitNodeFn(e,a)}visitExpansionCase(e,t){throw new Error("Unreachable code")}visitBlock(e,t){let n=$e(this,e.children,t);
29if(this._containerBlocks.has(e.name))return new mn(n,e.sourceSpan);let i=e.parameters.map(u=>u.expression),s=t.placeholderRegistry.getStartBlockPlaceholderName(e.name,i),a=t.placeholderRegistry.getCloseBlockPlaceholderName(e.name);t.placeholderToContent[s]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan},t.placeholderToContent[a]={text:e.endSourceSpan?e.endSourceSpan.toString():"}",sourceSpan:e.endSourceSpan??e.sourceSpan};let o=new Zn(e.name,i,s,a,n,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,o)}visitBlockParameter(e,t){throw new Error("Unreachable code")}visitLetDeclaration(e,t){return null}_visitElementLike(e,t){let n=$e(this,e.children,t),i={},s=h=>{i[h.name]=h.value},a,o;e instanceof ur?(a=e.name,o=pp(e.name).isVoid):(a=e.fullName,o=e.tagName?pp(e.tagName).isVoid:!1),e.attrs.forEach(s),e.directives.forEach(h=>h.attrs.forEach(s));let u=t.placeholderRegistry.getStartTagPlaceholderName(a,i,o);t.placeholderToContent[u]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let l="";o||(l=t.placeholderRegistry.getCloseTagPlaceholderName(a),t.placeholderToContent[l]={text:`</${a}>`,sourceSpan:e.endSourceSpan??e.sourceSpan});let c=new Yn(a,i,u,l,n,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,c)}_visitTextWithInterpolation(e,t,n,i){let s=[],a=!1;for(let o of e)switch(o.type){case 8:case 17:a=!0;let[u,l,c]=o.parts,h=PM(l)||"INTERPOLATION",d=n.placeholderRegistry.getPlaceholderName(h,l);if(this._preserveExpressionWhitespace)n.placeholderToContent[d]={text:o.parts.join(""),sourceSpan:o.sourceSpan},s.push(new Eo(l,d,o.sourceSpan));else{let f=this.normalizeExpression(o);n.placeholderToContent[d]={text:`${u}${f}${c}`,sourceSpan:o.sourceSpan},s.push(new Eo(f,d,o.sourceSpan))}break;default:if(o.parts[0].length>0||this._retainEmptyTokens){let f=s[s.length-1];f instanceof Da?(f.value+=o.parts[0],f.sourceSpan=new ce(f.sourceSpan.start,o.sourceSpan.end,f.sourceSpan.fullStart,f.sourceSpan.details)):s.push(new Da(o.parts[0],o.sourceSpan))}else this._retainEmptyTokens&&s.push(new Da(o.parts[0],o.sourceSpan));break}return a?(kM(s,i),new mn(s,t)):s[0]}normalizeExpression(e){let t=e.parts[1],n=this._expressionParser.parseBinding(t,e.sourceSpan,e.sourceSpan.start.offset,this._interpolationConfig);return dM(n)}};function kM(r,e){if(e instanceof At&&(NM(e),e=e.nodes[0]),e instanceof mn){qM(e.children,r);for(let t=0;t<r.length;t++)r[t].sourceSpan=e.children[t].sourceSpan}}function NM(r){let e=r.nodes;if(e.length!==1||!(e[0]instanceof mn))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}function qM(r,e){if(r.length!==e.length)throw new Error(`
30The number of i18n message children changed between first and second pass.
31
32First pass (${r.length} tokens):
33${r.map(t=>`"${t.sourceSpan.toString()}"`).join(`
34`)}
35
36Second pass (${e.length} tokens):
37${e.map(t=>`"${t.sourceSpan.toString()}"`).join(`
38`)}
39    `.trim());if(r.some((t,n)=>e[n].constructor!==t.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}var DM=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;function PM(r){return r.split(DM)[2]}var VE=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","object|codebase","object|data"]);function HE(r,e){return r=r.toLowerCase(),e=e.toLowerCase(),VE.has(r+"|"+e)||VE.has("*|"+e)}var OM=r=>(e,t)=>{let n=r.get(e)??e;return n instanceof yn&&(t instanceof Bs&&n.i18n instanceof At&&(t.previousMessage=n.i18n),n.i18n=t),t},oc=class{interpolationConfig;keepI18nAttrs;enableI18nLegacyMessageIdFormat;containerBlocks;preserveSignificantWhitespace;retainEmptyTokens;hasI18nMeta=!1;_errors=[];constructor(e=Vr,t=!1,n=!1,i=rO,s=!0,a=!s){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=n,this.containerBlocks=i,this.preserveSignificantWhitespace=s,this.retainEmptyTokens=a}_generateI18nMessage(e,t="",n){let{meaning:i,description:s,customId:a}=this._parseMetadata(t),u=AM(this.interpolationConfig,this.containerBlocks,this.retainEmptyTokens,this.preserveSignificantWhitespace)(e,i,s,a,n);return this._setMessageId(u,t),this._setLegacyIds(u,t),u}visitAllWithErrors(e){let t=e.map(n=>n.visit(this,null));return new ic(t,this._errors)}visitElement(e){return this._visitElementLike(e),e}visitComponent(e,t){return this._visitElementLike(e),e}visitExpansion(e,t){let n,i=e.i18n;if(this.hasI18nMeta=!0,i instanceof Bs){let s=i.name;
39n=this._generateI18nMessage([e],i);let a=Uy(n);a.name=s,t!==null&&(t.placeholderToMessage[s]=n)}else n=this._generateI18nMessage([e],t||i);return e.i18n=n,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}visitBlock(e,t){return $e(this,e.children,t),e}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitDirective(e,t){return e}_visitElementLike(e){let t;if(YP(e)){this.hasI18nMeta=!0;let n=[],i={};for(let s of e.attrs)if(s.name===Fy){let a=e.i18n||s.value,o=new Map,u=this.preserveSignificantWhitespace?e.children:$r(new sc(!1,o),e.children);t=this._generateI18nMessage(u,a,OM(o)),t.nodes.length===0&&(t=void 0),e.i18n=t}else if(s.name.startsWith(Mf)){let a=s.name.slice(Mf.length),o;e instanceof Bt?o=e.tagName===null?!1:HE(e.tagName,a):o=HE(e.name,a),o?this._reportError(s,`Translating attribute '${a}' is disallowed for security reasons.`):i[a]=s.value}else n.push(s);if(Object.keys(i).length)for(let s of n){let a=i[s.name];a!==void 0&&s.value&&(s.i18n=this._generateI18nMessage([s],s.i18n||a))}this.keepI18nAttrs||(e.attrs=n)}$e(this,e.children,t)}_parseMetadata(e){return typeof e=="string"?MM(e):e instanceof At?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof At&&t.id||ZD(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[YD(e),qy(e)];else if(typeof t!="string"){let n=t instanceof At?t:t instanceof Bs?t.previousMessage:void 0;e.legacyIds=n?n.legacyIds:[]}}_reportError(e,t){this._errors.push(new oe(e.sourceSpan,t))}},RM="|",LM="@@";function MM(r=""){let e,t,n;if(r=r.trim(),r){let i=r.indexOf(LM),s=r.indexOf(RM),a;[a,e]=i>-1?[r.slice(0,i),r.slice(i+2)]:[r,""],[t,n]=s>-1?[a.slice(0,s),a.slice(s+1)]:["",a]}return{customId:e,meaning:t,description:n}}function BM(r){let e=[];return r.description?e.push({tagName:"desc",text:r.description}):e.push({tagName:"suppress",text:"{msgDescriptions}"}),r.meaning&&e.push({tagName:"meaning",text:r.meaning}),hP(e)}var FM="goog.getMsg";function $M(r,e,t,n){let i=jM(e),s=[A(i)];Object.keys(n).length&&(s.push(Jf(jp(n,!0),!0)),s.push(Jf({original_code:kt(Object.keys(n).map(u=>({key:Ho(u),quoted:!0,value:e.placeholders[u]?A(e.placeholders[u].sourceSpan.toString()):A(e.placeholderToMessage[u].nodes.map(l=>l.sourceSpan.toString()).join(""))})))})));let a=new it(t.name,Ee(FM).callFn(s),Qt,ut.Final);a.addLeadingComment(BM(e));let o=new mr(r.set(t));return[a,o]}var vp=class{formatPh(e){return`{$${Ho(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){return _S(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}},UM=new vp;function jM(r){return r.nodes.map(e=>e.visit(UM,null)).join("")}function VM(r,e,t){let{messageParts:n,placeHolders:i}=HM(e),s=WM(e),a=i.map(l=>t[l.text]),o=dP(e,n,i,a,s),u=r.set(o);return[new mr(u)]}var gp=class{placeholderToMessage;pieces;constructor(e,t){this.placeholderToMessage=e,this.pieces=t}visitText(e){if(this.pieces[this.pieces.length-1]instanceof Si)this.pieces[this.pieces.length-1].text+=e.value;else{let t=new ce(e.sourceSpan.fullStart,e.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details);this.pieces.push(new Si(e.value,t))}}visitContainer(e){e.children.forEach(t=>t.visit(this))}visitIcu(e){this.pieces.push(new Si(_S(e),e.sourceSpan))}visitTagPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.isVoid||(e.children.forEach(t=>t.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan)))}visitPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitBlockPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.children.forEac
39h(t=>t.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan))}visitIcuPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan,this.placeholderToMessage[e.name]))}createPlaceholderPiece(e,t,n){return new xs(Ho(e,!1),t,n)}};function HM(r){let e=[],t=new gp(r.placeholderToMessage,e);return r.nodes.forEach(n=>n.visit(t)),GM(e)}function WM(r){let e=r.nodes[0],t=r.nodes[r.nodes.length-1];return new ce(e.sourceSpan.fullStart,t.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details)}function GM(r){let e=[],t=[];r[0]instanceof xs&&e.push(rf(r[0].sourceSpan.start));for(let n=0;n<r.length;n++){let i=r[n];i instanceof Si?e.push(i):(t.push(i),r[n-1]instanceof xs&&e.push(rf(r[n-1].sourceSpan.end)))}return r[r.length-1]instanceof xs&&e.push(rf(r[r.length-1].sourceSpan.end)),{messageParts:e,placeHolders:t}}function rf(r){return new Si("",new ce(r,r))}var WE="ngI18nClosureMode",zM="i18n_",XM="I18N_EXP_",GE="\uFFFD",YM="MSG_";function zE(r){return`${YM}${r}`.toUpperCase()}function ZM(r){return new it(r.name,void 0,Qt,void 0,r.sourceSpan)}function KM(r){let e=r.relativeContextFilePath.replace(/[^A-Za-z0-9]/g,"_").toUpperCase()+"_",t=new Map,n=new Map,i=new Map,s=new Map;for(let u of r.units)for(let l of u.ops())if(l.kind===p.ExtractedAttribute&&l.i18nContext!==null){let c=t.get(l.i18nContext)??[];c.push(l),t.set(l.i18nContext,c)}else if(l.kind===p.I18nAttributes)n.set(l.target,l);else if(l.kind===p.I18nExpression&&l.usage===Li.I18nAttribute){let c=i.get(l.target)??[];c.push(l),i.set(l.target,c)}else l.kind===p.I18nMessage&&s.set(l.xref,l);let a=new Map,o=new Map;for(let u of r.units)for(let l of u.create)if(l.kind===p.I18nMessage){if(l.messagePlaceholder===null){let{mainVar:c,statements:h}=qS(r,e,s,l);if(l.i18nBlock!==null){let d=r.addConst(c,h);o.set(l.i18nBlock,d)}else{r.constsInitializers.push(...h),a.set(l.i18nContext,c);let d=t.get(l.i18nContext);if(d!==void 0)for(let f of d)f.expression=c.clone()}}M.remove(l)}for(let u of r.units)for(let l of u.create)if(En(l)){let c=n.get(l.xref);if(c===void 0)continue;let h=i.get(l.xref);if(h===void 0)throw new Error("AssertionError: Could not find any i18n expressions associated with an I18nAttributes instruction");let d=new Set;h=h.filter(m=>{let S=d.has(m.name);return d.add(m.name),!S});let f=h.flatMap(m=>{let S=a.get(m.context);if(S===void 0)throw new Error("AssertionError: Could not find i18n expression's value");return[A(m.name),S]});c.i18nAttributesConfig=r.addConst(new Nr(f))}for(let u of r.units)for(let l of u.create)if(l.kind===p.I18nStart){let c=o.get(l.root);if(c===void 0)throw new Error("AssertionError: Could not find corresponding i18n block index for an i18n message op; was an i18n message incorrectly assumed to correspond to an attribute?");l.messageIndex=c}}function qS(r,e,t,n){let i=[],s=new Map;for(let l of n.subMessages){let c=t.get(l),{mainVar:h,statements:d}=qS(r,e,t,c);i.push(...d);let f=s.get(c.messagePlaceholder)??[];f.push(h),s.set(c.messagePlaceholder,f)}QM(n,s),n.params=new Map([...n.params.entries()].sort());let a=Ee(r.pool.uniqueName(zM)),o=tB(r.pool,n.message.id,e,r.i18nUseExternalIds),u;if(n.needsPostprocessing||n.postprocessingParams.size>0){let l=Object.fromEntries([...n.postprocessingParams.entries()].sort()),c=jp(l,!1),h=[];n.postprocessingParams.size>0&&h.push(Jf(c,!0)),u=d=>K(w.i18nPostprocess).callFn([d,...h])}return i.push(...JM(n.message,a,o,n.params,u)),{mainVar:a,statements:i}}function QM(r,e){for(let[t,n]of e)n.length===1?r.params.set(t,n[0]):(r.params.set(t,A(`${GE}${XM}${t}${GE}`)),r.postprocessingParams.set(t,Ae(n)))}function JM(r,e,t,n,i){let s=Object.fromEntries(n),a=[ZM(e),yc(eB(),$M(e,r,t,s),VM(e,r,jp(s,!1)))];return i&&a.push(new mr(e.set(i(e)))),a}function eB(){return jo(Ee(WE)).notIdentical(A("undefined",Fp)).and(Ee(WE))}function tB(r,e,t,n){let i,s=t;if(n){let a=zE("EXTERNAL_"),o=r.uniqueName(s);i=`${a}${di(e)}$$${o}`}else{let a=zE(s);i=r.uniqueName(a)}return Ee(i)}function rB(r){for(let e of r.units){let t=null,n=null,i=new Map,s=new Map,a=new Map;for(let o of e.create)switch(o.kind){case p.I18nStart:if(o.context===null)throw Error("I18n op should have its context set.");t=o;break;case p.I18nEnd:t=null;break;case p.IcuStart:if(o.context===null)throw Error("Icu op should have its context set.");n=o;break;case p.IcuEnd:n=null;break;case p.Text:if(t!==null)if(i.set(o.xref,t),s.set(o.xref,n),o.icuPlaceholder!==null){let u=kR(r.allocateXrefId(),o.icuPlaceholder,[o.initialValue]);M.replace(o,u),a.set(o.xref,u)}else M.remove(o);break}for(let o of e.update)switch(o.kind){case p.InterpolateText:if(!i.has(o.target))continue;let u=i.get(o.target),l=s.get(o.target),c=a.get(o.target),h=l?l.context:u.context,d=l?$s.Postproccessing:$s.Creation,f=[];for(let m=0;m<o.interpolation.expressions.length;m++){let S=o.interpolation.expressions[m];f.push(cS(h,u.xref,u.xref,u.handle,S,c?.xref??null,o.interpolation.i18nPlaceholders[m]??null,d,Li.I18nText,"",S.sourceSpan??o.sourceSpan))}M.replaceWithMany(o,f),c!==void 0&&(c.strings=o.interpolation.strings);break}}}function nB(r){for(let e of r.units)for(let t of e.create)switch(t.kind){case p.ElementStart:case p.ConditionalCreate:case p.ConditionalBranchCreate:case p.Template:if(!Array.isArray(t.localRefs))throw new Error("AssertionError: expected localRefs to be an array still");if(t.numSlotsUsed+=t.localRefs.length,t.localRefs.length>0){let n=iB(t.localRefs);t.localRefs=r.addConst(n)}else t.localRefs=null;break}}function iB(r){let e=[];for(let t of r)e.push(A(t.name),A(t.target));return Ae(e)}function sB(r){for(let e of r.units){let t=dt.HTML;for(let n of e.create)n.kind===p.ElementStart&&n.namespace!==t&&(M.insertBefore(wR(n.namespace),n),t=n.namespace)}}function aB(r){let e=[],t=0,n=0,i=0,s=0,a=0,o=null;for(;t<r.length;)switch(r.charCodeAt(t++)){case 40:n++;break;case 41:n--;break;case 39:i===0?i=39:i===39&&r.charCodeAt(t-1)!==92&&(i=0);break;case 34:i===0?i=34:i===34&&r.charCodeAt(t-1)!==92&&(i=0);break;case 58:!o&&n===0&&i===0&&(o=DS(r.substring(a,t-1).trim()),s=t);break;case 59:if(o&&s>0&&n===0&&i===0){let l=r.substring(s,t-1).trim();e.push(o,l),a=t,s=0,o=null}break}if(o&&s){let u=r.slice(s).trim();e.push(o,u)}return e}function DS(r){return r.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function oB(r){let e=new Map;for(let t of r.units)for(let n of t.create)En(n)&&e.set(n.xref,n);for(let t of r.units)for(let n of t.create)if(n.kind===p.ExtractedAttribute&&n.bindingKind===X.Attribute&&hS(n.expression)){let i=e.get(n.target);if(i!==void 0&&(i.kind===p.Template||i.kind===p.ConditionalCreate||i.kind===p.ConditionalBranchCreate)&&i.templateKind===It.Structural)continue;if(n.name==="style"){let s=aB(n.expression.value);for(let a=0;a<s.length-1;a+=2)M.insertBefore(cr(n.target,X.StyleProperty,null,s[a],A(s[a+1]),null,null,Re.STYLE),n);M.remove(n)}else if(n.name==="class"){let s=n.expression.value.trim().split(/\s+/g);for(let a of s)M.insertBefore(cr(n.target,X.ClassName,null,a,null,null,null,Re.NONE),n);M.remove(n)}}}function uB(r){Ba(r.root,r.componentName,{index:0},r.compatibility===jt.TemplateDefinitionBuilder)}function Ba(r,e,t,n){r.fnName===null&&(r.fnName=r.job.pool.uniqueName(di(`${e}_${r.job.fnSuffix}`),!1));let i=new Map;for(let s of r.ops())switch(s.kind){case p.Property:case p.DomProperty:s.bindingKind===X.LegacyAnimation&&(s.name="@"+s.name);break;case p.Animation:if(s.handlerFnName===null){let c=s.name.replace(".","");s.handlerFnName=`${r.fnName}_${c}_cb`,s.handlerFnName=di(s.handlerFnName)}break;case p.AnimationListener:if(s.handlerFnName!==null)break;
39if(!s.hostListener&&s.targetSlot.slot===null)throw new Error("Expected a slot to be assigned");let a=s.name.replace(".","");s.hostListener?s.handlerFnName=`${e}_${a}_HostBindingHandler`:s.handlerFnName=`${r.fnName}_${s.tag.replace("-","_")}_${a}_${s.targetSlot.slot}_listener`,s.handlerFnName=di(s.handlerFnName);break;case p.Listener:if(s.handlerFnName!==null)break;if(!s.hostListener&&s.targetSlot.slot===null)throw new Error("Expected a slot to be assigned");let o="";s.isLegacyAnimationListener&&(s.name=`@${s.name}.${s.legacyAnimationPhase}`,o="animation"),s.hostListener?s.handlerFnName=`${e}_${o}${s.name}_HostBindingHandler`:s.handlerFnName=`${r.fnName}_${s.tag.replace("-","_")}_${o}${s.name}_${s.targetSlot.slot}_listener`,s.handlerFnName=di(s.handlerFnName);break;case p.TwoWayListener:if(s.handlerFnName!==null)break;if(s.targetSlot.slot===null)throw new Error("Expected a slot to be assigned");s.handlerFnName=di(`${r.fnName}_${s.tag.replace("-","_")}_${s.name}_${s.targetSlot.slot}_listener`);break;case p.Variable:i.set(s.xref,lB(r,s.variable,t));break;case p.RepeaterCreate:if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");if(s.handle.slot===null)throw new Error("Expected slot to be assigned");if(s.emptyView!==null){let c=r.job.views.get(s.emptyView);Ba(c,`${e}_${s.functionNameSuffix}Empty_${s.handle.slot+2}`,t,n)}Ba(r.job.views.get(s.xref),`${e}_${s.functionNameSuffix}_${s.handle.slot+1}`,t,n);break;case p.Projection:if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");if(s.handle.slot===null)throw new Error("Expected slot to be assigned");if(s.fallbackView!==null){let c=r.job.views.get(s.fallbackView);Ba(c,`${e}_ProjectionFallback_${s.handle.slot}`,t,n)}break;case p.ConditionalCreate:case p.ConditionalBranchCreate:case p.Template:if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");let u=r.job.views.get(s.xref);if(s.handle.slot===null)throw new Error("Expected slot to be assigned");let l=s.functionNameSuffix.length===0?"":`_${s.functionNameSuffix}`;Ba(u,`${e}${l}_${s.handle.slot}`,t,n);break;case p.StyleProp:s.name=cB(s.name),n&&(s.name=XE(s.name));break;case p.ClassProp:n&&(s.name=XE(s.name));break}for(let s of r.ops())ct(s,a=>{if(!(!(a instanceof vn)||a.name!==null)){if(!i.has(a.xref))throw new Error(`Variable ${a.xref} not yet named`);a.name=i.get(a.xref)}})}function lB(r,e,t){if(e.name===null)switch(e.kind){case st.Context:e.name=`ctx_r${t.index++}`;break;case st.Identifier:if(r.job.compatibility===jt.TemplateDefinitionBuilder){let n=e.identifier==="ctx"?"i":"";e.name=`${e.identifier}_${n}r${++t.index}`}else e.name=`${e.identifier}_i${t.index++}`;break;default:e.name=`_r${++t.index}`;break}return e.name}function cB(r){return r.startsWith("--")?r:DS(r)}function XE(r){let e=r.indexOf("!important");return e>-1?r.substring(0,e):r}function hB(r){for(let e of r.units){for(let t of e.create)(t.kind===p.Listener||t.kind===p.Animation||t.kind===p.AnimationListener||t.kind===p.TwoWayListener)&&YE(t.handlerOps);YE(e.update)}}function YE(r){for(let e of r){if(e.kind!==p.Statement||!(e.statement instanceof mr)||!(e.statement.expr instanceof Hl))continue;let t=e.statement.expr.steps,n=!0;for(let i=e.next;i.kind!==p.ListEnd&&n;i=i.next)ct(i,(s,a)=>{if(!Qr(s))return s;if(n&&!(a&be.InChildOperation))switch(s.kind){case Q.NextContext:s.steps+=t,M.remove(e),n=!1;break;case Q.GetCurrentView:case Q.Reference:case Q.ContextLetReference:n=!1;break}})}}var fB="ng-container";function pB(r){for(let e of r.units){let t=new Set;for(let n of e.create)n.kind===p.ElementStart&&n.tag===fB&&(n.kind=p.ContainerStart,t.add(n.xref)),n.kind===p.ElementEnd&&t.has(n.xref)&&(n.kind=p.ContainerEnd)}}function dB(r,e){let t=r.get(e);if(t===void 0)throw new Error("All attributes should have an element-like target.");return t}function mB(r){let e=new Map;for(let t of r.units)for(let n of t.create)En(n)&&e.set(n.xref,n);for(let t of r.units)for(let n of t.create)(n.kind===p.ElementStart||n.kind===p.ContainerStart)&&n.nonBindable&&M.insertAfter(gR(n.xref),n),(n.kind===p.ElementEnd||n.kind===p.ContainerEnd)&&dB(e,n.xref).nonBindable&&M.insertBefore(ER(n.xref),n)}function cn(r){return e=>e.kind===r}function Ha(r,e){return t=>t.kind===r&&e===t.expression instanceof Ye}function vB(r){return r.kind===p.Listener&&!(r.hostListener&&r.isLegacyAnimationListener)||r.kind===p.TwoWayListener||r.kind===p.Animation||r.kind===p.AnimationListener}function gB(r){return(r.kind===p.Property||r.kind===p.TwoWayProperty)&&!(r.expression instanceof Ye)}var EB=[{test:r=>r.kind===p.Listener&&r.hostListener&&r.isLegacyAnimationListener},{test:vB}],yB=[{test:cn(p.StyleMap),transform:uc},{test:cn(p.ClassMap),transform:uc},{test:cn(p.StyleProp)},{test:cn(p.ClassProp)},{test:Ha(p.Attribute,!0)},{test:Ha(p.Property,!0)},{test:gB},{test:Ha(p.Attribute,!1)}],SB=[{test:Ha(p.DomProperty,!0)},{test:Ha(p.DomProperty,!1)},{test:cn(p.Attribute)},{test:cn(p.StyleMap),transform:uc},{test:cn(p.ClassMap),transform:uc},{test:cn(p.StyleProp)},{test:cn(p.ClassProp)}],ZE=new Set([p.Listener,p.TwoWayListener,p.AnimationListener,p.StyleMap,p.ClassMap,p.StyleProp,p.ClassProp,p.Property,p.TwoWayProperty,p.DomProperty,p.Attribute,p.Animation]);function wB(r){for(let e of r.units){KE(e.create,EB);let t=e.job.kind===G.Host?SB:yB;KE(e.update,t)}}function KE(r,e){let t=[],n=null;for(let i of r){let s=Co(i)?i.target:null;(!ZE.has(i.kind)||s!==n&&n!==null&&s!==null)&&(M.insertBefore(QE(t,e),i),t=[],n=null),ZE.has(i.kind)&&(t.push(i),M.remove(i),n=s??n)}r.push(QE(t,e))}function QE(r,e){let t=Array.from(e,()=>new Array);for(let n of r){let i=e.findIndex(s=>s.test(n));t[i].push(n)}return t.flatMap((n,i)=>{let s=e[i].transform;return s?s(n):n})}function uc(r){return r.slice(r.length-1)}function xB(r){for(let e of r.units){let t=Qp(e);
39for(let n of e.ops())switch(n.kind){case p.Binding:let i=TB(t,n.target);_B(n.name)&&i.kind===p.Projection&&M.remove(n);break}}}function _B(r){return r.toLowerCase()==="select"}function TB(r,e){let t=r.get(e);if(t===void 0)throw new Error("All attributes should have an slottable target.");return t}function bB(r){for(let e of r.units)CB(e)}function CB(r){for(let e of r.update)ct(e,(t,n)=>{if(Qr(t)&&t.kind===Q.PipeBinding){if(n&be.InChildOperation)throw new Error("AssertionError: pipe bindings should not appear in child expressions");if(r.job.compatibility){if(e.target==null)throw new Error("AssertionError: expected slot handle to be assigned for pipe creation");AB(r,e.target,t)}else r.create.push(ES(t.target,t.targetSlot,t.name))}})}function AB(r,e,t){for(let n=r.create.head.next;n.kind!==p.ListEnd;n=n.next){if(!Zs(n)||n.xref!==e)continue;for(;n.next.kind===p.Pipe;)n=n.next;let i=ES(t.target,t.targetSlot,t.name);M.insertBefore(i,n.next);return}throw new Error(`AssertionError: unable to find insertion point for pipe ${t.name}`)}function IB(r){for(let e of r.units)for(let t of e.update)et(t,n=>!(n instanceof Fi)||n.args.length<=4?n:new ko(n.target,n.targetSlot,n.name,Ae(n.args
39),n.args.length),be.None)}function kB(r){PS(r.root,0)}function PS(r,e){let t=null;for(let n of r.create)switch(n.kind){case p.I18nStart:n.subTemplateIndex=e===0?null:e,t=n;break;case p.I18nEnd:t.subTemplateIndex===null&&(e=0),t=null;break;case p.ConditionalCreate:case p.ConditionalBranchCreate:case p.Template:e=Wu(r.job.views.get(n.xref),t,n.i18nPlaceholder,e);break;case p.RepeaterCreate:let i=r.job.views.get(n.xref);e=Wu(i,t,n.i18nPlaceholder,e),n.emptyView!==null&&(e=Wu(r.job.views.get(n.emptyView),t,n.emptyI18nPlaceholder,e));break;case p.Projection:n.fallbackView!==null&&(e=Wu(r.job.views.get(n.fallbackView),t,n.fallbackViewI18nPlaceholder,e));break}return e}function Wu(r,e,t,n){if(t!==void 0){if(e===null)throw Error("Expected template with i18n placeholder to be in an i18n block.");n++,NB(r,e)}return PS(r,n)}function NB(r,e){if(r.create.head.next?.kind!==p.I18nStart){let t=r.job.allocateXrefId();M.insertAfter(Tc(t,e.message,e.root,null),r.create.head),M.insertBefore(bc(t,null),r.create.tail)}}function qB(r){for(let e of r.units)for(let t of e.ops())ct(t,n=>{if(!(n instanceof Bi)||n.body===null)return;let i=new Ep(n.args.length);n.fn=r.pool.getSharedConstant(i,n.body),n.body=null})}var Ep=class extends _s{numArgs;constructor(e){super(),this.numArgs=e}keyOf(e){return e instanceof Us?`param(${e.index})`:super.keyOf(e)}toSharedConstantDeclaration(e,t){let n=[];for(let s=0;s<this.numArgs;s++)n.push(new lt("a"+s));let i=z(t,s=>s instanceof Us?Ee("a"+s.index):s,be.None);return new it(e,new Ai(n,i),void 0,ut.Final)}};function DB(r){for(let e of r.units)for(let t of e.update)et(t,(n,i)=>i&be.InChildOperation?n:n instanceof Nr?PB(n):n instanceof Xr?OB(n):n,be.None)}function PB(r){let e=[],t=[];for(let n of r.entries)if(n.isConstant())e.push(n);else{let i=t.length;t.push(n),e.push(new Us(i))}return new Bi(Ae(e),t)}function OB(r){let e=[],t=[];for(let n of r.entries)if(n.value.isConstant())e.push(n);else{let i=t.length;t.push(n.value),e.push(new Ns(n.key,new Us(i),n.quoted))}return new Bi(kt(e),t)}function RB(r,e,t,n,i){return ri(w.element,r,e,t,n,i)}function LB(r,e,t,n,i){return ri(w.elementStart,r,e,t,n,i)}function ri(r,e,t,n,i,s){let a=[A(e)];return t!==null&&a.push(A(t)),i!==null?a.push(A(n),A(i)):n!==null&&a.push(A(n)),de(r,a,s)}function OS(r,e,t,n,i,s,a,o,u){let l=[A(e),t,A(n),A(i),A(s),A(a)];for(o!==null&&(l.push(A(o)),l.push(K(w.templateRefExtractor)));l[l.length-1].isEquivalent(qs);)l.pop();return de(r,l,u)}function Jp(r,e,t,n,i){let s=[A(e)];return t instanceof Ye?s.push(Ks(t,i)):s.push(t),n!==null&&s.push(n),de(r,s,i)}function MB(r){return de(w.elementEnd,[],r)}function BB(r,e,t,n){return ri(w.elementContainerStart,r,null,e,t,n)}function FB(r,e,t,n){return ri(w.elementContainer,r,null,e,t,n)}function $B(){return de(w.elementContainerEnd,[],null)}function UB(r,e,t,n,i,s,a,o){return OS(w.templateCreate,r,e,t,n,i,s,a,o)}function jB(){return de(w.disableBindings,[],null)}function VB(){return de(w.enableBindings,[],null)}function HB(r,e,t,n,i){let s=[A(r),e];return t!==null&&s.push(K(t)),de(n?w.syntheticHostListener:w.listener,s,i)}function JE(r,e){return K(w.twoWayBindingSet).callFn([r,e])}function WB(r,e,t){return de(w.twoWayListener,[A(r),e],t)}function GB(r,e){return de(w.pipe,[A(r),A(e)],null)}function zB(){return de(w.namespaceHTML,[],null)}function XB(){return de(w.namespaceSVG,[],null)}function YB(){return de(w.namespaceMathML,[],null)}function ZB(r,e){return de(w.advance,r>1?[A(r)]:[],e)}function KB(r){return K(w.reference).callFn([A(r)])}function QB(r){return K(w.nextContext).callFn(r===1?[]:[A(r)])}function JB(){return K(w.getCurrentView).callFn([])}function eF(r){return K(w.restoreView).callFn([r])}function tF(r){return K(w.resetView).callFn([r])}function rF(r,e,t){let n=[A(r,null)];return e!==""&&n.push(A(e)),de(w.text,n,t)}function nF(r,e,t,n,i,s,a,o,u,l,c){let h=[A(r),A(e),t??A(null),A(n),A(i),A(s),a??A(null),o??A(null),u?K(w.deferEnableTimerScheduling):A(null),A(c)],d;for(;(d=h[h.length-1])!==null&&d instanceof gt&&d.value===null;)h.pop();return de(w.defer,h,l)}var iF=new Map([[Ne.Idle,{none:w.deferOnIdle,prefetch:w.deferPrefetchOnIdle,hydrate:w.deferHydrateOnIdle}],[Ne.Immediate,{none:w.deferOnImmediate,prefetch:w.deferPrefetchOnImmediate,hydrate:w.deferHydrateOnImmediate}],[Ne.Timer,{none:w.deferOnTimer,prefetch:w.deferPrefetchOnTimer,hydrate:w.deferHydrateOnTimer}],[Ne.Hover,{none:w.deferOnHover,prefetch:w.deferPrefetchOnHover,hydrate:w.deferHydrateOnHover}],[Ne.Interaction,{none:w.deferOnInteraction,prefetch:w.deferPrefetchOnInteraction,hydrate:w.deferHydrateOnInteraction}],[Ne.Viewport,{none:w.deferOnViewport,prefetch:w.deferPrefetchOnViewport,hydrate:w.deferHydrateOnViewport}],[Ne.Never,{none:w.deferHydrateNever,prefetch:w.deferHydrateNever,hydrate:w.deferHydrateNever}]]);function sF(r,e,t,n){let i=iF.get(r)?.[t];if(i===void 0)throw new Error(`Unable to determine instruction for trigger ${r}`);return de(i,e.map(s=>A(s)),n)}function aF(r){return de(w.projectionDef,r?[r]:[],null)}function oF(r,e,t,n,i,s,a){let o=[A(r)];return(e!==0||t!==null||n!==null)&&(o.push(A(e)),t!==null&&o.push(t),n!==null&&(t===null&&o.push(A(null)),o.push(Ee(n),A(i),A(s)))),de(w.projection,o,a)}function uF(r,e,t,n){let i=[A(r),A(e)];return t!==null&&i.push(A(t)),de(w.i18nStart,i,n)}function lF(r,e,t,n,i,s,a,o){let u=[A(r),e,A(t),A(n),A(i),A(s)];for(a!==null&&(u.push(A(a)),u.push(K(w.templateRefExtractor)));u[u.length-1].isEquivalent(qs);)u.pop();return de(w.conditionalCreate,u,o)}function cF(r,e,t,n,i,s,a,o){let u=[A(r),e,A(t),A(n),A(i),A(s)];for(a!==null&&(u.push(A(a)),u.push(K(w.templateRefExtractor)));u[u.length-1].isEquivalent(qs);)u.pop();return de(w.conditionalBranchCreate,u,o)}function hF(r,e,t,n,i,s,a,o,u,l,c,h,d,f){let m=[A(r),Ee(e),A(t),A(n),A(i),A(s),a];return(o||u!==null)&&(m.push(A(o)),u!==null&&(m.push(Ee(u),A(l),A(c)),(h!==null||d!==null)&&m.push(A(h)),d!==null&&m.push(A(d)))),de(w.repeaterCreate,m,f)}function fF(r,e){return de(w.repeater,[r],e)}function pF(r,e,t){return r==="prefetch"?de(w.deferPrefetchWhen,[e],t):r==="hydrate"?de(w.deferHydrateWhen,[e],t):de(w.deferWhen,[e],t)}function dF(r,e){return de(w.declareLet,[A(r)],e)}function mF(r,e){return K(w.storeLet).callFn([r],e)}function vF(r){return K(w.readContextLet).callFn([A(r)])}function gF(r,e,t,n){let i=[A(r),A(e)];return t&&i.push(A(t)),de(w.i18n,i,n)}function EF(r){return de(w.i18nEnd,[],r)}function yF(r,e){let t=[A(r),A(e)];return de(w.i18nAttributes,t,null)}function SF(r,e,t){return Jp(w.ariaProperty,r,e,null,t)}function wF(r,e,t,n){return Jp(w.property,r,e,t,n)}function xF(r,e,t,n){let i=[A(r),e];return t!==null&&i.push(t),de(w.twoWayProperty,i,n)}function RS(r,e,t,n,i){let s=[A(r)];return e instanceof Ye?s.push(Ks(e,i)):s.push(e),(t!==null||n!==null)&&s.push(t??A(null)),n!==null&&s.push(A(n)),de(w.attribute,s,null)}function _F(r,e,t,n){let i=[A(r)];return e instanceof Ye?i.push(Ks(e,n)):i.push(e),t!==null&&i.push(A(t)),de(w.styleProp,i,n)}function TF(r,e,t){return de(w.classProp,[A(r),e],t)}function bF(r,e){let t=r instanceof Ye?Ks(r,e):r;return de(w.styleMap,[t],e)}function CF(r,e){let t=r instanceof Ye?Ks(r,e):r;return de(w.classMap,[t],e)}function AF(r,e,t,n,i){return ri(w.domElement,r,e,t,n,i)}function IF(r,e,t,n,i){return ri(w.domElementStart,r,e,t,n,i)}function kF(r){return de(w.domElementEnd,[],r)}function NF(r,e,t,n){return ri(w.domElementContainerStart,r,null,e,t,n)}function qF(r,e,t,n){return ri(w.domElementContainer,r,null,e,t,n)}function DF(){return de(w.domElementContainerEnd,[],null)}function PF(r,e,t,n){let i=[A(r),e];return t!==null&&i.push(K(t)),de(w.domListener,i,n)}function OF(r,e,t,n,i,s,a,o){return OS(w.domTemplate,r,e,t,n,i,s,a,o)}var ey=[w.pipeBind1,w.pipeBind2,w.pipeBind3,w.pipeBind4];function RF(r,e,t){if(t.length<1||t.length>ey.length)throw new Error("pipeBind() argument count out of bounds");let n=ey[t.length-1];return K(n).callFn([A(r),A(e),...t])}function LF(r,e,t){return K(w.pipeBindV).callFn([A(r),A(e),t])}function MF(r,e,t){let n=LS(r,e);return KF(XF,[],n,[],t)}function BF(r,e){return de(w.i18nExp,[r],e)}function FF(r,e){return de(w.i18nApply,[A(r)],e)}function $F(r,e,t,n){return Jp(w.domProperty,r,e,t,n)}function UF(r,e,t,n){let i=[e];t!==null&&i.push(t);let s=r==="enter"?w.animationEnter:w.animationLeave;return de(s,i,n)}function jF(r,e,t,n){let s=[e instanceof Ye?Ks(e,n):e];t!==null&&s.push(t);let a=r==="enter"?w.animationEnter:w.animationLeave;return de(a,s,n)}function VF(r,e,t,n){let i=[e],s=r==="enter"?w.animationEnterListener:w.animationLeaveListener;return de(s,i,n)}function HF(r,e,t){return de(w.syntheticHostProperty,[A(r),e],t)}function WF(r,e,t){return ed(ZF,[A(r),e],t,[],null)}function GF(r,e){return de(w.attachSourceLocations,[A(r),e],null)}function LS(r,e){if(r.length<1||e.length!==r.length-1)throw new Error("AssertionError: expected specific shape of args for strings/expressions in interpolation");let t=[];if(e.length===1&&r[0]===""&&r[1]==="")t.push(e[0]);else{let n;for(n=0;n<e.length;n++)t.push(A(r[n]),e[n]);t.push(A(r[n]))}return t}function Ks(r,e){let t=LS(r.strings,r.expressions);return ed(YF,[],t,[],e)}function de(r,e,t){let n=K(r).callFn(e,t);return gr(new mr(n,t))}function zF(r,e,t){let n=[r];return e!==null&&n.push(e),de(w.conditional,n,t)}var XF={constant:[w.textInterpolate,w.textInterpolate1,w.textInterpolate2,w.textInterpolate3,w.textInterpolate4,w.textInterpolate5,w.textInterpolate6,w.textInterpolate7,w.textInterpolate8],variable:w.textInterpolateV,mapping:r=>{if(r%2===0)throw new Error("Expected odd number of arguments");return(r-1)/2}},YF={constant:[w.interpolate,w.interpolate1,w.interpolate2,w.interpolate3,w.interpolate4,w.interpolate5,w.interpolate6,w.interpolate7,w.interpolate8],variable:w.interpolateV,mapping:r=>{if(r%2===0)throw new Error("Expected odd number of arguments");return(r-1)/2}},ZF={constant:[w.pureFunction0,w.pureFunction1,w.pureFunction2,w.pureFunction3,w.pureFunction4,
39w.pureFunction5,w.pureFunction6,w.pureFunction7,w.pureFunction8],variable:w.pureFunctionV,mapping:r=>r};function ed(r,e,t,n,i){let s=r.mapping(t.length),a=t.at(-1);if(n.length===0&&t.length>1&&a instanceof gt&&a.value===""&&t.pop(),s<r.constant.length)return K(r.constant[s]).callFn([...e,...t,...n],i);if(r.variable!==null)return K(r.variable).callFn([...e,Ae(t),...n],i);throw new Error("AssertionError: unable to call variadic function")}function KF(r,e,t,n,i){return gr(ed(r,e,t,n,i).toStmt())}var Wa="aria",QF=new Map([["window",w.resolveWindow],["document",w.resolveDocument],["body",w.resolveBody]]),JF=new Map([["class","className"],["for","htmlFor"],["formaction","formAction"],["innerHtml","innerHTML"],["readonly","readOnly"],["tabindex","tabIndex"]]);function e$(r){for(let e of r.units)t$(e,e.create),td(e,e.update)}function t$(r,e){for(let t of e)switch(et(t,BS,be.None),t.kind){case p.Text:M.replace(t,rF(t.handle.slot,t.initialValue,t.sourceSpan));break;case p.ElementStart:M.replace(t,r.job.mode===Mt.DomOnly?IF(t.handle.slot,t.tag,t.attributes,t.localRefs,t.startSourceSpan):LB(t.handle.slot,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case p.Element:M.replace(t,r.job.mode===Mt.DomOnly?AF(t.handle.slot,t.tag,t.attributes,t.localRefs,t.wholeSourceSpan):RB(t.handle.slot,t.tag,t.attributes,t.localRefs,t.wholeSourceSpan));break;case p.ElementEnd:M.replace(t,r.job.mode===Mt.DomOnly?kF(t.sourceSpan):MB(t.sourceSpan));break;case p.ContainerStart:M.replace(t,r.job.mode===Mt.DomOnly?NF(t.handle.slot,t.attributes,t.localRefs,t.startSourceSpan):BB(t.handle.slot,t.attributes,t.localRefs,t.startSourceSpan));break;case p.Container:M.replace(t,r.job.mode===Mt.DomOnly?qF(t.handle.slot,t.attributes,t.localRefs,t.wholeSourceSpan):FB(t.handle.slot,t.attributes,t.localRefs,t.wholeSourceSpan));break;case p.ContainerEnd:M.replace(t,r.job.mode===Mt.DomOnly?DF():$B());break;case p.I18nStart:M.replace(t,uF(t.handle.slot,t.messageIndex,t.subTemplateIndex,t.sourceSpan));break;case p.I18nEnd:M.replace(t,EF(t.sourceSpan));break;case p.I18n:M.replace(t,gF(t.handle.slot,t.messageIndex,t.subTemplateIndex,t.sourceSpan));break;case p.I18nAttributes:if(t.i18nAttributesConfig===null)throw new Error("AssertionError: i18nAttributesConfig was not set");M.replace(t,yF(t.handle.slot,t.i18nAttributesConfig));break;case p.Template:if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");let n=r.job.views.get(t.xref);M.replace(t,t.templateKind===It.Block||r.job.mode===Mt.DomOnly?OF(t.handle.slot,Ee(n.fnName),n.decls,n.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan):UB(t.handle.slot,Ee(n.fnName),n.decls,n.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case p.DisableBindings:M.replace(t,jB());break;case p.EnableBindings:M.replace(t,VB());break;case p.Pipe:M.replace(t,GB(t.handle.slot,t.name));break;case p.DeclareLet:M.replace(t,dF(t.handle.slot,t.sourceSpan));break;case p.AnimationString:M.replace(t,jF(t.animationKind,t.expression,t.sanitizer,t.sourceSpan));break;case p.Animation:let i=Gu(r,t.handlerFnName,t.handlerOps,!1);M.replace(t,UF(t.animationKind,i,t.sanitizer,t.sourceSpan));break;case p.AnimationListener:let s=Gu(r,t.handlerFnName,t.handlerOps,t.consumesDollarEvent);M.replace(t,VF(t.animationKind,s,null,t.sourceSpan));break;case p.Listener:let a=Gu(r,t.handlerFnName,t.handlerOps,t.consumesDollarEvent),o=t.eventTarget?QF.get(t.eventTarget):null;if(o===void 0)throw new Error(`Unexpected global target '${t.eventTarget}' defined for '${t.name}' event. Supported list of global targets: window,document,body.`);M.replace(t,r.job.mode===Mt.DomOnly&&!t.hostListener&&!t.isLegacyAnimationListener?PF(t.name,a,o,t.sourceSpan):HB(t.name,a,o,t.hostListener&&t.isLegacyAnimationListener,t.sourceSpan));break;case p.TwoWayListener:M.replace(t,WB(t.name,Gu(r,t.handlerFnName,t.handlerOps,!0),t.sourceSpan));break;case p.Variable:if(t.variable.name===null)throw new Error(`AssertionError: unnamed variable ${t.xref}`);M.replace(t,gr(new it(t.variable.name,t.initializer,void 0,ut.Final)));break;case p.Namespace:switch(t.active){case dt.HTML:M.replace(t,zB());break;
39case dt.SVG:M.replace(t,XB());break;case dt.Math:M.replace(t,YB());break}break;case p.Defer:let u=!!t.loadingMinimumTime||!!t.loadingAfterTime||!!t.placeholderMinimumTime;M.replace(t,nF(t.handle.slot,t.mainSlot.slot,t.resolverFn,t.loadingSlot?.slot??null,t.placeholderSlot?.slot??null,t.errorSlot?.slot??null,t.loadingConfig,t.placeholderConfig,u,t.sourceSpan,t.flags));break;case p.DeferOn:let l=[];switch(t.trigger.kind){case Ne.Never:case Ne.Idle:case Ne.Immediate:break;case Ne.Timer:l=[t.trigger.delay];break;case Ne.Interaction:case Ne.Hover:case Ne.Viewport:t.modifier==="hydrate"?l=[]:(l=[t.trigger.targetSlot?.slot??null],t.trigger.targetSlotViewSteps!==0&&l.push(t.trigger.targetSlotViewSteps));break;default:throw new Error(`AssertionError: Unsupported reification of defer trigger kind ${t.trigger.kind}`)}M.replace(t,sF(t.trigger.kind,l,t.modifier,t.sourceSpan));break;case p.ProjectionDef:M.replace(t,aF(t.def));break;case p.Projection:if(t.handle.slot===null)throw new Error("No slot was assigned for project instruction");let c=null,h=null,d=null;if(t.fallbackView!==null){if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");let b=r.job.views.get(t.fallbackView);if(b===void 0)throw new Error("AssertionError: projection had fallback view xref, but fallback view was not found");if(b.fnName===null||b.decls===null||b.vars===null)throw new Error("AssertionError: expected projection fallback view to have been named and counted");c=b.fnName,h=b.decls,d=b.vars}M.replace(t,oF(t.handle.slot,t.projectionSlotIndex,t.attributes,c,h,d,t.sourceSpan));break;case p.ConditionalCreate:if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");let f=r.job.views.get(t.xref);M.replace(t,lF(t.handle.slot,Ee(f.fnName),f.decls,f.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case p.ConditionalBranchCreate:if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");let m=r.job.views.get(t.xref);M.replace(t,cF(t.handle.slot,Ee(m.fnName),m.decls,m.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case p.RepeaterCreate:if(t.handle.slot===null)throw new Error("No slot was assigned for repeater instruction");if(!(r instanceof hr))throw new Error("AssertionError: must be compiling a component");let S=r.job.views.get(t.xref);if(S.fnName===null)throw new Error("AssertionError: expected repeater primary view to have been named");let g=null,E=null,y=null;if(t.emptyView!==null){let b=r.job.views.get(t.emptyView);if(b===void 0)throw new Error("AssertionError: repeater had empty view xref, but empty view was not found");if(b.fnName===null||b.decls===null||b.vars===null)throw new Error("AssertionError: expected repeater empty view to have been named and counted");g=b.fnName,E=b.decls,y=b.vars}M.replace(t,hF(t.handle.slot,S.fnName,t.decls,t.vars,t.tag,t.attributes,i$(r,t),t.usesComponentInstance,g,E,y,t.emptyTag,t.emptyAttributes,t.wholeSourceSpan));break;case p.SourceLocation:let x=Ae(t.locations.map(({targetSlot:b,offset:C,line:_,column:k})=>{if(b.slot===null)throw new Error("No slot was assigned for source location");return Ae([A(b.slot),A(C),A(_),A(k)])}));M.replace(t,GF(t.templatePath,x));break;case p.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of create op ${p[t.kind]}`)}}function td(r,e){for(let t of e)switch(et(t,BS,be.None),t.kind){case p.Advance:M.replace(t,ZB(t.delta,t.sourceSpan));break;case p.Property:M.replace(t,r.job.mode===Mt.DomOnly&&t.bindingKind!==X.LegacyAnimation&&t.bindingKind!==X.Animation?ty(t):n$(t));break;case p.TwoWayProperty:M.replace(t,xF(t.name,t.expression,t.sanitizer,t.sourceSpan));break;case p.StyleProp:M.replace(t,_F(t.name,t.expression,t.unit,t.sourceSpan));break;case p.ClassProp:M.replace(t,TF(t.name,t.expression,t.sourceSpan));break;case p.StyleMap:M.replace(t,bF(t.expression,t.sourceSpan));break;case p.ClassMap:M.replace(t,CF(t.expression,t.sourceSpan));break;case p.I18nExpression:M.replace(t,BF(t.expression,t.sourceSpan));break;case p.I18nApply:M.replace(t,FF(t.handle.slot,t.sourceSpan));break;case p.InterpolateText:M.replace(t,MF(t.interpolation.strings,t.interpolation.expressions,t.sourceSpan));break;case p.Attribute:M.replace(t,RS(t.name,t.expression,t.sanitizer,t.namespace,t.sourceSpan));break;case p.DomProperty:if(t.expression instanceof Ye)throw new Error("not yet handled");t.bindingKind===X.LegacyAnimation||t.bindingKind===X.Animation?M.replace(t,H
39F(t.name,t.expression,t.sourceSpan)):M.replace(t,ty(t));break;case p.Variable:if(t.variable.name===null)throw new Error(`AssertionError: unnamed variable ${t.xref}`);M.replace(t,gr(new it(t.variable.name,t.initializer,void 0,ut.Final)));break;case p.Conditional:if(t.processed===null)throw new Error("Conditional test was not set.");M.replace(t,zF(t.processed,t.contextValue,t.sourceSpan));break;case p.Repeater:M.replace(t,fF(t.collection,t.sourceSpan));break;case p.DeferWhen:M.replace(t,pF(t.modifier,t.expr,t.sourceSpan));break;case p.StoreLet:throw new Error(`AssertionError: unexpected storeLet ${t.declaredName}`);case p.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of update op ${p[t.kind]}`)}}function r$(r){return r.charAt(Wa.length)!=="-"?Wa+"-"+r.slice(Wa.length).toLowerCase():r}function MS(r){return r.startsWith(Wa)&&r.length>Wa.length}function ty(r){return MS(r.name)?RS(r$(r.name),r.expression,null,null,r.sourceSpan):$F(JF.get(r.name)??r.name,r.expression,r.sanitizer,r.sourceSpan)}function n$(r){return MS(r.name)?SF(r.name,r.expression,r.sourceSpan):wF(r.name,r.expression,r.sanitizer,r.sourceSpan)}function BS(r){if(!Qr(r))return r;switch(r.kind){case Q.NextContext:return QB(r.steps);case Q.Reference:return KB(r.targetSlot.slot+1+r.offset);case Q.LexicalRead:throw new Error(`AssertionError: unresolved LexicalRead of ${r.name}`);case Q.TwoWayBindingSet:throw new Error("AssertionError: unresolved TwoWayBindingSet");case Q.RestoreView:if(typeof r.view=="number")throw new Error("AssertionError: unresolved RestoreView");return eF(r.view);case Q.ResetView:return tF(r.expr);case Q.GetCurrentView:return JB();case Q.ReadVariable:if(r.name===null)throw new Error(`Read of unnamed variable ${r.xref}`);return Ee(r.name);case Q.ReadTemporaryExpr:if(r.name===null)throw new Error(`Read of unnamed temporary ${r.xref}`);return Ee(r.name);case Q.AssignTemporaryExpr:if(r.name===null)throw new Error(`Assign of unnamed temporary ${r.xref}`);return Ee(r.name).set(r.expr);case Q.PureFunctionExpr:if(r.fn===null)throw new Error("AssertionError: expected PureFunctions to have been extracted");return WF(r.varOffset,r.fn,r.args);case Q.PureFunctionParameterExpr:throw new Error("AssertionError: expected PureFunctionParameterExpr to have been extracted");case Q.PipeBinding:return RF(r.targetSlot.slot,r.varOffset,r.args);case Q.PipeBindingVariadic:return LF(r.targetSlot.slot,r.varOffset,r.args);case Q.SlotLiteralExpr:return A(r.slot.slot);case Q.ContextLetReference:return vF(r.targetSlot.slot);case Q.StoreLet:return mF(r.value,r.sourceSpan);case Q.TrackContext:return Ee("this");default:throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${Q[r.kind]}`)}}function Gu(r,e,t,n){td(r,t);let i=[];for(let a of t){if(a.kind!==p.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${p[a.kind]}`);i.push(a.statement)}let s=[];return n&&s.push(new lt("$event")),zn(s,i,void 0,void 0,e)}function i$(r,e){if(e.trackByFn!==null)return e.trackByFn;let t=[new lt("$index"),new lt("$item")],n;if(e.trackByOps===null)n=e.usesComponentInstance?zn(t,[new mt(e.track)]):qr(t,e.track);else{td(r,e.trackByOps);let i=[];for(let s of e.trackByOps){if(s.kind!==p.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${p[s.kind]}`);i.push(s.statement)}n=e.usesComponentInstance||i.length!==1||!(i[0]instanceof mt)?zn(t,i):qr(t,i[0].value)}return e.trackByFn=r.job.pool.getSharedFunctionReference(n,"_forTrack"),e.trackByFn}function s$(r){for(let e of r.units)for(let t of e.update)switch(t.kind){case p.Attribute:case p.Binding:case p.ClassProp:case p.ClassMap:case p.Property:case p.StyleProp:case p.StyleMap:t.expression instanceof No&&M.remove(t);break}}function a$(r){for(let e of r.units)for(let t of e.create)switch(t.kind){case p.I18nContext:M.remove(t);break;case p.I18nStart:t.context=null;break}}function o$(r){for(let e of r.units)for(let t of e.update){if(t.kind!==p.Variable||t.variable.kind!==st.Identifier||!(t.initializer instanceof Ao))continue;
39let n=t.variable.identifier,i=t;for(;i&&i.kind!==p.ListEnd;)et(i,s=>s instanceof ft&&s.name===n?A(void 0):s,be.None),i=i.prev}}function u$(r){for(let e of r.units){let t=new Set;for(let n of e.update)switch(n.kind){case p.I18nExpression:t.add(n.i18nOwner)}for(let n of e.create)switch(n.kind){case p.I18nAttributes:if(t.has(n.xref))continue;M.remove(n)}}}function l$(r){for(let e of r.units)lc(e,e.create),lc(e,e.update)}function lc(r,e){let t=new Map;t.set(r.xref,Ee("ctx"));for(let n of e)switch(n.kind){case p.Variable:switch(n.variable.kind){case st.Context:t.set(n.variable.view,new vn(n.xref));break}break;case p.Animation:case p.AnimationListener:case p.Listener:case p.TwoWayListener:lc(r,n.handlerOps);break;case p.RepeaterCreate:n.trackByOps!==null&&lc(r,n.trackByOps);break}r===r.job.root&&t.set(r.xref,Ee("ctx"));for(let n of e)et(n,i=>{if(i instanceof Qn){if(!t.has(i.view))throw new Error(`No context found for reference to view ${i.view} from view ${r.xref}`);return t.get(i.view)}else return i},be.None)}function c$(r){for(let e of r.units)for(let t of e.create)if(t.kind===p.Defer){if(t.resolverFn!==null)continue;if(t.ownResolverFn!==null){if(t.handle.slot===null)throw new Error("AssertionError: slot must be assigned before extracting defer deps functions");let n=e.fnName?.replace("_Template","");t.resolverFn=r.pool.getSharedFunctionReference(t.ownResolverFn,`${n}_Defer_${t.handle.slot}_DepsFn`,!1)}}}function h$(r){for(let e of r.units)ry(e.create),ry(e.update)}function ry(r){for(let e of r)(e.kind===p.Listener||e.kind===p.TwoWayListener||e.kind===p.AnimationListener)&&et(e,t=>t instanceof ft&&t.name==="$event"?((e.kind===p.Listener||e.kind===p.AnimationListener)&&(e.consumesDollarEvent=!0),new dr(t.name)):t,be.InChildOperation)}function f$(r){let e=new Map,t=new Map;for(let n of r.units)for(let i of n.create)switch(i.kind){case p.I18nContext:e.set(i.xref,i);break;case p.ElementStart:t.set(i.xref,i);break}Ur(r,r.root,e,t)}function Ur(r,e,t,n,i){let s=null,a=new Map;for(let o of e.create)switch(o.kind){case p.I18nStart:if(!o.context)throw Error("Could not find i18n context for i18n op");s={i18nBlock:o,i18nContext:t.get(o.context)};break;case p.I18nEnd:s=null;break;case p.ElementStart:if(o.i18nPlaceholder!==void 0){if(s===null)throw Error("i18n tag placeholder should only occur inside an i18n block");ny(o,s.i18nContext,s.i18nBlock,i),i&&o.i18nPlaceholder.closeName&&a.set(o.xref,i),i=void 0}break;case p.ElementEnd:let u=n.get(o.xref);if(u&&u.i18nPlaceholder!==void 0){if(s===null)throw Error("AssertionError: i18n tag placeholder should only occur inside an i18n block");iy(u,s.i18nContext,s.i18nBlock,a.get(o.xref)),a.delete(o.xref)}break;case p.Projection:if(o.i18nPlaceholder!==void 0){if(s===null)throw Error("i18n tag placeholder should only occur inside an i18n block");ny(o,s.i18nContext,s.i18nBlock,i),iy(o,s.i18nContext,s.i18nBlock,i),i=void 0}if(o.fallbackView!==null){let d=r.views.get(o.fallbackView);if(o.fallbackViewI18nPlaceholder===void 0)Ur(r,d,t,n);else{if(s===null)throw Error("i18n tag placeholder should only occur inside an i18n block");zu(r,d,o.handle.slot,o.fallbackViewI18nPlaceholder,s.i18nContext,s.i18nBlock,i),Ur(r,d,t,n),Xu(r,d,o.handle.slot,o.fallbackViewI18nPlaceholder,s.i18nContext,s.i18nBlock,i),i=void 0}}break;case p.ConditionalCreate:case p.ConditionalBranchCreate:case p.Template:let l=r.views.get(o.xref);if(o.i18nPlaceholder===void 0)Ur(r,l,t,n);else{if(s===null)throw Error("i18n tag placeholder should only occur inside an i18n block");o.templateKind===It.Structural?Ur(r,l,t,n,o):(zu(r,l,o.handle.slot,o.i18nPlaceholder,s.i18nContext,s.i18nBlock,i),Ur(r,l,t,n),Xu(r,l,o.handle.slot,o.i18nPlaceholder,s.i18nContext,s.i18nBlock,i),i=void 0)}break;case p.RepeaterCreate:if(i!==void 0)throw Error("AssertionError: Unexpected structural directive associated with @for block");let c=o.handle.slot+1,h=r.views.get(o.xref);if(o.i18nPlaceholder===void 0)Ur(r,h,t,n);else{if(s===null)throw Error("i18n tag placeholder should only occur inside an i18n block");zu(r,h,c,o.i18nPlaceholder,s.i18nContext,s.i18nBlock,i),Ur(r,h,t,n),Xu(r,h,c,o.i18nPlaceholder,s.i18nContext,s.i18nBlock,i),i=void 0}if(o.emptyView!==null){let d=o.handle.slot+2,f=r.views.get(o.emptyView);if(o.emptyI18nPlaceholder===void 0)Ur(r,f,t,n);else{if(s===null)throw Error("i18n tag placeholder should only occur inside an i18n block");zu(r,f,d,o.emptyI18nPlaceholder,s.i18nContext,s.i18nBlock,i),Ur(r,f,t,n),Xu(r,f,d,o.emptyI18nPlaceholder,s.i18nContext,s.i18nBlock,i),i=void 0}}break}}function ny(r,e,t,n){let{startName:i,closeName:s}=r.i18nPlaceholder,a=De.ElementTag|De.OpenTag,o=r.handle.slot;n!==void 0&&(a|=De.TemplateTag,o={element:o,template:n.handle.slot}),s||(a|=De.CloseTag),zs(e.params,i,o,t.subTemplateIndex,a)}function iy(r,e,t,n){let{closeName:i}=r.i18nPlaceholder;if(i){let s=De.ElementTag|De.CloseTag,a=r.handle.slot;n!==void 0&&(s|=De.TemplateTag,a={element:a,template:n.handle.slot}),zs(e.params,i,a,t.subTemplateIndex,s)}}function zu(r,e,t,n,i,s,a){let{startName:o,closeName:u}=n,l=De.TemplateTag|De.OpenTag;u||(l|=De.CloseTag),a!==void 0&&zs(i.params,o,a.handle.slot,s.subTemplateIndex,l),zs(i.params,o,t,FS(r,s,e),l)}function Xu(r,e,t,n,i,s,a){let{closeName:o}=n,u=De.TemplateTag|De.CloseTag;o&&(zs(i.params,o,t,FS(r,s,e),u),a!==void 0&&zs(i.params,o,a.handle.slot,s.subTemplateIndex,u))}function FS(r,e,t){for(let n of t.create)if(n.kind===p.I18nStart)return n.subTemplateIndex;return e.subTemplateIndex}function zs(r,e,t,n,i){let s=r.get(e)??[];s.push({value:t,subTemplateIndex:n,flags:i}),r.set(e,s)}function p$(r){let e=new Map,t=new Map,n=new Map;for(let a of r.units)for(let o of a.create)switch(o.kind){case p.I18nStart:e.set(o.xref,o.subTemplateIndex);break;case p.I18nContext:t.set(o.xref,o);break;case p.IcuPlaceholder:n.set(o.xref,o);break}let i=new Map,s=a=>a.usage===Li.I18nText?a.i18nOwner:a.context;
39for(let a of r.units)for(let o of a.update)if(o.kind===p.I18nExpression){let u=i.get(s(o))||0,l=e.get(o.i18nOwner)??null,c={value:u,subTemplateIndex:l,flags:De.ExpressionIndex};d$(o,c,t,n),i.set(s(o),u+1)}}function d$(r,e,t,n){if(r.i18nPlaceholder!==null){let i=t.get(r.context),s=r.resolutionTime===$s.Creation?i.params:i.postprocessingParams,a=s.get(r.i18nPlaceholder)||[];a.push(e),s.set(r.i18nPlaceholder,a)}r.icuPlaceholder!==null&&n.get(r.icuPlaceholder)?.expressionPlaceholders.push(e)}function m$(r){for(let e of r.units)cc(e,e.create,null),cc(e,e.update,null)}function cc(r,e,t){let n=new Map,i=new Map;for(let s of e)switch(s.kind){case p.Variable:switch(s.variable.kind){case st.Identifier:if(s.variable.local){if(i.has(s.variable.identifier))continue;i.set(s.variable.identifier,s.xref)}else if(n.has(s.variable.identifier))continue;n.set(s.variable.identifier,s.xref);break;case st.Alias:if(n.has(s.variable.identifier))continue;n.set(s.variable.identifier,s.xref);break;case st.SavedView:t={view:s.variable.view,variable:s.xref};break}break;case p.Animation:case p.AnimationListener:case p.Listener:case p.TwoWayListener:cc(r,s.handlerOps,t);break;case p.RepeaterCreate:s.trackByOps!==null&&cc(r,s.trackByOps,t);break}for(let s of e)s.kind==p.Listener||s.kind===p.TwoWayListener||s.kind===p.Animation||s.kind===p.AnimationListener||et(s,a=>{if(a instanceof ft)return i.has(a.name)?new vn(i.get(a.name)):n.has(a.name)?new vn(n.get(a.name)):new rr(new Qn(r.job.root.xref),a.name);if(a instanceof Wl&&typeof a.view=="number"){if(t===null||t.view!==a.view)throw new Error(`AssertionError: no saved view ${a.view} from view ${r.xref}`);return a.view=new vn(t.variable),a}else return a},be.None);for(let s of e)ct(s,a=>{if(a instanceof ft)throw new Error(`AssertionError: no lexical reads should remain, but found read of ${a.name}`)})}var v$=new Map([[Re.HTML,w.sanitizeHtml],[Re.RESOURCE_URL,w.sanitizeResourceUrl],[Re.SCRIPT,w.sanitizeScript],[Re.STYLE,w.sanitizeStyle],[Re.URL,w.sanitizeUrl]]),g$=new Map([[Re.HTML,w.trustConstantHtml],[Re.RESOURCE_URL,w.trustConstantResourceUrl]]);function E$(r){for(let e of r.units){let t=Qp(e);if(r.kind!==G.Host){for(let n of e.create)if(n.kind===p.ExtractedAttribute){let i=g$.get(sy(n.securityContext))??null;n.trustedValueFn=i!==null?K(i):null}}for(let n of e.update)switch(n.kind){case p.Property:case p.Attribute:case p.DomProperty:let i=null;if(Array.isArray(n.securityContext)&&n.securityContext.length===2&&n.securityContext.indexOf(Re.URL)>-1&&n.securityContext.indexOf(Re.RESOURCE_URL)>-1?i=w.sanitizeUrlOrResourceUrl:i=v$.get(sy(n.securityContext))??null,n.sanitizer=i!==null?K(i):null,n.sanitizer===null){let s=!1;if(r.kind===G.Host||n.kind===p.DomProperty)s=!0;else{let a=t.get(n.target);if(a===void 0||!En(a))throw Error("Property should have an element-like owner");s=y$(a)}s&&EM(n.name)&&(n.sanitizer=K(w.validateIframeAttribute))}break}}}function y$(r){return r.kind===p.ElementStart&&r.tag?.toLowerCase()==="iframe"}function sy(r){if(Array.isArray(r)){if(r.length>1)throw Error("AssertionError: Ambiguous security context");return r[0]||Re.NONE}return r}function S$(r){for(let e of r.units){e.create.prepend([jn(e.job.allocateXrefId(),{kind:st.SavedView,name:null,view:e.xref},new Xf,Kt.None)]);for(let t of e.create){if(t.kind!==p.Listener&&t.kind!==p.TwoWayListener&&t.kind!==p.Animation&&t.kind!==p.AnimationListener)continue;let n=e!==r.root;if(!n)for(let i of t.handlerOps)ct(i,s=>{(s instanceof Vl||s instanceof Io)&&(n=!0)});n&&w$(e,t)}}}function w$(r,e){e.handlerOps.prepend([jn(r.job.allocateXrefId(),{kind:st.Context,name:null,view:r.xref},new Wl(r.xref),Kt.None)]);for(let t of e.handlerOps)t.kind===p.Statement&&t.statement instanceof mt&&(t.statement.value=new Yf(t.statement.value))}function x$(r){let e=new Map;for(let t of r.units){let n=0;for(let i of t.create)Zs(i)&&(i.handle.slot=n,e.set(i.xref,i.handle.slot),n+=i.numSlotsUsed);t.decls=n}for(let t of r.units)for(let n of t.ops())if(n.kind===p.Template||n.kind===p.ConditionalCreate||n.kind===p.ConditionalBranchCreate||n.kind===p.RepeaterCreate){let i=r.views.get(n.xref);n.decls=i.decls}}function _$(r){let e=new Set,t=new Map;for(let n of r.units)for(let i of n.ops())i.kind===p.DeclareLet&&t.set(i.xref,i),ct(i,s=>{s instanceof Io&&e.add(s.target)});for(let n of r.units)for(let i of n.update)et(i,s=>s instanceof Ao&&!e.has(s.target)?(T$(s)||M.remove(t.get(s.target)),s.value):s,be.N
39one)}function T$(r){let e=!1;return z(r,t=>((t instanceof Fi||t instanceof ko)&&(e=!0),t),be.None),e}function b$(r){let e=new Set;for(let t of r.units)for(let n of t.ops())ct(n,i=>{if(i instanceof _e)switch(i.operator){case B.Exponentiation:C$(i,e);break;case B.NullishCoalesce:A$(i,e);break;case B.And:case B.Or:I$(i,e)}});for(let t of r.units)for(let n of t.ops())et(n,i=>i instanceof kr?e.has(i)?i:i.expr:i,be.None)}function C$(r,e){r.lhs instanceof kr&&r.lhs.expr instanceof Ii&&e.add(r.lhs)}function A$(r,e){r.lhs instanceof kr&&(ay(r.lhs.expr)||r.lhs.expr instanceof zr)&&e.add(r.lhs),r.rhs instanceof kr&&(ay(r.rhs.expr)||r.rhs.expr instanceof zr)&&e.add(r.rhs)}function I$(r,e){r.lhs instanceof kr&&r.lhs.expr instanceof _e&&r.lhs.expr.operator===B.NullishCoalesce&&e.add(r.lhs)}function ay(r){return r instanceof _e&&(r.operator===B.And||r.operator===B.Or)}function k$(r){for(let e of r.units)for(let t of e.update)if(t.kind===p.Binding)switch(t.bindingKind){case X.ClassName:if(t.expression instanceof Ye)throw new Error("Unexpected interpolation in ClassName binding");M.replace(t,iR(t.target,t.name,t.expression,t.sourceSpan));break;case X.StyleProperty:M.replace(t,nR(t.target,t.name,t.expression,t.unit,t.sourceSpan));break;case X.Property:case X.Template:t.name==="style"?M.replace(t,sR(t.target,t.expression,t.sourceSpan)):t.name==="class"&&M.replace(t,aR(t.target,t.expression,t.sourceSpan));break}}function N$(r){for(let e of r.units)e.create.prepend(hc(e.create)),e.update.prepend(hc(e.update))}function hc(r){let e=0,t=[];for(let n of r){let i=new Map;ct(n,(l,c)=>{c&be.InChildOperation||l instanceof Jn&&i.set(l.xref,l)});let s=0,a=new Set,o=new Set,u=new Map;ct(n,(l,c)=>{c&be.InChildOperation||(l instanceof Jr?(a.has(l.xref)||(a.add(l.xref),u.set(l.xref,`tmp_${e}_${s++}`)),oy(u,l)):l instanceof Jn&&(i.get(l.xref)===l&&(o.add(l.xref),s--),oy(u,l)))}),t.push(...Array.from(new Set(u.values())).map(l=>gr(new it(l)))),e++,n.kind===p.Listener||n.kind===p.Animation||n.kind===p.AnimationListener||n.kind===p.TwoWayListener?n.handlerOps.prepend(hc(n.handlerOps)):n.kind===p.RepeaterCreate&&n.trackByOps!==null&&n.trackByOps.prepend(hc(n.trackByOps))}return t}function oy(r,e){let t=r.get(e.xref);if(t===void 0)throw new Error(`Found xref with unassigned name: ${e.xref}`);e.name=t}function q$(r){for(let e of r.units)for(let t of e.create)if(t.kind===p.RepeaterCreate)if(t.track instanceof dr&&t.track.name==="$index")t.trackByFn=K(w.repeaterTrackByIndex);else if(t.track instanceof dr&&t.track.name==="$item")t.trackByFn=K(w.repeaterTrackByIdentity);else if(D$(r.root.xref,t.track))t.usesComponentInstance=!0,t.track.receiver.receiver.view===e.xref?t.trackByFn=t.track.receiver:(t.trackByFn=K(w.componentInstance).callFn([]).prop(t.track.receiver.name),t.track=t.trackByFn);else{t.track=z(t.track,i=>{if(i instanceof Fi||i instanceof ko)throw new Error("Illegal State: Pipes are not allowed in this context");return i instanceof Qn?(t.usesComponentInstance=!0,new zf(i.view)):i},be.None);let n=new M;n.push(gr(new mt(t.track,t.track.sourceSpan))),t.trackByOps=n}}function D$(r,e){if(!(e instanceof Ut)||e.args.length===0||e.args.length>2||!(e.receiver instanceof rr&&e.receiver.receiver instanceof Qn)||e.receiver.receiver.view!==r)return!1;let[t,n]=e.args;return!(t instanceof dr)||t.name!=="$index"?!1:e.args.length===1?!0:!(!(n instanceof dr)||n.name!=="$item")}function P$(r){for(let e of r.units)for(let t of e.create)t.kind===p.RepeaterCreate&&(t.track=z(t.track,n=>{if(n instanceof ft){if(t.varNames.$index.has(n.name))return Ee("$index");if(n.name===t.varNames.$implicit)return Ee("$item")}return n},be.None))}function O$(r){for(let e of r.units)for(let t of e.create)t.kind===p.TwoWayListener&&et(t,n=>{if(!(n instanceof Gl))return n;let{target:i,value:s}=n;if(i instanceof rr||i instanceof gn)return JE(i,s).or(i.set(s));if(i instanceof vn)return JE(i,s);throw new Error("Unsupported expression in two-way action binding.")},be.InChildOperation)}function R$(r){for(let e of r.units){let t=0;for(let n of e.ops())Qh(n)&&(t+=L$(n));for(let n of e.ops())ct(n,i=>{Qr(i)&&(r.compatibility===jt.TemplateDefinitionBuilder&&i instanceof Bi||(EE(i)&&(i.varOff
39set=t),Qh(i)&&(t+=uy(i))))});if(r.compatibility===jt.TemplateDefinitionBuilder)for(let n of e.ops())ct(n,i=>{!Qr(i)||!(i instanceof Bi)||(EE(i)&&(i.varOffset=t),Qh(i)&&(t+=uy(i)))});e.vars=t}if(r instanceof Do)for(let e of r.units)for(let t of e.create){if(t.kind!==p.Template&&t.kind!==p.RepeaterCreate&&t.kind!==p.ConditionalCreate&&t.kind!==p.ConditionalBranchCreate)continue;let n=r.views.get(t.xref);t.vars=n.vars}}function L$(r){let e;switch(r.kind){case p.Attribute:return e=1,r.expression instanceof Ye&&!M$(r.expression)&&(e+=r.expression.expressions.length),e;case p.Property:case p.DomProperty:return e=1,r.expression instanceof Ye&&(e+=r.expression.expressions.length),e;case p.TwoWayProperty:return 1;case p.StyleProp:case p.ClassProp:case p.StyleMap:case p.ClassMap:return e=2,r.expression instanceof Ye&&(e+=r.expression.expressions.length),e;case p.InterpolateText:return r.interpolation.expressions.length;case p.I18nExpression:case p.Conditional:case p.DeferWhen:case p.StoreLet:return 1;case p.RepeaterCreate:return r.emptyView?1:0;default:throw new Error(`Unhandled op: ${p[r.kind]}`)}}function uy(r){switch(r.kind){case Q.PureFunctionExpr:return 1+r.args.length;case Q.PipeBinding:return 1+r.args.length;case Q.PipeBindingVariadic:return 1+r.numArgs;case Q.StoreLet:return 1;default:throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${r.constructor.name}`)}}function M$(r){return!(r.expressions.length!==1||r.strings.length!==2||r.strings[0]!==""||r.strings[1]!=="")}function B$(r){for(let e of r.units){Yu(e.create),Yu(e.update);for(let t of e.create)t.kind===p.Listener||t.kind===p.Animation||t.kind===p.AnimationListener||t.kind===p.TwoWayListener?Yu(t.handlerOps):t.kind===p.RepeaterCreate&&t.trackByOps!==null&&Yu(t.trackByOps);Zu(e.create,r.compatibility),Zu(e.update,r.compatibility);for(let t of e.create)t.kind===p.Listener||t.kind===p.Animation||t.kind===p.AnimationListener||t.kind===p.TwoWayListener?Zu(t.handlerOps,r.compatibility):t.kind===p.RepeaterCreate&&t.trackByOps!==null&&Zu(t.trackByOps,r.compatibility)}}var Je;(function(r){r[r.None=0]="None",r[r.ViewContextRead=1]="ViewContextRead",r[r.ViewContextWrite=2]="ViewContextWrite",r[r.SideEffectful=4]="SideEffectful"})(Je||(Je={}));function Yu(r){let e=new Map;for(let t of r)t.kind===p.Variable&&t.flags&Kt.AlwaysInline&&(ct(t,n=>{if(Qr(n)&&rd(n)!==Je.None)throw new Error("AssertionError: A context-sensitive variable was marked AlwaysInline")}),e.set(t.xref,t)),et(t,n=>n instanceof vn&&e.has(n.xref)?e.get(n.xref).initializer.clone():n,be.None);for(let t of e.values())M.remove(t)}function Zu(r,e){let t=new Map,n=new Map,i=new Set,s=new Map;for(let l of r){if(l.kind===p.Variable){if(t.has(l.xref)||n.has(l.xref))throw new Error(`Should not see two declarations of the same variable: ${l.xref}`);t.set(l.xref,l),n.set(l.xref,0)}s.set(l,F$(l)),$$(l,n,i)}let a=!1;for(let l of r.reversed()){let c=s.get(l);if(l.kind===p.Variable&&n.get(l.xref)===0){if(a&&c.fences&Je.ViewContextWrite||c.fences&Je.SideEffectful){let h=gr(l.initializer.toStmt());s.set(h,c),M.replace(l,h)}else U$(l,n),M.remove(l);s.delete(l),t.delete(l.xref),n.delete(l.xref);continue}c.fences&Je.ViewContextRead&&(a=!0)}let o=[];for(let[l,c]of n){let d=!!(t.get(l).flags&Kt.AlwaysInline);c!==1||d||i.has(l)||o.push(l)}let u;for(;u=o.pop();){let l=t.get(u),c=s.get(l);if(!!(l.flags&Kt.AlwaysInline))throw new Error("AssertionError: Found an 'AlwaysInline' variable after the always inlining pass.");for(let d=l.next;d.kind!==p.ListEnd;d=d.next){let f=s.get(d);if(f.variablesUsed.has(u)){if(e===jt.TemplateDefinitionBuilder&&!V$(l,d))break;if(j$(u,l.initializer,d,c.fences)){f.variablesUsed.delete(u);for(let m of c.variablesUsed)f.variablesUsed.add(m);f.fences|=c.fences,t.delete(u),n.delete(u),s.delete(l),M.remove(l)}break}if(!$S(f.fences,c.fences))break}}}function rd(r){switch(r.kind){case Q.NextContext:return Je.ViewContextRead|Je.ViewContextWrite;case Q.RestoreView:return Je.ViewContextRead|Je.ViewContextWrite|Je.SideEffectful;case Q.StoreLet:return Je.SideEffectful;case Q.Reference:case Q.ContextLetReference:return Je.ViewContextRead;default:return Je.None}}function F$(r){let e=Je.None,t=new Set;return ct(r,n=>{if(Qr(n))switch(n.kind){case Q.ReadVariable:t.add(n.xref);break;default:e|=rd(n)}}),{fences:e,variablesUsed:t}}function $$(r,e,t){ct(r,(n,i)=>{if(!Qr(n)||n.kind!==Q.ReadVariable)return;let s=e.get(n.xref);s!==void 0&&(e.set(n.xref,s+1),i&be.InChildOperation&&t.add(n.xref))})}function U$(r,e){ct(r,t=>{if(!Qr(t)||t.kind!==Q.ReadVariable)return;let n=e.get(t.xref);if(n!==void 0){if(n===0)throw new Error(`Inaccurate variable count: ${t.xref} - found another read but count is already 0`);e.set(t.xref,n-1)}})}function $S(r,e){if(r&Je.ViewContextWrite){if(e&Je.ViewContextRead)return!1}else if(r&Je.ViewContextRead&&e&Je.ViewContextWrite)return!1;return!0}function j$(r,e,t,n){let i=!1,s=!0;return et(t,(a,o)=>
39{if(!Qr(a)||i||!s)return a;if(o&be.InChildOperation&&n&Je.ViewContextRead)return a;switch(a.kind){case Q.ReadVariable:if(a.xref===r)return i=!0,e;break;default:let u=rd(a);s=s&&$S(u,n);break}return a},be.None),i}function V$(r,e){switch(r.variable.kind){case st.Identifier:return r.initializer instanceof dr&&r.initializer.name==="ctx";case st.Context:return e.kind===p.Variable;default:return!0}}function H$(r){for(let e of r.units){let t=null,n=null;for(let i of e.create)switch(i.kind){case p.I18nStart:t=i;break;case p.I18nEnd:t=null;break;case p.IcuStart:t===null&&(n=r.allocateXrefId(),M.insertBefore(Tc(n,i.message,void 0,null),i));break;case p.IcuEnd:n!==null&&(M.insertAfter(bc(n,null),i),n=null);break}}}var W$=[{kind:G.Tmpl,fn:xB},{kind:G.Host,fn:RL},{kind:G.Tmpl,fn:sB},{kind:G.Tmpl,fn:kB},{kind:G.Tmpl,fn:H$},{kind:G.Both,fn:rL},{kind:G.Both,fn:k$},{kind:G.Both,fn:UR},{kind:G.Both,fn:QR},{kind:G.Both,fn:BR},{kind:G.Tmpl,fn:tL},{kind:G.Both,fn:oB},{kind:G.Tmpl,fn:s$},{kind:G.Both,fn:HR},{kind:G.Both,fn:wB},{kind:G.Tmpl,fn:WR},{kind:G.Tmpl,fn:bB},{kind:G.Tmpl,fn:nL},{kind:G.Tmpl,fn:IB},{kind:G.Both,fn:DB},{kind:G.Tmpl,fn:NL},{kind:G.Tmpl,fn:kL},{kind:G.Tmpl,fn:qL},{kind:G.Tmpl,fn:S$},{kind:G.Both,fn:DR},{kind:G.Both,fn:h$},{kind:G.Tmpl,fn:P$},{kind:G.Tmpl,fn:o$},{kind:G.Both,fn:m$},{kind:G.Tmpl,fn:iL},{kind:G.Tmpl,fn:O$},{kind:G.Tmpl,fn:q$},{kind:G.Both,fn:l$},{kind:G.Both,fn:E$},{kind:G.Tmpl,fn:nB},{kind:G.Both,fn:lL},{kind:G.Both,fn:b$},{kind:G.Both,fn:N$},{kind:G.Both,fn:B$},{kind:G.Both,fn:_$},{kind:G.Tmpl,fn:rB},{kind:G.Tmpl,fn:eL},{kind:G.Tmpl,fn:u$},{kind:G.Tmpl,fn:LR},{kind:G.Tmpl,fn:OR},{kind:G.Tmpl,fn:x$},{kind:G.Tmpl,fn:f$},{kind:G.Tmpl,fn:p$},{kind:G.Tmpl,fn:TL},{kind:G.Tmpl,fn:KM},{kind:G.Tmpl,fn:PL},{kind:G.Both,fn:YR},{kind:G.Tmpl,fn:a$},{kind:G.Both,fn:R$},{kind:G.Tmpl,fn:IL},{kind:G.Both,fn:uB},{kind:G.Tmpl,fn:c$},{kind:G.Tmpl,fn:hB},{kind:G.Tmpl,fn:pB},{kind:G.Tmpl,fn:uL},{kind:G.Tmpl,fn:MR},{kind:G.Tmpl,fn:mB},{kind:G.Both,fn:qB},{kind:G.Both,fn:e$},{kind:G.Both,fn:VR}];function US(r,e){for(let t of W$)(t.kind===e||t.kind===G.Both)&&t.fn(r)}function G$(r,e){let t=VS(r.root);return jS(r.root,e),t}function jS(r,e){for(let t of r.job.units){if(t.parent!==r.xref)continue;jS(t,e);let n=VS(t);e.statements.push(n.toDeclStmt(n.name))}}function VS(r){if(r.fnName===null)throw new Error(`AssertionError: view ${r.xref} is unnamed`);let e=[];for(let s of r.create){if(s.kind!==p.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${p[s.kind]}`);e.push(s.statement)}let t=[];for(let s of r.update){if(s.kind!==p.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${p[s.kind]}`);t.push(s.statement)}let n=fc(1,e),i=fc(2,t);return zn([new lt("rf"),new lt("ctx")],[...n,...i],void 0,void 0,r.fnName)}function fc(r,e){return e.length===0?[]:[yc(new _e(B.BitwiseAnd,Ee("rf"),A(r)),e)]}function z$(r){if(r.root.fnName===null)throw new Error("AssertionError: host binding function is unnamed");let e=[];for(let s of r.root.create){if(s.kind!==p.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${p[s.kind]}`);e.push(s.statement)}let t=[];for(let s of r.root.update){if(s.kind!==p.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${p[s.kind]}`);t.push(s.statement)}if(e.length===0&&t.length===0)return null;let n=fc(1,e),i=fc(2,t);return zn([new lt("rf"),new lt("ctx")],[...n,...i],void 0,void 0,r.root.fnName)}var HS=jt.TemplateDefinitionBuilder,Ti=new Gs,bi="ng-template",X$="animate.";function il(r){return r instanceof At}function Y$(r){return il(r)&&r.nodes.length===1&&r.nodes[0]instanceof Ll}function Z$(r,e,t,n,i,s,a,o,u,l){let c=new Do(r,t,HS,n,i,s,a,o,u,l);return Sn(c.root,e),c}function K$(r,e,t){let n=new Ql(r.componentName,t,HS,Mt.DomOnly);for(let i of r.properties??[]){let s=X.Property;i.name.startsWith("attr.")&&(i.name=i.name.substring(5),s=X.Attribute),i.isLegacyAnimation&&(s=X.LegacyAnimation),i.isAnimation&&(s=X.Animation);let a=e.calcPossibleSecurityContexts(r.componentSelector,i.name,s===X.Attribute).filter(o=>
39o!==Re.NONE);Q$(n,i,s,a)}for(let[i,s]of Object.entries(r.attributes)??[]){let a=e.calcPossibleSecurityContexts(r.componentSelector,i,!0).filter(o=>o!==Re.NONE);J$(n,i,s,a)}for(let i of r.events??[])e8(n,i);return n}function Q$(r,e,t,n){let i,s=e.expression.ast;s instanceof Vo?i=new Ye(s.strings,s.expressions.map(a=>ge(a,r,e.sourceSpan)),[]):i=ge(s,r,e.sourceSpan),r.root.update.push(Mi(r.root.xref,t,e.name,i,null,n,!1,!1,null,null,e.sourceSpan))}function J$(r,e,t,n){let i=Mi(r.root.xref,X.Attribute,e,t,null,n,!0,!1,null,null,t.sourceSpan);r.root.update.push(i)}function e8(r,e){let t;if(e.type===wt.Animation)t=vS(r.root.xref,new Et,e.name,null,Mo(r.root,e.handler,e.handlerSpan),e.name.endsWith("enter")?"enter":"leave",e.targetOrPhase,!0,e.sourceSpan);else{let[n,i]=e.type!==wt.LegacyAnimation?[null,e.targetOrPhase]:[e.targetOrPhase,null];t=Kp(r.root.xref,new Et,e.name,null,Mo(r.root,e.handler,e.handlerSpan),n,i,!0,e.sourceSpan)}r.root.create.push(t)}function Sn(r,e){for(let t of e)if(t instanceof Zr)t8(r,t);else if(t instanceof er)r8(r,t);else if(t instanceof Ms)n8(r,t);else if(t instanceof Ei)WS(r,t,null);else if(t instanceof Os)GS(r,t,null);else if(t instanceof Ol)i8(r,t);else if(t instanceof Pl)s8(r,t);else if(t instanceof Pi)a8(r,t);else if(t instanceof By)u8(r,t);else if(t instanceof Ls)l8(r,t);else if(t instanceof Up)h8(r,t);else if(!(t instanceof Ua))throw new Error(`Unsupported template node: ${t.constructor.name}`)}function t8(r,e){if(e.i18n!==void 0&&!(e.i18n instanceof At||e.i18n instanceof Yn))throw Error(`Unhandled i18n metadata type for element: ${e.i18n.constructor.name}`);let t=r.job.allocateXrefId(),[n,i]=Dr(e.name),s=dR(i,t,wS(n),e.i18n instanceof Yn?e.i18n:void 0,e.startSourceSpan,e.sourceSpan);r.create.push(s),p8(r,s,e),YS(s,e);let a=null;e.i18n instanceof At&&(a=r.job.allocateXrefId(),r.create.push(Tc(a,e.i18n,void 0,e.startSourceSpan))),Sn(r,e.children);let o=vR(t,e.endSourceSpan??e.startSourceSpan);r.create.push(o),a!==null&&M.insertBefore(bc(a,e.endSourceSpan??e.startSourceSpan),o)}function r8(r,e){if(e.i18n!==void 0&&!(e.i18n instanceof At||e.i18n instanceof Yn))throw Error(`Unhandled i18n metadata type for template: ${e.i18n.constructor.name}`);let t=r.job.allocateView(r.xref),n=e.tagName,i="";e.tagName&&([i,n]=Dr(e.tagName));let s=e.i18n instanceof Yn?e.i18n:void 0,a=wS(i),o=n===null?"":XR(n,a),u=f8(e)?It.NgTemplate:It.Structural,l=fS(t.xref,u,n,o,a,s,e.startSourceSpan,e.sourceSpan);r.create.push(l),d8(r,l,e,u),YS(l,e),Sn(t,e.children);for(let{name:c,value:h}of e.variables)t.contextVariables.set(c,h!==""?h:"$implicit");if(u===It.NgTemplate&&e.i18n instanceof At){let c=r.job.allocateXrefId();M.insertAfter(Tc(c,e.i18n,void 0,e.startSourceSpan),t.create.head),M.insertBefore(bc(c,e.endSourceSpan??e.startSourceSpan),t.create.tail)}}function n8(r,e){if(e.i18n!==void 0&&!(e.i18n instanceof Yn))throw Error(`Unhandled i18n metadata type for element: ${e.i18n.constructor.name}`);let t=null;e.children.some(s=>!(s instanceof wc)&&(!(s instanceof Ei)||s.value.trim().length>0))&&(t=r.job.allocateView(r.xref),Sn(t,e.children));let n=r.job.allocateXrefId(),i=_R(n,e.selector,e.i18n,t?.xref??null,e.sourceSpan);for(let s of e.attributes){let a=Ti.securityContext(e.name,s.name,!0);r.update.push(Mi(i.xref,X.Attribute,s.name,A(s.value),null,a,!0,!1,null,pn(s.i18n),s.sourceSpan))}r.create.push(i)}function WS(r,e,t){r.create.push(mS(r.job.allocateXrefId(),e.value,t,e.sourceSpan))}function GS(r,e,t){let n=e.value;if(n instanceof Yt&&(n=n.ast),!(n instanceof Vo))throw new Error(`AssertionError: expected Interpolation for BoundText node, got ${n.constructor.name}`);if(e.i18n!==void 0&&!(e.i18n instanceof mn))throw Error(`Unhandled i18n metadata type for text interpolation: ${e.i18n?.constructor.name}`);let i=e.i18n instanceof mn?e.i18n.children.filter(o=>o instanceof Eo).map(o=>o.name):[];if(i.length>0&&i.length!==n.expressions.length)throw Error(`Unexpected number of i18n placeholders (${n.expressions.length}) for BoundText with ${n.expressions.length} expressions`);let s=r.job.allocateXrefId();r.create.push(mS(s,"",t,e.sourceSpan));let a=r.job.compatibility?null:e.sourceSpan;r.update.push(eR(s,new Ye(n.strings,n.expressions.map(o=>ge(o,r.job,a)),i),e.sourceSpan))}function i8(r,e){let t=null,n=[];for(let i=0;i<e.branches.length;i++){let s=e.branches[i],a=r.job.allocateView(r.xref),o=pc(r,a.xref,s);s.expressionAlias!==null&&a.contextVariables.set(s.expressionAlias.name,SS);let u;if(s.i18n!==void 0){if(!(s.i18n instanceof Zn))throw Error(`Unhandled i18n metadata type for if block: ${s.i18n?.constructor.name}`);u=s.i18n}let c=(i===0?pS:dS)(a.xref,It.Block,o,"Conditional",dt.HTML,u,s.startSourceSpan,s.sourceSpan);r.create.push(c),t===null&&(t=a.xref);let h=s.expression?ge(s.expression,r.job,null):null,d=new Xl(h,c.xref,c.handle,s.expressionAlias);n.push(d),Sn(a,s.children)}r.update.push(lS(t,null,n,e.sourceSpan))}function s8(r,e){if(e.cases.length===0)return;let t=null,n=[];for(let i=0;i<e.cases.length;i++){let s=e.cases[i],a=r.job.allocateView(r.xref),o=pc(r,a.xref,s),u;if(s.i18n!==void 0){if(!(s.i18n instanceof Zn))throw Error(`Unhandled i18n metadata type for switch block: ${s.i18n?.constructor.name}`);u=s.i18n}let c=(i===0?pS:dS)(a.xref,It.Block,o,"Case",dt.HTML,u,s.startSourceSpan,s.sourceSpan);r.create.push(c),t===null&&(t=a.xref);let h=s.expression?ge(s.expression,r.job,e.startSourceSpan):null,d=new Xl(h,c.xref,c.handle);n.push(d),Sn(a,s.children)}r.update.push(lS(t,ge(e.expression,r.job,null),n,e.sourceSpan))}function Ku(r,e,t,n,i){if(t!==void 0&&!(t instanceof Zn))throw Error("Unhandled i18n metadata type for defer block");if(n===void 0)return null;let s=r.job.allocateView(r.xref);Sn(s,n);let a=fS(s.xref,It.Block,null,`Defer${e}`,dt.HTML,t,i,i);return r.create.push(a),a}function a8(r,e){let t=null;if(r.job.deferMeta.mode===0){if(!r.job.deferMeta.blocks.has(e))throw new Error("AssertionError: unable to find a dependency function for this deferred block");t=r.job.deferMeta.blocks.get(e)??null}let n=Ku(r,"",e.i18n,e.children,e.sourceSpan),i=Ku(r,"Loading",e.loading?.i18n,e.loading?.children,e.loading?.sourceSpan),s=Ku(r,"Placeholder",e.placeholder?.i18n,e.placeholder?.children,e.placeholder?.sourceSpan),a=Ku(r,"Error",e.error?.i18n,e.error?.children,e.error?.sourceSpan),o=r.job.allocateXrefId(),u=TR(o,n.xref,n.handle,t,r.job.allDeferrableDepsFn,e.sourceSpan);u.placeholderView=s?.xref??null,u.placeholderSlot=s?.handle??null,u.loadingSlot=i?.handle??null,u.errorSlot=a?.handle??null,u.placeholderMinimumTime=e.placeholder?.minimumTime??null,u.loadingMinimumTime=e.loading?.minimumTime??null,u.loadingAfterTime=e.loading?.afterTime??null,u.flags=o8(e),r.create.push(u);let l=[],c=[];nf("hydrate",e.hydrateTriggers,l,c,r,o),nf("none",e.triggers,l,c,r,o),nf("prefetch",e.prefetchTriggers,l,c,r,o),l.some(d=>d.modifier==="none")||c.some(d=>d.modifier==="none")||l.push(Bn(o,{kind:Ne.Idle},"none",null)),r.create.push(l),r.update.push(c)}function o8(r){return Object.keys(r.hydrateTriggers).length>0?1:null}function nf(r,e,t,n,i,s){if(e.idle!==void 0){let a=Bn(s,{kind:Ne.Idle},r,e.idle.sourceSpan);t.push(a)}if(e.immediate!==void 0){let a=Bn(s,{kind:Ne.Immediate},r,e.immediate.sourceSpan);t.push(a)}if(e.timer!==void 0){let a=Bn(s,{kind:Ne.Timer,delay:e.timer.delay},r,e.timer.sourceSpan);t.push(a)}if(e.hover!==void 0){let a=Bn(s,{kind:Ne.Hover,targetName:e.hover.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},r,e.hover.sourceSpan);t.push(a)}if(e.interaction!==void 0){let a=Bn(s,{kind:Ne.Interaction,targetName:e.interaction.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},r,e.interaction.sourceSpan);t.push(a)}if(e.viewport!==void 0){let a=Bn(s,{kind:Ne.Viewport,targetName:e.viewport.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},r,e.viewport.sourceSpan);t.push(a)}if(e.never!==void 0){let a=Bn(s,{kind:Ne.Never},r,e.never.sourceSpan);t.push(a)}if(e.when!==void 0){if(e.when.value instanceof Vo)throw new Error("Unexpected interpolation in defer block when trigger");let a=cR(s,ge(e.when.value,i.job,e.when.sourceSpan),r,e.when.sourceSpan);n.push(a)}}function u8(r,e){if(e.i18n instanceof At&&Y$(e.i18n)){let t=r.job.allocateXrefId();r.create.push(AR(t,e.i18n,Uy(e.i18n).name,null));for(let[n,i]of Object.entries({...e.vars,...e.placeholders}))i instanceof Os?GS(r,i,n):WS(r,i,n);r.create.push(IR(t))}else throw Error(`Unhandled i18n metadata type for ICU: ${e.i18n?.constructor.name}`)}function l8(r,e){let t=r.job.allocateView(r.xref),n=`\u0275$index_${t.xref}`,i=`\u0275$count_${t.xref}`,s=new Set;t.contextVariables.set(e.item.name,e.item.value);for(let E of e.contextVariables)E.value==="$index"&&s.add(E.name),E.name==="$index"?t.contextVariables.set("$index",E.value).set(n,E.value):E.name==="$count"?t.contextVariables.set("$count",E.value).set(i,E.value):t.aliases.add({kind:st.Alias,name:null,identifier:E.name,expression:c8(E,n,i)});let a=rt(e.trackBy.span,e.sourceSpan),o=ge(e.trackBy,r.job,a);Sn(t,e.children);let u=null,l=null;e.empty!==null&&(u=r.job.allocateView(r.xref),Sn(u,e.empty.children),l=pc(r,u.xref,e.empty));let c={$index:s,$implicit:e.item.name};if(e.i18n!==void 0&&!(e.i18n instanceof Zn))throw Error("AssertionError: Unhandled i18n metadata type or @for");
39if(e.empty?.i18n!==void 0&&!(e.empty.i18n instanceof Zn))throw Error("AssertionError: Unhandled i18n metadata type or @empty");let h=e.i18n,d=e.empty?.i18n,f=pc(r,t.xref,e),m=mR(t.xref,u?.xref??null,f,o,c,l,h,d,e.startSourceSpan,e.sourceSpan);r.create.push(m);let S=ge(e.expression,r.job,rt(e.expression.span,e.sourceSpan)),g=lR(m.xref,m.handle,S,e.sourceSpan);r.update.push(g)}function c8(r,e,t){switch(r.value){case"$index":return new ft(e);case"$count":return new ft(t);case"$first":return new ft(e).identical(A(0));case"$last":return new ft(e).identical(new ft(t).minus(A(1)));case"$even":return new ft(e).modulo(A(2)).identical(A(0));case"$odd":return new ft(e).modulo(A(2)).notIdentical(A(0));default:throw new Error(`AssertionError: unknown @for loop variable ${r.value}`)}}function h8(r,e){let t=r.job.allocateXrefId();r.create.push(bR(t,e.name,e.sourceSpan)),r.update.push(fR(t,e.name,ge(e.value,r.job,e.valueSpan),e.sourceSpan))}function ge(r,e,t){if(r instanceof Yt)return ge(r.ast,e,t);if(r instanceof dn)return r.receiver instanceof Yr&&!(r.receiver instanceof qi)?new ft(r.name):new rr(ge(r.receiver,e,t),r.name,null,rt(r.span,t));if(r instanceof Ps){if(r.receiver instanceof Yr)throw new Error("Unexpected ImplicitReceiver");return new Ut(ge(r.receiver,e,t),r.args.map(n=>ge(n,e,t)),void 0,rt(r.span,t))}else{if(r instanceof Xt)return A(r.value,void 0,rt(r.span,t));if(r instanceof Ts)switch(r.operator){case"+":return new Ii(Is.Plus,ge(r.expr,e,t),void 0,rt(r.span,t));case"-":return new Ii(Is.Minus,ge(r.expr,e,t),void 0,rt(r.span,t));default:throw new Error(`AssertionError: unknown unary operator ${r.operator}`)}else if(r instanceof Tt){let n=GR.get(r.operation);if(n===void 0)throw new Error(`AssertionError: unknown binary operator ${r.operation}`);return new _e(n,ge(r.left,e,t),ge(r.right,e,t),void 0,rt(r.span,t))}else{if(r instanceof qi)return new Qn(e.root.xref);if(r instanceof Di)return new gn(ge(r.receiver,e,t),ge(r.key,e,t),void 0,rt(r.span,t));if(r instanceof Ds)throw new Error("AssertionError: Chain in unknown context");if(r instanceof _l){let n=r.keys.map((i,s)=>{let a=r.values[s];return new Ns(i.key,ge(a,e,t),i.quoted)});return new Xr(n,void 0,rt(r.span,t))}else{if(r instanceof xl)return new Nr(r.expressions.map(n=>ge(n,e,t)));if(r instanceof Sl)return new zr(ge(r.condition,e,t),ge(r.trueExp,e,t),ge(r.falseExp,e,t),void 0,rt(r.span,t));if(r instanceof so)return ge(r.expression,e,t);if(r instanceof wl)return new Fi(e.allocateXrefId(),new Et,r.name,[ge(r.exp,e,t),...r.args.map(n=>ge(n,e,t))]);if(r instanceof to)return new Vs(ge(r.receiver,e,t),ge(r.key,e,t),rt(r.span,t));if(r instanceof eo)return new js(ge(r.receiver,e,t),r.name);if(r instanceof Tl)return new $i(ge(r.receiver,e,t),r.args.map(n=>ge(n,e,t)));if(r instanceof Lt)return new No(rt(r.span,t));if(r instanceof ro)return fP(ge(r.expression,e,t),rt(r.span,t));if(r instanceof no)return jo(ge(r.expression,e,t));if(r instanceof io)return new fl(ge(r.expression,e,t),void 0,rt(r.span,t));if(r instanceof oo)return ly(r,e,t);if(r instanceof ao)return new za(ge(r.tag,e,t),ly(r.template,e,t),void 0,rt(r.span,t));if(r instanceof uo)return new kr(ge(r.expression,e,t),void 0,rt(r.span,t));throw new Error(`Unhandled expression type "${r.constructor.name}" in file "${t?.start.file.url}"`)}}}}function ly(r,e,t){return new Ya(r.elements.map(n=>new pl(n.text,rt(n.span,t))),r.expressions.map(n=>ge(n,e,t)),rt(r.span,t))}function yp(r,e,t,n){let i;return e instanceof Vo?i=new Ye(e.strings,e.expressions.map(s=>ge(s,r,null)),Object.keys(pn(t)?.placeholders??{})):e instanceof He?i=ge(e,r,null):i=A(e),i}var zS=new Map([[Te.Property,X.Property],[Te.TwoWay,X.TwoWayProperty],[Te.Attribute,X.Attribute],[Te.Class,X.ClassName],[Te.Style,X.StyleProperty],[Te.LegacyAnimation,X.LegacyAnimation],[Te.Animation,X.Animation]]);function f8(r){return Dr(r.tagName??"")[1]===bi}function pn(r){if(r==null)return null;if(!(r instanceof At))throw Error(`Expected i18n meta to be a Message, but got: ${r.constructor.name}`);return r}function p8(r,e,t){let n=new Array,i=new Set;for(let s of t.attributes){let a=Ti.securityContext(t.name,s.name,!0);n.push(Mi(e.xref,X.Attribute,s.name,yp(r.job,s.value,s.i18n),null,a,
39!0,!1,null,pn(s.i18n),s.sourceSpan)),s.i18n&&i.add(s.name)}for(let s of t.inputs)i.has(s.name)&&console.error(`On component ${r.job.componentName}, the binding ${s.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`),n.push(Mi(e.xref,zS.get(s.type),s.name,yp(r.job,Bo(s.value),s.i18n),s.unit,s.securityContext,!1,!1,null,pn(s.i18n)??null,s.sourceSpan));r.create.push(n.filter(s=>s?.kind===p.ExtractedAttribute)),r.update.push(n.filter(s=>s?.kind===p.Binding));for(let s of t.outputs){if(s.type===wt.LegacyAnimation&&s.phase===null)throw Error("Animation listener should have a phase");s.type===wt.TwoWay?r.create.push(gS(e.xref,e.handle,s.name,e.tag,XS(r,s.handler,s.handlerSpan),s.sourceSpan)):s.type===wt.Animation?r.create.push(vS(e.xref,e.handle,s.name,e.tag,Mo(r,s.handler,s.handlerSpan),s.name.endsWith("enter")?"enter":"leave",s.target,!1,s.sourceSpan)):r.create.push(Kp(e.xref,e.handle,s.name,e.tag,Mo(r,s.handler,s.handlerSpan),s.phase,s.target,!1,s.sourceSpan))}n.some(s=>s?.i18nMessage)!==null&&r.create.push(yS(r.job.allocateXrefId(),new Et,e.xref))}function d8(r,e,t,n){let i=new Array;for(let s of t.templateAttrs)if(s instanceof Rs){let a=Ti.securityContext(bi,s.name,!0);i.push(Qu(r,e.xref,Te.Attribute,s.name,s.value,null,a,!0,n,pn(s.i18n),s.sourceSpan))}else i.push(Qu(r,e.xref,s.type,s.name,Bo(s.value),s.unit,s.securityContext,!0,n,pn(s.i18n),s.sourceSpan));for(let s of t.attributes){let a=Ti.securityContext(bi,s.name,!0);i.push(Qu(r,e.xref,Te.Attribute,s.name,s.value,null,a,!1,n,pn(s.i18n),s.sourceSpan))}for(let s of t.inputs)i.push(Qu(r,e.xref,s.type,s.name,Bo(s.value),s.unit,s.securityContext,!1,n,pn(s.i18n),s.sourceSpan));r.create.push(i.filter(s=>s?.kind===p.ExtractedAttribute)),r.update.push(i.filter(s=>s?.kind===p.Binding));for(let s of t.outputs){if(s.type===wt.LegacyAnimation&&s.phase===null)throw Error("Animation listener should have a phase");if(n===It.NgTemplate&&(s.type===wt.TwoWay?r.create.push(gS(e.xref,e.handle,s.name,e.tag,XS(r,s.handler,s.handlerSpan),s.sourceSpan)):r.create.push(Kp(e.xref,e.handle,s.name,e.tag,Mo(r,s.handler,s.handlerSpan),s.phase,s.target,!1,s.sourceSpan))),n===It.Structural&&s.type!==wt.LegacyAnimation){let a=Ti.securityContext(bi,s.name,!1);r.create.push(cr(e.xref,X.Property,null,s.name,null,null,null,a))}}i.some(s=>s?.i18nMessage)!==null&&r.create.push(yS(r.job.allocateXrefId(),new Et,e.xref))}function Qu(r,e,t,n,i,s,a,o,u,l,c){let h=typeof i=="string";if(u===It.Structural){if(!o)switch(t){case Te.Property:case Te.Class:case Te.Style:return cr(e,X.Property,null,n,null,null,l,a);case Te.TwoWay:return cr(e,X.TwoWayProperty,null,n,null,null,l,a)}if(!h&&(t===Te.Attribute||t===Te.LegacyAnimation||t===Te.Animation))return null}let d=zS.get(t);return u===It.NgTemplate&&(t===Te.Class||t===Te.Style||t===Te.Attribute&&!h)&&(d=X.Property),Mi(e,d,n,yp(r.job,i,l),s,a,h,o,u,l,c)}function Mo(r,e,t){e=Bo(e);let n=new Array,i=e instanceof Ds?e.expressions:[e];if(i.length===0)throw new Error("Expected listener to have non-empty expression list.");let s=i.map(o=>ge(o,r.job,t)),a=s.pop();return n.push(...s.map(o=>gr(new mr(o,o.sourceSpan)))),n.push(gr(new mt(a,a.sourceSpan))),n}function XS(r,e,t){e=Bo(e);let n=new Array;if(e instanceof Ds)if(e.expressions.length===1)e=e.expressions[0];else throw new Error("Expected two-way listener to have a single expression.");let i=ge(e,r.job,t),s=new ft("$event"),a=new Gl(i,s);return n.push(gr(new mr(a))),n.push(gr(new mt(s))),n}function Bo(r){return r instanceof Yt?r.ast:r}function YS(r,e){m8(r.localRefs);for(let{name:t,value:n}of e.references)r.localRefs.push({name:t,target:n})}function m8(r){if(!Array.isArray(r))throw new Error("AssertionError: expected an array")}function rt(r,e){if(e===null)return null;let t=e.start.moveBy(r.start),n=e.start.moveBy(r.end),i=e.fullStart.moveBy(r.start);return new ce(t,n,i)}function pc(r,e,t){let n=null;for(let i of t.children)if(!(i instanceof wc||i instanceof Up)){if(n!==null)return null;if(i instanceof Zr||i instanceof er&&i.tagName!==null)n=i;else return null}if(n!==null){for(let s of n.attributes)if(!s.name.startsWith(X$)){let a=Ti.securityContext(bi,s.name,!0);
39r.update.push(Mi(e,X.Attribute,s.name,A(s.value),null,a,!0,!1,null,pn(s.i18n),s.sourceSpan))}for(let s of n.inputs)if(s.type!==Te.LegacyAnimation&&s.type!==Te.Animation&&s.type!==Te.Attribute){let a=Ti.securityContext(bi,s.name,!0);r.create.push(cr(e,X.Property,null,s.name,null,null,null,a))}let i=n instanceof Zr?n.name:n.tagName;return i===bi?null:i}return null}var v8=!1;function g8(){return v8}function dc(r,e){return yc(Ee(Hp).bitwiseAnd(A(r),null),e)}function E8(r){return(r.descendants?1:0)|(r.static?2:0)|(r.emitDistinctChangesOnly?4:0)}function y8(r,e){if(Array.isArray(r.predicate)){let t=[];return r.predicate.forEach(n=>{let i=n.split(",").map(s=>A(s.trim()));t.push(...i)}),e.getConstLiteral(Ae(t),!0)}else switch(r.predicate.forwardRef){case 0:case 2:return r.predicate.expression;case 1:return K(w.resolveForwardRef).callFn([r.predicate.expression])}}function ZS(r,e,t,n){let i=[];n!==void 0&&i.push(...n),r.isSignal&&i.push(new rr(Ee(yo),r.propertyName)),i.push(y8(r,e),A(E8(r))),r.read&&i.push(r.read);let s=r.isSignal?t.signalBased:t.nonSignal;return K(s).callFn(i)}var nd=Symbol("queryAdvancePlaceholder");function KS(r){let e=[],t=0,n=()=>{t>0&&(e.unshift(K(w.queryAdvance).callFn(t===1?[]:[A(t)]).toStmt()),t=0)};for(let i=r.length-1;i>=0;i--){let s=r[i];s===nd?t++:(n(),e.unshift(s))}return n(),e}function S8(r,e,t){let n=[],i=[],s=jy(o=>i.push(o),Vp);r.forEach(o=>{let u=ZS(o,e,{signalBased:w.viewQuerySignal,nonSignal:w.viewQuery});if(n.push(u.toStmt()),o.isSignal){i.push(nd);return}let l=s(),c=K(w.loadQuery).callFn([]),h=K(w.queryRefresh).callFn([l.set(c)]),d=Ee(yo).prop(o.propertyName).set(o.first?l.prop("first"):l);i.push(h.and(d).toStmt())});let a=t?`${t}_Query`:null;return zn([new lt(Hp,Bp),new lt(yo,null)],[dc(1,n),dc(2,KS(i))],Qt,null,a)}function w8(r,e,t){let n=[],i=[],s=jy(o=>i.push(o),Vp);for(let o of r){if(n.push(ZS(o,e,{nonSignal:w.contentQuery,signalBased:w.contentQuerySignal},[Ee("dirIndex")]).toStmt()),o.isSignal){i.push(nd);continue}let u=s(),l=K(w.loadQuery).callFn([]),c=K(w.queryRefresh).callFn([u.set(l)]),h=Ee(yo).prop(o.propertyName).set(o.first?u.prop("first"):u);i.push(c.and(h).toStmt())}let a=t?`${t}_ContentQueries`:null;return zn([new lt(Hp,Bp),new lt(yo,null),new lt("dirIndex",null)],[dc(1,n),dc(2,KS(i))],Qt,null,a)}var Sp=class extends ZL{constructor(){super(pp)}parse(e,t,n){return super.parse(e,t,n)}},Ju=".",x8="attr",sf="animate",_8="class",T8="style",b8="*",af="animate-",wp=class{_exprParser;_interpolationConfig;_schemaRegistry;errors;constructor(e,t,n,i){this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=i}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(e,t){let n=[];for(let i of Object.keys(e)){let s=e[i];typeof s=="string"?this.parsePropertyBinding(i,s,!0,!1,t,t.start.offset,void 0,[],n,t):this._reportError(`Value of the host property binding "${i}" needs to be a string representing an expression but got "${s}" (${typeof s})`,t)}return n}createDirectiveHostEventAsts(e,t){let n=[];for(let i of Object.keys(e)){let s=e[i];typeof s=="string"?this.parseEvent(i,s,!1,t,t,[],n,t):this._reportError(`Value of the host listener "${i}" needs to be a string representing an expression but got "${s}" (${typeof s})`,t)}return n}parseInterpolation(e,t,n){let i=t.fullStart.offset;try{let s=this._exprParser.parseInterpolation(e,t,i,n,this._interpolationConfig);return s&&this.errors.push(...s.errors),s}catch(s){return this._reportError(`${s}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,i)}}parseInterpolationExpression(e,t){let n=t.start.offset;try{let i=this._exprParser.parseInterpolationExpression(e,t,n);return i&&this.errors.push(...i.errors),i}catch(i){return this._reportError(`${i}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,n)}}parseInlineTemplateBinding(e,t,n,i,s,a,o,u){let l=n.start.offset+b8.length,c=this._parseTemplateBindings(e,t,n,l,i);for(let h of c){let d=Ln(n,h.sourceSpan),f=h.key.source,m=Ln(n,h.key.span);if(h instanceof lo){let S=h.value?h.value.source:"$implicit",g=h.value?Ln(n,h.value.span):void 0;o.push(new Af(f,S,d,m,g))}else if(h.value){let S=u?d:n,g=Ln(n,h.value.ast.sourceSpan);this._parsePropertyAst(f,h.value,!1,S,m,g,s,a)}else s.push([f,""]),this.parseLiteralAttr(f,null,m,i,void 0,s,a,m)}}_parseTemplateBindings(e,t,n,i,s){try{let a=this._exprParser.parseTemplateBindings(e,t,n,i,s);
39return a.errors.forEach(o=>this.errors.push(o)),a.warnings.forEach(o=>{this._reportError(o,n,hn.WARNING)}),a.templateBindings}catch(a){return this._reportError(`${a}`,n),[]}}parseLiteralAttr(e,t,n,i,s,a,o,u){of(e)?(e=e.substring(1),u!==void 0&&(u=Ln(u,new Jt(u.start.offset+1,u.end.offset))),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,hn.ERROR),this._parseLegacyAnimation(e,t,n,i,u,s,a,o)):o.push(new vs(e,this._exprParser.wrapLiteralPrimitive(t,"",i),_r.LITERAL_ATTR,n,u,s))}parsePropertyBinding(e,t,n,i,s,a,o,u,l,c){e.length===0&&this._reportError("Property name is missing in binding",s);let h=!1;e.startsWith(af)?(h=!0,e=e.substring(af.length),c!==void 0&&(c=Ln(c,new Jt(c.start.offset+af.length,c.end.offset)))):of(e)&&(h=!0,e=e.substring(1),c!==void 0&&(c=Ln(c,new Jt(c.start.offset+1,c.end.offset)))),h?this._parseLegacyAnimation(e,t,s,a,c,o,u,l):e.startsWith(`${sf}${Ju}`)?this._parseAnimation(e,this.parseBinding(t,n,o||s,a),s,c,o,u,l):this._parsePropertyAst(e,this.parseBinding(t,n,o||s,a),i,s,c,o,u,l)}parsePropertyInterpolation(e,t,n,i,s,a,o,u){let l=this.parseInterpolation(t,i||n,u);return l?(this._parsePropertyAst(e,l,!1,n,o,i,s,a),!0):!1}_parsePropertyAst(e,t,n,i,s,a,o,u){o.push([e,t.source]),u.push(new vs(e,t,n?_r.TWO_WAY:_r.DEFAULT,i,s,a))}_parseAnimation(e,t,n,i,s,a,o){a.push([e,t.source]),o.push(new vs(e,t,_r.ANIMATION,n,i,s))}_parseLegacyAnimation(e,t,n,i,s,a,o,u){e.length===0&&this._reportError("Animation trigger is missing",n);let l=this.parseBinding(t||"undefined",!1,a||n,i);o.push([e,l.source]),u.push(new vs(e,l,_r.LEGACY_ANIMATION,n,s,a))}parseBinding(e,t,n,i){try{let s=t?this._exprParser.parseSimpleBinding(e,n,i,this._interpolationConfig):this._exprParser.parseBinding(e,n,i,this._interpolationConfig);return s&&this.errors.push(...s.errors),s}catch(s){return this._reportError(`${s}`,n),this._exprParser.wrapLiteralPrimitive("ERROR",n,i)}}createBoundElementProperty(e,t,n=!1,i=!0){if(t.isLegacyAnimation)return new Il(t.name,Te.LegacyAnimation,Re.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let s=null,a,o=null,u=t.name.split(Ju),l;if(u.length>1)if(u[0]==x8){o=u.slice(1).join(Ju),n||this._validatePropertyOrAttributeName(o,t.sourceSpan,!0),l=uf(this._schemaRegistry,e,o,!0);let c=o.indexOf(":");if(c>-1){let h=o.substring(0,c),d=o.substring(c+1);o=tl(h,d)}a=Te.Attribute}else u[0]==_8?(o=u[1],a=Te.Class,l=[Re.NONE]):u[0]==T8?(s=u.length>2?u[2]:null,o=u[1],a=Te.Style,l=[Re.STYLE]):u[0]==sf&&(o=t.name,a=Te.Animation,l=[Re.NONE]);if(o===null){let c=this._schemaRegistry.getMappedPropName(t.name);o=i?c:t.name,l=uf(this._schemaRegistry,e,c,!1),a=t.type===_r.TWO_WAY?Te.TwoWay:Te.Property,n||this._validatePropertyOrAttributeName(c,t.sourceSpan,!1)}return new Il(o,a,l[0],t.expression,s,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,n,i,s,a,o,u){e.length===0&&this._reportError("Event name is missing in binding",i),of(e)?(e=e.slice(1),u!==void 0&&(u=Ln(u,new Jt(u.start.offset+1,u.end.offset))),this._parseLegacyAnimationEvent(e,t,i,s,o,u)):this._parseRegularEvent(e,t,n,i,s,a,o,u)}calcPossibleSecurityContexts(e,t,n){let i=this._schemaRegistry.getMappedPropName(t);return uf(this._schemaRegistry,e,i,n)}parseEventListenerName(e){let[t,n]=xP(e,[null,e]);return{eventName:n,target:t}}parseLegacyAnimationEventName(e){let t=_P(e,[e,null]);return{eventName:t[0],phase:t[1]===null?null:t[1].toLowerCase()}}_parseLegacyAnimationEvent(e,t,n,i,s,a){let{eventName:o,phase:u}=this.parseLegacyAnimationEventName(e),l=this._parseAction(t,i);s.push(new Al(o,u,wt.LegacyAnimation,l,n,i,a)),o.length===0&&this._reportError("Animation event name is missing in binding",n),u?u!=="start"&&u!=="done"&&this._reportError(`The provided animation output phase value "${u}" for "@${o}" is not supported (use start or done)`,n):this._reportError(`The animation trigger output event (@${o}) is missing its phase value name (start or done are currently supported)`,n)}_parseRegularEvent(e,t,n,i,s,a,o,u){let{eventName:l,target:c}=this.parseEventListenerName(e),h=this.errors.length,d=this._parseAction(t,s),f=this.errors.length===
39h;a.push([e,d.source]),n&&f&&!this._isAllowedAssignmentEvent(d)&&this._reportError("Unsupported expression in a two-way binding",i);let m=wt.Regular;n&&(m=wt.TwoWay),e.startsWith(`${sf}${Ju}`)&&(m=wt.Animation),o.push(new Al(l,c,m,d,i,s,u))}_parseAction(e,t){let n=t&&t.start?t.start.offset:0;try{let i=this._exprParser.parseAction(e,t,n,this._interpolationConfig);return i&&this.errors.push(...i.errors),!i||i.ast instanceof Lt?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",t,n)):i}catch(i){return this._reportError(`${i}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,n)}}_reportError(e,t,n=hn.ERROR){this.errors.push(new oe(t,e,n))}_validatePropertyOrAttributeName(e,t,n){let i=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);i.error&&this._reportError(i.msg,t,hn.ERROR)}_isAllowedAssignmentEvent(e){return e instanceof Yt?this._isAllowedAssignmentEvent(e.ast):e instanceof so?this._isAllowedAssignmentEvent(e.expression):e instanceof Ps&&e.args.length===1&&e.receiver instanceof dn&&e.receiver.name==="$any"&&e.receiver.receiver instanceof Yr&&!(e.receiver.receiver instanceof qi)?this._isAllowedAssignmentEvent(e.args[0]):(e instanceof dn||e instanceof Di)&&!xp(e)}};function xp(r){return r instanceof eo||r instanceof to?!0:r instanceof uo?xp(r.expression):r instanceof dn||r instanceof Di||r instanceof Ps?xp(r.receiver):!1}function of(r){return r[0]=="@"}function uf(r,e,t,n){let i,s=a=>r.securityContext(a,t,n);return e===null?i=r.allKnownElementNames().map(s):(i=[],As.parse(e).forEach(a=>{let o=a.element?[a.element]:r.allKnownElementNames(),u=new Set(a.notSelectors.filter(c=>c.isElementSelector()).map(c=>c.element)),l=o.filter(c=>!u.has(c));i.push(...l.map(s))})),i.length===0?[Re.NONE]:Array.from(new Set(i)).sort()}function Ln(r,e){let t=e.start-r.start.offset,n=e.end-r.end.offset;return new ce(r.start.moveBy(t),r.end.moveBy(n),r.fullStart.moveBy(t),r.details)}function C8(r){if(r==null||r.length===0||r[0]=="/")return!1;let e=r.match(A8);return e===null||e[1]=="package"||e[1]=="asset"}var A8=/^([^:/?#]+):/,I8="select",k8="link",N8="rel",q8="href",D8="stylesheet",P8="style",O8="script",R8="ngNonBindable",L8="ngProjectAs";function QS(r){let e=null,t=null,n=null,i=!1,s="";r.attrs.forEach(u=>{let l=u.name.toLowerCase();l==I8?e=u.value:l==q8?t=u.value:l==N8?n=u.value:u.name==R8?i=!0:u.name==L8&&u.value.length>0&&(s=u.value)}),e=M8(e);let a=r.name.toLowerCase(),o=$t.OTHER;return If(a)?o=$t.NG_CONTENT:a==P8?o=$t.STYLE:a==O8?o=$t.SCRIPT:a==k8&&n==D8&&(o=$t.STYLESHEET),new _p(o,e,t,i,s)}var $t;(function(r){r[r.NG_CONTENT=0]="NG_CONTENT",r[r.STYLE=1]="STYLE",r[r.STYLESHEET=2]="STYLESHEET",r[r.SCRIPT=3]="SCRIPT",r[r.OTHER=4]="OTHER"})($t||($t={}));var _p=class{type;selectAttr;hrefAttr;nonBindable;projectAs;constructor(e,t,n,i,s){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=i,this.projectAs=s}};function M8(r){return r===null||r.length===0?"*":r}var B8=/^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/,F8=/^track\s+([\S\s]*)/,$8=/^(as\s+)(.*)/,Cc=/^else[^\S\r\n]+if/,U8=/^let\s+([\S\s]*)/,j8=/^[$A-Z_][0-9A-Z_$]*$/i,cy=/(\s*)(\S+)(\s*)/,Ga=new Set(["$index","$first","$last","$even","$odd","$count"]);function hy(r){return r==="empty"}function fy(r){return r==="else"||Cc.test(r)}function V8(r,e,t,n){let i=X8(e),s=[],a=py(r,i,n);a!==null&&s.push(new wi(a.expression,$e(t,r.children,r.children),a.expressionAlias,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.nameSpan,r.i18n));for(let h of e)if(Cc.test(h.name)){let d=py(h,i,n);if(d!==null){let f=$e(t,h.children,h.children);s.push(new wi(d.expression,f,d.expressionAlias,h.sourceSpan,h.startSourceSpan,h.endSourceSpan,h.nameSpan,h.i18n))}}else if(h.name==="else"){let d=$e(t,h.children,h.children);s.push(new wi(null,d,null,h.sourceSpan,h.startSourceSpan,h.endSourceSpan,h.nameSpan,h.i18n))}let o=s.length>0?s[0].startSourceSpan:r.startSourceSpan,u=s.length>0?s[s.length-1].endSourceSpan:r.endSourceSpan,l=r.sourceSpan,c=s[s.length-1];return c!==void 0&&(l=new ce(o.start,c.sourceSpan.end)),{node:new Ol(s,l,r.startSourceSpan,u,r.nameSpan),errors:i}}function H8(r,e,t,n){let i=[],s=G8(r,i,n),a=null,o=null;for(let u of e)u.name==="empty"?o!==null?i.push(new oe(u.sourceSpan,"@for loop can only have one @empty block")):u.parameters.length>0?i.push(new oe(u.sourceSpan,"@empty block cannot have parameters")):o=new mo($e(t,u.children,u.children),u.sourceSpan,u.startSourceSpan,u.endSourceSpan,u.nameSpan,u.i18n):i.push(new oe(u.sourceSpan,`Unrecognized @for loop block "${u.name}"`));if(s!==null)if(s.trackBy===null)i.push(new oe(r.startSourceSpan,'@for loop must have a "track" expression'));else{let u=o?.endSourceSpan??r.endSourceSpan,l=new ce(r.sourceSpan.start,u?.end??r.sourceSpan.end);a=new Ls(s.itemName,s.expression,s.trackBy.expression,s.trackBy.keywordSpan,s.context,$e(t,r.children,r.children),o,l,r.sourceSpan,r.startSourceSpan,u,r.nameSpan,r.i18n)}return{node:a,errors:i}}function W8(r,e,t){let n=Y8(r),i=r.parameters.length>
390?Fo(r.parameters[0],t):t.parseBinding("",!1,r.sourceSpan,0),s=[],a=[],o=null;for(let u of r.children){if(!(u instanceof lr))continue;if((u.name!=="case"||u.parameters.length===0)&&u.name!=="default"){a.push(new Rl(u.name,u.sourceSpan,u.nameSpan));continue}let l=u.name==="case"?Fo(u.parameters[0],t):null,c=new po(l,$e(e,u.children,u.children),u.sourceSpan,u.startSourceSpan,u.endSourceSpan,u.nameSpan,u.i18n);l===null?o=c:s.push(c)}return o!==null&&s.push(o),{node:new Pl(i,s,a,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.nameSpan),errors:n}}function G8(r,e,t){if(r.parameters.length===0)return e.push(new oe(r.startSourceSpan,"@for loop does not have an expression")),null;let[n,...i]=r.parameters,s=Z8(n,e)?.match(B8);if(!s||s[2].trim().length===0)return e.push(new oe(n.sourceSpan,'Cannot parse expression. @for loop expression must match the pattern "<identifier> of <expression>"')),null;let[,a,o]=s;Ga.has(a)&&e.push(new oe(n.sourceSpan,`@for loop item name cannot be one of ${Array.from(Ga).join(", ")}.`));let u=n.expression.split(" ")[0],l=new ce(n.sourceSpan.start,n.sourceSpan.start.moveBy(u.length)),c={itemName:new Xn(a,"$implicit",l,l),trackBy:null,expression:Fo(n,t,o),context:Array.from(Ga,h=>{let d=new ce(r.startSourceSpan.end,r.startSourceSpan.end);return new Xn(h,h,d,d)})};for(let h of i){let d=h.expression.match(U8);if(d!==null){let m=new ce(h.sourceSpan.start.moveBy(d[0].length-d[1].length),h.sourceSpan.end);z8(h.sourceSpan,d[1],m,a,c.context,e);continue}let f=h.expression.match(F8);if(f!==null){if(c.trackBy!==null)e.push(new oe(h.sourceSpan,'@for loop can only have one "track" expression'));else{let m=Fo(h,t,f[1]);m.ast instanceof Lt&&e.push(new oe(r.startSourceSpan,'@for loop must have a "track" expression'));let S=new ce(h.sourceSpan.start,h.sourceSpan.start.moveBy(5));c.trackBy={expression:m,keywordSpan:S}}continue}e.push(new oe(h.sourceSpan,`Unrecognized @for loop parameter "${h.expression}"`))}return c}function z8(r,e,t,n,i,s){let a=e.split(","),o=t.start;for(let u of a){let l=u.split("="),c=l.length===2?l[0].trim():"",h=l.length===2?l[1].trim():"";if(c.length===0||h.length===0)s.push(new oe(r,'Invalid @for loop "let" parameter. Parameter should match the pattern "<name> = <variable name>"'));else if(!Ga.has(h))s.push(new oe(r,`Unknown "let" parameter variable "${h}". The allowed variables are: ${Array.from(Ga).join(", ")}`));else if(c===n)s.push(new oe(r,`Invalid @for loop "let" parameter. Variable cannot be called "${n}"`));else if(i.some(d=>d.name===c))s.push(new oe(r,`Duplicate "let" parameter variable "${h}"`));else{let[,d,f]=l[0].match(cy)??[],m=d!==void 0&&l.length===2?new ce(o.moveBy(d.length),o.moveBy(d.length+f.length)):t,S;if(l.length===2){let[,E,y]=l[1].match(cy)??[];S=E!==void 0?new ce(o.moveBy(l[0].length+1+E.length),o.moveBy(l[0].length+1+E.length+y.length)):void 0}let g=new ce(m.start,S?.end??m.end);i.push(new Xn(c,h,g,m,S))}o=o.moveBy(u.length+1)}}function X8(r){let e=[],t=!1;for(let n=0;n<r.length;n++){let i=r[n];i.name==="else"?(t?e.push(new oe(i.startSourceSpan,"Conditional can only have one @else block")):r.length>1&&n<r.length-1?e.push(new oe(i.startSourceSpan,"@else block must be last inside the conditional")):i.parameters.length>0&&e.push(new oe(i.startSourceSpan,"@else block cannot have parameters")),t=!0):Cc.test(i.name)||e.push(new oe(i.startSourceSpan,`Unrecognized conditional block @${i.name}`))}return e}function Y8(r){let e=[],t=!1;if(r.parameters.length!==1)return e.push(new oe(r.startSourceSpan,"@switch block must have exactly one parameter")),e;for(let n of r.children)if(!(n instanceof Po||n instanceof Ui&&n.value.trim().length===0)){if(!(n instanceof lr)||n.name!=="case"&&n.name!=="default"){e.push(new oe(n.sourceSpan,"@switch block can only contain @case and @default blocks"));continue}n.name==="default"?(t?e.push(new oe(n.startSourceSpan,"@switch block can only have one @default block")):n.parameters.length>0&&e.push(new oe(n.startSourceSpan,"@default block cannot have parameters")),t=!0):n.name==="case"&&n.parameters.length!==1&&e.push(new oe(n.startSourceSpan,"@case block must have exactly one parameter"))}return e}function Fo(r,e,t){let n,i;return typeof t=="string"?(n=Math.max(0,r.expression.lastIndexOf(t)),i=n+t.length):(n=0,i=r.expression.length),e.parseBinding(r.expression.slice(n,i),!1,r.sourceSpan,r.sourceSpan.start.offset+n)}function py(r,e,t){if(r.parameters.length===0)return e.push(new oe(r.startSourceSpan,"Conditional block does not have an expression")),null;let n=Fo(r.parameters[0],t),i=null;for(let s=1;s<r.parameters.length;s++){let a=r.parameters[s],o=a.expression.match($8);if(o===null)e.push(new oe(a.sourceSpan,`Unrecognized conditional parameter "${a.expression}"`));else if(r.name!=="if"&&!Cc.test(r.name))e.push(new oe(a.sourceSpan,'"as" expression is only allowed on `@if` and `@else if` blocks'));else if(i!==null)e.push(new oe(a.sourceSpan,'Conditional can only have one "as" expression'));else{let u=o[2].trim();if(j8.test(u)){let l=a.sourceSpan.start.moveBy(o[1].length),c=new ce(l,l.moveBy(u.length));i=new Xn(u,u,c,c)}else e.push(new oe(a.sourceSpan,'"as" expression must be a valid JavaScript identifier'))}}return{expression:n,expressionAlias:i}}function Z8(r,e){let t=r.expression,n=/^\s$/,i=0,s=0,a=t.length-1;for(let o=0;o<t.length;o++){let u=t[o];if(u==="(")s=o+1,i++;else{if(n.test(u))continue;break}}if(i===0)return t;for(let o=t.length-1;o>-1;o--){let u=t[o];if(u===")"){if(a=o,i--,i===0)break}else{if(n.test(u))continue;break}}return i!==0?(e.push(new oe(r.sourceSpan,"Unclosed parentheses in expression")),null):t.slice(s,a)}var K8=/^\d+\.?\d*(ms|s)?$/,Q8=/^\s$/,dy=new Map([[Ar,Ft],[Wn,yi],[Ir,bt]]),Ct;(function(r){r.IDLE="idle",r.TIMER="timer",r.INTERACTION="interaction",r.IMMEDIATE="immediate",r.HOVER="hover",r.VIEWPORT="viewport",r.NEVER="never"})(Ct||(Ct={}));function J8({expression:r,sourceSpan:e},t,n){let i=r.indexOf("never"),s=new ce(e.start.moveBy(i),e.start.moveBy(i+5)),a=id(r,e),o=sd(r,e);i===-1?n.push(new oe(e,'Could not find "never" keyword in expression')):ad("never",t,n,new Df(s,e,a,null,o))}function lf({expression:r,sourceSpan:e},t,n,i){let s=r.indexOf("when"),a=new ce(e.start.moveBy(s),e.start.moveBy(s+4)),o=id(r,e),u=sd(r,e);if(s===-1)i.push(new oe(e,'Could not find "when" keyword in expression'));else{let l=$o(r,s+1),c=t.parseBinding(r.slice(l),!1,e,e.start.offset+l);ad("when",n,i,new kl(c,e,o,a,u))}}function cf({expression:r,sourceSpan:e},t,n,i){let s=r.indexOf("on"),a=new ce(e.start.moveBy(s),e.start.moveBy(s+2)),o=id(r,e),u=sd(r,e);if(s===-1)n.push(new oe(e,'Could not find "on" keyword in expression'));else{let l=$o(r,s+1);new Tp(r,l,e,t,n,r.startsWith("hydrate")?o3:a3,i,o,a,u).parse()}}function id(r,e){return r.startsWith("prefetch")?new ce(e.start,e.start.moveBy(8)):null}function sd(r,e){return r.startsWith("hydrate")?new ce(e.start,e.start.moveBy(7)):null}var Tp=class{expression;start;span;triggers;errors;validator;placeholder;prefetchSpan;onSourceSpan;hydrateSpan;index=0;tokens;constructor(e,t,n,i,s,a,o,u,l,c){this.expression=e,this.start=t,this.span=n,this.triggers=i,this.errors=s,this.validator=a,this.placeholder=o,this.prefetchSpan=u,this.onSourceSpan=l,this.hydrateSpan=c,this.tokens=new Lo().tokenize(e.slice(t))}parse(){for(;this.tokens.length>0&&this.index<this.tokens.length;){let e=this.token();if(!e.isIdentifier()){this.unexpectedToken(e);break}if(this.isFollowedByOrLast(fr))this.consumeTrigger(e,[]),this.advance();else if(this.isFollowedByOrLast(Ir)){this.advance();let t=this.errors.length,n=this.consumeParameters();if(this.errors.length!==t)break;this.consumeTrigger(e,n),this.advance()}else this.index<this.tokens.length-1&&this.unexpectedToken(this.tokens[this.index+1]);this.advance()}}advance(){this.index++}isFollowedByOrLast(e){return this.index===this.tokens.length-1?!0:this.tokens[this.index+1].isCharacter(e)}token(){return this.tokens[Math.min(this.index,this.tokens.length-1)]}consumeTrigger(e,t){let n=this.span.start.moveBy(this.start+e.index-this.tokens[0].index),i=new ce(n,n.moveBy(e.strValue.length)),s=n.moveBy(this.token().end-e.index),a=e.index===0,o=a?this.onSourceSpan:null,u=a?this.prefetchSpan:null,l=a?this.hydrateSpan:null,c=new ce(a?this.span.start:n,s);try{switch(e.toString()){case Ct.IDLE:this.trackTrigger("idle",e3(t,i,c,u,o,l));break;case Ct.TIMER:this.trackTrigger("timer",t3(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case Ct.INTERACTION:this.trackTrigger("interaction",i3(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;case Ct.IMMEDIATE:this.trackTrigger("immediate",r3(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case Ct.HOVER:this.trackTrigger("hover",n3(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.placeholder,this.validator));break;case Ct.VIEWPORT:this.trackTrigger("viewport",s3(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;default:throw new Error(`Unrecognized trigger type "${e}"`)}}catch(h){this.error(e,h.message)}}consumeParameters(){let e=[];
39if(!this.token().isCharacter(Ir))return this.unexpectedToken(this.token()),e;this.advance();let t=[],n="";for(;this.index<this.tokens.length;){let i=this.token();if(i.isCharacter(bt)&&t.length===0){n.length&&e.push(n);break}if(i.type===me.Character&&dy.has(i.numValue)&&t.push(dy.get(i.numValue)),t.length>0&&i.isCharacter(t[t.length-1])&&t.pop(),t.length===0&&i.isCharacter(fr)&&n.length>0){e.push(n),n="",this.advance();continue}n+=this.tokenText(),this.advance()}return(!this.token().isCharacter(bt)||t.length>0)&&this.error(this.token(),"Unexpected end of expression"),this.index<this.tokens.length-1&&!this.tokens[this.index+1].isCharacter(fr)&&this.unexpectedToken(this.tokens[this.index+1]),e}tokenText(){return this.expression.slice(this.start+this.token().index,this.start+this.token().end)}trackTrigger(e,t){ad(e,this.triggers,this.errors,t)}error(e,t){let n=this.span.start.moveBy(this.start+e.index),i=n.moveBy(e.end-e.index);this.errors.push(new oe(new ce(n,i),t))}unexpectedToken(e){this.error(e,`Unexpected token "${e}"`)}};function ad(r,e,t,n){e[r]?t.push(new oe(n.sourceSpan,`Duplicate "${r}" trigger is not allowed`)):e[r]=n}function e3(r,e,t,n,i,s){if(r.length>0)throw new Error(`"${Ct.IDLE}" trigger cannot have parameters`);return new Pf(e,t,n,i,s)}function t3(r,e,t,n,i,s){if(r.length!==1)throw new Error(`"${Ct.TIMER}" trigger must have exactly one parameter`);let a=mc(r[0]);if(a===null)throw new Error(`Could not parse time value of trigger "${Ct.TIMER}"`);return new Rf(a,e,t,n,i,s)}function r3(r,e,t,n,i,s){if(r.length>0)throw new Error(`"${Ct.IMMEDIATE}" trigger cannot have parameters`);return new Of(e,t,n,i,s)}function n3(r,e,t,n,i,s,a,o){return o(Ct.HOVER,r),new Nl(r[0]??null,e,t,n,i,s)}function i3(r,e,t,n,i,s,a){return a(Ct.INTERACTION,r),new ql(r[0]??null,e,t,n,i,s)}function s3(r,e,t,n,i,s,a){return a(Ct.VIEWPORT,r),new Dl(r[0]??null,e,t,n,i,s)}function a3(r,e){if(e.length>1)throw new Error(`"${r}" trigger can only have zero or one parameters`)}function o3(r,e){if(e.length>0)throw new Error(`Hydration trigger "${r}" cannot have parameters`)}function $o(r,e=0){let t=!1;for(let n=e;n<r.length;n++)if(Q8.test(r[n]))t=!0;else if(t)return n;return-1}function mc(r){let e=r.match(K8);if(!e)return null;let[t,n]=e;return parseFloat(t)*(n==="s"?1e3:1)}var u3=/^prefetch\s+when\s/,l3=/^prefetch\s+on\s/,c3=/^hydrate\s+when\s/,h3=/^hydrate\s+on\s/,f3=/^hydrate\s+never(\s*)$/,JS=/^minimum\s/,p3=/^after\s/,d3=/^when\s/,m3=/^on\s/;function bp(r){return r==="placeholder"||r==="loading"||r==="error"}function v3(r,e,t,n){let i=[],{placeholder:s,loading:a,error:o}=g3(e,i,t),{triggers:u,prefetchTriggers:l,hydrateTriggers:c}=w3(r,n,i,s),h=r.endSourceSpan,d=r.sourceSpan.end;if(e.length>0){let S=e[e.length-1];h=S.endSourceSpan,d=S.sourceSpan.end}let f=new ce(r.sourceSpan.start,d);return{node:new Pi($e(t,r.children,r.children),u,l,c,s,a,o,r.nameSpan,f,r.sourceSpan,r.startSourceSpan,h,r.i18n),errors:i}}function g3(r,e,t){let n=null,i=null,s=null;for(let a of r)try{if(!bp(a.name)){e.push(new oe(a.startSourceSpan,`Unrecognized block "@${a.name}"`));break}switch(a.name){case"placeholder":n!==null?e.push(new oe(a.startSourceSpan,"@defer block can only have one @placeholder block")):n=E3(a,t);break;case"loading":i!==null?e.push(new oe(a.startSourceSpan,"@defer block can only have one @loading block")):i=y3(a,t);break;case"error":s!==null?e.push(new oe(a.startSourceSpan,"@defer block can only have one @error block")):s=S3(a,t);break}}catch(o){e.push(new oe(a.startSourceSpan,o.message))}return{placeholder:n,loading:i,error:s}}function E3(r,e){let t=null;for(let n of r.parameters)if(JS.test(n.expression)){if(t!=null)throw new Error('@placeholder block can only have one "minimum" parameter');let i=mc(n.expression.slice($o(n.expression)));if(i===null)throw new Error('Could not parse time value of parameter "minimum"');t=i}else throw new Error(`Unrecognized parameter in @placeholder block: "${n.expression}"`);return new co($e(e,r.children,r.children),t,r.nameSpan,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.i18n)}function y3(r,e){let t=null,n=null;for(let i of r.parameters)if(p3.test(i.expression)){if(t!=null)throw new Error('@loading block can only have one "after" parameter');let s=mc(i.expression.slice($o(i.expression)));if(s===null)throw new Error('Could not parse time value of parameter "after"');t=s}else if(JS.test(i.expression)){if(n!=null)throw new Error('@loading block can only have one "minimum" parameter');let s=mc(i.expression.slice($o(i.expression)));if(s===null)throw new Error('Could not parse time value of parameter "minimum"');n=s}else throw new Error(`Unrecognized parameter in @loading block: "${i.expression}"`);return new ho($e(e,r.children,r.children),t,n,r.nameSpan,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.i18n)}function S3(r,e){if(r.parameters.length>0)throw new Error("@error block cannot have parameters");return new fo($e(e,r.children,r.children),r.nameSpan,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.i18n)}function w3(r,e,t,n){let i={},s={},a={};for(let o of r.parameters)d3.test(o.expression)?lf(o,e,i,t):m3.test(o.expression)?cf(o,i,t,n):u3.test(o.expression)?lf(o,e,s,t):l3.test(o.expression)?cf(o,s,t,n):c3.test(o.expression)?lf(o,e,a,t):h3.test(o.expression)?cf(o,a,t,n):f3.test(o.expression)?J8(o,a,t):t.push(new oe(o.sourceSpan,"Unrecognized trigger"));return a.never&&Object.keys(a).length>1&&t.push(new oe(r.startSourceSpan,"Cannot specify additional `hydrate` triggers if `hydrate never` is present")),{triggers:i,prefetchTriggers:s,hydrateTriggers:a}}var x3=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,my=1,vy=2,gy=3,Ey=4,yy=5,_3=6,Oa=7,Mn={BANANA_BOX:{start:"[(",end:")]"},PROPERTY:{start:"[",end:"]"},EVENT:{start:"(",end:")"}},hf="*",T3=new Set(["link","style","script","ng-template","ng-container","ng-content"]),b3=new Set(["ngProjectAs","ngNonBindable"]);function C3(r,e,t){let n=new Cp(e,t),i=$e(n,r,r),s=e.errors.concat(n.errors),a={nodes:i,errors:s,styleUrls:n.styleUrls,styles:n.styles,ngContentSelectors:n.ngContentSelectors};return t.collectCommentNodes&&(a.commentNodes=n.commentNodes),a}var Cp=class{bindingParser;options;errors=[];styles=[];styleUrls=[];ngContentSelectors=[];commentNodes=[];inI18nBlock=!1;processedNodes=new Set;constructor(e,t){this.bindingParser=e,this.options=t}visitElement(e){let t=il(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);let n=QS(e);if(n.type===$t.SCRIPT)return null;if(n.type===$t.STYLE){let E=A3(e);return E!==null&&this.styles.push(E),null}else if(n.type===$t.STYLESHEET&&C8(n.hrefAttr))return this.styleUrls.push(n.hrefAttr),null;let i=HP(e.name),{attributes:s,boundEvents:a,references:o,variables:u,templateVariables:l,elementHasInlineTemplate:c,parsedProperties:h,templateParsedProperties:d,i18nAttrsMeta:f}=this.prepareAttributes(e.attrs,i),m=this.extractDirectives(e),S;n.nonBindable?S=$e(Sy,e.children).flat(1/0):S=$e(this,e.children,e.children);let g;if(n.type===$t.NG_CONTENT){let E=n.selectAttr,y=e.attrs.map(x=>this.visitAttribute(x));g=new Ms(E,y,S,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n),this.ngContentSelectors.push(E)}else if(i){let E=this.categorizePropertyAttributes(e.name,h,f);g=new er(e.name,s,E.bound,a,m,[],S,o,u,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{let E=this.categorizePropertyAttributes(e.name,h,f);g=new Zr(e.name,s,E.bound,a,m,S,o,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n)}return c&&(g=this.wrapInTemplate(g,d,l,f,i,t)),t&&(this.inI18nBlock=!1),g}visitAttribute(e){return new Rs(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this.processedNodes.has(e)?null:this._visitTextWithInterpolation(e.value,e.sourceSpan,e.tokens,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!il(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);let t=e.i18n,n={},i={};
39return Object.keys(t.placeholders).forEach(s=>{let a=t.placeholders[s];if(s.startsWith(XP)){let o=s.trim(),u=this.bindingParser.parseInterpolationExpression(a.text,a.sourceSpan);n[o]=new Os(u,a.sourceSpan)}else i[s]=this._visitTextWithInterpolation(a.text,a.sourceSpan,null)}),new By(n,i,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new wc(e.value||"",e.sourceSpan)),null}visitLetDeclaration(e,t){let n=this.bindingParser.parseBinding(e.value,!1,e.valueSpan,e.valueSpan.start.offset);return n.errors.length===0&&n.ast instanceof Lt&&this.reportError("@let declaration value cannot be empty",e.valueSpan),new Up(e.name,n,e.sourceSpan,e.nameSpan,e.valueSpan)}visitComponent(e){let t=il(e.i18n);if(t&&(this.inI18nBlock&&this.reportError("Cannot mark a component as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0),e.tagName!==null&&T3.has(e.tagName))return this.reportError(`Tag name "${e.tagName}" cannot be used as a component tag`,e.startSourceSpan),null;let{attributes:n,boundEvents:i,references:s,templateVariables:a,elementHasInlineTemplate:o,parsedProperties:u,templateParsedProperties:l,i18nAttrsMeta:c}=this.prepareAttributes(e.attrs,!1);this.validateSelectorlessReferences(s);let h=this.extractDirectives(e),d;e.attrs.find(S=>S.name==="ngNonBindable")?d=$e(Sy,e.children).flat(1/0):d=$e(this,e.children,e.children);let f=this.categorizePropertyAttributes(e.tagName,u,c),m=new Ua(e.componentName,e.tagName,e.fullName,n,f.bound,i,h,d,s,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return o&&(m=this.wrapInTemplate(m,l,a,c,!1,t)),t&&(this.inI18nBlock=!1),m}visitDirective(){return null}visitBlockParameter(){return null}visitBlock(e,t){let n=Array.isArray(t)?t.indexOf(e):-1;if(n===-1)throw new Error("Visitor invoked incorrectly. Expecting visitBlock to be invoked siblings array as its context");if(this.processedNodes.has(e))return null;let i=null;switch(e.name){case"defer":i=v3(e,this.findConnectedBlocks(n,t,bp),this,this.bindingParser);break;case"switch":i=W8(e,this,this.bindingParser);break;case"for":i=H8(e,this.findConnectedBlocks(n,t,hy),this,this.bindingParser);break;case"if":i=V8(e,this.findConnectedBlocks(n,t,fy),this,this.bindingParser);break;default:let s;bp(e.name)?(s=`@${e.name} block can only be used after an @defer block.`,this.processedNodes.add(e)):hy(e.name)?(s=`@${e.name} block can only be used after an @for block.`,this.processedNodes.add(e)):fy(e.name)?(s=`@${e.name} block can only be used after an @if or @else if block.`,this.processedNodes.add(e)):s=`Unrecognized block @${e.name}.`,i={node:new Rl(e.name,e.sourceSpan,e.nameSpan),errors:[new oe(e.sourceSpan,s)]};break}return this.errors.push(...i.errors),i.node}findConnectedBlocks(e,t,n){let i=[];for(let s=e+1;s<t.length;s++){let a=t[s];if(!(a instanceof Po)){if(a instanceof Ui&&a.value.trim().length===0){this.processedNodes.add(a);continue}if(!(a instanceof lr)||!n(a.name))break;i.push(a),this.processedNodes.add(a)}}return i}categorizePropertyAttributes(e,t,n){let i=[],s=[];return t.forEach(a=>{let o=n[a.name];if(a.isLiteral)s.push(new Rs(a.name,a.expression.source||"",a.sourceSpan,a.keySpan,a.valueSpan,o));else{let u=this.bindingParser.createBoundElementProperty(e,a,!0,!1);i.push(Nf.fromBoundElementProperty(u,o))}}),{bound:i,literal:s}}prepareAttributes(e,t){let n=[],i=[],s=[],a=[],o=[],u={},l=[],c=[],h=!1;for(let d of e){let f=!1,m=wy(d.name),S=!1;if(d.i18n&&(u[d.name]=d.i18n),m.startsWith(hf)){h&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",d.sourceSpan),S=!0,h=!0;let g=d.value,E=m.substring(hf.length),y=[],x=d.valueSpan?d.valueSpan.fullStart.offset:d.sourceSpan.fullStart.offset+d.name.length;this.bindingParser.parseInlineTemplateBinding(E,g,d.sourceSpan,x,[],l,y,!0),c.push(...y.map(b=>new Xn(b.name,b.value,b.sourceSpan,b.keySpan,b.valueSpan)))}else f=this.parseAttribute(t,d,[],n,i,s,a);!f&&!S&&o.push(this.visitAttribute(d))}return{attributes:o,boundEvents:i,references:a,variables:s,templateVariables:c,elementHasInlineTemplate:h,parsedProperties:n,templateParsedProperties:l,i18nAttrsMeta:u}}parseAttribute(e,t,n,i,s,a,o){let u=wy(t.name),l=t.value,c=t.sourceSpan,h=t.valueSpan?t.valueSpan.fullStart.offset:c.fullStart.offset;function d(E,y,x){let b=t.name.length-u.length,C=E.start.moveBy(y.length+b),_=C.moveBy(x.length);return new ce(C,_,C,x)}let f=u.match(x3);if(f){if(f[my]!=null){let E=f[Oa],y=d(c,f[my],E);this.bindingParser.parsePropertyBinding(E,l,!1,!1,c,h,t.valueSpan,n,i,y)}else if(f[vy])if(e){let E=f[Oa],y=d(c,f[vy],E);this.parseVariable(E,l,c,y,t.valueSpan,a)}else this.reportError('"let-" is only supported on ng-template elements.',c);else if(f[gy]){let E=f[Oa],y=d(c,f[gy],E);this.parseReference(E,l,c,y,t.valueSpan,o)}else if(f[Ey]){let E=[],y=f[Oa],x=d(c,f[Ey],y);this.bindingParser.parseEvent(y,l,!1,c,t.valueSpan||c,n,E,x),ff(E,s)}else if(f[yy]){let E=f[Oa],y=d(c,f[yy],E);this.bindingParser.parsePropertyBinding(E,l,!1,!0,c,h,t.valueSpan,n,i,y),this.parseAssignmentEvent(E,l,c,t.valueSpan,n,s,y,h)}else if(f[_3]){let E=d(c,"",u);this.bindingParser.parseLiteralAttr(u,l,c,h,t.valueSpan,n,i,E)}return!0}let m=null;if(u.startsWith(Mn.BANANA_BOX.start)?m=Mn.BANANA_BOX:u.startsWith(Mn.PROPERTY.start)?m=Mn.PROPERTY:u.startsWith(Mn.EVENT.start)&&(m=Mn.EVENT),m!==null&&u.endsWith(m.end)&&u.length>m.start.length+m.end.length){let E=u.substring(m.start.length,u.length-m.end.length),y=d(c,m.start,E);if(m.start===Mn.BANANA_BOX.start)this.bindingParser.parsePropertyBinding(E,l,!1,!0,c,h,t.valueSpan,n,i,y),this.parseAssignmentEvent(E,l,c,t.valueSpan,n,s,y,h);else if(m.start===Mn.PROPERTY.start)this.bindingParser.parsePropertyBinding(E,l,!1,!1,c,h,t.valueSpan,n,i,y);else{let x=[];this.bindingParser.parseEvent(E,l,!1,c,t.valueSpan||c,n,x,y),ff(x,s)}return!0}let S=d(c,"",u);return this.bindingParser.parsePropertyInterpolation(u,l,c,t.valueSpan,n,i,S,t.valueTokens??null)}extractDirectives(e){let t=e instanceof Bt?e.tagName:e.name,n=[],i=new Set;for(let s of e.directives){let a=!1;
39for(let f of s.attrs)f.name.startsWith(hf)?(a=!0,this.reportError(`Shorthand template syntax "${f.name}" is not supported inside a directive context`,f.sourceSpan)):b3.has(f.name)&&(a=!0,this.reportError(`Attribute "${f.name}" is not supported in a directive context`,f.sourceSpan));if(!a&&i.has(s.name)&&(a=!0,this.reportError(`Cannot apply directive "${s.name}" multiple times on the same element`,s.sourceSpan)),a)continue;let{attributes:o,parsedProperties:u,boundEvents:l,references:c,i18nAttrsMeta:h}=this.prepareAttributes(s.attrs,!1);this.validateSelectorlessReferences(c);let{bound:d}=this.categorizePropertyAttributes(t,u,h);for(let f of d)f.type!==Te.Property&&f.type!==Te.TwoWay&&(a=!0,this.reportError("Binding is not supported in a directive context",f.sourceSpan));a||(i.add(s.name),n.push(new My(s.name,o,d,l,c,s.sourceSpan,s.startSourceSpan,s.endSourceSpan,void 0)))}return n}filterAnimationAttributes(e){return e.filter(t=>!t.name.startsWith("animate."))}filterAnimationInputs(e){return e.filter(t=>t.type!==Te.Animation)}wrapInTemplate(e,t,n,i,s,a){let o=this.categorizePropertyAttributes("ng-template",t,i),u=[];o.literal.forEach(d=>u.push(d)),o.bound.forEach(d=>u.push(d));let l={attributes:[],inputs:[],outputs:[]};(e instanceof Zr||e instanceof Ua)&&(l.attributes.push(...this.filterAnimationAttributes(e.attributes)),l.inputs.push(...this.filterAnimationInputs(e.inputs)),l.outputs.push(...e.outputs));let c=s&&a?void 0:e.i18n,h;return e instanceof Ua?h=e.tagName:e instanceof er?h=null:h=e.name,new er(h,l.attributes,l.inputs,l.outputs,[],u,[e],[],n,!1,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,c)}_visitTextWithInterpolation(e,t,n,i){let s=AS(e),a=this.bindingParser.parseInterpolation(s,t,n);return a?new Os(a,t,i):new Ei(s,t)}parseVariable(e,t,n,i,s,a){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):e.length===0&&this.reportError("Variable does not have a name",n),a.push(new Xn(e,t,n,i,s))}parseReference(e,t,n,i,s,a){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):e.length===0?this.reportError("Reference does not have a name",n):a.some(o=>o.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,n),a.push(new vo(e,t,n,i,s))}parseAssignmentEvent(e,t,n,i,s,a,o,u){let l=[];this.bindingParser.parseEvent(`${e}Change`,t,!0,n,i||n,s,l,o),ff(l,a)}validateSelectorlessReferences(e){if(e.length===0)return;let t=new Set;for(let n of e)n.value.length>0?this.reportError("Cannot specify a value for a local reference in this context",n.valueSpan||n.sourceSpan):t.has(n.name)?this.reportError("Duplicate reference names are not allowed",n.sourceSpan):t.add(n.name)}reportError(e,t,n=hn.ERROR){this.errors.push(new oe(t,e,n))}},Ap=class{visitElement(e){let t=QS(e);if(t.type===$t.SCRIPT||t.type===$t.STYLE||t.type===$t.STYLESHEET)return null;let n=$e(this,e.children,null);return new Zr(e.name,$e(this,e.attrs),[],[],[],n,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid)}visitComment(e){return null}visitAttribute(e){return new Rs(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new Ei(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}visitBlock(e,t){let n=[new Ei(e.startSourceSpan.toString(),e.startSourceSpan),...$e(this,e.children)];return e.endSourceSpan!==null&&n.push(new Ei(e.endSourceSpan.toString(),e.endSourceSpan)),n}visitBlockParameter(e,t){return null}visitLetDeclaration(e,t){return new Ei(`@let ${e.name} = ${e.value};`,e.sourceSpan)}visitComponent(e,t){let n=$e(this,e.children,null);return new Zr(e.fullName,$e(this,e.attrs),[],[],[],n,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,!1)}visitDirective(e,t){return null}},Sy=new Ap;function wy(r){return/^data-/i.test(r)?r.substring(5):r}function ff(r,e){e.push(...r.map(t=>qf.fromParsedEvent(t)))}function A3(r){return r.children.length!==1||!(r.children[0]instanceof Ui)?null:r.children[0].value}var I3=[" ",`
40`,"\r","	"];function k3(r,e,t={}){let{interpolationConfig:n,preserveWhitespaces:i,enableI18nLegacyMessageIdFormat:s}=t,a=t.enableSelectorless??!1,o=vc(n,a),l=new Sp().parse(r,e,{leadingTriviaChars:I3,...t,tokenizeExpansionForms:!0,tokenizeBlocks:t.enableBlockSyntax??!0,tokenizeLet:t.enableLetSyntax??!0,selectorlessEnabled:a});if(!t.alwaysAttemptHtmlToR3AstConversion&&l.errors&&l.errors.length>
400){let C={interpolationConfig:n,preserveWhitespaces:i,errors:l.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(C.commentNodes=[]),C}let c=l.rootNodes,h=!(t.preserveSignificantWhitespace??!0),d=new oc(n,!i,s,void 0,t.preserveSignificantWhitespace,h),f=d.visitAllWithErrors(c);if(!t.alwaysAttemptHtmlToR3AstConversion&&f.errors&&f.errors.length>0){let C={interpolationConfig:n,preserveWhitespaces:i,errors:f.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(C.commentNodes=[]),C}c=f.rootNodes,i||(c=$e(new sc(!0,void 0,!1),c),d.hasI18nMeta&&(c=$e(new oc(n,!1,void 0,void 0,!0,h),c)));let{nodes:m,errors:S,styleUrls:g,styles:E,ngContentSelectors:y,commentNodes:x}=C3(c,o,{collectCommentNodes:!!t.collectCommentNodes});S.push(...l.errors,...f.errors);let b={interpolationConfig:n,preserveWhitespaces:i,errors:S.length>0?S:null,nodes:m,styleUrls:g,styles:E,ngContentSelectors:y};return t.collectCommentNodes&&(b.commentNodes=x),b}var N3=new Gs;function vc(r=Vr,e=!1){return new wp(new ac(new Lo,e),r,N3,[])}var ew="%COMP%",q3=`_nghost-${ew}`,D3=`_ngcontent-${ew}`;function tw(r,e,t){let n=new Kn,i=Mp(r.selector);return n.set("type",r.type.value),i.length>0&&n.set("selectors",gs(i)),r.queries.length>0&&n.set("contentQueries",w8(r.queries,e,r.name)),r.viewQueries.length&&n.set("viewQuery",S8(r.viewQueries,e,r.name)),n.set("hostBindings",$3(r.host,r.typeSourceSpan,t,e,r.selector||"",r.name,n)),n.set("inputs",nE(r.inputs,!0)),n.set("outputs",nE(r.outputs)),r.exportAs!==null&&n.set("exportAs",Ae(r.exportAs.map(s=>A(s)))),r.isStandalone===!1&&n.set("standalone",A(!1)),r.isSignal&&n.set("signals",A(!0)),n}function rw(r,e){let t=[],n=e.providers,i=e.viewProviders;if(n||i){let s=[n||new Nr([])];i&&s.push(i),t.push(K(w.ProvidersFeature).callFn(s))}if(e.hostDirectives?.length&&t.push(K(w.HostDirectivesFeature).callFn([W3(e.hostDirectives)])),e.usesInheritance&&t.push(K(w.InheritDefinitionFeature)),e.fullInheritance&&t.push(K(w.CopyDefinitionFeature)),e.lifecycle.usesOnChanges&&t.push(K(w.NgOnChangesFeature)),"externalStyles"in e&&e.externalStyles?.length){let s=e.externalStyles.map(a=>A(a));t.push(K(w.ExternalStylesFeature).callFn([Ae(s)]))}t.length&&r.set("features",Ae(t))}function P3(r,e,t){let n=tw(r,e,t);rw(n,r);let i=K(w.defineDirective).callFn([n.toLiteralMap()],void 0,!0),s=F3(r);return{expression:i,type:s,statements:[]}}function O3(r,e,t){let n=tw(r,e,t);rw(n,r);let i=r.selector&&As.parse(r.selector),s=i&&i[0];if(s){let m=s.getAttrs();m.length&&n.set("attrs",e.getConstLiteral(Ae(m.map(S=>S!=null?A(S):A(void 0))),!0))}let a=r.name,o=null;if(r.defer.mode===1&&r.defer.dependenciesFn!==null){let m=`${a}_DeferFn`;e.statements.push(new it(m,r.defer.dependenciesFn,void 0,ut.Final)),o=Ee(m)}let u=r.isStandalone&&!r.hasDirectiveDependencies?Mt.DomOnly:Mt.Full,l=Z$(r.name,r.template.nodes,e,u,r.relativeContextFilePath,r.i18nUseExternalIds,r.defer,o,r.relativeTemplatePath,g8());US(l,G.Tmpl);let c=G$(l,e);if(l.contentSelectors!==null&&n.set("ngContentSelectors",l.contentSelectors),n.set("decls",A(l.root.decls)),n.set("vars",A(l.root.vars)),l.consts.length>0&&(l.constsInitializers.length>0?n.set("consts",qr([],[...l.constsInitializers,new mt(Ae(l.consts))])):n.set("consts",Ae(l.consts))),n.set("template",c),r.declarationListEmitMode!==3&&r.declarations.length>0)n.set("dependencies",L3(Ae(r.declarations.map(m=>m.type)),r.declarationListEmitMode));else if(r.declarationListEmitMode===3){let m=[r.type.value];r.rawImports&&m.push(r.rawImports),n.set("dependencies",K(w.getComponentDepsFactory).callFn(m))}r.encapsulation===null&&(r.encapsulation=Un.Emulated);let h=!!r.externalStyles?.length;if(r.styles&&r.styles.length){let S=(r.encapsulation==Un.Emulated?H3(r.styles,D3,q3):r.styles).reduce((g,E)=>(E.trim().length>0&&g.push(e.getConstLiteral(A(E))),g),[]);S.length>0&&(h=!0,n.set("styles",Ae(S)))}!h&&r.encapsulation===Un.Emulated&&(r.encapsulation=Un.None),r.encapsulation!==Un.Emulated&&n.set("encapsulation",A(r.encapsulation)),r.animations!==null&&n.set("data",kt([{key:"animation",value:r.animations,quoted:!1}])),r.changeDetection!==null&&(typeof r.changeDetection=="number"&&r.changeDetection!==ol.Default?n.set("changeDetection",A(r.changeDetection)):typeof r.changeDetection=="object"&&n.set("changeDetection",r.changeDetection));let d=K(w.defineComponent).callFn([n.toLiteralMap()],void 0,!0),f=R3(r);return{expression:d,type:f,statements:[]}}function R3(r){let e=nw(r);return e.push(kp(r.template.ngContentSelectors)),e.push(vt(A(r.isStandalone))),e.push(iw(r)),r.isSignal&&e.push(vt(A(r.isSignal))),vt(K(w.ComponentDeclaration,e))}function L3(r,e){switch(e){case 0:return r;case 1:return qr([],r);case 2:let t=r.prop("map").callFn([K(w.resolveForwardRef)]);return qr([],t);case 3:throw new Error("Unsupported with an array of pre-resolved dependencies")}}function M3(r){return vt(A(r))}function Ip(r){let e=Object.keys(r).map(t=>{let n=Array.isArray(r[t])?r[t][0]:r[t];return{key:t,value:A(n),quoted:!0}});return kt(e)}function kp(r){return r.length>0?vt(Ae(r.map(e=>A(e)))):Gr}function nw(r){let e=r.selector!==null?r.selector.replace(/\n/g,""):null;return[Sc(r.type.type,r.typeArgumentCount),e!==null?M3(e):Gr,r.exp
40ortAs!==null?kp(r.exportAs):Gr,vt(B3(r)),vt(Ip(r.outputs)),kp(r.queries.map(t=>t.propertyName))]}function B3(r){return kt(Object.keys(r.inputs).map(e=>{let t=r.inputs[e],n=[{key:"alias",value:A(t.bindingPropertyName),quoted:!0},{key:"required",value:A(t.required),quoted:!0}];return t.isSignal&&n.push({key:"isSignal",value:A(t.isSignal),quoted:!0}),{key:e,value:kt(n),quoted:!0}}))}function F3(r){let e=nw(r);return e.push(Gr),e.push(vt(A(r.isStandalone))),e.push(iw(r)),r.isSignal&&e.push(vt(A(r.isSignal))),vt(K(w.DirectiveDeclaration,e))}function $3(r,e,t,n,i,s,a){let o=t.createBoundHostProperties(r.properties,e),u=t.createDirectiveHostEventAsts(r.listeners,e);r.specialAttributes.styleAttr&&(r.attributes.style=A(r.specialAttributes.styleAttr)),r.specialAttributes.classAttr&&(r.attributes.class=A(r.specialAttributes.classAttr));let l=K$({componentName:s,componentSelector:i,properties:o,events:u,attributes:r.attributes},t,n);US(l,G.Host),a.set("hostAttrs",l.root.attributes);let c=l.root.vars;return c!==null&&c>0&&a.set("hostVars",A(c)),z$(l)}var U3=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function j3(r){let e={},t={},n={},i={};for(let s of Object.keys(r)){let a=r[s],o=s.match(U3);if(o===null)switch(s){case"class":if(typeof a!="string")throw new Error("Class binding must be string");i.classAttr=a;break;case"style":if(typeof a!="string")throw new Error("Style binding must be string");i.styleAttr=a;break;default:typeof a=="string"?e[s]=A(a):e[s]=a}else if(o[1]!=null){if(typeof a!="string")throw new Error("Property binding must be string");n[o[1]]=a}else if(o[2]!=null){if(typeof a!="string")throw new Error("Event binding must be string");t[o[2]]=a}}return{attributes:e,listeners:t,properties:n,specialAttributes:i}}function V3(r,e){let t=vc();return t.createDirectiveHostEventAsts(r.listeners,e),t.createBoundHostProperties(r.properties,e),t.errors}function H3(r,e,t){let n=new Hf;return r.map(i=>n.shimCssText(i,e,t))}function iw(r){return r.hostDirectives?.length?vt(Ae(r.hostDirectives.map(e=>kt([{key:"directive",value:jo(e.directive.type),quoted:!1},{key:"inputs",value:Ip(e.inputs||{}),quoted:!1},{key:"outputs",value:Ip(e.outputs||{}),quoted:!1}])))):Gr}function W3(r){let e=[],t=!1;for(let n of r){if(!n.inputs&&!n.outputs)e.push(n.directive.type);else{let i=[{key:"directive",value:n.directive.type,quoted:!1}];if(n.inputs){let s=xy(n.inputs);s&&i.push({key:"inputs",value:s,quoted:!1})}if(n.outputs){let s=xy(n.outputs);s&&i.push({key:"outputs",value:s,quoted:!1})}e.push(kt(i))}n.isForwardReference&&(t=!0)}return t?new Hn([],[new mt(Ae(e))]):Ae(e)}function xy(r){let e=[];for(let t in r)r.hasOwnProperty(t)&&e.push(A(t),A(r[t]));return e.length>0?Ae(e):null}var Np=class extends Cl{visit(e){e instanceof Yt?this.visit(e.ast):e.visit(this)}visitElement(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitTemplate(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.templateAttrs),this.visitAllTemplateNodes(e.variables),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitContent(e){this.visitAllTemplateNodes(e.children)}visitBoundAttribute(e){this.visit(e.value)}visitBoundEvent(e){this.visit(e.handler)}visitBoundText(e){this.visit(e.value)}visitIcu(e){Object.keys(e.vars).forEach(t=>this.visit(e.vars[t])),Object.keys(e.placeholders).forEach(t=>this.visit(e.placeholders[t]))}visitDeferredBlock(e){e.visitAll(this)}visitDeferredTrigger(e){e instanceof kl&&this.visit(e.value)}visitDeferredBlockPlaceholder(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockError(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockLoading(e){this.visitAllTemplateNodes(e.children)}visitSwitchBlock(e){this.visit(e.expression),this.visitAllTemplateNodes(e.cases)}visitSwitchBlockCase(e){e.expression&&this.visit(e.expression),this.visitAllTemplateNodes(e.children)}visitForLoopBlock(e){e.item.visit(this),this.visitAllTemplateNodes(e.contextVariables),this.visit(e.expression),this.visitAllTemplateNodes(e.children),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.visitAllTemplateNodes(e.children)}visitIfBlock(e){this.visitAllTemplateNodes(e.branches)}visitIfBlockBranch(e){e.expression&&this.visit(e.expression),e.expressionAlias?.visit(this),this.visitAllTemplateNodes(e.children)}visitLetDeclaration(e){this.visit(e.value)}visitComponent(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitDirective(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.references)}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitText(e){}visitUnknownBlock(e){}visitAllTemplateNodes(e){for(let t of e)this.visit(t)}};var qp=class{directiveMatcher;constructor(e){this.directiveMatcher=e}bind(e){if(!e.template&&!e.host)throw new Error("Empty bound targets are not supported");let t=new Map,n=[],i=new Set,s=new Map,a=new Map,o=new Map,u=new Map,l=new Map,c=new Map,h=new Set,d=new Set,f=[];if(e.template){let m=gc.apply(e.template);G3(m,o),Dp.apply(e.template,this.directiveMatcher,t,n,i,s,a),Ec.applyWithScope(e.template,m,u,l,c,h,d,f)}return e.host&&(t.set(e.host.node,e.host.directives),Ec.applyWithScope(e.host.node,gc.apply(e.host.node),u,l,c,h,d,f)),new Pp(e,t,n,i,s,a,u,l,c,o,h,d,f)}},gc=class r{parentScope;rootNode;namedEntities=new Map;elementLikeInScope=new Set;childScopes=new Map;isDeferred;constructor(e,t){this.parentScope=e,this.rootNode=t,this.isDeferred=e!==null&&e.isDeferred?!0:t instanceof Pi}static newRootScope(){return new r(null,null)}static apply(e){let t=r.newRootScope();
40return t.ingest(e),t}ingest(e){e instanceof er?(e.variables.forEach(t=>this.visitVariable(t)),e.children.forEach(t=>t.visit(this))):e instanceof wi?(e.expressionAlias!==null&&this.visitVariable(e.expressionAlias),e.children.forEach(t=>t.visit(this))):e instanceof Ls?(this.visitVariable(e.item),e.contextVariables.forEach(t=>this.visitVariable(t)),e.children.forEach(t=>t.visit(this))):e instanceof po||e instanceof mo||e instanceof Pi||e instanceof fo||e instanceof co||e instanceof ho||e instanceof Ms?e.children.forEach(t=>t.visit(this)):e instanceof go||e.forEach(t=>t.visit(this))}visitElement(e){this.visitElementLike(e)}visitTemplate(e){e.directives.forEach(t=>t.visit(this)),e.references.forEach(t=>this.visitReference(t)),this.ingestScopedNode(e)}visitVariable(e){this.maybeDeclare(e)}visitReference(e){this.maybeDeclare(e)}visitDeferredBlock(e){this.ingestScopedNode(e),e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlock(e){e.cases.forEach(t=>t.visit(this))}visitSwitchBlockCase(e){this.ingestScopedNode(e)}visitForLoopBlock(e){this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlock(e){e.branches.forEach(t=>t.visit(this))}visitIfBlockBranch(e){this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitLetDeclaration(e){this.maybeDeclare(e)}visitComponent(e){this.visitElementLike(e)}visitDirective(e){e.references.forEach(t=>this.visitReference(t))}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundText(e){}visitText(e){}visitTextAttribute(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitElementLike(e){e.directives.forEach(t=>t.visit(this)),e.references.forEach(t=>this.visitReference(t)),e.children.forEach(t=>t.visit(this)),this.elementLikeInScope.add(e)}maybeDeclare(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)}lookup(e){return this.namedEntities.has(e)?this.namedEntities.get(e):this.parentScope!==null?this.parentScope.lookup(e):null}getChildScope(e){let t=this.childScopes.get(e);if(t===void 0)throw new Error(`Assertion error: child scope for ${e} not found`);return t}ingestScopedNode(e){let t=new r(this,e);t.ingest(e),this.childScopes.set(e,t)}},Dp=class r{directiveMatcher;directives;eagerDirectives;missingDirectives;bindings;references;isInDeferBlock=!1;constructor(e,t,n,i,s,a){this.directiveMatcher=e,this.directives=t,this.eagerDirectives=n,this.missingDirectives=i,this.bindings=s,this.references=a}static apply(e,t,n,i,s,a,o){new r(t,n,i,s,a,o).ingest(e)}ingest(e){e.forEach(t=>t.visit(this))}visitElement(e){this.visitElementOrTemplate(e)}visitTemplate(e){this.visitElementOrTemplate(e)}visitDeferredBlock(e){let t=this.isInDeferBlock;this.isInDeferBlock=!0,e.children.forEach(n=>n.visit(this)),this.isInDeferBlock=t,e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){e.children.forEach(t=>t.visit(this))}visitDeferredBlockError(e){e.children.forEach(t=>t.visit(this))}visitDeferredBlockLoading(e){e.children.forEach(t=>t.visit(this))}visitSwitchBlock(e){e.cases.forEach(t=>t.visit(this))}visitSwitchBlockCase(e){e.children.forEach(t=>t.visit(this))}visitForLoopBlock(e){e.item.visit(this),e.contextVariables.forEac
40h(t=>t.visit(this)),e.children.forEach(t=>t.visit(this)),e.empty?.visit(this)}visitForLoopBlockEmpty(e){e.children.forEach(t=>t.visit(this))}visitIfBlock(e){e.branches.forEach(t=>t.visit(this))}visitIfBlockBranch(e){e.expressionAlias?.visit(this),e.children.forEach(t=>t.visit(this))}visitContent(e){e.children.forEach(t=>t.visit(this))}visitComponent(e){if(this.directiveMatcher instanceof al){let t=this.directiveMatcher.match(e.componentName);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.componentName)}e.directives.forEach(t=>t.visit(this)),e.children.forEach(t=>t.visit(this))}visitDirective(e){if(this.directiveMatcher instanceof al){let t=this.directiveMatcher.match(e.name);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.name)}}visitElementOrTemplate(e){if(this.directiveMatcher instanceof sl){let t=[],n=KP(e);this.directiveMatcher.match(n,(i,s)=>t.push(...s)),this.trackSelectorBasedBindingsAndDirectives(e,t)}else e.references.forEach(t=>{t.value.trim()===""&&this.references.set(t,e)});e.directives.forEach(t=>t.visit(this)),e.children.forEach(t=>t.visit(this))}trackMatchedDirectives(e,t){t.length>0&&(this.directives.set(e,t),this.isInDeferBlock||this.eagerDirectives.push(...t))}trackSelectorlessMatchesAndDirectives(e,t){if(t.length===0)return;this.trackMatchedDirectives(e,t);let n=(i,s,a)=>{i[a].hasBindingPropertyName(s.name)&&this.bindings.set(s,i)};for(let i of t)e.inputs.forEach(s=>n(i,s,"inputs")),e.attributes.forEach(s=>n(i,s,"inputs")),e.outputs.forEach(s=>n(i,s,"outputs"));e.references.forEach(i=>this.references.set(i,{directive:t[0],node:e}))}trackSelectorBasedBindingsAndDirectives(e,t){this.trackMatchedDirectives(e,t),e.references.forEach(i=>{let s=null;if(i.value.trim()==="")s=t.find(a=>a.isComponent)||null;else if(s=t.find(a=>a.exportAs!==null&&a.exportAs.some(o=>o===i.value))||null,s===null)return;s!==null?this.references.set(i,{directive:s,node:e}):this.references.set(i,e)});let n=(i,s)=>{let a=t.find(u=>u[s].hasBindingPropertyName(i.name)),o=a!==void 0?a:e;this.bindings.set(i,o)};e.inputs.forEach(i=>n(i,"inputs")),e.attributes.forEach(i=>n(i,"inputs")),e instanceof er&&e.templateAttrs.forEach(i=>n(i,"inputs")),e.outputs.forEach(i=>n(i,"outputs"))}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundAttributeOrEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitLetDeclaration(e){}},Ec=class r extends Np{bindings;symbols;usedPipes;eagerPipes;deferBlocks;nestingLevel;scope;rootNode;level;visitNode=e=>e.visit(this);constructor(e,t,n,i,s,a,o,u,l){super(),this.bindings=e,this.symbols=t,this.usedPipes=n,this.eagerPipes=i,this.deferBlocks=s,this.nestingLevel=a,this.scope=o,this.rootNode=u,this.level=l}static applyWithScope(e,t,n,i,s,a,o,u){let l=e instanceof er?e:null;new r(n,i,a,o,u,s,t,l,0).ingest(e)}
40ingest(e){if(e instanceof er)e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof wi)e.expressionAlias!==null&&this.visitNode(e.expressionAlias),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof Ls)this.visitNode(e.item),e.contextVariables.forEach(t=>this.visitNode(t)),e.trackBy.visit(this),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof Pi){if(this.scope.rootNode!==e)throw new Error(`Assertion error: resolved incorrect scope for deferred block ${e}`);this.deferBlocks.push([e,this.scope]),e.children.forEach(t=>t.visit(this)),this.nestingLevel.set(e,this.level)}else e instanceof po||e instanceof mo||e instanceof fo||e instanceof co||e instanceof ho||e instanceof Ms?(e.children.forEach(t=>t.visit(this)),this.nestingLevel.set(e,this.level)):e instanceof go?this.nestingLevel.set(e,0):e.forEach(this.visitNode)}visitTemplate(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.directives.forEach(this.visitNode),e.templateAttrs.forEach(this.visitNode),e.references.forEach(this.visitNode),this.ingestScopedNode(e)}visitVariable(e){this.rootNode!==null&&this.symbols.set(e,this.rootNode)}visitReference(e){this.rootNode!==null&&this.symbols.set(e,this.rootNode)}visitDeferredBlock(e){this.ingestScopedNode(e),e.triggers.when?.value.visit(this),e.prefetchTriggers.when?.value.visit(this),e.hydrateTriggers.when?.value.visit(this),e.hydrateTriggers.never?.visit(this),e.placeholder&&this.visitNode(e.placeholder),e.loading&&this.visitNode(e.loading),e.error&&this.visitNode(e.error)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlockCase(e){e.expression?.visit(this),this.ingestScopedNode(e)}visitForLoopBlock(e){e.expression.visit(this),this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlockBranch(e){e.expression?.visit(this),this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitLetDeclaration(e){super.visitLetDeclaration(e),this.rootNode!==null&&this.symbols.set(e,this.rootNode)}visitPipe(e,t){return this.usedPipes.add(e.name),this.scope.isDeferred||this.eagerPipes.add(e.name),super.visitPipe(e,t)}visitPropertyRead(e,t){return this.maybeMap(e,e.name),super.visitPropertyRead(e,t)}visitSafePropertyRead(e,t){return this.maybeMap(e,e.name),super.visitSafePropertyRead(e,t)}ingestScopedNode(e){let t=this.scope.getChildScope(e);new r(this.bindings,this.symbols,this.usedPipes,this.eagerPipes,this.deferBlocks,this.nestingLevel,t,e,this.level+1).ingest(e)}maybeMap(e,t){if(!(e.receiver instanceof Yr)||e.receiver instanceof qi)return;let n=this.scope.lookup(t);n!==null&&this.bindings.set(e,n)}},Pp=class{target;directives;eagerDirectives;missingDirectives;bindings;references;exprTargets;symbols;nestingLevel;scopedNodeEntities;usedPipes;eagerPipes;deferredBlocks;deferredScopes;constructor(e,t,n,i,s,a,o,u,l,c,h,d,f){this.target=e,this.directives=t,this.eagerDirectives=n,this.missingDirectives=i,this.bindings=s,this.references=a,this.exprTargets=o,this.symbols=u,this.nestingLevel=l,this.scopedNodeEntities=c,this.usedPipes=h,this.eagerPipes=d,this.deferredBlocks=f.map(m=>m[0]),this.deferredScopes=new Map(f)}getEntitiesInScope(e){return this.scopedNodeEntities.get(e)??new Set}getDirectivesOfNode(e){return this.directives.get(e)||null}getReferenceTarget(e){return this.references.get(e)||null}getConsumerOfBinding(e){return this.bindings.get(e)||null}getExpressionTarget(e){return this.exprTargets.get(e)||null}getDefinitionNodeOfSymbol(e){return this.symbols.get(e)||null}getNestingLevel(e){return this.nestingLevel.get(e)||0}getUsedDirectives(){let e=new Set;return this.directives.forEach(t=>t.forEach(n=>e.add(n))),Array.from(e.values())}getEagerlyUsedDirectives(){let e=new Set(this.eagerDirectives);return Array.from(e.values())}getUsedPipes(){return Array.from(this.usedPipes)}getEagerlyUsedPipes(){return Array.from(this.eagerPipes)}getDeferBlocks(){return this.deferredBlocks}getDeferredTriggerTarget(e,t){if(!(t instanceof ql)&&!(t instanceof Dl)&&!(t instanceof Nl))return null;let n=t.reference;if(n===null){let s=null;if(e.placeholder!==null){for(let a of e.placeholder.children)if(!(a instanceof wc)){if(s!==null)return null;a instanceof Zr&&(s=a)}}return s}let i=this.findEntityInScope(e,n);if(i instanceof vo&&this.getDefinitionNodeOfSymbol(i)!==e){let s=this.getReferenceTarget(i);if(s!==null)return this.referenceTargetToElement(s)}if(e.placeholder!==null){let s=this.findEntityInScope(e.placeholder,n),a=s instanceof vo?this.getReferenceTarget(s):null;if(a!==null)return this.referenceTargetToElement(a)}return null}isDeferred(e){for(let t of this.deferredBlocks){if(!this.deferredScopes.has(t))continue;let n=[this.deferredScopes.get(t)];for(;n.length>0;){let i=n.pop();if(i.elementLikeInScope.has(e))return!0;n.push(...i.childScopes.values())}}return!1}referencedDirectiveExists(e){return!this.missingDirectives.has(e)}findEntityInScope(e,t){let n=this.getEntitiesInScope(e);for(let i of n)if(i.name===t)return i;return null}referenceTargetToElement(e){return e instanceof Zr?e:e instanceof er||e.node instanceof Ua||e.node instanceof My||e.node instanceof go?null:this.referenceTargetToElement(e.node)}};function G3(r,e){let t=new Map;function n(s){if(t.has(s.rootNode))return t.get(s.rootNode);let a=s.namedEntities,o;return s.parentScope!==null?o=new Map([...n(s.parentScope),...a]):o=new Map(a),t.set(s.rootNode,o),o}let i=[r];for(;i.length>0;){let s=i.pop();for(let a of s.childScopes.values())i.push(a);n(s)}
40for(let[s,a]of t)e.set(s,new Set(a.values()))}var Op=class{},Rp=class{jitEvaluator;FactoryTarget=jr;ResourceLoader=Op;elementSchemaRegistry=new Gs;constructor(e=new Uf){this.jitEvaluator=e}compilePipe(e,t,n){let i={name:n.name,type:nt(n.type),typeArgumentCount:0,deps:null,pipeName:n.pipeName,pure:n.pure,isStandalone:n.isStandalone},s=dE(i);return this.jitExpression(s.expression,e,t,[])}compilePipeDeclaration(e,t,n){let i=l5(n),s=dE(i);return this.jitExpression(s.expression,e,t,[])}compileInjectable(e,t,n){let{expression:i,statements:s}=iE({name:n.name,type:nt(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:Iy(n.providedIn),useClass:ps(n,"useClass"),useFactory:Ay(n,"useFactory"),useValue:ps(n,"useValue"),useExisting:ps(n,"useExisting"),deps:n.deps?.map(uw)},!0);return this.jitExpression(i,e,t,s)}compileInjectableDeclaration(e,t,n){let{expression:i,statements:s}=iE({name:n.type.name,type:nt(n.type),typeArgumentCount:0,providedIn:Iy(n.providedIn),useClass:ps(n,"useClass"),useFactory:Ay(n,"useFactory"),useValue:ps(n,"useValue"),useExisting:ps(n,"useExisting"),deps:n.deps?.map(ky)},!0);return this.jitExpression(i,e,t,s)}compileInjector(e,t,n){let i={name:n.name,type:nt(n.type),providers:n.providers&&n.providers.length>0?new we(n.providers):null,imports:n.imports.map(a=>new we(a))},s=pE(i);return this.jitExpression(s.expression,e,t,[])}compileInjectorDeclaration(e,t,n){let i=c5(n),s=pE(i);return this.jitExpression(s.expression,e,t,[])}compileNgModule(e,t,n){let i={kind:fn.Global,type:nt(n.type),bootstrap:n.bootstrap.map(nt),declarations:n.declarations.map(nt),publicDeclarationTypes:null,imports:n.imports.map(nt),includeImportTypes:!0,exports:n.exports.map(nt),selectorScopeMode:To.Inline,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(nt):null,id:n.id?new we(n.id):null},s=SO(i);return this.jitExpression(s.expression,e,t,[])}compileNgModuleDeclaration(e,t,n){let i=wO(n);return this.jitExpression(i,e,t,[])}compileDirective(e,t,n){let i=by(n);return this.compileDirectiveFromMeta(e,t,i)}compileDirectiveDeclaration(e,t,n){let i=this.createParseSourceSpan("Directive",n.type.name,t),s=aw(n,i);return this.compileDirectiveFromMeta(e,t,s)}compileDirectiveFromMeta(e,t,n){let i=new El,s=vc(),a=P3(n,i,s);return this.jitExpression(a.expression,e,t,i.statements)}compileComponent(e,t,n){let{template:i,interpolation:s,defer:a}=ow(n.template,n.name,t,n.preserveWhitespaces,n.interpolation,void 0),o={...n,...by(n),selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:i,declarations:n.declarations.map(Z3),declarationListEmitMode:0,defer:a,styles:[...n.styles,...i.styles],encapsulation:n.encapsulation,interpolation:s,changeDetection:n.changeDetection??null,animations:n.animations!=null?new we(n.animations):null,viewProviders:n.viewProviders!=null?new we(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null},u=`ng:///${n.name}.js`;return this.compileComponentFromMeta(e,u,o)}compileComponentDeclaration(e,t,n){let i=this.createParseSourceSpan("Component",n.type.name,t),s=Y3(n,i,t);return this.compileComponentFromMeta(e,t,s)}compileComponentFromMeta(e,t,n){let i=new El,s=vc(n.interpolation),a=O3(n,i,s);return this.jitExpression(a.expression,e,t,i.statements)}compileFactory(e,t,n){let i=pi({name:n.name,type:nt(n.type),typeArgumentCount:n.typeArgumentCount,deps:J3(n.deps),target:n.target});return this.jitExpression(i.expression,e,t,i.statements)}compileFactoryDeclaration(e,t,n){let i=pi({name:n.type.name,type:nt(n.type),typeArgumentCount:0,deps:Array.isArray(n.deps)?n.deps.map(ky):n.deps,target:n.target});return this.jitExpression(i.expression,e,t,i.statements)}createParseSourceSpan(e,t,n){return pO(e,t,n)}jitExpression(e,t,n,i){let s=[...i,new it("$def",e,void 0,ut.Exported)];return this.jitEvaluator.evaluateStatements(n,s,new Vf(t),!0).$def}};function _y(r){return{...r,isSignal:r.isSignal,predicate:sw(r.predicate),read:r.read?new we(r.read):null,static:r.static,emitDistinctChangesOnly:r.emitDistinctChangesOnly}}function Ty(r){return{propertyName:r.propertyName,first:r.first??!1,predicate:sw(r.predicate),descendants:r.descendants??!1,read:r.read?new we(r.read):null,
40static:r.static??!1,emitDistinctChangesOnly:r.emitDistinctChangesOnly??!0,isSignal:!!r.isSignal}}function sw(r){return Array.isArray(r)?r:$p(new we(r),1)}function by(r){let e=u5(r.inputs||[]),t=df(r.outputs||[]),n=r.propMetadata,i={},s={};for(let o in n)n.hasOwnProperty(o)&&n[o].forEach(u=>{i5(u)?i[o]={bindingPropertyName:u.alias||o,classPropertyName:o,required:u.required||!1,isSignal:!!u.isSignal,transformFunction:u.transform!=null?new we(u.transform):null}:s5(u)&&(s[o]=u.alias||o)});let a=r.hostDirectives?.length?r.hostDirectives.map(o=>typeof o=="function"?{directive:nt(o),inputs:null,outputs:null,isForwardReference:!1}:{directive:nt(o.directive),isForwardReference:!1,inputs:o.inputs?df(o.inputs):null,outputs:o.outputs?df(o.outputs):null}):null;return{...r,typeArgumentCount:0,typeSourceSpan:r.typeSourceSpan,type:nt(r.type),deps:null,host:{...t5(r.propMetadata,r.typeSourceSpan,r.host)},inputs:{...e,...i},outputs:{...t,...s},queries:r.queries.map(_y),providers:r.providers!=null?new we(r.providers):null,viewQueries:r.viewQueries.map(_y),fullInheritance:!1,hostDirectives:a}}function aw(r,e){let t=r.hostDirectives?.length?r.hostDirectives.map(n=>({directive:nt(n.directive),isForwardReference:!1,inputs:n.inputs?Cy(n.inputs):null,outputs:n.outputs?Cy(n.outputs):null})):null;return{name:r.type.name,type:nt(r.type),typeSourceSpan:e,selector:r.selector??null,inputs:r.inputs?a5(r.inputs):{},outputs:r.outputs??{},host:z3(r.host),queries:(r.queries??[]).map(Ty),viewQueries:(r.viewQueries??[]).map(Ty),providers:r.providers!==void 0?new we(r.providers):null,exportAs:r.exportAs??null,usesInheritance:r.usesInheritance??!1,lifecycle:{usesOnChanges:r.usesOnChanges??!1},deps:null,typeArgumentCount:0,fullInheritance:!1,isStandalone:r.isStandalone??Ly(r.version),isSignal:r.isSignal??!1,hostDirectives:t}}function z3(r={}){return{attributes:X3(r.attributes??{}),listeners:r.listeners??{},properties:r.properties??{},specialAttributes:{classAttr:r.classAttribute,styleAttr:r.styleAttribute}}}function Cy(r){let e=null;for(let t=1;t<r.length;t+=2)e=e||{},e[r[t-1]]=r[t];return e}function X3(r){let e={};for(let t of Object.keys(r))e[t]=new we(r[t]);return e}function Y3(r,e,t){let{template:n,interpolation:i,defer:s}=ow(r.template,r.type.name,t,r.preserveWhitespaces??!1,r.interpolation,r.deferBlockDependencies),a=[];if(r.dependencies)for(let u of r.dependencies)switch(u.kind){case"directive":case"component":a.push(pf(u));break;case"pipe":a.push(Q3(u));break}else(r.components||r.directives||r.pipes)&&(r.components&&a.push(...r.components.map(u=>pf(u,!0))),r.directives&&a.push(...r.directives.map(u=>pf(u))),r.pipes&&a.push(...K3(r.pipes)));let o=a.some(({kind:u})=>u===Ri.Directive||u===Ri.NgModule);return{...aw(r,e),template:n,styles:r.styles??[],declarations:a,viewProviders:r.viewProviders!==void 0?new we(r.viewProviders):null,animations:r.animations!==void 0?new we(r.animations):null,defer:s,changeDetection:r.changeDetection??ol.Default,encapsulation:r.encapsulation??Un.Emulated,interpolation:i,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null,hasDirectiveDependencies:o}}function Z3(r){return{...r,type:new we(r.type)}}function pf(r,e=null){return{kind:Ri.Directive,isComponent:e||r.kind==="component",selector:r.selector,type:new we(r.type),inputs:r.inputs??[],outputs:r.outputs??[],exportAs:r.exportAs??null}}function K3(r){return r?Object.keys(r).map(e=>({kind:Ri.Pipe,name:e,type:new we(r[e])})):[]}function Q3(r){return{kind:Ri.Pipe,name:r.name,type:new we(r.type)}}function ow(r,e,t,n,i,s){let a=i?Ml.fromArray(i):Vr,o=k3(r,t,{preserveWhitespaces:n,interpolationConfig:a});if(o.errors!==null){let c=o.errors.map(h=>h.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${e}: ${c}`)}let l=new qp(null).bind({template:o.nodes});return{template:o,interpolation:a,defer:e5(l,s)}}function ps(r,e){if(r.hasOwnProperty(e))return $p(new we(r[e]),0)}function Ay(r,e){if(r.hasOwnProperty(e))return new we(r[e])}function Iy(r){let e=typeof r=="function"?new we(r):new gt(r??null);return $p(e,0)}function J3(r){return r==null?null:r.map(uw)}function uw(r){let e=r.attribute!=null,t=r.token===null?null:new we(r.token),n=e?new we(r.attribute):t;return lw(n,e,r.host,r.optional,r.self,r.skipSelf)}function ky(r){let e=r.attribute??!1,t=r.token===null?null:new we(r.token);return lw(t,e,r.host??!1,r.optional??!1,r.self??!1,r.skipSelf??!1)}function lw(r,e,t,n,i,s){let a=e?A("unknown"):null;return{token:r,attributeNameType:a,host:t,optional:n,self:i,skipSelf:s}}function e5(r,e){let t=r.getDeferBlocks(),n=new Map;for(let i=0;i<t.length;i++){let s=e?.[i];n.set(t[i],s?new we(s):null)}return{mode:0,blocks:n}}function t5(r,e,t){let n=j3(t||{}),i=V3(n,e);if(i.length)throw new Error(i.map(s=>s.msg).join(`
41`));
41for(let s in r)r.hasOwnProperty(s)&&r[s].forEach(a=>{r5(a)?n.properties[a.hostPropertyName||s]=PP("this",s):n5(a)&&(n.listeners[a.eventName||s]=`${s}(${(a.args||[]).join(",")})`)});return n}function r5(r){return r.ngMetadataName==="HostBinding"}function n5(r){return r.ngMetadataName==="HostListener"}function i5(r){return r.ngMetadataName==="Input"}function s5(r){return r.ngMetadataName==="Output"}function a5(r){return Object.keys(r).reduce((e,t)=>{let n=r[t];return typeof n=="string"||Array.isArray(n)?e[t]=o5(n):e[t]={bindingPropertyName:n.publicName,classPropertyName:t,transformFunction:n.transformFunction!==null?new we(n.transformFunction):null,required:n.isRequired,isSignal:n.isSignal},e},{})}function o5(r){return typeof r=="string"?{bindingPropertyName:r,classPropertyName:r,transformFunction:null,required:!1,isSignal:!1}:{bindingPropertyName:r[0],classPropertyName:r[1],transformFunction:r[2]?new we(r[2]):null,required:!1,isSignal:!1}}function u5(r){return r.reduce((e,t)=>{if(typeof t=="string"){let[n,i]=cw(t);e[i]={bindingPropertyName:n,classPropertyName:i,required:!1,isSignal:!1,transformFunction:null}}else e[t.name]={bindingPropertyName:t.alias||t.name,classPropertyName:t.name,required:t.required||!1,isSignal:!1,transformFunction:t.transform!=null?new we(t.transform):null};return e},{})}function df(r){return r.reduce((e,t)=>{let[n,i]=cw(t);return e[i]=n,e},{})}function cw(r){let[e,t]=r.split(":",2).map(n=>n.trim());return[t??e,e]}function l5(r){return{name:r.type.name,type:nt(r.type),typeArgumentCount:0,pipeName:r.name,deps:null,pure:r.pure??!0,isStandalone:r.isStandalone??Ly(r.version)}}function c5(r){return{name:r.type.name,type:nt(r.type),providers:r.providers!==void 0&&r.providers.length>0?new we(r.providers):null,imports:r.imports!==void 0?r.imports.map(e=>new we(e)):[]}}function h5(r){let e=r.ng||(r.ng={});e.\u0275compilerFacade=new Rp}var Ny;(function(r){r[r.Extract=0]="Extract",r[r.Merge=1]="Merge"})(Ny||(Ny={}));var Lp=class{closedByParent=!1;implicitNamespacePrefix=null;isVoid=!1;ignoreFirstLf=!1;canSelfClose=!0;preventNamespaceInheritance=!1;requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return Cr.PARSABLE_DATA}},yce=new Lp;var Sce=new wf("20.3.2");h5(Fa);var Twe=Rt(l2()),bwe=Rt(BT()),Cwe=Rt(JT()),Awe=Rt(fb()),Iwe=Rt(Sb()),kwe=Rt(u1()),Nwe=Rt(X1()),qwe=Rt(SI()),Dwe=Rt(HI()),Pwe=Rt(XN()),Owe=Rt(Sq()),Rwe=Rt(Bq()),Lwe=Rt(jq());"document"in self&&(!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))?(function(r){"use strict";if("Element"in r){var e="classList",t="prototype",n=r.Element[t],i=Object,s=String[t].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[t].indexOf||function(f){for(var m=0,S=this.length;m<S;m++)if(m in this&&this[m]===f)return m;return-1},o=function(f,m){this.name=f,this.code=DOMException[f],this.message=m},u=function(f,m){if(m==="")throw new o("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(m))throw new o("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(f,m)},l=function(f){for(var m=s.call(f.getAttribute("class")||""),S=m?m.split(/\s+/):[],g=0,E=S.length;g<E;g++)this.push(S[g]);this._updateClassName=function(){f.setAttribute("class",this.toString())}},c=l[t]=[],h=function(){return new l(this)};if(o[t]=Error[t],c.item=function(f){return this[f]||null},c.contains=function(f){return f+="",u(this,f)!==-1},c.add=function(){var f=arguments,m=0,S=f.length,g,E=!1;do g=f[m]+"",u(this,g)===-1&&(this.push(g),E=!0);while(++m<S);E&&this._updateClassName()},c.remove=function(){var f=arguments,m=0,S=f.length,g,E=!1,y;do for(g=f[m]+"",y=u(this,g);y!==-1;)this.splice(y,1),E=!0,y=u(this,g);while(++m<S);E&&this._updateClassName()},c.toggle=function(f,m){f+="";var S=this.contains(f),g=S?m!==!0&&"remove":m!==!1&&"add";return g&&this[g](f),m===!0||m===!1?m:!S},c.toString=function(){return this.join(" ")},i.defineProperty){var d={get:h,enumerable:!0,configurable:!0};try{i.defineProperty(n,e,d)}catch(f){f.number===-2146823252&&(d.enumerable=!1,i.defineProperty(n,e,d))}}else i[t].__defineGetter__&&n.__defineGetter__(e,h)}})(self):(function(){"use strict";var r=document.createElement("_");if(r.classList.add("c1","c2"),!r.classList.contains("c2")){var e=function(n){var i=DOMTokenList.prototype[n];DOMTokenList.prototype[n]=function(s){var a,o=arguments.length;for(a=0;a<o;a++)s=arguments[a],i.call(this,s)}};e("add"),e("remove")}if(r.classList.toggle("c3",!1),r.classList.contains("c3")){var t=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(n,i){return 1 in arguments&&!this.contains(n)==!i?i:t.call(this,n)}}r=null})());(function(){var r={},e={};(function(t,n){function i(R){if(typeof R=="number")return R;var te={};for(var re in R)te[re]=R[re];return te}function s(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=$}function a(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(R,te,re){var se=new s;
41return te&&(se.fill="both",se.duration="auto"),typeof R!="number"||isNaN(R)?R!==void 0&&Object.getOwnPropertyNames(R).forEach(function(fe){if(R[fe]!="auto"){if((typeof se[fe]=="number"||fe=="duration")&&(typeof R[fe]!="number"||isNaN(R[fe]))||fe=="fill"&&k.indexOf(R[fe])==-1||fe=="direction"&&O.indexOf(R[fe])==-1||fe=="playbackRate"&&R[fe]!==1&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;se[fe]=R[fe]}}):se.duration=R,se}function u(R){return typeof R=="number"&&(R=isNaN(R)?{duration:0}:{duration:R}),R}function l(R,te){return R=t.numericTimingToObject(R),o(R,te)}function c(R,te,re,se){return R<0||R>1||re<0||re>1?$:function(fe){function j(ye,Se,pe){return 3*ye*(1-pe)*(1-pe)*pe+3*Se*(1-pe)*pe*pe+pe*pe*pe}if(fe<=0){var U=0;return R>0?U=te/R:!te&&re>0&&(U=se/re),U*fe}if(fe>=1){var L=0;return re<1?L=(se-1)/(re-1):re==1&&R<1&&(L=(te-1)/(R-1)),1+L*(fe-1)}for(var W=0,ne=1;W<ne;){var le=(W+ne)/2,ie=j(R,re,le);if(Math.abs(fe-ie)<1e-5)return j(te,se,le);ie<fe?W=le:ne=le}return j(te,se,le)}}function h(R,te){return function(re){if(re>=1)return 1;var se=1/R;return(re+=te*se)-re%se}}function d(R){ee||(ee=document.createElement("div").style),ee.animationTimingFunction="",ee.animationTimingFunction=R;var te=ee.animationTimingFunction;if(te==""&&a())throw new TypeError(R+" is not a valid value for easing");return te}function f(R){if(R=="linear")return $;var te=ue.exec(R);if(te)return c.apply(this,te.slice(1).map(Number));var re=I.exec(R);if(re)return h(Number(re[1]),F);var se=D.exec(R);return se?h(Number(se[1]),{start:V,middle:H,end:F}[se[2]]):P[R]||$}function m(R){return Math.abs(S(R)/R.playbackRate)}function S(R){return R.duration===0||R.iterations===0?0:R.duration*R.iterations}function g(R,te,re){if(te==null)return q;var se=re.delay+R+re.endDelay;return te<Math.min(re.delay,se)?Y:te>=Math.min(re.delay+R,se)?xe:tt}function E(R,te,re,se,fe){switch(se){case Y:return te=="backwards"||te=="both"?0:null;case tt:return re-fe;case xe:return te=="forwards"||te=="both"?R:null;case q:return null}}function y(R,te,re,se,fe){var j=fe;return R===0?te!==Y&&(j+=re):j+=se/R,j}function x(R,te,re,se,fe,j){var U=R===1/0?te%1:R%1;return U!==0||re!==xe||se===0||fe===0&&j!==0||(U=1),U}function b(R,te,re,se){return R===xe&&te===1/0?1/0:re===1?Math.floor(se)-1:Math.floor(se)}function C(R,te,re){var se=R;if(R!=="normal"&&R!=="reverse"){var fe=te;R==="alternate-reverse"&&(fe+=1),se="normal",fe!==1/0&&fe%2!=0&&(se="reverse")}return se==="normal"?re:1-re}function _(R,te,re){var se=g(R,te,re),fe=E(R,re.fill,te,se,re.delay);if(fe===null)return null;var j=y(re.duration,se,re.iterations,fe,re.iterationStart),U=x(j,re.iterationStart,se,re.iterations,fe,re.duration),L=b(se,re.iterations,U,j),W=C(re.direction,L,U);return re._easingFunction(W)}var k="backwards|forwards|both|none".split("|"),O="reverse|alternate|alternate-reverse".split("|"),$=function(R){return R};s.prototype={_setMember:function(R,te){this["_"+R]=te,this._effect&&(this._effect._timingInput[R]=te,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(R){this._setMember("delay",R)},get delay(){return this._delay},set endDelay(R){this._setMember("endDelay",R)},get endDelay(){return this._endDelay},set fill(R){this._setMember("fill",R)},get fill(){return this._fill},set iterationStart(R){if((isNaN(R)||R<0)&&a())throw new TypeError("iterationStart must be a non-negative number, received: "+R);this._setMember("iterationStart",R)},get iterationStart(){return this._iterationStart},set duration(R){if(R!="auto"&&(isNaN(R)||R<0)&&a())throw new TypeError("duration must be non-negative or auto, received: "+R);this._setMember("duration",R)},get duration(){return this._duration},set direction(R){this._setMember("direction",R)},get direction(){return this._direction},set easing(R){this._easingFunction=f(d(R)),this._setMember("easing",R)},get easing(){return this._easing}
41,set iterations(R){if((isNaN(R)||R<0)&&a())throw new TypeError("iterations must be non-negative, received: "+R);this._setMember("iterations",R)},get iterations(){return this._iterations}};var V=1,H=.5,F=0,P={ease:c(.25,.1,.25,1),"ease-in":c(.42,0,1,1),"ease-out":c(0,0,.58,1),"ease-in-out":c(.42,0,.58,1),"step-start":h(1,V),"step-middle":h(1,H),"step-end":h(1,F)},ee=null,ae="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ue=new RegExp("cubic-bezier\\("+ae+","+ae+","+ae+","+ae+"\\)"),I=/steps\(\s*(\d+)\s*\)/,D=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,q=0,Y=1,xe=2,tt=3;t.cloneTimingInput=i,t.makeTiming=o,t.numericTimingToObject=u,t.normalizeTimingInput=l,t.calculateActiveDuration=m,t.calculateIterationProgress=_,t.calculatePhase=g,t.normalizeEasing=d,t.parseEasingFunction=f})(r),(function(t,n){function i(f,m){return f in d&&d[f][m]||m}function s(f){return f==="display"||f.lastIndexOf("animation",0)===0||f.lastIndexOf("transition",0)===0}function a(f,m,S){if(!s(f)){var g=l[f];if(g){c.style[f]=m;for(var E in g){var y=g[E],x=c.style[y];S[y]=i(y,x)}}else S[f]=i(f,m)}}function o(f){var m=[];for(var S in f)if(!(S in["easing","offset","composite"])){var g=f[S];Array.isArray(g)||(g=[g]);for(var E,y=g.length,x=0;x<y;x++)E={},E.offset="offset"in f?f.offset:y==1?1:x/(y-1),"easing"in f&&(E.easing=f.easing),"composite"in f&&(E.composite=f.composite),E[S]=g[x],m.push(E)}return m.sort(function(b,C){return b.offset-C.offset}),m}function u(f){function m(){var b=S.length;S[b-1].offset==null&&(S[b-1].offset=1),b>1&&S[0].offset==null&&(S[0].offset=0);for(var C=0,_=S[0].offset,k=1;k<b;k++){var O=S[k].offset;if(O!=null){for(var $=1;$<k-C;$++)S[C+$].offset=_+(O-_)*$/(k-C);C=k,_=O}}}if(f==null)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&f[Symbol.iterator]&&(f=Array.from(f)),Array.isArray(f)||(f=o(f));for(var S=f.map(function(b){var C={};for(var _ in b){var k=b[_];if(_=="offset"){if(k!=null){if(k=Number(k),!isFinite(k))throw new TypeError("Ke
41yframe offsets must be numbers.");if(k<0||k>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if(_=="composite"){if(k=="add"||k=="accumulate")throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if(k!="replace")throw new TypeError("Invalid composite mode "+k+".")}else k=_=="easing"?t.normalizeEasing(k):""+k;a(_,k,C)}return C.offset==null&&(C.offset=null),C.easing==null&&(C.easing="linear"),C}),g=!0,E=-1/0,y=0;y<S.length;y++){var x=S[y].offset;if(x!=null){if(x<E)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");E=x}else g=!1}return S=S.filter(function(b){return b.offset>=0&&b.offset<=1}),g||m(),S}var l={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},c=document.createElementNS("http://www.w3.org/1999/xhtml","div"),h={thin:"1px",medium:"3px",thick:"5px"},d={borderBottomWidth:h,borderLeftWidth:h,borderRightWidth:h,borderTopWidth:h,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:h,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=o,t.normalizeKeyframes=u})(r),(function(t){var n={};t.isDeprecated=function(i,s,a,o){var u=o?"are":"is",l=new Date,c=new Date(s);return c.setMonth(c.getMonth()+3),!(l<c&&(i in n||console.warn("Web Animations: "+i+" "+u+" deprecated and will stop working on "+c.toDateString()+". "+a),n[i]=!0,1))},t.deprecated=function(i,s,a,o){var u=o?"are":"is";if(t.isDeprecated(i,s,a,o))throw new Error(i+" "+u+" no longer supported. "+a)}})(r),(function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),n=!0;if(t&&(n=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(i){t[i]===void 0&&(n=!0)})),!n)return}(function(i,s,a){function o(l){for(var c={},h=0;h<l.length;h++)for(var d in l[h])if(d!="offset"&&d!="easing"&&d!="composite"){var f={offset:l[h].offset,easing:l[h].easing,value:l[h][d]};c[d]=c[d]||[],c[d].push(f)}for(var m in c){var S=c[m];if(S[0].offset!=0||S[S.length-1].offset!=1)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return c}function u(l){var c=[];for(var h in l)for(var d=l[h],f=0;f<d.length-1;f++){var m=f,S=f+1,g=d[m].offset,E=d[S].offset,y=g,x=E;f==0&&(y=-1/0,E==0&&(S=m)),f==d.length-2&&(x=1/0,g==1&&(m=S)),c.push({applyFrom:y,applyTo:x,startOffset:d[m].offset,endOffset:d[S].offset,easingFunction:i.parseEasingFunction(d[m].easing),property:h,interpolation:s.propertyInterpolation(h,d[m].value,d[S].value)})}return c.sort(function(b,C){return b.startOffset-C.startOffset}),c}s.convertEffectInput=function(l){var c=i.normalizeKeyframes(l),h=o(c),d=u(h);return function(f,m){if(m!=null)d.filter(function(g){return m>=g.applyFrom&&m<g.applyTo}
41).forEach(function(g){var E=m-g.startOffset,y=g.endOffset-g.startOffset,x=y==0?0:g.easingFunction(E/y);s.apply(f,g.property,g.interpolation(x))});else for(var S in h)S!="offset"&&S!="easing"&&S!="composite"&&s.clear(f,S)}}})(r,e),(function(i,s,a){function o(f){return f.replace(/-(.)/g,function(m,S){return S.toUpperCase()})}function u(f,m,S){h[S]=h[S]||[],h[S].push([f,m])}function l(f,m,S){for(var g=0;g<S.length;g++)u(f,m,o(S[g]))}function c(f,m,S){var g=f;/-/.test(f)&&!i.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(g=o(f)),m!="initial"&&S!="initial"||(m=="initial"&&(m=d[g]),S=="initial"&&(S=d[g]));for(var E=m==S?[]:h[g],y=0;E&&y<E.length;y++){var x=E[y][0](m),b=E[y][0](S);if(x!==void 0&&b!==void 0){var C=E[y][1](x,b);if(C){var _=s.Interpolation.apply(null,C);return function(k){return k==0?m:k==1?S:_(k)}}}}return s.Interpolation(!1,!0,function(k){return k?S:m})}var h={};s.addPropertiesHandler=l;var d={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};s.propertyInterpolation=c})(r,e),(function(i,s,a){function o(u){var l=i.calculateActiveDuration(u),c=function(h){return i.calculateIterationProgress(l,h,u)};return c._totalDuration=u.delay+l+u.endDelay,c}s.KeyframeEffect=function(u,l,c,h){var d,f=o(i.normalizeTimingInput(c)),m=s.convertEffectInput(l),S=function(){m(u,d)};return S._update=function(g){return(d=f(g))!==null},S._clear=function(){m(u,null)},S._hasSameTarget=function(g){return u===g},S._target=u,S._totalDuration=f._totalDuration,S._id=h,S}})(r,e),(function(i,s){function a(g,E){return!(!E.namespaceURI||E.namespaceURI.indexOf("/svg")==-1)&&(c in g||(g[c]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(g.navigator.userAgent)),g[c])}function o(g,E,y){y.enumerable=!0,y.configurable=!0,Object.defineProperty(g,E,y)}function u(g){this._element=g,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=g.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=a(window,g),this._savedTransformAttr=null;for(var E=0;E<this._style.length;E++){var y=this._style[E];this._surrogateStyle[y]=this._style[y]}this._updateIndices()}function l(g){if(!g._webAnimationsPatchedStyle){var E=new u(g);try{o(g,"style",{get:function(){return E}})}catch{g.style._set=function(x,b){g.style[x]=b},g.style._clear=function(x){g.style[x]=""}}g._webAnimationsPatchedStyle=g.style}}var c="_webAnimationsUpdateSvgTransformAttr",h={cssText:1,length:1,parentRule:1},d={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},f={removeProperty:1,setProperty:1};u.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(g){for(var E={},y=0;y<this._surrogateStyle.length;y++)E[this._surrogateStyle[y]]=!0;this._surrogateStyle.cssText=g,this._updateIndices();for(var y=0;y<this._surrogateStyle.length;y++)E[this._surrogateStyle[y]]=!0;for(var x in E)this._isAnimatedProperty[x]||this._style.setProperty(x,this._surrogateStyle.getPropertyValue(x))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:(function(g){return function(){return this._surrogateStyle[g]}})(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(g,E){this._style[g]=E,this._isAnimatedProperty[g]=!0,this._updateSvgTransformAttr&&i.unprefixedPropertyName(g)=="transform"&&(this._savedTransformAttr==null&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",i.transformToSvgMatrix(E)))},_clear:function(g){this._style[g]=this._surrogateStyle[g],this._updateSvgTransformAttr&&i.unprefixedPropertyName(g)=="transform"&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[g]}};for(var m in d)u.prototype[m]=(function(g,E){return function(){var y=this._surrogateStyle[g].apply(this._surrogateStyle,arguments);return E&&(this._isAnimatedProperty[arguments[0]]||this._style[g].apply(this._style,arguments),this._updateIndices()),y}})(m,m in f);for(var S in document.documentElement.style)S in h||S in d||(function(g){o(u.prototype,g,{get:function(){return this._surrogateStyle[g]},set:function(E){this._surrogateStyle[g]=E,this._updateIndices(),this._isAnimatedProperty[g]||(this._style[g]=E)}})})(S);
41i.apply=function(g,E,y){l(g),g.style._set(i.propertyName(E),y)},i.clear=function(g,E){g._webAnimationsPatchedStyle&&g.style._clear(i.propertyName(E))}})(e),(function(i){window.Element.prototype.animate=function(s,a){var o="";return a&&a.id&&(o=a.id),i.timeline._play(i.KeyframeEffect(this,s,a,o))}})(e),(function(i,s){function a(o,u,l){if(typeof o=="number"&&typeof u=="number")return o*(1-l)+u*l;if(typeof o=="boolean"&&typeof u=="boolean")return l<.5?o:u;if(o.length==u.length){for(var c=[],h=0;h<o.length;h++)c.push(a(o[h],u[h],l));return c}throw"Mismatched interpolation arguments "+o+":"+u}i.Interpolation=function(o,u,l){return function(c){return l(a(o,u,c))}}})(e),(function(i,s){function a(l,c,h){return Math.max(Math.min(l,h),c)}function o(l,c,h){var d=i.dot(l,c);d=a(d,-1,1);var f=[];if(d===1)f=l;else for(var m=Math.acos(d),S=1*Math.sin(h*m)/Math.sqrt(1-d*d),g=0;g<4;g++)f.push(l[g]*(Math.cos(h*m)-d*S)+c[g]*S);return f}var u=(function(){function l(d,f){for(var m=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],S=0;S<4;S++)for(var g=0;g<4;g++)for(var E=0;E<4;E++)m[S][g]+=f[S][E]*d[E][g];return m}function c(d){return d[0][2]==0&&d[0][3]==0&&d[1][2]==0&&d[1][3]==0&&d[2][0]==0&&d[2][1]==0&&d[2][2]==1&&d[2][3]==0&&d[3][2]==0&&d[3][3]==1}function h(d,f,m,S,g){for(var E=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],y=0;y<4;y++)E[y][3]=g[y];for(var y=0;y<3;y++)for(var x=0;x<3;x++)E[3][y]+=d[x]*E[x][y];var b=S[0],C=S[1],_=S[2],k=S[3],O=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];O[0][0]=1-2*(C*C+_*_),O[0][1]=2*(b*C-_*k),O[0][2]=2*(b*_+C*k),O[1][0]=2*(b*C+_*k),O[1][1]=1-2*(b*b+_*_),O[1][2]=2*(C*_-b*k),O[2][0]=2*(b*_-C*k),O[2][1]=2*(C*_+b*k),O[2][2]=1-2*(b*b+C*C),E=l(E,O);var $=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];m[2]&&($[2][1]=m[2],E=l(E,$)),m[1]&&($[2][1]=0,$[2][0]=m[0],E=l(E,$)),m[0]&&($[2][0]=0,$[1][0]=m[0],E=l(E,$));for(var y=0;y<3;y++)for(var x=0;x<3;x++)E[y][x]*=f[y];return c(E)?[E[0][0],E[0][1],E[1][0],E[1][1],E[3][0],E[3][1]]:E[0].concat(E[1],E[2],E[3])}return h})();i.composeMatrix=u,i.quat=o})(e),(function(i,s,a){i.sequenceNumber=0;var o=function(u,l,c){this.target=u,this.currentTime=l,this.timelineTime=c,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=u,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};s.Animation=function(u){this.id="",u&&u._id&&(this.id=u._id),this._sequenceNumber=i.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=u,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},s.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&this.currentTime===0?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,s.timeline._animations.push(this))},_tickCurrentTime:function(u,l){u!=this._currentTime&&(this._currentTime=u,this._isFinished&&!l&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(u){u=+u,isNaN(u)||(s.restart(),this._paused||this._startTime==null||(this._startTime=this._timeline.currentTime-u/this._playbackRate),this._currentTimePending=!1,this._currentTime!=u&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(u,!0),s.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(u){u=+u,isNaN(u)||this._paused||this._idle||(this._startTime=u,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),s.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(u){if(u!=this._playbackRate){var l=this.currentTime;this._playbackRate=u,this._startTime=null,this.playState!="paused"&&this.playState!="idle"&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),s.applyDirtiedAnimation(this)),l!=null&&(this.currentTime=l)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":this._startTime==null&&!this._paused&&this.playbackRate!=0||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),s.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,s.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),s.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(u,l){typeof l=="function"&&u=="finish"&&this._finishHandlers.push(l)},removeEventListener:function(u,l){if(u=="finish"){var c=this._finishHandlers.indexOf(l);c>=0&&this._finishHandlers.splice(c,1)}},_fireEvents:function(u){if(this._isFinished){if(!this._finishedFlag){var l=new o(this,this._currentTime,u),c=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);
vendor: 13,507 bytes, line 41
41setTimeout(function(){c.forEach(function(h){h.call(l.target,l)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(u,l){this._idle||this._paused||(this._startTime==null?l&&(this.startTime=u-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((u-this._startTime)*this.playbackRate)),l&&(this._currentTimePending=!1,this._fireEvents(u))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var u=this._effect._target;return u._activeAnimations||(u._activeAnimations=[]),u._activeAnimations},_markTarget:function(){var u=this._targetAnimations();u.indexOf(this)===-1&&u.push(this)},_unmarkTarget:function(){var u=this._targetAnimations(),l=u.indexOf(this);l!==-1&&u.splice(l,1)}}})(r,e),(function(i,s,a){function o(C){var _=f;f=[],C<b.currentTime&&(C=b.currentTime),b._animations.sort(u),b._animations=h(C,!0,b._animations)[0],_.forEach(function(k){k[1](C)}),c(),S=void 0}function u(C,_){return C._sequenceNumber-_._sequenceNumber}function l(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function c(){y.forEach(function(C){C()}),y.length=0}function h(C,_,k){x=!0,E=!1,s.timeline.currentTime=C,g=!1;var O=[],$=[],V=[],H=[];return k.forEach(function(F){F._tick(C,_),F._inEffect?($.push(F._effect),F._markTarget()):(O.push(F._effect),F._unmarkTarget()),F._needsTick&&(g=!0);var P=F._inEffect||F._needsTick;F._inTimeline=P,P?V.push(F):H.push(F)}),y.push.apply(y,O),y.push.apply(y,$),g&&requestAnimationFrame(function(){}),x=!1,[V,H]}var d=window.requestAnimationFrame,f=[],m=0;window.requestAnimationFrame=function(C){var _=m++;return f.length==0&&d(o),f.push([_,C]),_},window.cancelAnimationFrame=function(C){f.forEach(function(_){_[0]==C&&(_[1]=function(){})})},l.prototype={_play:function(C){C._timing=i.normalizeTimingInput(C.timing);var _=new s.Animation(C);return _._idle=!1,_._timeline=this,this._animations.push(_),s.restart(),s.applyDirtiedAnimation(_),_}};var S=void 0,g=!1,E=!1;s.restart=function(){return g||(g=!0,requestAnimationFrame(function(){}),E=!0),E},s.applyDirtiedAnimation=function(C){if(!x){C._markTarget();var _=C._targetAnimations();_.sort(u),h(s.timeline.currentTime,!1,_.slice())[1].forEach(function(k){var O=b._animations.indexOf(k);O!==-1&&b._animations.splice(O,1)}),c()}};var y=[],x=!1,b=new l;s.timeline=b})(r,e),(function(i,s){function a(f,m){for(var S=0,g=0;g<f.length;g++)S+=f[g]*m[g];return S}function o(f,m){return[f[0]*m[0]+f[4]*m[1]+f[8]*m[2]+f[12]*m[3],f[1]*m[0]+f[5]*m[1]+f[9]*m[2]+f[13]*m[3],f[2]*m[0]+f[6]*m[1]+f[10]*m[2]+f[14]*m[3],f[3]*m[0]+f[7]*m[1]+f[11]*m[2]+f[15]*m[3],f[0]*m[4]+f[4]*m[5]+f[8]*m[6]+f[12]*m[7],f[1]*m[4]+f[5]*m[5]+f[9]*m[6]+f[13]*m[7],f[2]*m[4]+f[6]*m[5]+f[10]*m[6]+f[14]*m[7],f[3]*m[4]+f[7]*m[5]+f[11]*m[6]+f[15]*m[7],f[0]*m[8]+f[4]*m[9]+f[8]*m[10]+f[12]*m[11],f[1]*m[8]+f[5]*m[9]+f[9]*m[10]+f[13]*m[11],f[2]*m[8]+f[6]*m[9]+f[10]*m[10]+f[14]*m[11],f[3]*m[8]+f[7]*m[9]+f[11]*m[10]+f[15]*m[11],f[0]*m[12]+f[4]*m[13]+f[8]*m[14]+f[12]*m[15],f[1]*m[12]+f[5]*m[13]+f[9]*m[14]+f[13]*m[15],f[2]*m[12]+f[6]*m[13]+f[10]*m[14]+f[14]*m[15],f[3]*m[12]+f[7]*m[13]+f[11]*m[14]+f[15]*m[15]]}function u(f){var m=f.rad||0;return((f.deg||0)/360+(f.grad||0)/400+(f.turn||0))*(2*Math.PI)+m}function l(f){switch(f.t){case"rotatex":var C=u(f.d[0]);return[1,0,0,0,0,Math.cos(C),Math.sin(C),0,0,-Math.sin(C),Math.cos(C),0,0,0,0,1];case"rotatey":var C=u(f.d[0]);return[Math.cos(C),0,-Math.sin(C),0,0,1,0,0,Math.sin(C),0,Math.cos(C),0,0,0,0,1];case"rotate":case"rotatez":var C=u(f.d[0]);return[Math.cos(C),Math.sin(C),0,0,-Math.sin(C),Math.cos(C),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var _=f.d[0],k=f.d[1],O=f.d[2],C=u(f.d[3]),m=_*_+k*k+O*O;if(m===0)_=1,k=0,O=0;else if(m!==1){var S=Math.sqrt(m);_/=S,k/=S,O/=S}var g=Math.sin(C/2),E=g*Math.cos(C/2),y=g*g;return[1-2*(k*k+O*O)*y,2*(_*k*y+O*E),2*(_*O*y-k*E),0,2*(_*k*y-O*E),1-2*(_*_+O*O)*y,2*(k*O*y+_*E),0,2*(_*O*y+k*E),2*(k*O*y-_*E),1-2*(_*_+k*k)*y,0,0,0,0,1];case"scale":return[f.d[0],0,0,0,0,f.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[f.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,f.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,f.d[0],0,0,0,0,1];case"scale3d":return[f.d[0],0,0,0,0,f.d[1],0,0,0,0,f.d[2],0,0,0,0,1];case"skew":var x=u(f.d[0]),b=u(f.d[1]);return[1,Math.tan(b),0,0,Math.tan(x),1,0,0,0,0,1,0,0,0,0,1];case"skewx":var C=u(f.d[0]);return[1,0,0,0,Math.tan(C),1,0,0,0,0,1,0,0,0,0,1];case"skewy":var C=u(f.d[0]);return[1,Math.tan(C),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":var _=f.d[0].px||0,k=f.d[1].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,_,k,0,1];case"translatex":var _=f.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,_,0,0,1];case"translatey":var k=f.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,k,0,1];case"translatez":var O=f.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,O,1];case"translate3d":var _=f.d[0].px||0,k=f.d[1].px||0,O=f.d[2].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,_,k,O,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,f.d[0].px?-1/f.d[0].px:0,0,0,0,1];case"matrix":return[f.d[0],f.d[1],0,0,f.d[2],f.d[3],0,0,0,0,1,0,f.d[4],f.d[5],0,1];case"matrix3d":return f.d}}function c(f){return f.length===0?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:f.map(l).reduce(o)}function h(f){return[d(c(f))]}var d=(function(){function f(_){return _[0][0]*_[1][1]*_[2][2]+_[1][0]*_[2][1]*_[0][2]+_[2][0]*_[0][1]*_[1][2]-_[0][2]*_[1][1]*_[2][0]-_[1][2]*_[2][1]*_[0][0]-_[2][2]*_[0][1]*_[1][0]}function m(_){for(var k=1/f(_),O=_[0][0],$=_[0][1],V=_[0][2],H=_[1][0],F=_[1][1],P=_[1][2],ee=_[2][0],ae=_[2][1],ue=_[2][2],I=[[(F*ue-P*ae)*k,(V*ae-$*ue)*k,($*P-V*F)*k,0],[(P*ee-H*ue)*k,(O*ue-V*ee)*k,(V*H-O*P)*k,0],[(H*ae-F*ee)*k,(ee*$-O*ae)*k,(O*F-$*H)*k,0]],D=[],q=0;q<3;q++){for(var Y=0,xe=0;xe<3;xe++)Y+=_[3][xe]*I[xe][q];D.push(Y)}return D.push(1),I.push(D),I}function S(_){return[[_[0][0],_[1][0],_[2][0],_[3][0]],[_[0][1],_[1][1],_[2][1],_[3][1]],[_[0][2],_[1][2],_[2][2],_[3][2]],[_[0][3],_[1][3],_[2][3],_[3][3]]]}function g(_,k){for(var O=[],$=0;$<4;$++){for(var V=0,H=0;H<4;H++)V+=_[H]*k[H][$];O.push(V)}return O}function E(_){var k=y(_);return[_[0]/k,_[1]/k,_[2]/k]}function y(_){return Math.sqrt(_[0]*_[0]+_[1]*_[1]+_[2]*_[2])}function x(_,k,O,$){return[O*_[0]+$*k[0],O*_[1]+$*k[1],O*_[2]+$*k[2]]}function b(_,k){return[_[1]*k[2]-_[2]*k[1],_[2]*k[0]-_[0]*k[2],_[0]*k[1]-_[1]*k[0]]}function C(_){var k=[_.slice(0,4),_.slice(4,8),_.slice(8,12),_.slice(12,16)];if(k[3][3]!==1)return null;for(var O=[],$=0;$<4;$++)O.push(k[$].slice());for(var $=0;$<3;$++)O[$][3]=0;if(f(O)===0)return null;var V,H=[];k[0][3]||k[1][3]||k[2][3]?(H.push(k[0][3]),H.push(k[1][3]),H.push(k[2][3]),H.push(k[3][3]),V=g(H,S(m(O)))):V=[0,0,0,1];var F=k[3].slice(0,3),P=[];P.push(k[0].slice(0,3));var ee=[];ee.push(y(P[0])),P[0]=E(P[0]);var ae=[];P.push(k[1].slice(0,3)),ae.push(a(P[0],P[1])),P[1]=x(P[1],P[0],1,-ae[0]),ee.push(y(P[1])),P[1]=E(P[1]),ae[0]/=ee[1],P.push(k[2].slice(0,3)),ae.push(a(P[0],P[2])),P[2]=x(P[2],P[0],1,-ae[1]),ae.push(a(P[1],P[2])),P[2]=x(P[2],P[1],1,-ae[2]),ee.push(y(P[2])),P[2]=E(P[2]),ae[1]/=ee[2],ae[2]/=ee[2];var ue=b(P[1],P[2]);if(a(P[0],ue)<0)for(var $=0;$<3;$++)ee[$]*=-1,P[$][0]*=-1,P[$][1]*=-1,P[$][2]*=-1;var I,D,q=P[0][0]+P[1][1]+P[2][2]+1;return q>1e-4?(I=.5/Math.sqrt(q),D=[(P[2][1]-P[1][2])*I,(P[0][2]-P[2][0])*I,(P[1][0]-P[0][1])*I,.25/I]):P[0][0]>P[1][1]&&P[0][0]>P[2][2]?(I=2*Math.sqrt(1+P[0][0]-P[1][1]-P[2][2]),D=[.25*I,(P[0][1]+P[1][0])/I,(P[0][2]+P[2][0])/I,(P[2][1]-P[1][2])/I]):P[1][1]>P[2][2]?(I=2*Math.sqrt(1+P[1][1]-P[0][0]-P[2][2]),D=[(P[0][1]+P[1][0])/I,.25*I,(P[1][2]+P[2][1])/I,(P[0][2]-P[2][0])/I]):(I=2*Math.sqrt(1+P[2][2]-P[0][0]-P[1][1]),D=[(P[0][2]+P[2][0])/I,(P[1][2]+P[2][1])/I,.25*I,(P[1][0]-P[0][1])/I]),[F,ee,ae,D,V]}return C})();i.dot=a,i.makeMatrixDecomposition=h,i.transformListToMatrix=c})(e),(function(i){function s(S,g){var E=S.exec(g);if(E)return E=S.ignoreCase?E[0].toLowerCase():E[0],[E,g.substr(E.length)]}function a(S,g){g=g.replace(/^\s*/,"");var E=S(g);if(E)return[E[0],E[1].replace(/^\s*/,"")]}function o(S,g,E){S=a.bind(null,S);for(var y=[];;){var x=S(E);if(!x)return[y,E];if(y.push(x[0]),E=x[1],!(x=s(g,E))||x[1]=="")return[y,E];E=x[1]}}function u(S,g){for(var E=0,y=0;y<g.length&&(!/\s|,/.test(g[y])||E!=0);y++)if(g[y]=="(")E++;else if(g[y]==")"&&(E--,E==0&&y++,E<=0))break;var x=S(g.substr(0,y));return x==null?void 0:[x,g.substr(y)]}function l(S,g){for(var E=S,y=g;E&&y;)E>y?E%=y:y%=E;return E=S*g/(E+y)}function c(S){return function(g){var E=S(g);return E&&(E[0]=void 0),E}}function h(S,g){return function(E){return S(E)||[g,E]}}function d(S,g){for(var E=[],y=0;y<S.length;y++){var x=i.consumeTrimmed(S[y],g);if(!x||x[0]=="")return;x[0]!==void 0&&E.push(x[0]),g=x[1]}if(g=="")return E}function f(S,g,E,y,x){for(var b=[],C=[],_=[],k=l(y.length,x.length),O=0;O<k;O++){var $=g(y[O%y.length],x[O%x.length]);if(!$)return;b.push($[0]),C.push($[1]),_.push($[2])}return[b,C,function(V){var H=V.map(function(F,P){return _[P](F)}).join(E);return S?S(H):H}]}function m(S,g,E){for(var y=[],x=[],b=[],C=0,_=0;_<E.length;_++)if(typeof E[_]=="function"){var k=E[_](S[C],g[C++]);y.push(k[0]),x.push(k[1]),b.push(k[2])}else(function(O){y.push(!1),x.push(!1),b.push(function(){return E[O]})})(_);return[y,x,function(O){for(var $="",V=0;V<O.length;V++)$+=b[V](O[V]);return $}]}i.consumeToken=s,i.consumeTrimmed=a,i.consumeRepeated=o,i.consumeParenthesised=u,i.ignore=c,i.optional=h,i.consumeList=d,i.mergeNestedRepeated=f.bind(null,null),i.mergeWrappedNestedRepeated=f,i.mergeList=m})(e),(function(i){function s(c){function h(m){var S=i.consumeToken(/^inset/i,m);return S?(d.inset=!0,S):(S=i.consumeLengthOrPercent(m))?(d.lengths.push(S[0]),S):(S=i.consumeColor(m),S?(d.color=S[0],S):void 0)}var d={inset:!1,lengths:[],color:null},f=i.consumeRepeated(h,/^/,c);if(f&&f[0].length)return[d,f[1]]}function a(c){var h=i.consumeRepeated(s,/^,/,c);if(h&&h[1]=="")return h[0]}function o(c,h){for(;c.lengths.length<Math.max(c.lengths.length,h.lengths.length);)c.lengths.push({px:0});for(;h.lengths.length<Math.max(c.lengths.length,h.lengths.length);)h.lengths.push({px:0});if(c.inset==h.inset&&!!c.color==!!h.color){for(var d,f=[],m=[[],0],S=[[],0],g=0;g<c.lengths.length;g++){var E=i.mergeDimensions(c.lengths[g],h.lengths[g],g==2);m[0].push(E[0]),S[0].push(E[1]),f.push(E[2])}if(c.color&&h.color){var y=i.mergeColors(c.color,h.color);m[1]=y[0],S[1]=y[1],d=y[2]}return[m,S,function(x){for(var b=c.inset?"inset ":" ",C=0;C<f.length;C++)b+=f[C](x[0][C])+" ";return d&&(b+=d(x[1])),b}]}}function u(c,h,d,f){function m(b){return{inset:b,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var S=[],g=[],E=0;E<d.length||E<f.length;E++){var y=d[E]||m(f[E].inset),x=f[E]||m(d[E].inset);S.push(y),g.push(x)}return i.mergeNestedRepeated(c,h,S,g)}var l=u.bind(null,o,", ");i.addPropertiesHandler(a,l,["box-shadow","text-shadow"])})(e),(function(i,s){function a(g){return g.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function o(g,E,y){return Math.min(E,Math.max(g,y))}function u(g){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(g))return Number(g)}function l(g,E){return[g,E,a]}function c(g,E){if(g!=0)return d(0,1/0)(g,E)}function h(g,E){return[g,E,function(y){return Math.round(o(1,1/0,y))}]}function d(g,E){return function(y,x){return[y,x,function(b){return a(o(g,E,b))}]}}function f(g){var E=g.trim().split(/\s*[\s,]\s*/);if(E.length!==0){for(var y=[],x=0;x<E.length;x++){var b=u(E[x]);if(b===void 0)return;y.push(b)}return y}}function m(g,E){if(g.length==E.length)return[g,E,function(y){return y.map(a).join(" ")}]}function S(g,E){return[g,E,Math.round]}i.clamp=o,i.addPropertiesHandler(f,m,["stroke-dasharray"]),i.addPropertiesHandler(u,d(0,1/0),["border-image-width","line-height"]),i.addPropertiesHandler(u,d(0,1),["opacity","shape-image-threshold"]),i.addPropertiesHandler(u,c,["flex-grow","flex-shrink"]),i.addPropertiesHandler(u,h,["orphans","widows"]),i.addPropertiesHandler(u,S,["z-index"]),i.parseNumber=u,i.parseNumberList=f,i.mergeNumbers=l,i.numberToString=a})(e),(function(i,s){function a(o,u){if(o=="visible"||u=="visible")return[0,1,function(l){return l<=0?o:l>=1?u:"visible"}]}i.addPropertiesHandler(String,a,["visibility"])})(e),(function(i,s){function a(c){c=c.trim(),l.fillStyle="#000",l.fillStyle=c;var h=l.fillStyle;if(l.fillStyle="#fff",l.fillStyle=c,h==l.fillStyle){l.fillRect(0,0,1,1);var d=l.getImageData(0,0,1,1).data;l.clearRect(0,0,1,1);var f=d[3]/255;return[d[0]*f,d[1]*f,d[2]*f,f]}}function o(c,h){return[c,h,function(d){function f(S){return Math.max(0,Math.min(255,S))}if(d[3])for(var m=0;m<3;m++)d[m]=Math.round(f(d[m]/d[3]));return d[3]=i.numberToString(i.clamp(0,1,d[3])),"rgba("+d.join(",")+")"}]}var u=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");u.width=u.height=1;var l=u.getContext("2d");i.addPropertiesHandler(a,o,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),i.consumeColor=i.consumeParenthesised.bind(null,a),i.mergeColors=o})(e),(function(i,s){function a(b){function C(){var F=H.exec(b);V=F?F[0]:void 0}function _(){var F=Number(V);return C(),F}function k(){if(V!=="(")return _();C();var F=$();return V!==")"?NaN:(C(),F)}function O(){for(var F=k();V==="*"||V==="/";){var P=V;C();var ee=k();P==="*"?F*=ee:F/=ee}return F}function $(){for(var F=O();V==="+"||V==="-";){var P=V;C();var ee=O();P==="+"?F+=ee:F-=ee}return F}var V,H=/([\+\-\w\.]+|[\(\)\*\/])/g;return C(),$()}
vendor: 5,929 bytes, line 41
41function o(b,C){if((C=C.trim().toLowerCase())=="0"&&"px".search(b)>=0)return{px:0};if(/^[^(]*$|^calc/.test(C)){C=C.replace(/calc\(/g,"(");var _={};C=C.replace(b,function(P){return _[P]=null,"U"+P});for(var k="U("+b.source+")",O=C.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+k,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),$=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],V=0;V<$.length;)$[V].test(O)?(O=O.replace($[V],"$1"),V=0):V++;if(O=="D"){for(var H in _){var F=a(C.replace(new RegExp("U"+H,"g"),"").replace(new RegExp(k,"g"),"*0"));if(!isFinite(F))return;_[H]=F}return _}}}function u(b,C){return l(b,C,!0)}function l(b,C,_){var k,O=[];for(k in b)O.push(k);for(k in C)O.indexOf(k)<0&&O.push(k);return b=O.map(function($){return b[$]||0}),C=O.map(function($){return C[$]||0}),[b,C,function($){var V=$.map(function(H,F){return $.length==1&&_&&(H=Math.max(H,0)),i.numberToString(H)+O[F]}).join(" + ");return $.length>1?"calc("+V+")":V}]}var c="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",h=o.bind(null,new RegExp(c,"g")),d=o.bind(null,new RegExp(c+"|%","g")),f=o.bind(null,/deg|rad|grad|turn/g);i.parseLength=h,i.parseLengthOrPercent=d,i.consumeLengthOrPercent=i.consumeParenthesised.bind(null,d),i.parseAngle=f,i.mergeDimensions=l;var m=i.consumeParenthesised.bind(null,h),S=i.consumeRepeated.bind(void 0,m,/^/),g=i.consumeRepeated.bind(void 0,S,/^,/);i.consumeSizePairList=g;var E=function(b){var C=g(b);if(C&&C[1]=="")return C[0]},y=i.mergeNestedRepeated.bind(void 0,u," "),x=i.mergeNestedRepeated.bind(void 0,y,",");i.mergeNonNegativeSizePair=y,i.addPropertiesHandler(E,x,["background-size"]),i.addPropertiesHandler(d,u,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),i.addPropertiesHandler(d,l,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])})(e),(function(i,s){function a(h){return i.consumeLengthOrPercent(h)||i.consumeToken(/^auto/,h)}function o(h){var d=i.consumeList([i.ignore(i.consumeToken.bind(null,/^rect/)),i.ignore(i.consumeToken.bind(null,/^\(/)),i.consumeRepeated.bind(null,a,/^,/),i.ignore(i.consumeToken.bind(null,/^\)/))],h);if(d&&d[0].length==4)return d[0]}function u(h,d){return h=="auto"||d=="auto"?[!0,!1,function(f){var m=f?h:d;if(m=="auto")return"auto";var S=i.mergeDimensions(m,m);return S[2](S[0])}]:i.mergeDimensions(h,d)}function l(h){return"rect("+h+")"}var c=i.mergeWrappedNestedRepeated.bind(null,l,u,", ");i.parseBox=o,i.mergeBoxes=c,i.addPropertiesHandler(o,c,["clip"])})(e),(function(i,s){function a(y){return function(x){var b=0;return y.map(function(C){return C===m?x[b++]:C})}}function o(y){return y}function u(y){if((y=y.toLowerCase().trim())=="none")return[];for(var x,b=/\s*(\w+)\(([^)]*)\)/g,C=[],_=0;x=b.exec(y);){if(x.index!=_)return;_=x.index+x[0].length;var k=x[1],O=E[k];if(!O)return;var $=x[2].split(","),V=O[0];if(V.length<$.length)return;for(var H=[],F=0;F<V.length;F++){var P,ee=$[F],ae=V[F];if((P=ee?{A:function(ue){return ue.trim()=="0"?g:i.parseAngle(ue)},N:i.parseNumber,T:i.parseLengthOrPercent,L:i.parseLength}[ae.toUpperCase()](ee):{a:g,n:H[0],t:S}[ae])===void 0)return;H.push(P)}if(C.push({t:k,d:H}),b.lastIndex==y.length)return C}}function l(y){return y.toFixed(6).replace(".000000","")}function c(y,x){if(y.decompositionPair!==x){y.decompositionPair=x;var b=i.makeMatrixDecomposition(y)}if(x.decompositionPair!==y){x.decompositionPair=y;var C=i.makeMatrixDecomposition(x)}return b[0]==null||C[0]==null?[[!1],[!0],function(_){return _?x[0].d:y[0].d}]:(b[0].push(0),C[0].push(1),[b,C,function(_){var k=i.quat(b[0][3],C[0][3],_[5]);return i.composeMatrix(_[0],_[1],_[2],k,_[4]).map(l).join(",")}])}function h(y){return y.replace(/[xy]/,"")}function d(y){return y.replace(/(x|y|z|3d)?$/,"3d")}function f(y,x){var b=i.makeMatrixDecomposition&&!0,C=!1;if(!y.length||!x.length){y.length||(C=!0,y=x,x=[]);for(var _=0;_<y.length;_++){var k=y[_].t,O=y[_].d,$=k.substr(0,5)=="scale"?1:0;x.push({t:k,d:O.map(function(fe){if(typeof fe=="number")return $;var j={};for(var U in fe)j[U]=$;return j})})}}var V=function(fe,j){return fe=="perspective"&&j=="perspective"||(fe=="matrix"||fe=="matrix3d")&&(j=="matrix"||j=="matrix3d")},H=[],F=[],P=[];if(y.length!=x.length){if(!b)return;var ee=c(y,x);H=[ee[0]],F=[ee[1]],P=[["matrix",[ee[2]]]]}else for(var _=0;_<y.length;_++){var k,ae=y[_].t,ue=x[_].t,I=y[_].d,D=x[_].d,q=E[ae],Y=E[ue];if(V(ae,ue)){if(!b)return;var ee=c([y[_]],[x[_]]);H.push(ee[0]),F.push(ee[1]),P.push(["matrix",[ee[2]]])}else{if(ae==ue)k=ae;else if(q[2]&&Y[2]&&h(ae)==h(ue))k=h(ae),I=q[2](I),D=Y[2](D);else{if(!q[1]||!Y[1]||d(ae)!=d(ue)){if(!b)return;var ee=c(y,x);H=[ee[0]],F=[ee[1]],P=[["matrix",[ee[2]]]];break}k=d(ae),I=q[1](I),D=Y[1](D)}for(var xe=[],tt=[],R=[],te=0;te<I.length;te++){var re=typeof I[te]=="number"?i.mergeNumbers:i.mergeDimensions,ee=re(I[te],D[te]);xe[te]=ee[0],tt[te]=ee[1],R.push(ee[2])}H.push(xe),F.push(tt),P.push([k,R])}}if(C){var se=H;H=F,F=se}return[H,F,function(fe){return fe.map(function(j,U){var L=j.map(function(W,ne){return P[U][1][ne](W)}).join(",");return P[U][0]=="matrix"&&L.split(",").length==16&&(P[U][0]="matrix3d"),P[U][0]+"("+L+")"}).join(" ")}]}var m=null,S={px:0},g={deg:0},E={matrix:["NNNNNN",[m,m,0,0,m,m,0,0,0,0,1,0,m,m,0,1],o],matrix3d:["NNNNNNNNNNNNNNNN",o],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",a([m,m,1]),o],scalex:["N",a([m,1,1]),a([m,1])],scaley:["N",a([1,m,1]),a([1,m])],scalez:["
41N",a([1,1,m])],scale3d:["NNN",o],skew:["Aa",null,o],skewx:["A",null,a([m,g])],skewy:["A",null,a([g,m])],translate:["Tt",a([m,m,S]),o],translatex:["T",a([m,S,S]),a([m,S])],translatey:["T",a([S,m,S]),a([S,m])],translatez:["L",a([S,S,m])],translate3d:["TTL",o]};i.addPropertiesHandler(u,f,["transform"]),i.transformToSvgMatrix=function(y){var x=i.transformListToMatrix(u(y));return"matrix("+l(x[0])+" "+l(x[1])+" "+l(x[4])+" "+l(x[5])+" "+l(x[12])+" "+l(x[13])+")"}})(e),(function(i){function s(u){var l=Number(u);if(!(isNaN(l)||l<100||l>900||l%100!=0))return l}function a(u){return u=100*Math.round(u/100),u=i.clamp(100,900,u),u===400?"normal":u===700?"bold":String(u)}function o(u,l){return[u,l,a]}i.addPropertiesHandler(s,o,["font-weight"])})(e),(function(i){function s(f){var m={};for(var S in f)m[S]=-f[S];return m}function a(f){return i.consumeToken(/^(left|center|right|top|bottom)\b/i,f)||i.consumeLengthOrPercent(f)}function o(f,m){var S=i.consumeRepeated(a,/^/,m);if(S&&S[1]==""){var g=S[0];if(g[0]=g[0]||"center",g[1]=g[1]||"center",f==3&&(g[2]=g[2]||{px:0}),g.length==f){if(/top|bottom/.test(g[0])||/left|right/.test(g[1])){var E=g[0];g[0]=g[1],g[1]=E}if(/left|right|center|Object/.test(g[0])&&/top|bottom|center|Object/.test(g[1]))return g.map(function(y){return typeof y=="object"?y:c[y]})}}}function u(f){var m=i.consumeRepeated(a,/^/,f);if(m){for(var S=m[0],g=[{"%":50},{"%":50}],E=0,y=!1,x=0;x<S.length;x++){var b=S[x];typeof b=="string"?(y=/bottom|right/.test(b),E={left:0,right:0,center:E,top:1,bottom:1}[b],g[E]=c[b],b=="center"&&E++):(y&&(b=s(b),b["%"]=(b["%"]||0)+100),g[E]=b,E++,y=!1)}return[g,m[1]]}}function l(f){var m=i.consumeRepeated(u,/^,/,f);if(m&&m[1]=="")return m[0]}var c={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},h=i.mergeNestedRepeated.bind(null,i.mergeDimensions," ");i.addPropertiesHandler(o.bind(null,3),h,["transform-origin"]),i.addPropertiesHandler(o.bind(null,2),h,["perspective-origin"]),i.consumePosition=u,i.mergeOffsetList=h;var d=i.mergeNestedRepeated.bind(null,h,", ");i.addPropertiesHandler(l,d,["background-position","object-position"])})(e),(function(i){function s(h){var d=i.consumeToken(/^circle/,h);if(d&&d[0])return["circle"].concat(i.consumeList([i.ignore(i.consumeToken.bind(void 0,/^\(/)),o,i.ignore(i.consumeToken.bind(void 0,/^at/)),i.consumePosition,i.ignore(i.consumeToken.bind(void 0,/^\)/))],d[1]));var f=i.consumeToken(/^ellipse/,h);if(f&&f[0])return["ellipse"].concat(i.consumeList([i.ignore(i.consumeToken.bind(void 0,/^\(/)),u,i.ignore(i.consumeToken.bind(void 0,/^at/)),i.consumePosition,i.ignore(i.consumeToken.bind(void 0,/^\)/))],f[1]));var m=i.consumeToken(/^polygon/,h);return m&&m[0]?["polygon"].concat(i.consumeList([i.ignore(i.consumeToken.bind(void 0,/^\(/)),i.optional(i.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),i.consumeSizePairList,i.ignore(i.consumeToken.bind(void 0,/^\)/))],m[1])):void 0}function a(h,d){if(h[0]===d[0])return h[0]=="circle"?i.mergeList(h.slice(1),d.slice(1),["circle(",i.mergeDimensions," at ",i.mergeOffsetList,")"]):h[0]=="ellipse"?i.mergeList(h.slice(1),d.slice(1),["ellipse(",i.mergeNonNegativeSizePair," at ",i.mergeOffsetList,")"]):h[0]=="polygon"&&h[1]==d[1]?i.mergeList(h.slice(2),d.slice(2),["polygon(",h[1],c,")"]):void 0}var o=i.consumeParenthesised.bind(null,i.parseLengthOrPercent),u=i.consumeRepeated.bind(void 0,o,/^/),l=i.mergeNestedRepeated.bind(void 0,i.mergeDimensions," "),c=i.mergeNestedRepeated.bind(void 0,l,",");i.addPropertiesHandler(s,a,["shape-outside"])})(e),(function(i,s){function a(l,c){c.concat([l]).forEach(function(h){h in document.documentElement.style&&(o[l]=h),u[h]=l})}var o={},u={};a("transform",["webkitTransform","msTransform"]),a("transformOrigin",["webkitTransformOrigin"]),a("perspective",["webkitPerspective"]),a("perspectiveOrigin",["webkitPerspectiveOrigin"]),i.propertyName=function(l){return o[l]||l},i.unprefixedPropertyName=function(l){return u[l]||l}})(e)})(),(function(){if(document.createElement("div").animate([]).oncancel===void 0){var t;if(window.performance&&performance.now)var t=function(){return performance.now()};else var t=function(){return Date.now()};var n=function(s,a,o){this.target=s,this.currentTime=a,this.timelineTime=o,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=s,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},i=window.Element.prototype.animate;window.Element.prototype.animate=function(s,a){var o=i.call(this,s,a);o._cancelHandlers=[],o.oncancel=null;var u=o.cancel;o.cancel=function(){u.call(this);var h=new n(this,null,t()),d=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){d.forEach(function(f){f.call(h.target,h)})}
vendor: 25,431 bytes, line 41
41,0)};var l=o.addEventListener;o.addEventListener=function(h,d){typeof d=="function"&&h=="cancel"?this._cancelHandlers.push(d):l.call(this,h,d)};var c=o.removeEventListener;return o.removeEventListener=function(h,d){if(h=="cancel"){var f=this._cancelHandlers.indexOf(d);f>=0&&this._cancelHandlers.splice(f,1)}else c.call(this,h,d)},o}}})(),(function(t){var n=document.documentElement,i=null,s=!1;try{var a=getComputedStyle(n).getPropertyValue("opacity"),o=a=="0"?"1":"0";i=n.animate({opacity:[o,o]},{duration:1}),i.currentTime=0,s=getComputedStyle(n).getPropertyValue("opacity")==o}catch{}finally{i&&i.cancel()}if(!s){var u=window.Element.prototype.animate;window.Element.prototype.animate=function(l,c){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&l[Symbol.iterator]&&(l=Array.from(l)),Array.isArray(l)||l===null||(l=t.convertToArrayForm(l)),u.call(this,l,c)}}})(r)})();var Fwe=Rt(yD());var un=globalThis;function Sr(r){return(un.__Zone_symbol_prefix||"__zone_symbol__")+r}function qle(){let r=un.performance;function e(ue){r&&r.mark&&r.mark(ue)}function t(ue,I){r&&r.measure&&r.measure(ue,I)}e("Zone");class n{static __symbol__=Sr;static assertZonePatched(){if(un.Promise!==V.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let I=n.current;for(;I.parent;)I=I.parent;return I}static get current(){return F.zone}static get currentTask(){return P}static __load_patch(I,D,q=!1){if(V.hasOwnProperty(I)){let Y=un[Sr("forceDuplicateZoneCheck")]===!0;if(!q&&Y)throw Error("Already loaded patch: "+I)}else if(!un["__Zone_disable_"+I]){let Y="Zone:"+I;e(Y),V[I]=D(un,n,H),t(Y,Y)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(I,D){this._parent=I,this._name=D?D.name||"unnamed":"<root>",this._properties=D&&D.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,D)}get(I){let D=this.getZoneWith(I);if(D)return D._properties[I]}getZoneWith(I){let D=this;for(;D;){if(D._properties.hasOwnProperty(I))return D;D=D._parent}return null}fork(I){if(!I)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,I)}wrap(I,D){if(typeof I!="function")throw new Error("Expecting function got: "+I);let q=this._zoneDelegate.intercept(this,I,D),Y=this;return function(){return Y.runGuarded(q,this,arguments,D)}}run(I,D,q,Y){F={parent:F,zone:this};try{return this._zoneDelegate.invoke(this,I,D,q,Y)}finally{F=F.parent}}runGuarded(I,D=null,q,Y){F={parent:F,zone:this};try{try{return this._zoneDelegate.invoke(this,I,D,q,Y)}catch(xe){if(this._zoneDelegate.handleError(this,xe))throw xe}}finally{F=F.parent}}runTask(I,D,q){if(I.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(I.zone||g).name+"; Execution: "+this.name+")");let Y=I,{type:xe,data:{isPeriodic:tt=!1,isRefreshable:R=!1}={}}=I;if(I.state===E&&(xe===$||xe===O))return;let te=I.state!=b;te&&Y._transitionTo(b,x);let re=P;P=Y,F={parent:F,zone:this};try{xe==O&&I.data&&!tt&&!R&&(I.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,Y,D,q)}catch(se){if(this._zoneDelegate.handleError(this,se))throw se}}finally{let se=I.state;if(se!==E&&se!==_)if(xe==$||tt||R&&se===y)te&&Y._transitionTo(x,b,y);else{let fe=Y._zoneDelegates;this._updateTaskCount(Y,-1),te&&Y._transitionTo(E,b,E),R&&(Y._zoneDelegates=fe)}F=F.parent,P=re}}scheduleTask(I){if(I.zone&&I.zone!==this){let q=this;for(;q;){if(q===I.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${I.zone.name}`);q=q.parent}}I._transitionTo(y,E);let D=[];I._zoneDelegates=D,I._zone=this;try{I=this._zoneDelegate.scheduleTask(this,I)}catch(q){throw I._transitionTo(_,y,E),this._zoneDelegate.handleError(this,q),q}return I._zoneDelegates===D&&this._updateTaskCount(I,1),I.state==y&&I._transitionTo(x,y),I}scheduleMicroTask(I,D,q,Y){return this.scheduleTask(new a(k,I,D,q,Y,void 0))}scheduleMacroTask(I,D,q,Y,xe){return this.scheduleTask(new a(O,I,D,q,Y,xe))}scheduleEventTask(I,D,q,Y,xe){return this.scheduleTask(new a($,I,D,q,Y,xe))}cancelTask(I){if(I.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(I.zone||g).name+"; Execution: "+this.name+")");if(!(I.state!==x&&I.state!==b)){I._transitionTo(C,x,b);try{this._zoneDelegate.cancelTask(this,I)}catch(D){throw I._transitionTo(_,C),this._zoneDelegate.handleError(this,D),D}return this._updateTaskCount(I,-1),I._transitionTo(E,C),I.runCount=-1,I}}_updateTaskCount(I,D){let q=I._zoneDelegates;D==-1&&(I._zoneDelegates=null);for(let Y=0;Y<q.length;Y++)q[Y]._updateTaskCount(I.type,D)}}let i={name:"",onHasTask:(ue,I,D,q)=>ue.hasTask(D,q),onScheduleTask:(ue,I,D,q)=>ue.scheduleTask(D,q),onInvokeTask:(ue,I,D,q,Y,xe)=>ue.invokeTask(D,q,Y,xe),onCancelTask:(ue,I,D,q)=>ue.cancelTask(D,q)};class s{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(I,D,q){this._zone=I,this._parentDelegate=D,this._forkZS=q&&(q&&q.onFork?q:D._forkZS),this._forkDlgt=q&&(q.onFork?D:D._forkDlgt),this._forkCurrZone=q&&(q.onFork?this._zone:D._forkCurrZone),this._interceptZS=q&&(q.onIntercept?q:D._interceptZS),this._interceptDlgt=q&&(q.onIntercept?D:D._interceptDlgt),this._interceptCurrZone=q&&(q.onIntercept?this._zone:D._interceptCurrZone),this._invokeZS=q&&(q.onInvoke?q:D._invokeZS),this._invokeDlgt=q&&(q.onInvoke?D:D._invokeDlgt),this._invokeCurrZone=q&&(q.onInvoke?this._zone:D._invokeCurrZone),this._handleErrorZS=q&&(q.onHandleError?q:D._handleErrorZS),this._handleErrorDlgt=q&&(q.onHandleError?D:D._handleErrorDlgt),this._handleErrorCurrZone=q&&(q.onHandleError?this._zone:D._handleErrorCurrZone),this._scheduleTaskZS=q&&(q.onScheduleTask?q:D._scheduleTaskZS),this._scheduleTaskDlgt=q&&(q.onScheduleTask?D:D._scheduleTaskDlgt),this._scheduleTaskCurrZone=q&&(q.onScheduleTask?this._zone:D._scheduleTaskCurrZone),this._invokeTaskZS=q&&(q.onInvokeTask?q:D._invokeTaskZS),this._invokeTaskDlgt=q&&(q.onInvokeTask?D:D._invokeTaskDlgt),this._invokeTaskCurrZone=q&&(q.onInvokeTask?this._zone:D._invokeTaskCurrZone),this._cancelTaskZS=q&&(q.onCancelTask?q:D._cancelTaskZS),this._cancelTaskDlgt=q&&(q.onCancelTask?D:D._cancelTaskDlgt),this._cancelTaskCurrZone=q&&(q.onCancelTask?this._zone:D._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let Y=q&&q.onHasTask,xe=D&&D._hasTaskZS;(Y||xe)&&(this._hasTaskZS=Y?q:i,this._hasTaskDlgt=D,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,q.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=D,this._scheduleTaskCurrZone=this._zone),q.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=D,this._invokeTaskCurrZone=this._zone),q.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=D,this._cancelTaskCurrZone=this._zone))}fork(I,D){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,I,D):new n(I,D)}intercept(I,D,q){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,I,D,q):D}invoke(I,D,q,Y,xe){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,I,D,q,Y,xe):D.apply(q,Y)}handleError(I,D){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,I,D):!0}scheduleTask(I,D){let q=D;if(this._scheduleTaskZS)this._hasTaskZS&&q._zoneDelegates.push(this._hasTaskDlgtOwner),q=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,I,D),q||(q=D);else if(D.scheduleFn)D.scheduleFn(D);else if(D.type==k)m(D);else throw new Error("Task is missing scheduleFn.");return q}invokeTask(I,D,q,Y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,I,D,q,Y):D.callback.apply(q,Y)}cancelTask(I,D){let q;if(this._cancelTaskZS)q=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,I,D);else{if(!D.cancelFn)throw Error("Task is not cancelable");q=D.cancelFn(D)}return q}hasTask(I,D){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,I,D)}catch(q){this.handleError(I,q)}}_updateTaskCount(I,D){let q=this._taskCounts,Y=q[I],xe=q[I]=Y+D;if(xe<0)throw new Error("More tasks executed then were scheduled.");if(Y==0||xe==0){let tt={microTask:q.microTask>0,macroTask:q.macroTask>0,eventTask:q.eventTask>0,change:I};this.hasTask(this._zone,tt)}}}class a{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(I,D,q,Y,xe,tt){if(this.type=I,this.source=D,this.data=Y,this.scheduleFn=xe,this.cancelFn=tt,!q)throw new Error("callback is not defined");this.callback=q;let R=this;I===$&&Y&&Y.useG?this.invoke=a.invokeTask:this.invoke=function(){return a.invokeTask.call(un,R,this,arguments)}}static invokeTask(I,D,q){I||(I=this),ee++;try{return I.runCount++,I.zone.runTask(I,D,q)}finally{ee==1&&S(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(E,y)}_transitionTo(I,D,q){if(this._state===D||this._state===q)this._state=I,I==E&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${I}', expecting state '${D}'${q?" or '"+q+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let o=Sr("setTimeout"),u=Sr("Promise"),l=Sr("then"),c=[],h=!1,d;function f(ue){if(d||un[u]&&(d=un[u].resolve(0)),d){let I=d[l];I||(I=d.then),I.call(d,ue)}else un[o](ue,0)}function m(ue){ee===0&&c.length===0&&f(S),ue&&c.push(ue)}function S(){if(!h){for(h=!0;c.length;){let ue=c;c=[];for(let I=0;I<ue.length;I++){let D=ue[I];try{D.zone.runTask(D,null,null)}catch(q){H.onUnhandledError(q)}}}H.microtaskDrainDone(),h=!1}}let g={name:"NO ZONE"},E="notScheduled",y="scheduling",x="scheduled",b="running",C="canceling",_="unknown",k="microTask",O="macroTask",$="eventTask",V={},H={symbol:Sr,currentZoneFrame:()=>F,onUnhandledError:ae,microtaskDrainDone:ae,scheduleMicroTask:m,showUncaughtError:()=>!n[Sr("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ae,patchMethod:()=>ae,bindArguments:()=>[],patchThen:()=>ae,patchMacroTask:()=>ae,patchEventPrototype:()=>ae,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ae,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ae,wrapWithCurrentZone:()=>ae,filterProperties:()=>[],attachOriginToPatched:()=>ae,_redefineProperty:()=>ae,patchCallbacks:()=>ae,nativeScheduleMicroTask:f},F={parent:null,zone:new n(null,null)},P=null,ee=0;function ae(){}return t("Zone","Zone"),n}function Dle(){let r=globalThis,e=r[Sr("forceDuplicateZoneCheck")]===!0;if(r.Zone&&(e||typeof r.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return r.Zone??=qle(),r.Zone}var Ou=Object.getOwnPropertyDescriptor,Tg=Object.defineProperty,bg=Object.getPrototypeOf,Ple=Object.create,Ole=Array.prototype.slice,Cg="addEventListener",Ag="removeEventListener",Sg=Sr(Cg),wg=Sr(Ag),qn="true",Dn="false",Ru=Sr("");function Ig(r,e){return Zone.current.wrap(r,e)}function kg(r,e,t,n,i){return Zone.current.scheduleMacroTask(r,e,t,n,i)}var Oe=Sr,jh=typeof window<"u",Lu=jh?window:void 0,ot=jh&&Lu||globalThis,Rle="removeAttribute";function Ng(r,e){for(let t=r.length-1;t>=0;t--)typeof r[t]=="function"&&(r[t]=Ig(r[t],e+"_"+t));return r}function Lle(r,e){let t=r.constructor.name;for(let n=0;n<e.length;n++){let i=e[n],s=r[i];if(s){let a=Ou(r,i);if(!CD(a))continue;r[i]=(o=>{let u=function(){return o.apply(this,Ng(arguments,t+"."+i))};return On(u,o),u})(s)}}}function CD(r){return r?r.writable===!1?!1:!(typeof r.get=="function"&&typeof r.set>"u"):!0}var AD=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Vh=!("nw"in ot)&&typeof ot.process<"u"&&ot.process.toString()==="[object process]",qg=!Vh&&!AD&&!!(jh&&Lu.HTMLElement),ID=typeof ot.process<"u"&&ot.process.toString()==="[object process]"&&!AD&&!!(jh&&Lu.HTMLElement),Uh={},Mle=Oe("enable_beforeunload"),SD=function(r){if(r=r||ot.event,!r)return;let e=Uh[r.type];e||(e=Uh[r.type]=Oe("ON_PROPERTY"+r.type));let t=this||r.target||ot,n=t[e],i;if(qg&&t===Lu&&r.type==="error"){let s=r;i=n&&n.call(this,s.message,s.filename,s.lineno,s.colno,s.error),i===!0&&r.preventDefault()}else i=n&&n.apply(this,arguments),r.type==="beforeunload"&&ot[Mle]&&typeof i=="string"?r.returnValue=i:i!=null&&!i&&r.preventDefault();return i};function wD(r,e,t){let n=Ou(r,e);if(!n&&t&&Ou(t,e)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let i=Oe("on"+e+"patched");if(r.hasOwnProperty(i)&&r[i])return;delete n.writable,delete n.value;let s=n.get,a=n.set,o=e.slice(2),u=Uh[o];u||(u=Uh[o]=Oe("ON_PROPERTY"+o)),n.set=function(l){let c=this;if(!c&&r===ot&&(c=ot),!c)return;typeof c[u]=="function"&&c.removeEventListener(o,SD),a?.call(c,null),c[u]=l,typeof l=="function"&&c.addEventListener(o,SD,!1)},n.get=function(){let l=this;if(!l&&r===ot&&(l=ot),!l)return null;let c=l[u];if(c)return c;if(s){let h=s.call(this);if(h)return n.set.call(this,h),typeof l[Rle]=="function"&&l.removeAttribute(e),h}return null},Tg(r,e,n),r[i]=!0}function kD(r,e,t){if(e)for(let n=0;n<e.length;n++)wD(r,"on"+e[n],t);else{let n=[];for(let i in r)i.slice(0,2)=="on"&&n.push(i);for(let i=0;i<n.length;i++)wD(r,n[i],t)}}var Mr=Oe("originalInstance");function Pu(r){let e=ot[r];if(!e)return;ot[Oe(r)]=e,ot[r]=function(){let i=Ng(arguments,r);switch(i.length){case 0:this[Mr]=new e;break;case 1:this[Mr]=new e(i[0]);break;case 2:this[Mr]=new e(i[0],i[1]);break;case 3:this[Mr]=new e(i[0],i[1],i[2]);break;case 4:this[Mr]=new e(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},On(ot[r],e);let t=new e(function(){}),n;for(n in t)r==="XMLHttpRequest"&&n==="responseBlob"||(function(i){typeof t[i]=="function"?ot[r].prototype[i]=function(){return this[Mr][i].apply(this[Mr],arguments)}:Tg(ot[r].prototype,i,{set:function(s){typeof s=="function"?(this[Mr][i]=Ig(s,r+"."+i),On(this[Mr][i],s)):this[Mr][i]=s},get:function(){return this[Mr][i]}})})(n);for(n in e)n!=="prototype"&&e.hasOwnProperty(n)&&(ot[r][n]=e[n])}function Pn(r,e,t){let n=r;for(;n&&!n.hasOwnProperty(e);)n=bg(n);!n&&r[e]&&(n=r);let i=Oe(e),s=null;if(n&&(!(s=n[i])||!n.hasOwnProperty(i))){s=n[i]=n[e];let a=n&&Ou(n,e);if(CD(a)){let o=t(s,i,e);n[e]=function(){return o(this,arguments)},On(n[e],s)}}return s}function Ble(r,e,t){let n=null;function i(s){let a=s.data;return a.args[a.cbIdx]=function(){s.invoke.apply(this,arguments)},n.apply(a.target,a.args),s}n=Pn(r,e,s=>function(a,o){let u=t(a,o);return u.cbIdx>=0&&typeof o[u.cbIdx]=="function"?kg(u.name,o[u.cbIdx],u,i):s.apply(a,o)})}function On(r,e){r[Oe("OriginalDelegate")]=e}var xD=!1,xg=!1;function Fle(){if(xD)return xg;xD=!0;try{let r=Lu.navigator.userAgent;(r.indexOf("MSIE ")!==-1||r.indexOf("Trident/")!==-1||r.indexOf("Edge/")!==-1)&&(xg=!0)}catch{}return xg}function _D(r){return typeof r=="function"}function TD(r){return typeof r=="number"}var $le={useG:!0},wr={},ND={},qD=new RegExp("^"+Ru+"(\\w+)(true|false)$"),DD=Oe("propagationStopped");function PD(r,e){let t=(e?e(r):r)+Dn,n=(e?e(r):r)+qn,i=Ru+t,s=Ru+n;wr[r]={},wr[r][Dn]=i,wr[r][qn]=s}function Ule(r,e,t,n){let i=n&&n.add||Cg,s=n&&n.rm||Ag,a=n&&n.listeners||"eventListeners",o=n&&n.rmAll||"removeAllListeners",u=Oe(i),l="."+i+":",c="prependListener",h="."+c+":",d=function(y,x,b){if(y.isRemoved)return;let C=y.callback;typeof C=="object"&&C.handleEvent&&(y.callback=O=>C.handleEvent(O),y.originalDelegate=C);let _;try{y.invoke(y,x,[b])}catch(O){_=O}let k=y.options;if(k&&typeof k=="object"&&k.once){let O=y.originalDelegate?y.originalDelegate:y.callback;x[s].call(x,b.type,O,k)}return _};function f(y,x,b){if(x=x||r.event,!x)return;let C=y||x.target||r,_=C[wr[x.type][b?qn:Dn]];if(_){let k=[];if(_.length===1){let O=d(_[0],C,x);O&&k.push(O)}else{let O=_.slice();for(let $=0;$<O.length&&!(x&&x[DD]===!0);$++){let V=d(O[$],C,x);V&&k.push(V)}}if(k.length===1)throw k[0];for(let O=0;O<k.length;O++){let $=k[O];e.nativeScheduleMicroTask(()=>{throw $})}}}let m=function(y){return f(this,y,!1)},S=function(y){return f(this,y,!0)};function g(y,x){if(!y)return!1;let b=!0;x&&x.useG!==void 0&&(b=x.useG);let C=x&&x.vh,_=!0;x&&x.chkDup!==void 0&&(_=x.chkDup);let k=!1;x&&x.rt!==void 0&&(k=x.rt);let O=y;for(;O&&!O.hasOwnProperty(i);)O=bg(O);if(!O&&y[i]&&(O=y),!O||O[u])return!1;let $=x&&x.eventNameToString,V={},H=O[u]=O[i],F=O[Oe(s)]=O[s],P=O[Oe(a)]=O[a],ee=O[Oe(o)]=O[o],ae;x&&x.prepend&&(ae=O[Oe(x.prepend)]=O[x.prepend]);function ue(L,W){return W?typeof L=="boolean"?{capture:L,passive:!0}:L?typeof L=="object"&&L.passive!==!1?{...L,passive:!0}:L:{passive:!0}:L}let I=function(L){if(!V.isExisting)return H.call(V.target,V.eventName,V.capture?S:m,V.options)},D=function(L){if(!L.isRemoved){let W=wr[L.eventName],ne;W&&(ne=W[L.capture?qn:Dn]);let le=ne&&L.target[ne];if(le){for(let ie=0;ie<le.length;ie++)if(le[ie]===L){le.splice(ie,1),L.isRemoved=!0,L.removeAbortListener&&(L.removeAbortListener(),L.removeAbortListener=null),le.length===0&&(L.allRemoved=!0,L.target[ne]=null);break}}}if(L.allRemoved)return F.call(L.target,L.eventName,L.capture?S:m,L.options)},q=function(L){return H.call(V.target,V.eventName,L.invoke,V.options)},Y=function(L){return ae.call(V.target,V.eventName,L.invoke,V.options)},xe=function(L){return F.call(L.target,L.eventName,L.invoke,L.options)},tt=b?I:q,R=b?D:xe,te=function(L,W){let ne=typeof W;return ne==="function"&&L.callback===W||ne==="object"&&L.originalDelegate===W},re=x?.diff||te,se=Zone[Oe("UNPATCHED_EVENTS")],fe=r[Oe("PASSIVE_EVENTS")];function j(L){if(typeof L=="object"&&L!==null){let W={...L};return L.signal&&(W.signal=L.signal),W}return L}let U=function(L,W,ne,le,ie=!1,ye=!1){return function(){let Se=this||r,pe=arguments[0];x&&x.transferEventName&&(pe=x.transferEventName(pe));let je=arguments[1];if(!je)return L.apply(this,arguments);if(Vh&&pe==="uncaughtException")return L.apply(this,arguments);let Ve=!1;if(typeof je!="function"){if(!je.handleEvent)return L.apply(this,arguments);Ve=!0}if(C&&!C(L,je,Se,arguments))return;let Rn=!!fe&&fe.indexOf(pe)!==-1,Br=j(ue(arguments[2],Rn)),is=Br?.signal;if(is?.aborted)return;if(se){for(let Fr=0;Fr<se.length;Fr++)if(pe===se[Fr])return Rn?L.call(Se,pe,je,Br):L.apply(this,arguments)}let Wh=Br?typeof Br=="boolean"?!0:Br.capture:!1,Dg=Br&&typeof Br=="object"?Br.once:!1,FD=Zone.current,Gh=wr[pe];Gh||(PD(pe,$),Gh=wr[pe]);let Pg=Gh[Wh?qn:Dn],ss=Se[Pg],Og=!1;if(ss){if(Og=!0,_){for(let Fr=0;Fr<ss.length;Fr++)if(re(ss[Fr],je))return}}else ss=Se[Pg]=[];let Mu,Rg=Se.constructor.name,Lg=ND[Rg];Lg&&(Mu=Lg[pe]),Mu||(Mu=Rg+W+($?$(pe):pe)),V.options=Br,Dg&&(V.options.once=!1),V.target=Se,V.capture=Wh,V.eventName=pe,V.isExisting=Og;let Na=b?$le:void 0;Na&&(Na.taskData=V),is&&(V.options.signal=void 0);let xr=FD.scheduleEventTask(Mu,je,Na,ne,le);if(is){V.options.signal=is;let Fr=()=>xr.zone.cancelTask(xr);L.call(is,"abort",Fr,{once:!0}),xr.removeAbortListener=()=>is.removeEventListener("abort",Fr)}if(V.target=null,Na&&(Na.taskData=null),Dg&&(V.options.once=!0),typeof xr.options!="boolean"&&(xr.options=Br),xr.target=Se,xr.capture=Wh,xr.eventName=pe,Ve&&(xr.originalDelegate=je),ye?ss.unshift(xr):ss.push(xr),ie)return Se}};return O[i]=U(H,l,tt,R,k),ae&&(O[c]=U(ae,h,Y,R,k,!0)),O[s]=function(){let L=this||r,W=arguments[0];x&&x.transferEventName&&(W=x.transferEventName(W));let ne=arguments[2],le=ne?typeof ne=="boolean"?!0:ne.capture:!1,ie=arguments[1];if(!ie)return F.apply(this,arguments);if(C&&!C(F,ie,L,arguments))return;let ye=wr[W],Se;ye&&(Se=ye[le?qn:Dn]);let pe=Se&&L[Se];if(pe)for(let je=0;je<pe.length;je++){let Ve=pe[je];if(re(Ve,ie)){if(pe.splice(je,1),Ve.isRemoved=!0,pe.length===0&&(Ve.allRemoved=!0,L[Se]=null,!le&&typeof W=="string")){let Rn=Ru+"ON_PROPERTY"+W;L[Rn]=null}return Ve.zone.cancelTask(Ve),k?L:void 0}}return F.apply(this,arguments)},O[a]=function(){let L=this||r,W=arguments[0];x&&x.transferEventName&&(W=x.transferEventName(W));let ne=[],le=OD(L,$?$(W):W);for(let ie=0;ie<le.length;ie++){let ye=le[ie],Se=ye.originalDelegate?ye.originalDelegate:ye.callback;ne.push(Se)}return ne},O[o]=function(){let L=this||r,W=arguments[0];if(W){x&&x.transferEventName&&(W=x.transferEventName(W));let ne=wr[W];if(ne){let le=ne[Dn],ie=ne[qn],ye=L[le],Se=L[ie];if(ye){let pe=ye.slice();for(let je=0;je<pe.length;je++){let Ve=pe[je],Rn=Ve.originalDelegate?Ve.originalDelegate:Ve.callback;this[s].call(this,W,Rn,Ve.options)}}if(Se){let pe=Se.slice();for(let je=0;je<pe.length;je++){let Ve=pe[je],Rn=Ve.originalDelegate?Ve.originalDelegate:Ve.callback;this[s].call(this,W,Rn,Ve.options)}}}}else{let ne=Object.keys(L);for(let le=0;le<ne.length;le++){let ie=ne[le],ye=qD.exec(ie),Se=ye&&ye[1];Se&&Se!=="removeListener"&&this[o].call(this,Se)}this[o].call(this,"removeListener")}if(k)return this},On(O[i],H),On(O[s],F),ee&&On(O[o],ee),P&&On(O[a],P),!0}let E=[];for(let y=0;y<t.length;y++)E[y]=g(t[y],n);return E}function OD(r,e){if(!e){let s=[];for(let a in r){let o=qD.exec(a),u=o&&o[1];if(u&&(!e||u===e)){let l=r[a];if(l)for(let c=0;c<l.length;c++)s.push(l[c])}}return s}let t=wr[e];t||(PD(e),t=wr[e]);let n=r[t[Dn]],i=r[t[qn]];return n?i?n.concat(i):n.slice():i?i.slice():[]}function jle(r,e){let t=r.Event;t&&t.prototype&&e.patchMethod(t.prototype,"stopImmediatePropagation",n=>function(i,s){i[DD]=!0,n&&n.apply(i,s)})}function Vle(r,e){e.patchMethod(r,"queueMicrotask",t=>function(n,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}var $h=Oe("zoneTask");function ka(r,e,t,n){let i=null,s=null;e+=n,t+=n;let a={};function o(l){let c=l.data;c.args[0]=function(){return l.invoke.apply(this,arguments)};let h=i.apply(r,c.args);return TD(h)?c.handleId=h:(c.handle=h,c.isRefreshable=_D(h.refresh)),l}function u(l){let{handle:c,handleId:h}=l.data;return s.call(r,c??h)}i=Pn(r,e,l=>function(c,h){if(_D(h[0])){let d={isRefreshable:!1,isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?h[1]||0:void 0,args:h},f=h[0];h[0]=function(){try{return f.apply(this,arguments)}finally{let{handle:b,handleId:C,isPeriodic:_,isRefreshable:k}=d;!_&&!k&&(C?delete a[C]:b&&(b[$h]=null))}};let m=kg(e,h[0],d,o,u);if(!m)return m;let{handleId:S,handle:g,isRefreshable:E,isPeriodic:y}=m.data;if(S)a[S]=m;else if(g&&(g[$h]=m,E&&!y)){let x=g.refresh;g.refresh=function(){let{zone:b,state:C}=m;return C==="notScheduled"?(m._state="scheduled",b._updateTaskCount(m,1)):C==="running"&&(m._state="scheduling"),x.call(this)}}return g??S??m}else return l.apply(r,h)}),s=Pn(r,t,l=>function(c,h){let d=h[0],f;TD(d)?(f=a[d],delete a[d]):(f=d?.[$h],f?d[$h]=null:f=d),f?.type?f.cancelFn&&f.zone.cancelTask(f):l.apply(r,h)})}function Hle(r,e){let{isBrowser:t,isMix:n}=e.getGlobalObjects();if(!t&&!n||!r.customElements||!("customElements"in r))return;let i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];e.patchCallbacks(e,r.customElements,"customElements","define",i)}function Wle(r,e){if(Zone[e.symbol("patchEventTarget")])return;let{eventNames:t,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=e.getGlobalObjects();for(let u=0;u<t.length;u++){let l=t[u],c=l+s,h=l+i,d=a+c,f=a+h;n[l]={},n[l][s]=d,n[l][i]=f}let o=r.EventTarget;if(!(!o||!o.prototype))return e.patchEventTarget(r,e,[o&&o.prototype]),!0}function Gle(r,e){e.patchEventPrototype(r,e)}function RD(r,e,t){if(!t||t.length===0)return e;let n=t.filter(s=>s.target===r);if(n.length===0)return e;let i=n[0].ignoreProperties;return e.filter(s=>i.indexOf(s)===-1)}function bD(r,e,t,n){if(!r)return;let i=RD(r,e,t);kD(r,i,n)}function _g(r){return Object.getOwnPropertyNames(r).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function zle(r,e){if(Vh&&!ID||Zone[r.symbol("patchEvents")])return;let t=e.__Zone_ignore_on_properties,n=[];if(qg){let i=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let s=[];bD(i,_g(i),t&&t.concat(s),bg(i))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<n.length;i++){let s=e[n[i]];s?.prototype&&bD(s.prototype,_g(s.prototype),t)}}function Xle(r){r.__load_patch("legacy",e=>{let t=e[r.__symbol__("legacyPatch")];t&&t()}),r.__load_patch("timers",e=>{let n="clear";ka(e,"set",n,"Timeout"),ka(e,"set",n,"Interval"),ka(e,"set",n,"Immediate")}),r.__load_patch("requestAnimationFrame",e=>
vendor: 1,771 bytes, line 41
41{ka(e,"request","cancel","AnimationFrame"),ka(e,"mozRequest","mozCancel","AnimationFrame"),ka(e,"webkitRequest","webkitCancel","AnimationFrame")}),r.__load_patch("blocking",(e,t)=>{let n=["alert","prompt","confirm"];for(let i=0;i<n.length;i++){let s=n[i];Pn(e,s,(a,o,u)=>function(l,c){return t.current.run(a,e,c,u)})}}),r.__load_patch("EventTarget",(e,t,n)=>{Gle(e,n),Wle(e,n);let i=e.XMLHttpRequestEventTarget;i&&i.prototype&&n.patchEventTarget(e,n,[i.prototype])}),r.__load_patch("MutationObserver",(e,t,n)=>{Pu("MutationObserver"),Pu("WebKitMutationObserver")}),r.__load_patch("IntersectionObserver",(e,t,n)=>{Pu("IntersectionObserver")}),r.__load_patch("FileReader",(e,t,n)=>{Pu("FileReader")}),r.__load_patch("on_property",(e,t,n)=>{zle(n,e)}),r.__load_patch("customElements",(e,t,n)=>{Hle(e,n)}),r.__load_patch("XHR",(e,t)=>{l(e);let n=Oe("xhrTask"),i=Oe("xhrSync"),s=Oe("xhrListener"),a=Oe("xhrScheduled"),o=Oe("xhrURL"),u=Oe("xhrErrorBeforeScheduled");function l(c){let h=c.XMLHttpRequest;if(!h)return;let d=h.prototype;function f(H){return H[n]}let m=d[Sg],S=d[wg];if(!m){let H=c.XMLHttpRequestEventTarget;if(H){let F=H.prototype;m=F[Sg],S=F[wg]}}let g="readystatechange",E="scheduled";function y(H){let F=H.data,P=F.target;P[a]=!1,P[u]=!1;let ee=P[s];m||(m=P[Sg],S=P[wg]),ee&&S.call(P,g,ee);let ae=P[s]=()=>{if(P.readyState===P.DONE)if(!F.aborted&&P[a]&&H.state===E){let I=P[t.__symbol__("loadfalse")];if(P.status!==0&&I&&I.length>0){let D=H.invoke;H.invoke=function(){let q=P[t.__symbol__("loadfalse")];for(let Y=0;Y<q.length;Y++)q[Y]===H&&q.splice(Y,1);!F.aborted&&H.state===E&&D.call(H)},I.push(H)}else H.invoke()}else!F.aborted&&P[a]===!1&&(P[u]=!0)};return m.call(P,g,ae),P[n]||(P[n]=H),$.apply(P,F.args),P[a]=!0,H}function x(){}function b(H){let F=H.data;
vendor: 9,358 bytes, lines 41-42
41return F.aborted=!0,V.apply(F.target,F.args)}let C=Pn(d,"open",()=>function(H,F){return H[i]=F[2]==!1,H[o]=F[1],C.apply(H,F)}),_="XMLHttpRequest.send",k=Oe("fetchTaskAborting"),O=Oe("fetchTaskScheduling"),$=Pn(d,"send",()=>function(H,F){if(t.current[O]===!0||H[i])return $.apply(H,F);{let P={target:H,url:H[o],isPeriodic:!1,args:F,aborted:!1},ee=kg(_,x,P,y,b);H&&H[u]===!0&&!P.aborted&&ee.state===E&&ee.invoke()}}),V=Pn(d,"abort",()=>function(H,F){let P=f(H);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(t.current[k]===!0)return V.apply(H,F)})}}),r.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&Lle(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),r.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(i){return function(s){OD(e,i).forEach(o=>{let u=e.PromiseRejectionEvent;if(u){let l=new u(i,{promise:s.promise,reason:s.rejection});o.invoke(l)}})}}e.PromiseRejectionEvent&&(t[Oe("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[Oe("rejectionHandledHandler")]=n("rejectionhandled"))}),r.__load_patch("queueMicrotask",(e,t,n)=>{Vle(e,n)})}function Yle(r){r.__load_patch("ZoneAwarePromise",(e,t,n)=>{let i=Object.getOwnPropertyDescriptor,s=Object.defineProperty;function a(j){if(j&&j.toString===Object.prototype.toString){let U=j.constructor&&j.constructor.name;return(U||"")+": "+JSON.stringify(j)}return j?j.toString():Object.prototype.toString.call(j)}let o=n.symbol,u=[],l=e[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,c=o("Promise"),h=o("then"),d="__creationTrace__";n.onUnhandledError=j=>{if(n.showUncaughtError()){let U=j&&j.rejection;U?console.error("Unhandled Promise rejection:",U instanceof Error?U.message:U,"; Zone:",j.zone.name,"; Task:",j.task&&j.task.source,"; Value:",U,U instanceof Error?U.stack:void 0):console.error(j)}},n.microtaskDrainDone=()=>{for(;u.length;){let j=u.shift();try{j.zone.runGuarded(()=>{throw j.throwOriginal?j.rejection:j})}catch(U){m(U)}}};let f=o("unhandledPromiseRejectionHandler");function m(j){n.onUnhandledError(j);try{let U=t[f];typeof U=="function"&&U.call(this,j)}catch{}}function S(j){return j&&typeof j.then=="function"}function g(j){return j}function E(j){return R.reject(j)}let y=o("state"),x=o("value"),b=o("finally"),C=o("parentPromiseValue"),_=o("parentPromiseState"),k="Promise.then",O=null,$=!0,V=!1,H=0;function F(j,U){return L=>{try{ue(j,U,L)}catch(W){ue(j,!1,W)}}}let P=function(){let j=!1;return function(L){return function(){j||(j=!0,L.apply(null,arguments))}}},ee="Promise resolved with itself",ae=o("currentTaskTrace");function ue(j,U,L){let W=P();if(j===L)throw new TypeError(ee);if(j[y]===O){let ne=null;try{(typeof L=="object"||typeof L=="function")&&(ne=L&&L.then)}catch(le){return W(()=>{ue(j,!1,le)})(),j}if(U!==V&&L instanceof R&&L.hasOwnProperty(y)&&L.hasOwnProperty(x)&&L[y]!==O)D(L),ue(j,L[y],L[x]);else if(U!==V&&typeof ne=="function")try{ne.call(L,W(F(j,U)),W(F(j,!1)))}catch(le){W(()=>{ue(j,!1,le)})()}else{j[y]=U;let le=j[x];if(j[x]=L,j[b]===b&&U===$&&(j[y]=j[_],j[x]=j[C]),U===V&&L instanceof Error){let ie=t.currentTask&&t.currentTask.data&&t.currentTask.data[d];ie&&s(L,ae,{configurable:!0,enumerable:!1,writable:!0,value:ie})}for(let ie=0;ie<le.length;)q(j,le[ie++],le[ie++],le[ie++],le[ie++]);if(le.length==0&&U==V){j[y]=H;let ie=L;try{throw new Error("Uncaught (in promise): "+a(L)+(L&&L.stack?`
42`+L.stack:""))}catch(ye){ie=ye}l&&(ie.throwOriginal=!0),ie.rejection=L,ie.promise=j,ie.zone=t.current,ie.task=t.currentTask,u.push(ie),n.scheduleMicroTask()}}}return j}let I=o("rejectionHandledHandler");function D(j){if(j[y]===H){try{let U=t[I];U&&typeof U=="function"&&U.call(this,{rejection:j[x],promise:j})}catch{}j[y]=V;for(let U=0;U<u.length;U++)j===u[U].promise&&u.splice(U,1)}}function q(j,U,L,W,ne){D(j);let le=j[y],ie=le?typeof W=="function"?W:g:typeof ne=="function"?ne:E;U.scheduleMicroTask(k,()=>{try{let ye=j[x],Se=!!L&&b===L[b];Se&&(L[C]=ye,L[_]=le);let pe=U.run(ie,void 0,Se&&ie!==E&&ie!==g?[]:[ye]);ue(L,!0,pe)}catch(ye){ue(L,!1,ye)}},L)}let Y="function ZoneAwarePromise() { [native code] }",xe=function(){},tt=e.AggregateError;class R{static toString(){return Y}static resolve(U){return U instanceof R?U:ue(new this(null),$,U)}static reject(U){return ue(new this(null),V,U)}static withResolvers(){let U={};return U.promise=new R((L,W)=>{U.resolve=L,U.reject=W}),U}static any(U){if(!U||typeof U[Symbol.iterator]!="function")return Promise.reject(new tt([],"All promises were rejected"));let L=[],W=0;try{for(let ie of U)W++,L.push(R.resolve(ie))}catch{return Promise.reject(new tt([],"All promises were rejected"))}if(W===0)return Promise.reject(new tt([],"All promises were rejected"));let ne=!1,le=[];return new R((ie,ye)=>{for(let Se=0;Se<L.length;Se++)L[Se].then(pe=>{ne||(ne=!0,ie(pe))},pe=>{le.push(pe),W--,W===0&&(ne=!0,ye(new tt(le,"All promises were rejected")))})})}static race(U){let L,W,ne=new this((ye,Se)=>{L=ye,W=Se});function le(ye){L(ye)}function ie(ye){W(ye)}for(let ye of U)S(ye)||(ye=this.resolve(ye)),ye.then(le,ie);return ne}static all(U){return R.allWithCallback(U)}static allSettled(U){return(this&&this.prototype instanceof R?this:R).allWithCallback(U,{thenCallback:W=>({status:"fulfilled",value:W}),errorCallback:W=>({status:"rejected",reason:W})})}static allWithCallback(U,L){let W,ne,le=new this((pe,je)=>{W=pe,ne=je}),ie=2,ye=0,Se=[];for(let pe of U){S(pe)||(pe=this.resolve(pe));let je=ye;try{pe.then(Ve=>{Se[je]=L?L.thenCallback(Ve):Ve,ie--,ie===0&&W(Se)},Ve=>{L?(Se[je]=L.errorCallback(Ve),ie--,ie===0&&W(Se)):ne(Ve)})}catch(Ve){ne(Ve)}ie++,ye++}return ie-=2,ie===0&&W(Se),le}constructor(U){let L=this;if(!(L instanceof R))throw new Error("Must be an instanceof Promise.");L[y]=O,L[x]=[];try{let W=P();U&&U(W(F(L,$)),W(F(L,V)))}catch(W){ue(L,!1,W)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return R}then(U,L){let W=this.constructor?.[Symbol.species];(!W||typeof W!="function")&&(W=this.constructor||R);let ne=new W(xe),le=t.current;return this[y]==O?this[x].push(le,ne,U,L):q(this,le,ne,U,L),ne}catch(U){return this.then(null,U)}finally(U){let L=this.constructor?.[Symbol.species];(!L||typeof L!="function")&&(L=R);let W=new L(xe);W[b]=b;let ne=t.current;return this[y]==O?this[x].push(ne,W,U,U):q(this,ne,W,U,U),W}}R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;let te=e[c]=e.Promise;e.Promise=R;let re=o("thenPatched");function se(j){let U=j.prototype,L=i(U,"then");if(L&&(L.writable===!1||!L.configurable))return;let W=U.then;U[h]=W,j.prototype.then=function(ne,le){return new R((ye,Se)=>{W.call(this,ye,Se)}).then(ne,le)},j[re]=!0}n.patchThen=se;function fe(j){return function(U,L){let W=j.apply(U,L);if(W instanceof R)return W;let ne=W.constructor;return ne[re]||se(ne),W}}return te&&(se(te),Pn(e,"fetch",j=>fe(j))),Promise[t.__symbol__("uncaughtPromiseErrors")]=u,R})}function Zle(r){r.__load_patch("toString",e=>{let t=Function.prototype.toString,n=Oe("OriginalDelegate"),i=Oe("Promise"),s=Oe("Error"),a=function(){if(typeof this=="function"){let c=this[n];if(c)return typeof c=="function"?t.call(c):Object.prototype.toString.call(c);if(this===Promise){let h=e[i];if(h)return t.call(h)}if(this===Error){let h=e[s];if(h)return t.call(h)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;let o=Object.prototype.toString,u="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?u:o.call(this)}})}function Kle(r,e,t,n,i){let s=Zone.__symbol__(n);if(e[s])return;let a=e[s]=e[n];e[n]=function(o,u,l){return u&&u.prototype&&i.forEach(function(c){let h=`${t}.${n}::`+c,d=u.prototype;try{if(d.hasOwnProperty(c)){let f=r.ObjectGetOwnPropertyDescriptor(d,c);f&&f.value?(f.value=r.wrapWithCurrentZone(f.value,h),r._redefineProperty(u.prototype,c,f)):d[c]&&(d[c]=r.wrapWithCurrentZone(d[c],h))}else d[c]&&(d[c]=r.wrapWithCurrentZone(d[c],h))}catch{}}),a.call(e,o,u,l)},r.attachOriginToPatched(e[n],a)}function Qle(r){r.__load_patch("util",(e,t,n)=>{let i=_g(e);n.patchOnProperties=kD,n.patchMethod=Pn,n.bindArguments=Ng,n.patchMacroTask=Ble;let s=t.__symbol__("BLACK_LISTED_EVENTS"),a=t.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[s]=e[a]),e[s]&&(t[s]=t[a]=e[s]),n.patchEventPrototype=jle,n.patchEventTarget=Ule,n.isIEOrEdge=Fle,n.ObjectDefineProperty=Tg,n.ObjectGetOwnPropertyDescriptor=Ou,n.ObjectCreate=Ple,n.ArraySlice=Ole,n.patchClass=Pu,n.wrapWithCurrentZone=Ig,n.filterProperties=RD,n.attachOriginToPatched=On,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Kle,n.getGlobalObjects=()=>({globalSources:ND,zoneSymbolEventNames:wr,eventNames:i,isBrowser:qg,isMix:ID,isNode:Vh,TRUE_STR:qn,FALSE_STR:Dn,ZONE_SYMBOL_PREFIX:Ru,ADD_EVENT_LISTENER_STR:Cg,REMOVE_EVENT_LISTENER_STR:Ag})})}function Jle(r){Yle(r),Zle(r),Qle(r)}var LD=Dle();Jle(LD);Xle(LD);var MD;(function(r){r[r.Little=0]="Little",r[r.Big=1]="Big"})(MD||(MD={}));function ece(r,e){for(let t=1,n=1;t<r.length;t++,n++)if(e[n]==="\\")n++;else if(r[t]===":")return t;throw new Error(`Unterminated $localize metadata block in "${e}".`)}var Hh=function(r,...e){if(Hh.translate){let n=Hh.translate(r,e);r=n[0],e=n[1]}let t=BD(r[0],r.raw[0]);for(let n=1;n<r.length;n++)t+=e[n-1]+BD(r[n],r.raw[n]);return t},tce=":";function BD(r,e){return e.charAt(0)===tce?r.substring(ece(r,e)+1):r}globalThis.$localize=Hh;window.global=window;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.