PageSourceSearch

https://aaafx.com/assets/index-d925fa1d.js

js aaafx.com collected 2026-10-04 13:25:06 UTC 197,974 bytes, 8 lines download raw bytes

vendor: 9,350 bytes, line 1
1import{c as Xt,g as qi}from"./bootstrap-71154e5e.js";import{_ as Kf,a as Gv,b as x,c as I,d as N,e as k,f as Zt,g as A,h as Xf}from"./economic-calendar-0daf7098.js";import"./index-010e327e.js";import"./vue-vendor-bd567a24.js";import"./discover-more-c1731183.js";var Nr=function(t){return t&&t.Math==Math&&t},J=Nr(typeof globalThis=="object"&&globalThis)||Nr(typeof window=="object"&&window)||Nr(typeof self=="object"&&self)||Nr(typeof Xt=="object"&&Xt)||function(){return this}()||Xt||Function("return this")(),Te={},F=function(t){try{return!!t()}catch{return!0}},zv=F,ce=!zv(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Uv=F,or=!Uv(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),Wv=or,Mr=Function.prototype.call,ie=Wv?Mr.bind(Mr):function(){return Mr.apply(Mr,arguments)},Hi={},Qf={}.propertyIsEnumerable,Jf=Object.getOwnPropertyDescriptor,qv=Jf&&!Qf.call({1:2},1);Hi.f=qv?function(r){var e=Jf(this,r);return!!e&&e.enumerable}:Qf;var sr=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}},Zf=or,el=Function.prototype,vi=el.call,Hv=Zf&&el.bind.bind(vi,vi),G=Zf?Hv:function(t){return function(){return vi.apply(t,arguments)}},tl=G,Yv=tl({}.toString),Kv=tl("".slice),ke=function(t){return Kv(Yv(t),8,-1)},Xv=G,Qv=F,Jv=ke,ua=Object,Zv=Xv("".split),mn=Qv(function(){return!ua("z").propertyIsEnumerable(0)})?function(t){return Jv(t)=="String"?Zv(t,""):ua(t)}:ua,Fe=function(t){return t==null},eh=Fe,th=TypeError,Ve=function(t){if(eh(t))throw th("Can't call method on "+t);return t},rh=mn,nh=Ve,we=function(t){return rh(nh(t))},hi=typeof document=="object"&&document.all,ah=typeof hi>"u"&&hi!==void 0,rl={all:hi,IS_HTMLDDA:ah},nl=rl,ih=nl.all,K=nl.IS_HTMLDDA?function(t){return typeof t=="function"||t===ih}:function(t){return typeof t=="function"},Jo=K,al=rl,oh=al.all,le=al.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:Jo(t)||t===oh}:function(t){return typeof t=="object"?t!==null:Jo(t)},fa=J,sh=K,uh=function(t){return sh(t)?t:void 0},Ee=function(t,r){return arguments.length<2?uh(fa[t]):fa[t]&&fa[t][r]},fh=G,st=fh({}.isPrototypeOf),$n=typeof navigator<"u"&&String(navigator.userAgent)||"",il=J,la=$n,Zo=il.process,es=il.Deno,ts=Zo&&Zo.versions||es&&es.version,rs=ts&&ts.v8,Se,cn;rs&&(Se=rs.split("."),cn=Se[0]>0&&Se[0]<4?1:+(Se[0]+Se[1]));!cn&&la&&(Se=la.match(/Edge\/(\d+)/),(!Se||Se[1]>=74)&&(Se=la.match(/Chrome\/(\d+)/),Se&&(cn=+Se[1])));var ur=cn,ns=ur,lh=F,ch=J,vh=ch.String,Ct=!!Object.getOwnPropertySymbols&&!lh(function(){var t=Symbol();return!vh(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ns&&ns<41}),hh=Ct,ol=hh&&!Symbol.sham&&typeof Symbol.iterator=="symbol",gh=Ee,dh=K,ph=st,yh=ol,mh=Object,fr=yh?function(t){return typeof t=="symbol"}:function(t){var r=gh("Symbol");return dh(r)&&ph(r.prototype,mh(t))},$h=String,lr=function(t){try{return $h(t)}catch{return"Object"}},bh=K,Sh=lr,wh=TypeError,Re=function(t){if(bh(t))return t;throw wh(Sh(t)+" is not a function")},Eh=Re,Rh=Fe,Tt=function(t,r){var e=t[r];return Rh(e)?void 0:Eh(e)},ca=ie,va=K,ha=le,xh=TypeError,Oh=function(t,r){var e,a;if(r==="string"&&va(e=t.toString)&&!ha(a=ca(e,t))||va(e=t.valueOf)&&!ha(a=ca(e,t))||r!=="string"&&va(e=t.toString)&&!ha(a=ca(e,t)))return a;throw xh("Can't convert object to primitive value")},sl={exports:{}},Ph=!1,as=J,Ch=Object.defineProperty,Yi=function(t,r){try{Ch(as,t,{value:r,configurable:!0,writable:!0})}catch{as[t]=r}return r},Th=J,kh=Yi,is="__core-js_shared__",Ih=Th[is]||kh(is,{}),Ki=Ih,os=Ki;(sl.exports=function(t,r){return os[t]||(os[t]=r!==void 0?r:{})})("versions",[]).push({version:"3.30.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var kt=sl.exports,Ah=Ve,_h=Object,Ie=function(t){return _h(Ah(t))},Nh=G,Mh=Ie,Dh=Nh({}.hasOwnProperty),se=Object.hasOwn||function(r,e){return Dh(Mh(r),e)},Lh=G,jh=0,Bh=Math.random(),Fh=Lh(1 .toString),bn=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Fh(++jh+Bh,36)},Vh=J,Gh=kt,ss=se,zh=bn,Uh=Ct,Wh=ol,yt=Vh.Symbol,ga=Gh("wks"),qh=Wh?yt.for||yt:yt&&yt.withoutSetter||zh,Z=function(t){return ss(ga,t)||(ga[t]=Uh&&ss(yt,t)?yt[t]:qh("Symbol."+t)),ga[t]},Hh=ie,us=le,fs=fr,Yh=Tt,Kh=Oh,Xh=Z,Qh=TypeError,Jh=Xh("toPrimitive"),ul=function(t,r){if(!us(t)||fs(t))return t;var e=Yh(t,Jh),a;if(e){if(r===void 0&&(r="default"),a=Hh(e,t,r),!us(a)||fs(a))return a;throw Qh("Can't convert object to primitive value")}return r===void 0&&(r="number"),Kh(t,r)},Zh=ul,eg=fr,Sn=function(t){var r=Zh(t,"string");return eg(r)?r:r+""},tg=J,ls=le,gi=tg.document,rg=ls(gi)&&ls(gi.createElement),wn=function(t){return rg?gi.createElement(t):{}},ng=ce,ag=F,ig=wn,fl=!ng&&!ag(function(){return Object.defineProperty(ig("div"),"a",{get:function(){return 7}}).a!=7}),og=ce,sg=ie,ug=Hi,fg=sr,lg=we,cg=Sn,vg=se,hg=fl,cs=Object.getOwnPropertyDescriptor;Te.f=og?cs:function(r,e){if(r=lg(r),e=cg(e),hg)try{return cs(r,e)}catch{}if(vg(r,e))return fg(!sg(ug.f,r,e),r[e])};var pe={},gg=ce,dg=F,ll=gg&&dg(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),pg=le,yg=String,mg=TypeError,ne=function(t){if(pg(t))return t;throw mg(yg(t)+" is not an object")},$g=ce,bg=fl,Sg=ll,Dr=ne,vs=Sn,wg=TypeError,da=Object.defineProperty,Eg=Object.getOwnPropertyDescriptor,pa="enumerable",ya="configurable",ma="writable";pe.f=$g?Sg?function(r,e,a){if(Dr(r),e=vs(e),Dr(a),typeof r=="function"&&e==="prototype"&&"value"in a&&ma in a&&!a[ma]){var n=Eg(r,e);n&&n[ma]&&(r[e]=a.value,a={configurable:ya in a?a[ya]:n[ya],enumerable:pa in a?a[pa]:n[pa],writable:!1})}return da(r,e,a)}:da:function(r,e,a){if(Dr(r),e=vs(e),Dr(a),bg)try{return da(r,e,a)}catch{}if("get"in a||"set"in a)throw wg("Accessors not supported");return"value"in a&&(r[e]=a.value),r};var Rg=ce,xg=pe,Og=sr,It=Rg?function(t,r,e){return xg.f(t,r,Og(1,e))}:function(t,r,e){return t[r]=e,t},cl={exports:{}},di=ce,Pg=se,vl=Function.prototype,Cg=di&&Object.getOwnPropertyDescriptor,Xi=Pg(vl,"name"),Tg=Xi&&function(){}.name==="something",kg=Xi&&(!di||di&&Cg(vl,"name").configurable),cr={EXISTS:Xi,PROPER:Tg,CONFIGURABLE:kg},Ig=G,Ag=K,pi=Ki,_g=Ig(Function.toString);Ag(pi.inspectSource)||(pi.inspectSource=function(t){return _g(t)});var Qi=pi.inspectSource,Ng=J,Mg=K,hs=Ng.WeakMap,Dg=Mg(hs)&&/native code/.test(String(hs)),Lg=kt,jg=bn,gs=Lg("keys"),En=function(t){return gs[t]||(gs[t]=jg(t))},vr={},Bg=Dg,hl=J,Fg=le,Vg=It,$a=se,ba=Ki,Gg=En,zg=vr,ds="Object already initialized",yi=hl.TypeError,Ug=hl.WeakMap,vn,er,hn,Wg=function(t){return hn(t)?er(t):vn(t,{})},qg=function(t){return function(r){var e;if(!Fg(r)||(e=er(r)).type!==t)throw yi("Incompatible receiver, "+t+" required");return e}};if(Bg||ba.state){var Pe=ba.state||(ba.state=new Ug);Pe.get=Pe.get,Pe.has=Pe.has,Pe.set=Pe.set,vn=function(t,r){if(Pe.has(t))throw yi(ds);return r.facade=t,Pe.set(t,r),r},er=function(t){return Pe.get(t)||{}},hn=function(t){return Pe.has(t)}}else{var ct=Gg("state");zg[ct]=!0,vn=function(t,r){if($a(t,ct))throw yi(ds);return r.facade=t,Vg(t,ct,r),r},er=function(t){return $a(t,ct)?t[ct]:{}},hn=function(t){return $a(t,ct)}}var ut={set:vn,get:er,has:hn,enforce:Wg,getterFor:qg},Ji=G,Hg=F,Yg=K,Lr=se,mi=ce,Kg=cr.CONFIGURABLE,Xg=Qi,gl=ut,Qg=gl.enforce,Jg=gl.get,ps=String,rn=Object.defineProperty,Zg=Ji("".slice),ed=Ji("".replace),td=Ji([].join),rd=mi&&!Hg(function(){return rn(function(){},"length",{value:8}).length!==8}),nd=String(String).split("String"),ad=cl.exports=function(t,r,e){Zg(ps(r),0,7)==="Symbol("&&(r="["+ed(ps(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!Lr(t,"name")||Kg&&t.name!==r)&&(mi?rn(t,"name",{value:r,configurable:!0}):t.name=r),rd&&e&&Lr(e,"arity")&&t.length!==e.arity&&rn(t,"length",{value:e.arity});try{e&&Lr(e,"constructor")&&e.constructor?mi&&rn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var a=Qg(t);return Lr(a,"source")||(a.source=td(nd,typeof r=="string"?r:"")),t};Function.prototype.toString=ad(function(){return Yg(this)&&Jg(this).source||Xg(this)},"toString");var dl=cl.exports,id=K,od=pe,sd=dl,ud=Yi,be=function(t,r,e,a){a||(a={});var n=a.enumerable,o=a.name!==void 0?a.name:r;if(id(e)&&sd(e,o,a),a.global)n?t[r]=e:ud(r,e);else{try{a.unsafe?t[r]&&(n=!0):delete t[r]}catch{}n?t[r]=e:od.f(t,r,{value:e,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t},At={},fd=Math.ceil,ld=Math.floor,cd=Math.trunc||function(r){var e=+r;return(e>0?ld:fd)(e)},vd=cd,Rn=function(t){var r=+t;return r!==r||r===0?0:vd(r)},hd=Rn,gd=Math.max,dd=Math.min,xn=function(t,r){var e=hd(t);return e<0?gd(e+r,0):dd(e,r)},pd=Rn,yd=Math.min,hr=function(t){return t>0?yd(pd(t),9007199254740991):0},md=hr,Ge=function(t){return md(t.length)},$d=we,bd=xn,Sd=Ge,ys=function(t){return function(r,e,a){var n=$d(r),o=Sd(n),i=bd(a,o),s;if(t&&e!=e){for(;o>i;)if(s=n[i++],s!=s)return!0}else for(;o>i;i++)if((t||i in n)&&n[i]===e)return t||i||0;return!t&&-1}},Zi={includes:ys(!0),indexOf:ys(!1)},wd=G,Sa=se,Ed=we,Rd=Zi.indexOf,xd=vr,ms=wd([].push),pl=function(t,r){var e=Ed(t),a=0,n=[],o;for(o in e)!Sa(xd,o)&&Sa(e,o)&&ms(n,o);for(;r.length>a;)Sa(e,o=r[a++])&&(~Rd(n,o)||ms(n,o));return n},eo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"],Od=pl,Pd=eo,Cd=Pd.concat("length","prototype");At.f=Object.getOwnPropertyNames||function(r){return Od(r,Cd)};var On={};On.f=Object.getOwnPropertySymbols;var Td=Ee,kd=G,Id=At,Ad=On,_d=ne,Nd=kd([].concat),yl=Td("Reflect","ownKeys")||function(r){var e=Id.f(_d(r)),a=Ad.f;return a?Nd(e,a(r)):e},$s=se,Md=yl,Dd=Te,Ld=pe,ml=function(t,r,e){for(var a=Md(r),n=Ld.f,o=Dd.f,i=0;i<a.length;i++){var s=a[i];!$s(t,s)&&!(e&&$s(e,s))&&n(t,s,o(r,s))}},jd=F,Bd=K,Fd=/#|\.prototype\./,gr=function(t,r){var e=Gd[Vd(t)];return e==Ud?!0:e==zd?!1:Bd(r)?jd(r):!!r},Vd=gr.normalize=function(t){return String(t).replace(Fd,".").toLowerCase()},Gd=gr.data={},zd=gr.NATIVE="N",Ud=gr.POLYFILL="P",Pn=gr,wa=J,Wd=Te.f,qd=It,Hd=be,Yd=Yi,Kd=ml,Xd=Pn,j=function(t,r){var e=t.target,a=t.global,n=t.stat,o,i,s,u,f,l;if(a?i=wa:n?i=wa[e]||Yd(e,{}):i=(wa[e]||{}).prototype,i)for(s in r){if(f=r[s],t.dontCallGetSet?(l=Wd(i,s),u=l&&l.value):u=i[s],o=Xd(a?s:e+(n?".":"#")+s,t.forced),!o&&u!==void 0){if(typeof f==typeof u)continue;Kd(f,u)}(t.sham||u&&u.sham)&&qd(f,"sham",!0),Hd(i,s,f,t)}},Qd=ke,Jd=G,Cn=function(t){if(Qd(t)==="Function")return Jd(t)},bs=Cn,Zd=Re,ep=or,tp=bs(bs.bind),_t=function(t,r){return Zd(t),r===void 0?t:ep?tp(t,r):function(){return t.apply(r,arguments)}},rp=ke,dr=Array.isArray||function(r){return rp(r)=="Array"},np=Z,ap=np("toStringTag"),$l={};$l[ap]="z";var to=String($l)==="[object z]",ip=to,op=K,nn=ke,sp=Z,up=sp("toStringTag"),fp=Object,lp=nn(function(){return arguments}())=="Arguments",cp=function(t,r){try{return t[r]}catch{}},Tn=ip?nn:function(t){var r,e,a;return t===void 0?"Undefined":t===null?"Null":typeof(e=cp(r=fp(t),up))=="string"?e:lp?nn(r):(a=nn(r))=="Object"&&op(r.callee)?"Arguments":a},vp=G,hp=F,bl=K,gp=Tn,dp=Ee,pp=Qi,Sl=function(){},yp=[],wl=dp("Reflect","construct"),ro=/^\s*(?:class|function)\b/,mp=vp(ro.exec),$p=!ro.exec(Sl),Ft=function(r){if(!bl(r))return!1;try{return wl(Sl,yp,r),!0}catch{return!1}},El=function(r){if(!bl(r))return!1;switch(gp(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return $p||!!mp(ro,pp(r))}catch{return!0}};El.sham=!0;var kn=!wl||hp(function(){var t;return Ft(Ft.call)||!Ft(Object)||!Ft(function(){t=!0})||t})?El:Ft,Ss=dr,bp=kn,Sp=le,wp=Z,Ep=wp("species"),ws=Array,Rp=function(t){var r;return Ss(t)&&(r=t.constructor,bp(r)&&(r===ws||Ss(r.prototype))?r=void 0:Sp(r)&&(r=r[Ep],r===null&&(r=void 0))),r===void 0?ws:r},xp=Rp,Rl=function(t,r){return new(xp(t))(r===0?0:r)},Op=_t,Pp=G,Cp=mn,Tp=Ie,kp=Ge,Ip=Rl,Es=Pp([].push),Ue=function(t){var r=t==1,e=t==2,a=t==3,n=t==4,o=t==6,i=t==7,s=t==5||o;return function(u,f,l,c){for(var v=Tp(u),h=Cp(v),g=Op(f,l),y=kp(h),p=0,$=c||Ip,S=r?$(u,y):e||i?$(u,0):void 0,b,R;y>p;p++)if((s||p in h)&&(b=h[p],R=g(b,p,v),t))if(r)S[p]=R;else if(R)switch(t){case 3:return!0;case 5:return b;case 6:return p;case 2:Es(S,b)}else switch(t){case 4:return!1;case 7:Es(S,b)}return o?-1:a||n?n:S}},Nt={forEach:Ue(0),map:Ue(1),filter:Ue(2),some:Ue(3),every:Ue(4),find:Ue(5),findIndex:Ue(6),filterReject:Ue(7)},Ap=F,_p=Z,Np=ur,Mp=_p("species"),In=function(t){return Np>=51||!Ap(function(){var r=[],e=r.constructor={};return e[Mp]=function(){return{foo:1}},r[t](Boolean).foo!==1})},Dp=j,Lp=Nt.map,jp=In,Bp=jp("map");Dp({target:"Array",proto:!0,forced:!Bp},{map:function(r){return Lp(this,r,arguments.length>1?arguments[1]:void 0)}});var Fp=Tn,Vp=String,ye=function(t){if(Fp(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Vp(t)},Gp=ne,xl=function(){var t=Gp(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},no=F,zp=J,ao=zp.RegExp,io=no(function(){var t=ao("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Up=io||no(function(){return!ao("a","y").sticky}),Wp=io||no(function(){var t=ao("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),Ol={BROKEN_CARET:Wp,MISSED_STICKY:Up,UNSUPPORTED_Y:io},oo={},qp=pl,Hp=eo,so=Object.keys||function(r){return qp(r,Hp)},Yp=ce,Kp=ll,Xp=pe,Qp=ne,Jp=we,Zp=so;oo.f=Yp&&!Kp?Object.defineProperties:function(r,e){Qp(r);for(var a=Jp(e),n=Zp(e),o=n.length,i=0,s;o>i;)Xp.f(r,s=n[i++],a[s]);return r};var ey=Ee,Pl=ey("document","documentElement"),ty=ne,ry=oo,Rs=eo,ny=vr,ay=Pl,iy=wn,oy=En,xs=">",Os="<",$i="prototype",bi="script",Cl=oy("IE_PROTO"),Ea=function(){},Tl=function(t){return Os+bi+xs+t+Os+"/"+bi+xs},Ps=function(t){t.write(Tl("")),t.close();var r=t.parentWindow.Object;return t=null,r},sy=function(){var t=iy("iframe"),r="java"+bi+":",e;return t.style.display="none",ay.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(Tl("document.F=Object")),e.close(),e.F},jr,an=function(){try{jr=new ActiveXObject("htmlfile")}catch{}an=typeof document<"u"?document.domain&&jr?Ps(jr):sy():Ps(jr);for(var t=Rs.length;t--;)delete an[$i][Rs[t]];return an()};ny[Cl]=!0;var Mt=Object.create||function(r,e){var a;return r!==null?(Ea[$i]=ty(r),a=new Ea,Ea[$i]=null,a[Cl]=r):a=an(),e===void 0?a:ry.f(a,e)},uy=F,fy=J,ly=fy.RegExp,cy=uy(function(){var t=ly(".","s");return!(t.dotAll&&t.exec(`
2`)&&t.flags==="s")}),vy=F,hy=J,gy=hy.RegExp,dy=vy(function(){var t=gy("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),mt=ie,An=G,py=ye,yy=xl,my=Ol,$y=kt,by=Mt,Sy=ut.get,wy=cy,Ey=dy,Ry=$y("native-string-replace",String.prototype.replace),gn=RegExp.prototype.exec,Si=gn,xy=An("".charAt),Oy=An("".indexOf),Py=An("".replace),Ra=An("".slice),wi=function(){var t=/a/,r=/b*/g;return mt(gn,t,"a"),mt(gn,r,"a"),t.lastIndex!==0||r.lastIndex!==0}(),kl=my.BROKEN_CARET,Ei=/()??/.exec("")[1]!==void 0,Cy=wi||Ei||kl||wy||Ey;Cy&&(Si=function(r){var e=this,a=Sy(e),n=py(r),o=a.raw,i,s,u,f,l,c,v;if(o)return o.lastIndex=e.lastIndex,i=mt(Si,o,n),e.lastIndex=o.lastIndex,i;var h=a.groups,g=kl&&e.sticky,y=mt(yy,e),p=e.source,$=0,S=n;
vendor: 4,362 bytes, lines 2-3
2if(g&&(y=Py(y,"y",""),Oy(y,"g")===-1&&(y+="g"),S=Ra(n,e.lastIndex),e.lastIndex>0&&(!e.multiline||e.multiline&&xy(n,e.lastIndex-1)!==`
3`)&&(p="(?: "+p+")",S=" "+S,$++),s=new RegExp("^(?:"+p+")",y)),Ei&&(s=new RegExp("^"+p+"$(?!\\s)",y)),wi&&(u=e.lastIndex),f=mt(gn,g?s:e,S),g?f?(f.input=Ra(f.input,$),f[0]=Ra(f[0],$),f.index=e.lastIndex,e.lastIndex+=f[0].length):e.lastIndex=0:wi&&f&&(e.lastIndex=e.global?f.index+f[0].length:u),Ei&&f&&f.length>1&&mt(Ry,f[0],s,function(){for(l=1;l<arguments.length-2;l++)arguments[l]===void 0&&(f[l]=void 0)}),f&&h)for(f.groups=c=by(null),l=0;l<h.length;l++)v=h[l],c[v[0]]=f[v[1]];return f});var _n=Si,Ty=j,Cs=_n;Ty({target:"RegExp",proto:!0,forced:/./.exec!==Cs},{exec:Cs});var Ts=Cn,ks=be,ky=_n,Is=F,Il=Z,Iy=It,Ay=Il("species"),xa=RegExp.prototype,uo=function(t,r,e,a){var n=Il(t),o=!Is(function(){var f={};return f[n]=function(){return 7},""[t](f)!=7}),i=o&&!Is(function(){var f=!1,l=/a/;return t==="split"&&(l={},l.constructor={},l.constructor[Ay]=function(){return l},l.flags="",l[n]=/./[n]),l.exec=function(){return f=!0,null},l[n](""),!f});if(!o||!i||e){var s=Ts(/./[n]),u=r(n,""[t],function(f,l,c,v,h){var g=Ts(f),y=l.exec;return y===ky||y===xa.exec?o&&!h?{done:!0,value:s(l,c,v)}:{done:!0,value:g(c,l,v)}:{done:!1}});ks(String.prototype,t,u[0]),ks(xa,n,u[1])}a&&Iy(xa[n],"sham",!0)},fo=G,_y=Rn,Ny=ye,My=Ve,Dy=fo("".charAt),As=fo("".charCodeAt),Ly=fo("".slice),_s=function(t){return function(r,e){var a=Ny(My(r)),n=_y(e),o=a.length,i,s;return n<0||n>=o?t?"":void 0:(i=As(a,n),i<55296||i>56319||n+1===o||(s=As(a,n+1))<56320||s>57343?t?Dy(a,n):i:t?Ly(a,n,n+2):(i-55296<<10)+(s-56320)+65536)}},Al={codeAt:_s(!1),charAt:_s(!0)},jy=Al.charAt,lo=function(t,r,e){return r+(e?jy(t,r).length:1)},Ns=ie,By=ne,Fy=K,Vy=ke,Gy=_n,zy=TypeError,co=function(t,r){var e=t.exec;if(Fy(e)){var a=Ns(e,t,r);return a!==null&&By(a),a}if(Vy(t)==="RegExp")return Ns(Gy,t,r);throw zy("RegExp#exec called on incompatible receiver")},Uy=ie,Wy=uo,qy=ne,Hy=Fe,Yy=hr,Oa=ye,Ky=Ve,Xy=Tt,Qy=lo,Ms=co;Wy("match",function(t,r,e){return[function(n){var o=Ky(this),i=Hy(n)?void 0:Xy(n,t);return i?Uy(i,n,o):new RegExp(n)[t](Oa(o))},function(a){var n=qy(this),o=Oa(a),i=e(r,n,o);if(i.done)return i.value;if(!n.global)return Ms(n,o);var s=n.unicode;n.lastIndex=0;for(var u=[],f=0,l;(l=Ms(n,o))!==null;){var c=Oa(l[0]);u[f]=c,c===""&&(n.lastIndex=Qy(o,Yy(n.lastIndex),s)),f++}return f===0?null:u}]});var Jy=or,_l=Function.prototype,Ds=_l.apply,Ls=_l.call,Dt=typeof Reflect=="object"&&Reflect.apply||(Jy?Ls.bind(Ds):function(){return Ls.apply(Ds,arguments)}),vo=G,Zy=Ie,em=Math.floor,Pa=vo("".charAt),tm=vo("".replace),Ca=vo("".slice),rm=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,nm=/\$([$&'`]|\d{1,2})/g,am=function(t,r,e,a,n,o){var i=e+t.length,s=a.length,u=nm;return n!==void 0&&(n=Zy(n),u=rm),tm(o,u,function(f,l){var c;switch(Pa(l,0)){case"$":return"$";case"&":return t;case"`":return Ca(r,0,e);case"'":return Ca(r,i);case"<":c=n[Ca(l,1,-1)];break;default:var v=+l;if(v===0)return f;if(v>s){var h=em(v/10);return h===0?f:h<=s?a[h-1]===void 0?Pa(l,1):a[h-1]+Pa(l,1):f}c=a[v-1]}return c===void 0?"":c})},im=Dt,js=ie,Nn=G,om=uo,sm=F,um=ne,fm=K,lm=Fe,cm=Rn,vm=hr,vt=ye,hm=Ve,gm=lo,dm=Tt,pm=am,ym=co,mm=Z,Ri=mm("replace"),$m=Math.max,bm=Math.min,Sm=Nn([].concat),Ta=Nn([].push),Bs=Nn("".indexOf),Fs=Nn("".slice),wm=function(t){return t===void 0?t:String(t)},Em=function(){return"a".replace(/./,"$0")==="$0"}(),Vs=function(){return/./[Ri]?/./[Ri]("a","$0")==="":!1}(),Rm=!sm(function(){var t=/./;return t.exec=function(){var r=[];return r.groups={a:"7"},r},"".replace(t,"$<a>")!=="7"});om("replace",function(t,r,e){var a=Vs?"$":"$0";return[function(o,i){var s=hm(this),u=lm(o)?void 0:dm(o,Ri);return u?js(u,o,s,i):js(r,vt(s),o,i)},function(n,o){var i=um(this),s=vt(n);if(typeof o=="string"&&Bs(o,a)===-1&&Bs(o,"$<")===-1){var u=e(r,i,s,o);if(u.done)return u.value}var f=fm(o);f||(o=vt(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var v=[];;){var h=ym(i,s);if(h===null||(Ta(v,h),!l))break;var g=vt(h[0]);g===""&&(i.lastIndex=gm(s,vm(i.lastIndex),c))}for(var y="",p=0,$=0;$<v.length;$++){h=v[$];for(var S=vt(h[0]),b=$m(bm(cm(h.index),s.length),0),R=[],T=1;T<h.length;T++)Ta(R,wm(h[T]));var M=h.groups;if(f){var D=Sm([S],R,b,s);M!==void 0&&Ta(D,M);var V=vt(im(o,void 0,D))}else V=pm(S,s,b,R,M,o);b>=p&&(y+=Fs(s,p,b)+V,p=b+S.length)}return y+Fs(s,p)}]},!Rm||!Em||Vs);
3var xm=le,Om=ke,Pm=Z,Cm=Pm("match"),Nl=function(t){var r;return xm(t)&&((r=t[Cm])!==void 0?!!r:Om(t)=="RegExp")},Tm=Nl,km=TypeError,Ml=function(t){if(Tm(t))throw km("The method doesn't accept regular expressions");return t},Im=Z,Am=Im("match"),Dl=function(t){var r=/./;try{"/./"[t](r)}catch{try{return r[Am]=!1,"/./"[t](r)}catch{}}return!1},_m=j,Ll=Cn,Nm=Te.f,Mm=hr,Gs=ye,Dm=Ml,Lm=Ve,jm=Dl,zs=Ll("".startsWith),Bm=Ll("".slice),Fm=Math.min,jl=jm("startsWith"),Vm=!jl&&!!function(){var t=Nm(String.prototype,"startsWith");return t&&!t.writable}();_m({target:"String",proto:!0,forced:!Vm&&!jl},{startsWith:function(r){var e=Gs(Lm(this));Dm(r);var a=Mm(Fm(arguments.length>1?arguments[1]:void 0,e.length)),n=Gs(r);return zs?zs(e,n,a):Bm(e,a,a+n.length)===n}});var Gm=F,Lt=function(t,r){var e=[][t];return!!e&&Gm(function(){e.call(null,r||function(){return 1},1)})},zm=j,Um=G,Wm=mn,qm=we,Hm=Lt,Ym=Um([].join),Km=Wm!=Object,Xm=Km||!Hm("join",",");zm({target:"Array",proto:!0,forced:Xm},{join:function(r){return Ym(qm(this),r===void 0?",":r)}});function Qm(t){if(Array.isArray(t))return t}function Jm(t,r){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var a,n,o,i,s=[],u=!0,f=!1;try{if(o=(e=e.call(t)).next,r===0){if(Object(e)!==e)return;u=!1}else for(;!(u=(a=o.call(e)).done)&&(s.push(a.value),s.length!==r);u=!0);}catch(l){f=!0,n=l}finally{try{if(!u&&e.return!=null&&(i=e.return(),Object(i)!==i))return}finally{if(f)throw n}}return s}}function Zm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function te(t,r){return Qm(t)||Jm(t,r)||Kf(t,r)||Zm()}var ho={},e0=Sn,t0=pe,r0=sr,pr=function(t,r,e){var a=e0(r);a in t?t0.f(t,a,r0(0,e)):t[a]=e},Us=xn,n0=Ge,a0=pr,i0=Array,o0=Math.max,Bl=function(t,r,e){for(var a=n0(t),n=Us(r,a),o=Us(e===void 0?a:e,a),i=i0(o0(o-n,0)),s=0;n<o;n++,s++)a0(i,s,t[n]);return i.length=s,i},s0=ke,u0=we,Fl=At.f,f0=Bl,Vl=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l0=function(t){try{return Fl(t)}catch{return f0(Vl)}};ho.f=function(r){return Vl&&s0(r)=="Window"?l0(r):Fl(u0(r))};var Ws=dl,c0=pe,yr=function(t,r,e){return e.get&&Ws(e.get,r,{getter:!0}),e.set&&Ws(e.set,r,{setter:!0}),c0.f(t,r,e)},go={},v0=Z;go.f=v0;var h0=J,Gl=h0,qs=Gl,g0=se,d0=go,p0=pe.f,zl=function(t){var r=qs.Symbol||(qs.Symbol={});g0(r,t)||p0(r,t,{value:d0.f(t)})},y0=ie,m0=Ee,$0=Z,b0=be,S0=function(){var t=m0("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,a=$0("toPrimitive");r&&!r[a]&&b0(r,a,function(n){return y0(e,this)},{arity:1})},w0=pe.f,E0=se,R0=Z,Hs=R0("toStringTag"),mr=function(t,r,e){t&&!e&&(t=t.prototype),t&&!E0(t,Hs)&&w0(t,Hs,{configurable:!0,value:r})},Mn=j,po=J,yo=ie,x0=G,Rt=ce,xt=Ct,O0=F,ue=se,P0=st,xi=ne,Dn=we,mo=Sn,C0=ye,Oi=sr,tr=Mt,Ul=so,T0=At,Wl=ho,k0=On,ql=Te,Hl=pe,I0=oo,Yl=Hi,ka=be,A0=yr,$o=kt,_0=En,Kl=vr,Ys=bn,N0=Z,M0=go,D0=zl,L0=S0,j0=mr,Xl=ut,Ln=Nt.forEach,de=_0("hidden"),jn="Symbol",rr="prototype",B0=Xl.set,Ks=Xl.getterFor(jn),$e=Object[rr],at=po.Symbol,Ht=at&&at[rr],F0=po.TypeError,Ia=po.QObject,Ql=ql.f,rt=Hl.f,Jl=Wl.f,V0=Yl.f,Zl=x0([].push),De=$o("symbols"),$r=$o("op-symbols"),G0=$o("wks"),Pi=!Ia||!Ia[rr]||!Ia[rr].findChild,Ci=Rt&&O0(function(){return tr(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a!=7})?function(t,r,e){var a=Ql($e,r);a&&delete $e[r],rt(t,r,e),a&&t!==$e&&rt($e,r,a)}:rt,Aa=function(t,r){var e=De[t]=tr(Ht);return B0(e,{type:jn,tag:t,description:r}),Rt||(e.description=r),e},Bn=function(r,e,a){r===$e&&Bn($r,e,a),xi(r);var n=mo(e);return xi(a),ue(De,n)?(a.enumerable?(ue(r,de)&&r[de][n]&&(r[de][n]=!1),a=tr(a,{enumerable:Oi(0,!1)})):(ue(r,de)||rt(r,de,Oi(1,{})),r[de][n]=!0),Ci(r,n,a)):rt(r,n,a)},bo=function(r,e){xi(r);var a=Dn(e),n=Ul(a).concat(rc(a));return Ln(n,function(o){(!Rt||yo(Ti,a,o))&&Bn(r,o,a[o])}),r},z0=function(r,e){return e===void 0?tr(r):bo(tr(r),e)},Ti=function(r){var e=mo(r),a=yo(V0,this,e);return this===$e&&ue(De,e)&&!ue($r,e)?!1:a||!ue(this,e)||!ue(De,e)||ue(this,de)&&this[de][e]?a:!0},ec=function(r,e){var a=Dn(r),n=mo(e);if(!(a===$e&&ue(De,n)&&!ue($r,n))){var o=Ql(a,n);return o&&ue(De,n)&&!(ue(a,de)&&a[de][n])&&(o.enumerable=!0),o}},tc=function(r){var e=Jl(Dn(r)),a=[];return Ln(e,function(n){!ue(De,n)&&!ue(Kl,n)&&Zl(a,n)}),a},rc=function(t){var r=t===$e,e=Jl(r?$r:Dn(t)),a=[];return Ln(e,function(n){ue(De,n)&&(!r||ue($e,n))&&Zl(a,De[n])}),a};xt||(at=function(){if(P0(Ht,this))throw F0("Symbol is not a constructor");var r=!arguments.length||arguments[0]===void 0?void 0:C0(arguments[0]),e=Ys(r),a=function(n){this===$e&&yo(a,$r,n),ue(this,de)&&ue(this[de],e)&&(this[de][e]=!1),Ci(this,e,Oi(1,n))};return Rt&&Pi&&Ci($e,e,{configurable:!0,set:a}),Aa(e,r)},Ht=at[rr],ka(Ht,"toString",function(){return Ks(this).tag}),ka(at,"withoutSetter",function(t){return Aa(Ys(t),t)}),Yl.f=Ti,Hl.f=Bn,I0.f=bo,ql.f=ec,T0.f=Wl.f=tc,k0.f=rc,M0.f=function(t){return Aa(N0(t),t)},Rt&&(A0(Ht,"description",{configurable:!0,get:function(){return Ks(this).description}}),ka($e,"propertyIsEnumerable",Ti,{unsafe:!0})));Mn({global:!0,constructor:!0,wrap:!0,forced:!xt,sham:!xt},{Symbol:at});Ln(Ul(G0),function(t){D0(t)});Mn({target:jn,stat:!0,forced:!xt},{useSetter:function(){Pi=!0},useSimple:function(){Pi=!1}});Mn({target:"Object",stat:!0,forced:!xt,sham:!Rt},{create:z0,defineProperty:Bn,defineProperties:bo,getOwnPropertyDescriptor:ec});Mn({target:"Object",stat:!0,forced:!xt},{getOwnPropertyNames:tc});L0();j0(at,jn);Kl[de]=!0;
4var U0=Ct,nc=U0&&!!Symbol.for&&!!Symbol.keyFor,W0=j,q0=Ee,H0=se,Y0=ye,ac=kt,K0=nc,_a=ac("string-to-symbol-registry"),X0=ac("symbol-to-string-registry");W0({target:"Symbol",stat:!0,forced:!K0},{for:function(t){var r=Y0(t);if(H0(_a,r))return _a[r];var e=q0("Symbol")(r);return _a[r]=e,X0[e]=r,e}});var Q0=j,J0=se,Z0=fr,e$=lr,t$=kt,r$=nc,Xs=t$("symbol-to-string-registry");Q0({target:"Symbol",stat:!0,forced:!r$},{keyFor:function(r){if(!Z0(r))throw TypeError(e$(r)+" is not a symbol");if(J0(Xs,r))return Xs[r]}});var n$=G,Fn=n$([].slice),a$=G,Qs=dr,i$=K,Js=ke,o$=ye,Zs=a$([].push),s$=function(t){if(i$(t))return t;if(Qs(t)){for(var r=t.length,e=[],a=0;a<r;a++){var n=t[a];typeof n=="string"?Zs(e,n):(typeof n=="number"||Js(n)=="Number"||Js(n)=="String")&&Zs(e,o$(n))}var o=e.length,i=!0;return function(s,u){if(i)return i=!1,u;if(Qs(this))return u;for(var f=0;f<o;f++)if(e[f]===s)return u}}},u$=j,ic=Ee,oc=Dt,f$=ie,br=G,sc=F,eu=K,tu=fr,uc=Fn,l$=s$,c$=Ct,v$=String,We=ic("JSON","stringify"),Br=br(/./.exec),ru=br("".charAt),h$=br("".charCodeAt),g$=br("".replace),d$=br(1 .toString),p$=/[\uD800-\uDFFF]/g,nu=/^[\uD800-\uDBFF]$/,au=/^[\uDC00-\uDFFF]$/,iu=!c$||sc(function(){var t=ic("Symbol")();return We([t])!="[null]"||We({a:t})!="{}"||We(Object(t))!="{}"}),ou=sc(function(){return We("\uDF06\uD834")!=='"\\udf06\\ud834"'||We("\uDEAD")!=='"\\udead"'}),y$=function(t,r){var e=uc(arguments),a=l$(r);if(!(!eu(a)&&(t===void 0||tu(t))))return e[1]=function(n,o){if(eu(a)&&(o=f$(a,this,v$(n),o)),!tu(o))return o},oc(We,null,e)},m$=function(t,r,e){var a=ru(e,r-1),n=ru(e,r+1);return Br(nu,t)&&!Br(au,n)||Br(au,t)&&!Br(nu,a)?"\\u"+d$(h$(t,0),16):t};We&&u$({target:"JSON",stat:!0,arity:3,forced:iu||ou},{stringify:function(r,e,a){var n=uc(arguments),o=oc(iu?y$:We,null,n);return ou&&typeof o=="string"?g$(o,p$,m$):o}});var $$=j,b$=Ct,S$=F,fc=On,w$=Ie,E$=!b$||S$(function(){fc.f(1)});$$({target:"Object",stat:!0,forced:E$},{getOwnPropertySymbols:function(r){var e=fc.f;return e?e(w$(r)):[]}});var R$=j,x$=Nt.filter,O$=In,P$=O$("filter");R$({target:"Array",proto:!0,forced:!P$},{filter:function(r){return x$(this,r,arguments.length>1?arguments[1]:void 0)}});var C$=Nt.forEach,T$=Lt,k$=T$("forEach"),lc=k$?[].forEach:function(r){return C$(this,r,arguments.length>1?arguments[1]:void 0)},I$=j,su=lc;I$({target:"Array",proto:!0,forced:[].forEach!=su},{forEach:su});var A$=j,_$=F,N$=we,cc=Te.f,vc=ce,M$=!vc||_$(function(){cc(1)});A$({target:"Object",stat:!0,forced:M$,sham:!vc},{getOwnPropertyDescriptor:function(r,e){return cc(N$(r),e)}});var D$=j,L$=ce,j$=yl,B$=we,F$=Te,V$=pr;D$({target:"Object",stat:!0,sham:!L$},{getOwnPropertyDescriptors:function(r){for(var e=B$(r),a=F$.f,n=j$(e),o={},i=0,s,u;n.length>i;)u=a(e,s=n[i++]),u!==void 0&&V$(o,s,u);return o}});var G$=j,z$=Ie,hc=so,U$=F,W$=U$(function(){hc(1)});G$({target:"Object",stat:!0,forced:W$},{keys:function(r){return hc(z$(r))}});var gc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},q$=wn,Na=q$("span").classList,uu=Na&&Na.constructor&&Na.constructor.prototype,dc=uu===Object.prototype?void 0:uu,fu=J,lu=gc,H$=dc,Ma=lc,Y$=It,pc=function(t){if(t&&t.forEach!==Ma)try{Y$(t,"forEach",Ma)}catch{t.forEach=Ma}};for(var Da in lu)lu[Da]&&pc(fu[Da]&&fu[Da].prototype);pc(H$);var yc={exports:{}},mc={exports:{}};(function(t){function r(e){"@babel/helpers - typeof";return t.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})(mc);var K$=mc.exports;(function(t){var r=K$.default;function e(){t.exports=e=function(){return a}
vendor: 4,603 bytes, line 4
4,t.exports.__esModule=!0,t.exports.default=t.exports;var a={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(P,w,d){P[w]=d.value},s=typeof Symbol=="function"?Symbol:{},u=s.iterator||"@@iterator",f=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function c(P,w,d){return Object.defineProperty(P,w,{value:d,enumerable:!0,configurable:!0,writable:!0}),P[w]}try{c({},"")}catch{c=function(d,m,E){return d[m]=E}}function v(P,w,d,m){var E=w&&w.prototype instanceof y?w:y,O=Object.create(E.prototype),C=new Y(m||[]);return i(O,"_invoke",{value:V(P,d,C)}),O}function h(P,w,d){try{return{type:"normal",arg:P.call(w,d)}}catch(m){return{type:"throw",arg:m}}}a.wrap=v;var g={};function y(){}function p(){}function $(){}var S={};c(S,u,function(){return this});var b=Object.getPrototypeOf,R=b&&b(b(ee([])));R&&R!==n&&o.call(R,u)&&(S=R);var T=$.prototype=y.prototype=Object.create(S);function M(P){["next","throw","return"].forEach(function(w){c(P,w,function(d){return this._invoke(w,d)})})}function D(P,w){function d(E,O,C,L){var B=h(P[E],P,O);if(B.type!=="throw"){var U=B.arg,W=U.value;return W&&r(W)=="object"&&o.call(W,"__await")?w.resolve(W.__await).then(function(q){d("next",q,C,L)},function(q){d("throw",q,C,L)}):w.resolve(W).then(function(q){U.value=q,C(U)},function(q){return d("throw",q,C,L)})}L(B.arg)}var m;i(this,"_invoke",{value:function(O,C){function L(){return new w(function(B,U){d(O,C,B,U)})}return m=m?m.then(L,L):L()}})}function V(P,w,d){var m="suspendedStart";return function(E,O){if(m==="executing")throw new Error("Generator is already running");if(m==="completed"){if(E==="throw")throw O;return Q()}for(d.method=E,d.arg=O;;){var C=d.delegate;if(C){var L=X(C,d);if(L){if(L===g)continue;return L}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(m==="suspendedStart")throw m="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);m="executing";var B=h(P,w,d);if(B.type==="normal"){if(m=d.done?"completed":"suspendedYield",B.arg===g)continue;return{value:B.arg,done:d.done}}B.type==="throw"&&(m="completed",d.method="throw",d.arg=B.arg)}}}function X(P,w){var d=w.method,m=P.iterator[d];if(m===void 0)return w.delegate=null,d==="throw"&&P.iterator.return&&(w.method="return",w.arg=void 0,X(P,w),w.method==="throw")||d!=="return"&&(w.method="throw",w.arg=new TypeError("The iterator does not provide a '"+d+"' method")),g;var E=h(m,P.iterator,w.arg);if(E.type==="throw")return w.method="throw",w.arg=E.arg,w.delegate=null,g;var O=E.arg;return O?O.done?(w[P.resultName]=O.value,w.next=P.nextLoc,w.method!=="return"&&(w.method="next",w.arg=void 0),w.delegate=null,g):O:(w.method="throw",w.arg=new TypeError("iterator result is not an object"),w.delegate=null,g)}function z(P){var w={tryLoc:P[0]};1 in P&&(w.catchLoc=P[1]),2 in P&&(w.finallyLoc=P[2],w.afterLoc=P[3]),this.tryEntries.push(w)}function H(P){var w=P.completion||{};w.type="normal",delete w.arg,P.completion=w}function Y(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(z,this),this.reset(!0)}function ee(P){if(P){var w=P[u];if(w)return w.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var d=-1,m=function E(){for(;++d<P.length;)if(o.call(P,d))return E.value=P[d],E.done=!1,E;return E.value=void 0,E.done=!0,E};return m.next=m}}return{next:Q}}function Q(){return{value:void 0,done:!0}}return p.prototype=$,i(T,"constructor",{value:$,configurable:!0}),i($,"constructor",{value:p,configurable:!0}),p.displayName=c($,l,"GeneratorFunction"),a.isGeneratorFunction=function(P){var w=typeof P=="function"&&P.constructor;return!!w&&(w===p||(w.displayName||w.name)==="GeneratorFunction")},a.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,$):(P.__proto__=$,c(P,l,"GeneratorFunction")),P.prototype=Object.create(T),P},a.awrap=function(P){return{__await:P}},M(D.prototype),c(D.prototype,f,function(){return this}),a.AsyncIterator=D,a.async=function(P,w,d,m,E){E===void 0&&(E=Promise);var O=new D(v(P,w,d,m),E);return a.isGeneratorFunction(w)?O:O.next().then(function(C){return C.done?C.value:O.next()})},M(T),c(T,l,"Generator"),c(T,u,function(){return this}),c(T,"toString",function(){return"[object Generator]"}),a.keys=function(P){var w=Object(P),d=[];for(var m in w)d.push(m);return d.reverse(),function E(){for(;d.length;){var O=d.pop();if(O in w)return E.value=O,E.done=!1,E}return E.done=!0,E}},a.values=ee,Y.prototype={constructor:Y,reset:function(w){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
4h(H),!w)for(var d in this)d.charAt(0)==="t"&&o.call(this,d)&&!isNaN(+d.slice(1))&&(this[d]=void 0)},stop:function(){this.done=!0;var w=this.tryEntries[0].completion;if(w.type==="throw")throw w.arg;return this.rval},dispatchException:function(w){if(this.done)throw w;var d=this;function m(U,W){return C.type="throw",C.arg=w,d.next=U,W&&(d.method="next",d.arg=void 0),!!W}for(var E=this.tryEntries.length-1;E>=0;--E){var O=this.tryEntries[E],C=O.completion;if(O.tryLoc==="root")return m("end");if(O.tryLoc<=this.prev){var L=o.call(O,"catchLoc"),B=o.call(O,"finallyLoc");if(L&&B){if(this.prev<O.catchLoc)return m(O.catchLoc,!0);if(this.prev<O.finallyLoc)return m(O.finallyLoc)}else if(L){if(this.prev<O.catchLoc)return m(O.catchLoc,!0)}else{if(!B)throw new Error("try statement without catch or finally");if(this.prev<O.finallyLoc)return m(O.finallyLoc)}}}},abrupt:function(w,d){for(var m=this.tryEntries.length-1;m>=0;--m){var E=this.tryEntries[m];if(E.tryLoc<=this.prev&&o.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var O=E;break}}O&&(w==="break"||w==="continue")&&O.tryLoc<=d&&d<=O.finallyLoc&&(O=null);var C=O?O.completion:{};return C.type=w,C.arg=d,O?(this.method="next",this.next=O.finallyLoc,g):this.complete(C)},complete:function(w,d){if(w.type==="throw")throw w.arg;return w.type==="break"||w.type==="continue"?this.next=w.arg:w.type==="return"?(this.rval=this.arg=w.arg,this.method="return",this.next="end"):w.type==="normal"&&d&&(this.next=d),g},finish:function(w){for(var d=this.tryEntries.length-1;d>=0;--d){var m=this.tryEntries[d];if(m.finallyLoc===w)return this.complete(m.completion,m.afterLoc),H(m),g}},catch:function(w){for(var d=this.tryEntries.length-1;d>=0;--d){var m=this.tryEntries[d];if(m.tryLoc===w){var E=m.completion;if(E.type==="throw"){var O=E.arg;H(m)}return O}}throw new Error("illegal catch attempt")},delegateYield:function(w,d,m){return this.delegate={iterator:ee(w),resultName:d,nextLoc:m},this.method==="next"&&(this.arg=void 0),g}},a}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(yc);var X$=yc.exports,on=X$(),Q$=on;try{regeneratorRuntime=on}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=on:Function("r","regeneratorRuntime = r")(on)}const fe=qi(Q$);function cu(t,r,e,a,n,o,i){try{var s=t[o](i),u=s.value}catch(f){e(f);return}s.done?r(u):Promise.resolve(u).then(a,n)}function Le(t){return function(){var r=this,e=arguments;return new Promise(function(a,n){var o=t.apply(r,e);function i(u){cu(o,a,n,i,s,"next",u)}function s(u){cu(o,a,n,i,s,"throw",u)}i(void 0)})}}var J$=TypeError,Z$=9007199254740991,eb=function(t){if(t>Z$)throw J$("Maximum allowed index exceeded");return t},tb=j,rb=F,nb=dr,ab=le,ib=Ie,ob=Ge,vu=eb,hu=pr,sb=Rl,ub=In,fb=Z,lb=ur,$c=fb("isConcatSpreadable"),cb=lb>=51||!rb(function(){var t=[];return t[$c]=!1,t.concat()[0]!==t}),vb=function(t){if(!ab(t))return!1;var r=t[$c];return r!==void 0?!!r:nb(t)},hb=!cb||!ub("concat");tb({target:"Array",proto:!0,arity:1,forced:hb},{concat:function(r){var e=ib(this),a=sb(e,0),n=0,o,i,s,u,f;for(o=-1,s=arguments.length;o<s;o++)if(f=o===-1?e:arguments[o],vb(f))for(u=ob(f),vu(n+u),i=0;i<u;i++,n++)i in f&&hu(a,n,f[i]);else vu(n+1),hu(a,n++,f);return a.length=n,a}});var gb=j,db=Nt.every,pb=Lt,yb=pb("every");gb({target:"Array",proto:!0,forced:!yb},{every:function(r){return db(this,r,arguments.length>1?arguments[1]:void 0)}});var mb=Re,$b=Ie,bb=mn,Sb=Ge,wb=TypeError,gu=function(t){return function(r,e,a,n){mb(e);var o=$b(r),i=bb(o),s=Sb(o),u=t?s-1:0,f=t?-1:1;if(a<2)for(;;){if(u in i){n=i[u],u+=f;break}if(u+=f,t?u<0:s<=u)throw wb("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=f)u in i&&(n=e(n,i[u],u,o));return n}},Eb={left:gu(!1),right:gu(!0)},Rb=ke,Sr=typeof process<"u"&&Rb(process)=="process",xb=j,Ob=Eb.left,Pb=Lt,du=ur,Cb=Sr,Tb=!Cb&&du>79&&du<83,kb=Tb||!Pb("reduce");xb({target:"Array",proto:!0,forced:kb},{reduce:function(r){var e=arguments.length;return Ob(this,r,e,e>1?arguments[1]:void 0)}});var Ib=to,Ab=Tn,_b=Ib?{}.toString:function(){return"[object "+Ab(this)+"]"},Nb=to,Mb=be,Db=_b;Nb||Mb(Object.prototype,"toString",Db,{unsafe:!0});var Lb=G,jb=Re,Bb=function(t,r,e){try{return Lb(jb(Object.getOwnPropertyDescriptor(t,r)[e]))}catch{}},Fb=K,Vb=String,Gb=TypeError,zb=function(t){if(typeof t=="object"||Fb(t))return t;throw Gb("Can't set "+Vb(t)+" as a prototype")}
vendor: 4,637 bytes, line 4
4,Ub=Bb,Wb=ne,qb=zb,So=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,r={},e;try{e=Ub(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch{}return function(n,o){return Wb(n),qb(o),t?e(n,o):n.__proto__=o,n}}():void 0),Hb=Ee,Yb=yr,Kb=Z,Xb=ce,pu=Kb("species"),bc=function(t){var r=Hb(t);Xb&&r&&!r[pu]&&Yb(r,pu,{configurable:!0,get:function(){return this}})},Qb=st,Jb=TypeError,wo=function(t,r){if(Qb(r,t))return t;throw Jb("Incorrect invocation")},Zb=kn,eS=lr,tS=TypeError,Sc=function(t){if(Zb(t))return t;throw tS(eS(t)+" is not a constructor")},yu=ne,rS=Sc,nS=Fe,aS=Z,iS=aS("species"),wc=function(t,r){var e=yu(t).constructor,a;return e===void 0||nS(a=yu(e)[iS])?r:rS(a)},oS=TypeError,sS=function(t,r){if(t<r)throw oS("Not enough arguments");return t},uS=$n,Ec=/(?:ipad|iphone|ipod).*applewebkit/i.test(uS),me=J,fS=Dt,lS=_t,mu=K,cS=se,Rc=F,$u=Pl,vS=Fn,bu=wn,hS=sS,gS=Ec,dS=Sr,ki=me.setImmediate,Ii=me.clearImmediate,pS=me.process,La=me.Dispatch,yS=me.Function,Su=me.MessageChannel,mS=me.String,ja=0,Qt={},wu="onreadystatechange",nr,Je,Ba,Fa;Rc(function(){nr=me.location});var Eo=function(t){if(cS(Qt,t)){var r=Qt[t];delete Qt[t],r()}},Va=function(t){return function(){Eo(t)}},Eu=function(t){Eo(t.data)},Ru=function(t){me.postMessage(mS(t),nr.protocol+"//"+nr.host)};(!ki||!Ii)&&(ki=function(r){hS(arguments.length,1);var e=mu(r)?r:yS(r),a=vS(arguments,1);return Qt[++ja]=function(){fS(e,void 0,a)},Je(ja),ja},Ii=function(r){delete Qt[r]},dS?Je=function(t){pS.nextTick(Va(t))}:La&&La.now?Je=function(t){La.now(Va(t))}:Su&&!gS?(Ba=new Su,Fa=Ba.port2,Ba.port1.onmessage=Eu,Je=lS(Fa.postMessage,Fa)):me.addEventListener&&mu(me.postMessage)&&!me.importScripts&&nr&&nr.protocol!=="file:"&&!Rc(Ru)?(Je=Ru,me.addEventListener("message",Eu,!1)):wu in bu("script")?Je=function(t){$u.appendChild(bu("script"))[wu]=function(){$u.removeChild(this),Eo(t)}}:Je=function(t){setTimeout(Va(t),0)});var xc={set:ki,clear:Ii},Oc=function(){this.head=null,this.tail=null};Oc.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}};var Pc=Oc,$S=$n,bS=/ipad|iphone|ipod/i.test($S)&&typeof Pebble<"u",SS=$n,wS=/web0s(?!.*chrome)/i.test(SS),it=J,xu=_t,ES=Te.f,Ga=xc.set,RS=Pc,xS=Ec,OS=bS,PS=wS,za=Sr,Ou=it.MutationObserver||it.WebKitMutationObserver,Pu=it.document,Cu=it.process,Fr=it.Promise,Tu=ES(it,"queueMicrotask"),Ai=Tu&&Tu.value,ht,Ua,Wa,Vr,ku;if(!Ai){var Gr=new RS,zr=function(){var t,r;for(za&&(t=Cu.domain)&&t.exit();r=Gr.get();)try{r()}catch(e){throw Gr.head&&ht(),e}t&&t.enter()};!xS&&!za&&!PS&&Ou&&Pu?(Ua=!0,Wa=Pu.createTextNode(""),new Ou(zr).observe(Wa,{characterData:!0}),ht=function(){Wa.data=Ua=!Ua}):!OS&&Fr&&Fr.resolve?(Vr=Fr.resolve(void 0),Vr.constructor=Fr,ku=xu(Vr.then,Vr),ht=function(){ku(zr)}):za?ht=function(){Cu.nextTick(zr)}:(Ga=xu(Ga,it),ht=function(){Ga(zr)}),Ai=function(t){Gr.head||ht(),Gr.add(t)}}var CS=Ai,TS=function(t,r){try{arguments.length==1?console.error(t):console.error(t,r)}catch{}},Ro=function(t){try{return{error:!1,value:t()}}catch(r){return{error:!0,value:r}}},kS=J,Vn=kS.Promise,Cc=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",IS=Cc,AS=Sr,_S=!IS&&!AS&&typeof window=="object"&&typeof document=="object",NS=J,Jt=Vn,MS=K,DS=Pn,LS=Qi,jS=Z,BS=_S,FS=Cc,qa=ur;Jt&&Jt.prototype;var VS=jS("species"),_i=!1,Tc=MS(NS.PromiseRejectionEvent),GS=DS("Promise",function(){var t=LS(Jt),r=t!==String(Jt);if(!r&&qa===66)return!0;if(!qa||qa<51||!/native code/.test(t)){var e=new Jt(function(o){o(1)}),a=function(o){o(function(){},function(){})},n=e.constructor={};if(n[VS]=a,_i=e.then(function(){})instanceof a,!_i)return!0}return!r&&(BS||FS)&&!Tc}),wr={CONSTRUCTOR:GS,REJECTION_EVENT:Tc,SUBCLASSING:_i},jt={},Iu=Re,zS=TypeError,US=function(t){var r,e;this.promise=new t(function(a,n){if(r!==void 0||e!==void 0)throw zS("Bad Promise constructor");r=a,e=n}),this.resolve=Iu(r),this.reject=Iu(e)};jt.f=function(t){return new US(t)};var WS=j,dn=Sr,qe=J,Ot=ie,Au=be,_u=So,qS=mr,HS=bc,YS=Re,sn=K,KS=le,XS=wo,QS=wc,kc=xc.set,xo=CS,JS=TS,ZS=Ro,e1=Pc,Ic=ut,pn=Vn,Oo=wr,Ac=jt,Gn="Promise",_c=Oo.CONSTRUCTOR,t1=Oo.REJECTION_EVENT,r1=Oo.SUBCLASSING,Ha=Ic.getterFor(Gn),n1=Ic.set,pt=pn&&pn.prototype,nt=pn,Ur=pt,Nc=qe.TypeError,Ni=qe.document,Po=qe.process,Mi=Ac.f,a1=Mi,i1=!!(Ni&&Ni.createEvent&&qe.dispatchEvent),Mc="unhandledrejection",o1="rejectionhandled",Nu=0,Dc=1,s1=2,Co=1,Lc=2,Wr,Mu,u1,Du,jc=function(t){var r;return KS(t)&&sn(r=t.then)?r:!1},Bc=function(t,r){var e=r.value,a=r.state==Dc,n=a?t.ok:t.fail,o=t.resolve,i=t.reject,s=t.domain,u,f,l;
4try{n?(a||(r.rejection===Lc&&l1(r),r.rejection=Co),n===!0?u=e:(s&&s.enter(),u=n(e),s&&(s.exit(),l=!0)),u===t.promise?i(Nc("Promise-chain cycle")):(f=jc(u))?Ot(f,u,o,i):o(u)):i(e)}catch(c){s&&!l&&s.exit(),i(c)}},Fc=function(t,r){t.notified||(t.notified=!0,xo(function(){for(var e=t.reactions,a;a=e.get();)Bc(a,t);t.notified=!1,r&&!t.rejection&&f1(t)}))},Vc=function(t,r,e){var a,n;i1?(a=Ni.createEvent("Event"),a.promise=r,a.reason=e,a.initEvent(t,!1,!0),qe.dispatchEvent(a)):a={promise:r,reason:e},!t1&&(n=qe["on"+t])?n(a):t===Mc&&JS("Unhandled promise rejection",e)},f1=function(t){Ot(kc,qe,function(){var r=t.facade,e=t.value,a=Lu(t),n;if(a&&(n=ZS(function(){dn?Po.emit("unhandledRejection",e,r):Vc(Mc,r,e)}),t.rejection=dn||Lu(t)?Lc:Co,n.error))throw n.value})},Lu=function(t){return t.rejection!==Co&&!t.parent},l1=function(t){Ot(kc,qe,function(){var r=t.facade;dn?Po.emit("rejectionHandled",r):Vc(o1,r,t.value)})},$t=function(t,r,e){return function(a){t(r,a,e)}},bt=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=s1,Fc(t,!0))},Di=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw Nc("Promise can't be resolved itself");var a=jc(r);a?xo(function(){var n={done:!1};try{Ot(a,r,$t(Di,n,t),$t(bt,n,t))}catch(o){bt(n,o,t)}}):(t.value=r,t.state=Dc,Fc(t,!1))}catch(n){bt({done:!1},n,t)}}};if(_c&&(nt=function(r){XS(this,Ur),YS(r),Ot(Wr,this);var e=Ha(this);try{r($t(Di,e),$t(bt,e))}catch(a){bt(e,a)}},Ur=nt.prototype,Wr=function(r){n1(this,{type:Gn,done:!1,notified:!1,parent:!1,reactions:new e1,rejection:!1,state:Nu,value:void 0})},Wr.prototype=Au(Ur,"then",function(r,e){var a=Ha(this),n=Mi(QS(this,nt));return a.parent=!0,n.ok=sn(r)?r:!0,n.fail=sn(e)&&e,n.domain=dn?Po.domain:void 0,a.state==Nu?a.reactions.add(n):xo(function(){Bc(n,a)}),n.promise}),Mu=function(){var t=new Wr,r=Ha(t);this.promise=t,this.resolve=$t(Di,r),this.reject=$t(bt,r)},Ac.f=Mi=function(t){return t===nt||t===u1?new Mu(t):a1(t)},sn(pn)&&pt!==Object.prototype)){Du=pt.then,r1||Au(pt,"then",function(r,e){var a=this;return new nt(function(n,o){Ot(Du,a,n,o)}).then(r,e)},{unsafe:!0});try{delete pt.constructor}catch{}_u&&_u(pt,Ur)}WS({global:!0,constructor:!0,wrap:!0,forced:_c},{Promise:nt});qS(nt,Gn,!1);HS(Gn);var Er={},c1=Z,v1=Er,h1=c1("iterator"),g1=Array.prototype,Gc=function(t){return t!==void 0&&(v1.Array===t||g1[h1]===t)},d1=Tn,ju=Tt,p1=Fe,y1=Er,m1=Z,$1=m1("iterator"),To=function(t){if(!p1(t))return ju(t,$1)||ju(t,"@@iterator")||y1[d1(t)]},b1=ie,S1=Re,w1=ne,E1=lr,R1=To,x1=TypeError,zc=function(t,r){var e=arguments.length<2?R1(t):r;if(S1(e))return w1(b1(e,t));throw x1(E1(t)+" is not iterable")},O1=ie,Bu=ne,P1=Tt,Uc=function(t,r,e){var a,n;Bu(t);try{if(a=P1(t,"return"),!a){if(r==="throw")throw e;return e}a=O1(a,t)}catch(o){n=!0,a=o}if(r==="throw")throw e;if(n)throw a;return Bu(a),e},C1=_t,T1=ie,k1=ne,I1=lr,A1=Gc,_1=Ge,Fu=st,N1=zc,M1=To,Vu=Uc,D1=TypeError,un=function(t,r){this.stopped=t,this.result=r},Gu=un.prototype,zn=function(t,r,e){var a=e&&e.that,n=!!(e&&e.AS_ENTRIES),o=!!(e&&e.IS_RECORD),i=!!(e&&e.IS_ITERATOR),s=!!(e&&e.INTERRUPTED),u=C1(r,a),f,l,c,v,h,g,y,p=function(S){return f&&Vu(f,"normal",S),new un(!0,S)},$=function(S){return n?(k1(S),s?u(S[0],S[1],p):u(S[0],S[1])):s?u(S,p):u(S)};if(o)f=t.iterator;else if(i)f=t;else{if(l=M1(t),!l)throw D1(I1(t)+" is not iterable");if(A1(l)){for(c=0,v=_1(t);v>c;c++)if(h=$(t[c]),h&&Fu(Gu,h))return h;return new un(!1)}f=N1(t,l)}for(g=o?t.next:f.next;!(y=T1(g,f)).done;){try{h=$(y.value)}catch(S){Vu(f,"throw",S)}if(typeof h=="object"&&h&&Fu(Gu,h))return h}return new un(!1)},L1=Z,Wc=L1("iterator"),qc=!1;try{var j1=0,zu={next:function(){return{done:!!j1++}},return:function(){qc=!0}};zu[Wc]=function(){return this},Array.from(zu,function(){throw 2})}catch{}var ko=function(t,r){if(!r&&!qc)return!1;var e=!1;try{var a={};a[Wc]=function(){return{next:function(){return{done:e=!0}}}},t(a)}catch{}return e},B1=Vn,F1=ko,V1=wr.CONSTRUCTOR,Hc=V1||!F1(function(t){B1.all(t).then(void 0,function(){})}),G1=j,z1=ie,U1=Re,W1=jt,q1=Ro,H1=zn,Y1=Hc;G1({target:"Promise",stat:!0,forced:Y1},{all:function(r){var e=this,a=W1.f(e),n=a.resolve,o=a.reject,i=q1(function(){var s=U1(e.resolve),u=[],f=0,l=1;H1(r,function(c){var v=f++,h=!1;l++,z1(s,e,c).then(function(g){h||(h=!0,u[v]=g,--l||n(u))},o)}),--l||n(u)});return i.error&&o(i.value),a.promise}});var K1=j,X1=wr.CONSTRUCTOR,Li=Vn,Q1=Ee,J1=K,Z1=be,Uu=Li&&Li.prototype;K1({target:"Promise",proto:!0,forced:X1,real:!0},{catch:function(t){return this.then(void 0,t)}});if(J1(Li)){var Wu=Q1("Promise").prototype.catch;Uu.catch!==Wu&&Z1(Uu,"catch",Wu,{unsafe:!0})}var ew=j,tw=ie,rw=Re,nw=jt,aw=Ro,iw=zn,ow=Hc;ew({target:"Promise",stat:!0,forced:ow},{race:function(r){var e=this,a=nw.f(e),n=a.reject,o=aw(function(){var i=rw(e.resolve);iw(r,function(s){tw(i,e,s).then(a.resolve,n)})});return o.error&&n(o.value),a.promise}});var sw=j,uw=ie,fw=jt,lw=wr.CONSTRUCTOR;sw({target:"Promise",stat:!0,forced:lw},{reject:function(r){var e=fw.f(this);return uw(e.reject,void 0,r),e.promise}});var cw=ne,vw=le,hw=jt,gw=function(t,r){if(cw(t),vw(r)&&r.constructor===t)return r;var e=hw.f(t),a=e.resolve;return a(r),e.promise},dw=j,pw=Ee,yw=wr.CONSTRUCTOR,mw=gw;pw("Promise");dw({target:"Promise",stat:!0,forced:yw},{resolve:function(r){return mw(this,r)}});var $w=Dt,Vt=ie,Io=G,bw=uo,Sw=ne,ww=Fe,Ew=Nl,qu=Ve,Rw=wc,xw=lo,Ow=hr,Ya=ye,Pw=Tt,Hu=Bl,Yu=co,Cw=_n,Tw=Ol,kw=F,gt=Tw.UNSUPPORTED_Y,Ku=4294967295,Iw=Math.min,Yc=[].push,Aw=Io(/./.exec),dt=Io(Yc),Gt=Io("".slice),_w=!kw(function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return e.length!==2||e[0]!=="a"||e[1]!=="b"});bw("split",function(t,r,e){var a;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?a=function(n,o){var i=Ya(qu(this)),s=o===void 0?Ku:o>>>0;if(s===0)return[];if(n===void 0)return[i];if(!Ew(n))return Vt(r,i,n,s);for(var u=[],f=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),l=0,c=new RegExp(n.source,f+"g"),v,h,g;(v=Vt(Cw,c,i))&&(h=c.lastIndex,!(h>l&&(dt(u,Gt(i,l,v.index)),v.length>1&&v.index<i.length&&$w(Yc,u,Hu(v,1)),g=v[0].length,l=h,u.length>=s)));)c.lastIndex===v.index&&c.lastIndex++;
4return l===i.length?(g||!Aw(c,""))&&dt(u,""):dt(u,Gt(i,l)),u.length>s?Hu(u,0,s):u}:"0".split(void 0,0).length?a=function(n,o){return n===void 0&&o===0?[]:Vt(r,this,n,o)}:a=r,[function(o,i){var s=qu(this),u=ww(o)?void 0:Pw(o,t);return u?Vt(u,o,s,i):Vt(a,Ya(s),o,i)},function(n,o){var i=Sw(this),s=Ya(n),u=e(a,i,s,o,a!==r);if(u.done)return u.value;var f=Rw(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(gt?"g":"y"),v=new f(gt?"^(?:"+i.source+")":i,c),h=o===void 0?Ku:o>>>0;if(h===0)return[];if(s.length===0)return Yu(v,s)===null?[s]:[];for(var g=0,y=0,p=[];y<s.length;){v.lastIndex=gt?0:y;var $=Yu(v,gt?Gt(s,y):s),S;if($===null||(S=Iw(Ow(v.lastIndex+(gt?y:0)),s.length))===g)y=xw(s,y,l);else{if(dt(p,Gt(s,g,y)),p.length===h)return p;for(var b=1;b<=$.length-1;b++)if(dt(p,$[b]),p.length===h)return p;y=g=S}}return dt(p,Gt(s,g)),p}]},!_w,gt);var Un={exports:{}},Yt={exports:{}};(function(){var t,r,e,a,n,o;typeof performance<"u"&&performance!==null&&performance.now?Yt.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Yt.exports=function(){return(t()-n)/1e6},r=process.hrtime,t=function(){var i;return i=r(),i[0]*1e9+i[1]},a=t(),o=process.uptime()*1e9,n=a-o):Date.now?(Yt.exports=function(){return Date.now()-e},e=Date.now()):(Yt.exports=function(){return new Date().getTime()-e},e=new Date().getTime())}).call(Xt);var Nw=Yt.exports,Mw=Nw,Me=typeof window>"u"?Xt:window,qr=["moz","webkit"],St="AnimationFrame",Pt=Me["request"+St],ar=Me["cancel"+St]||Me["cancelRequest"+St];for(var zt=0;!Pt&&zt<qr.length;zt++)Pt=Me[qr[zt]+"Request"+St],ar=Me[qr[zt]+"Cancel"+St]||Me[qr[zt]+"CancelRequest"+St];if(!Pt||!ar){var Ka=0,Xu=0,Ze=[],Dw=1e3/60;Pt=function(t){if(Ze.length===0){var r=Mw(),e=Math.max(0,Dw-(r-Ka));Ka=e+r,setTimeout(function(){var a=Ze.slice(0);Ze.length=0;for(var n=0;n<a.length;n++)if(!a[n].cancelled)try{a[n].callback(Ka)}catch(o){setTimeout(function(){throw o},0)}},Math.round(e))}return Ze.push({handle:++Xu,callback:t,cancelled:!1}),Xu},ar=function(t){for(var r=0;r<Ze.length;r++)Ze[r].handle===t&&(Ze[r].cancelled=!0)}}Un.exports=function(t){return Pt.call(Me,t)};Un.exports.cancel=function(){ar.apply(Me,arguments)};Un.exports.polyfill=function(t){t||(t=Me),t.requestAnimationFrame=Pt,t.cancelAnimationFrame=ar};var Lw=Un.exports;const Xa=qi(Lw);var jw=ce,Bw=cr.EXISTS,Kc=G,Fw=yr,Xc=Function.prototype,Vw=Kc(Xc.toString),Qc=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Gw=Kc(Qc.exec),zw="name";jw&&!Bw&&Fw(Xc,zw,{configurable:!0,get:function(){try{return Gw(Qc,Vw(this))[1]}catch{return""}}});var Uw=function(t){this.ok=!1,this.alpha=1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
40",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var e=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],a=0;a<e.length;a++){var n=e[a].re,o=e[a].process,i=n.exec(t);if(i){var s=o(i);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),f=this.g.toString(16),l=this.b.toString(16);return u.length==1&&(u="0"+u),f.length==1&&(f="0"+f),l.length==1&&(l="0"+l),"#"+u+f+l},this.getHelpXML=function(){for(var u=new Array,f=0;f<e.length;f++)for(var l=e[f].example,c=0;c<l.length;c++)u[u.length]=l[c];for(var v in r)u[u.length]=v;var h=document.createElement("ul");h.setAttribute("id","rgbcolor-examples");for(var f=0;f<u.length;f++)try{var g=document.createElement("li"),y=new RGBColor(u[f]),p=document.createElement("div");p.style.cssText="margin: 3px; border: 1px solid black; background:"+y.toHex()+"; color:"+y.toHex(),p.appendChild(document.createTextNode("test"));var $=document.createTextNode(" "+u[f]+" -> "+y.toRGB()+" -> "+y.toHex());g.appendChild(p),g.appendChild($),h.appendChild(g)}catch{}return h}};const ji=qi(Uw);var Jc=G,Ww=Re,qw=le,Hw=se,Qu=Fn,Yw=or,Zc=Function,Kw=Jc([].concat),Xw=Jc([].join),Qa={},Qw=function(t,r,e){if(!Hw(Qa,r)){for(var a=[],n=0;n<r;n++)a[n]="a["+n+"]";Qa[r]=Zc("C,a","return new C("+Xw(a,",")+")")}return Qa[r](t,e)},Jw=Yw?Zc.bind:function(r){var e=Ww(this),a=e.prototype,n=Qu(arguments,1),o=function(){var s=Kw(n,Qu(arguments));return this instanceof o?Qw(e,s.length,s):e.apply(r,s)};return qw(a)&&(o.prototype=a),o},Zw=j,e2=Ee,Ja=Dt,t2=Jw,Ju=Sc,r2=ne,Zu=le,n2=Mt,ev=F,Ao=e2("Reflect","construct"),a2=Object.prototype,i2=[].push,tv=ev(function(){function t(){}return!(Ao(function(){},[],t)instanceof t)}),rv=!ev(function(){Ao(function(){})}),ef=tv||rv;Zw({target:"Reflect",stat:!0,forced:ef,sham:ef},{construct:function(r,e){Ju(r),r2(e);var a=arguments.length<3?r:Ju(arguments[2]);if(rv&&!tv)return Ao(r,e,a);if(r==a){switch(e.length){case 0:return new r;case 1:return new r(e[0]);case 2:return new r(e[0],e[1]);case 3:return new r(e[0],e[1],e[2]);case 4:return new r(e[0],e[1],e[2],e[3])}var n=[null];return Ja(i2,n,e),new(Ja(t2,r,n))}var o=a.prototype,i=n2(Zu(o)?o:a2),s=Ja(r,i,e);return Zu(s)?s:i}});var o2=ie,s2=se,u2=st,f2=xl,tf=RegExp.prototype,l2=function(t){var r=t.flags;return r===void 0&&!("flags"in tf)&&!s2(t,"flags")&&u2(tf,t)?o2(f2,t):r},c2=cr.PROPER,v2=be,h2=ne,rf=ye,g2=F,d2=l2,_o="toString",p2=RegExp.prototype,nv=p2[_o],y2=g2(function(){return nv.call({source:"a",flags:"b"})!="/a/b"}),m2=c2&&nv.name!=_o;(y2||m2)&&v2(RegExp.prototype,_o,function(){var r=h2(this),e=rf(r.source),a=rf(d2(r));return"/"+e+"/"+a},{unsafe:!0});var $2=ne,b2=Uc,S2=function(t,r,e,a){try{return a?r($2(e)[0],e[1]):r(e)}catch(n){b2(t,"throw",n)}},w2=_t,E2=ie,R2=Ie,x2=S2,O2=Gc,P2=kn,C2=Ge,nf=pr,T2=zc,k2=To,af=Array,I2=function(r){var e=R2(r),a=P2(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=o!==void 0;i&&(o=w2(o,n>2?arguments[2]:void 0));var s=k2(e),u=0,f,l,c,v,h,g;if(s&&!(this===af&&O2(s)))for(v=T2(e,s),h=v.next,l=a?new this:[];!(c=E2(h,v)).done;
4u++)g=i?x2(v,o,[c.value,u],!0):c.value,nf(l,u,g);else for(f=C2(e),l=a?new this(f):af(f);f>u;u++)g=i?o(e[u],u):e[u],nf(l,u,g);return l.length=u,l},A2=j,_2=I2,N2=ko,M2=!N2(function(t){Array.from(t)});A2({target:"Array",stat:!0,forced:M2},{from:_2});var D2=Z,L2=Mt,j2=pe.f,Bi=D2("unscopables"),Fi=Array.prototype;Fi[Bi]==null&&j2(Fi,Bi,{configurable:!0,value:L2(null)});var No=function(t){Fi[Bi][t]=!0},B2=j,F2=Zi.includes,V2=F,G2=No,z2=V2(function(){return!Array(1).includes()});B2({target:"Array",proto:!0,forced:z2},{includes:function(r){return F2(this,r,arguments.length>1?arguments[1]:void 0)}});G2("includes");var U2=j,W2=Nt.some,q2=Lt,H2=q2("some");U2({target:"Array",proto:!0,forced:!H2},{some:function(r){return W2(this,r,arguments.length>1?arguments[1]:void 0)}});var Y2=j,K2=G,X2=Ml,Q2=Ve,of=ye,J2=Dl,Z2=K2("".indexOf);Y2({target:"String",proto:!0,forced:!J2("includes")},{includes:function(r){return!!~Z2(of(Q2(this)),of(X2(r)),arguments.length>1?arguments[1]:void 0)}});var eE=F,av=!eE(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),tE=se,rE=K,nE=Ie,aE=En,iE=av,sf=aE("IE_PROTO"),Vi=Object,oE=Vi.prototype,Mo=iE?Vi.getPrototypeOf:function(t){var r=nE(t);if(tE(r,sf))return r[sf];var e=r.constructor;return rE(e)&&r instanceof e?e.prototype:r instanceof Vi?oE:null},sE=F,uE=K,fE=le,uf=Mo,lE=be,cE=Z,Gi=cE("iterator"),iv=!1,ot,Za,ei;[].keys&&(ei=[].keys(),"next"in ei?(Za=uf(uf(ei)),Za!==Object.prototype&&(ot=Za)):iv=!0);var vE=!fE(ot)||sE(function(){var t={};return ot[Gi].call(t)!==t});vE&&(ot={});uE(ot[Gi])||lE(ot,Gi,function(){return this});var ov={IteratorPrototype:ot,BUGGY_SAFARI_ITERATORS:iv},hE=ov.IteratorPrototype,gE=Mt,dE=sr,pE=mr,yE=Er,mE=function(){return this},$E=function(t,r,e,a){var n=r+" Iterator";return t.prototype=gE(hE,{next:dE(+!a,e)}),pE(t,n,!1),yE[n]=mE,t},bE=j,SE=ie,sv=cr,wE=K,EE=$E,ff=Mo,lf=So,RE=mr,xE=It,ti=be,OE=Z,PE=Er,uv=ov,CE=sv.PROPER,TE=sv.CONFIGURABLE,cf=uv.IteratorPrototype,Hr=uv.BUGGY_SAFARI_ITERATORS,Ut=OE("iterator"),vf="keys",Wt="values",hf="entries",kE=function(){return this},Do=function(t,r,e,a,n,o,i){EE(e,r,a);var s=function($){if($===n&&v)return v;if(!Hr&&$ in l)return l[$];switch($){case vf:return function(){return new e(this,$)};case Wt:return function(){return new e(this,$)};case hf:return function(){return new e(this,$)}}return function(){return new e(this)}},u=r+" Iterator",f=!1,l=t.prototype,c=l[Ut]||l["@@iterator"]||n&&l[n],v=!Hr&&c||s(n),h=r=="Array"&&l.entries||c,g,y,p;if(h&&(g=ff(h.call(new t)),g!==Object.prototype&&g.next&&(ff(g)!==cf&&(lf?lf(g,cf):wE(g[Ut])||ti(g,Ut,kE)),RE(g,u,!0))),CE&&n==Wt&&c&&c.name!==Wt&&(TE?xE(l,"name",Wt):(f=!0,v=function(){return SE(c,this)})),n)if(y={values:s(Wt),keys:o?v:s(vf),entries:s(hf)},i)for(p in y)(Hr||f||!(p in l))&&ti(l,p,y[p]);else bE({target:r,proto:!0,forced:Hr||f},y);return l[Ut]!==v&&ti(l,Ut,v,{name:n}),PE[r]=v,y},Lo=function(t,r){return{value:t,done:r}},IE=Al.charAt,AE=ye,fv=ut,_E=Do,gf=Lo,lv="String Iterator",NE=fv.set,ME=fv.getterFor(lv);_E(String,"String",function(t){NE(this,{type:lv,string:AE(t),index:0})},function(){var r=ME(this),e=r.string,a=r.index,n;return a>=e.length?gf(void 0,!0):(n=IE(e,a),r.index+=n.length,gf(n,!1))});var cv=`	
5\v\f\r                 \u2028\u2029\uFEFF`,DE=G,LE=Ve,jE=ye,zi=cv,df=DE("".replace),BE=RegExp("^["+zi+"]+"),FE=RegExp("(^|[^"+zi+"])["+zi+"]+$"),ri=function(t){return function(r){var e=jE(LE(r));return t&1&&(e=df(e,BE,"")),t&2&&(e=df(e,FE,"$1")),e}},vv={start:ri(1),end:ri(2),trim:ri(3)},VE=cr.PROPER,GE=F,pf=cv,yf="​…᠎",zE=function(t){return GE(function(){return!!pf[t]()||yf[t]()!==yf||VE&&pf[t].name!==t})},UE=j,WE=vv.trim,qE=zE;UE({target:"String",proto:!0,forced:qE("trim")},{trim:function(){return WE(this)}});function HE(t){if(Array.isArray(t))return Gv(t)}function YE(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function KE(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function XE(t){return HE(t)||YE(t)||Kf(t)||KE()}var QE=j,JE=Cn,ZE=Zi.indexOf,eR=Lt,Ui=JE([].indexOf),hv=!!Ui&&1/Ui([1],1,-0)<0,tR=hv||!eR("indexOf");QE({target:"Array",proto:!0,forced:tR},{indexOf:function(r){var e=arguments.length>1?arguments[1]:void 0;return hv?Ui(this,r,e)||0:ZE(this,r,e)}});var rR=j,nR=G,aR=dr,iR=nR([].reverse),mf=[1,2];rR({target:"Array",proto:!0,forced:String(mf)===String(mf.reverse())},{reverse:function(){return aR(this)&&(this.length=this.length),iR(this)}});function oR(t,r){for(;!Object.prototype.hasOwnProperty.call(t,r)&&(t=x(t),t!==null););return t}function Ce(){return typeof Reflect<"u"&&Reflect.get?Ce=Reflect.get.bind():Ce=function(r,e,a){var n=oR(r,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?r:a):o.value}},Ce.apply(this,arguments)}var sR=K,uR=le,$f=So,gv=function(t,r,e){var a,n;return $f&&sR(a=r.constructor)&&a!==e&&uR(n=a.prototype)&&n!==e.prototype&&$f(t,n),t},fR=G,lR=fR(1 .valueOf),cR=j,dv=Ph,vR=ce,pv=J,yv=Gl,mv=G,hR=Pn,bf=se,gR=gv,dR=st,pR=fr,$v=ul,yR=F,mR=At.f,$R=Te.f,bR=pe.f,SR=lR,wR=vv.trim,Wn="Number",wt=pv[Wn];yv[Wn];var jo=wt.prototype,ER=pv.TypeError,RR=mv("".slice),Yr=mv("".charCodeAt),xR=function(t){var r=$v(t,"number");return typeof r=="bigint"?r:OR(r)},OR=function(t){var r=$v(t,"number"),e,a,n,o,i,s,u,f;
6if(pR(r))throw ER("Cannot convert a Symbol value to a number");if(typeof r=="string"&&r.length>2){if(r=wR(r),e=Yr(r,0),e===43||e===45){if(a=Yr(r,2),a===88||a===120)return NaN}else if(e===48){switch(Yr(r,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+r}for(i=RR(r,2),s=i.length,u=0;u<s;u++)if(f=Yr(i,u),f<48||f>o)return NaN;return parseInt(i,n)}}return+r},Bo=hR(Wn,!wt(" 0o1")||!wt("0b1")||wt("+0x1")),PR=function(t){return dR(jo,t)&&yR(function(){SR(t)})},qn=function(r){var e=arguments.length<1?0:wt(xR(r));return PR(this)?gR(Object(e),this,qn):e};qn.prototype=jo;Bo&&!dv&&(jo.constructor=qn);cR({global:!0,constructor:!0,wrap:!0,forced:Bo},{Number:qn});var CR=function(t,r){for(var e=vR?mR(r):"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(","),a=0,n;e.length>a;a++)bf(r,n=e[a])&&!bf(t,n)&&bR(t,n,$R(r,n))};(Bo||dv)&&CR(yv[Wn],wt);var TR=Ie,Sf=xn,kR=Ge,IR=function(r){for(var e=TR(this),a=kR(e),n=arguments.length,o=Sf(n>1?arguments[1]:void 0,a),i=n>2?arguments[2]:void 0,s=i===void 0?a:Sf(i,a);s>o;)e[o++]=r;return e},AR=j,_R=IR,NR=No;AR({target:"Array",proto:!0},{fill:_R});NR("fill");var MR=j,DR=ne,LR=Te.f;MR({target:"Reflect",stat:!0},{deleteProperty:function(r,e){var a=LR(DR(r),e);return a&&!a.configurable?!1:delete r[e]}});var jR=we,Fo=No,wf=Er,bv=ut,BR=pe.f,FR=Do,Kr=Lo,VR=ce,Sv="Array Iterator",GR=bv.set,zR=bv.getterFor(Sv),UR=FR(Array,"Array",function(t,r){GR(this,{type:Sv,target:jR(t),index:0,kind:r})},function(){var t=zR(this),r=t.target,e=t.kind,a=t.index++;return!r||a>=r.length?(t.target=void 0,Kr(void 0,!0)):e=="keys"?Kr(a,!1):e=="values"?Kr(r[a],!1):Kr([a,r[a]],!1)},"values"),Ef=wf.Arguments=wf.Array;Fo("keys");Fo("values");Fo("entries");if(VR&&Ef.name!=="values")try{BR(Ef,"name",{value:"values"})}catch{}var Rf=J,wv=gc,WR=dc,Kt=UR,ni=It,Ev=Z,ai=Ev("iterator"),xf=Ev("toStringTag"),ii=Kt.values,Rv=function(t,r){if(t){if(t[ai]!==ii)try{ni(t,ai,ii)}catch{t[ai]=ii}if(t[xf]||ni(t,xf,r),wv[r]){for(var e in Kt)if(t[e]!==Kt[e])try{ni(t,e,Kt[e])}catch{t[e]=Kt[e]}}}};for(var oi in wv)Rv(Rf[oi]&&Rf[oi].prototype,oi);Rv(WR,"DOMTokenList");var qR=j,HR=ce,YR=J,Xr=G,KR=se,XR=K,QR=st,JR=ye,ZR=yr,ex=ml,Ne=YR.Symbol,et=Ne&&Ne.prototype;if(HR&&XR(Ne)&&(!("description"in et)||Ne().description!==void 0)){var Of={},Qr=function(){var r=arguments.length<1||arguments[0]===void 0?void 0:JR(arguments[0]),e=QR(et,this)?new Ne(r):r===void 0?Ne():Ne(r);return r===""&&(Of[e]=!0),e};ex(Qr,Ne),Qr.prototype=et,et.constructor=Qr;var tx=String(Ne("test"))=="Symbol(test)",rx=Xr(et.valueOf),nx=Xr(et.toString),ax=/^Symbol\((.*)\)[^)]+$/,ix=Xr("".replace),ox=Xr("".slice);ZR(et,"description",{configurable:!0,get:function(){var r=rx(this);if(KR(Of,r))return"";var e=nx(r),a=tx?ox(e,7,-1):ix(e,ax,"$1");return a===""?void 0:a}}),qR({global:!0,constructor:!0,forced:!0},{Symbol:Qr})}var sx=zl;sx("iterator");var ux=j,Pf=dr,fx=kn,lx=le,Cf=xn,cx=Ge,vx=we,hx=pr,gx=Z,dx=In,px=Fn,yx=dx("slice"),mx=gx("species"),si=Array,$x=Math.max;ux({target:"Array",proto:!0,forced:!yx},{slice:function(r,e){var a=vx(this),n=cx(a),o=Cf(r,n),i=Cf(e===void 0?n:e,n),s,u,f;if(Pf(a)&&(s=a.constructor,fx(s)&&(s===si||Pf(s.prototype))?s=void 0:lx(s)&&(s=s[mx],s===null&&(s=void 0)),s===si||s===void 0))return px(a,o,i);for(u=new(s===void 0?si:s)($x(i-o,0)),f=0;o<i;o++,f++)o in a&&hx(u,f,a[o]);return u.length=f,u}});var xv={exports:{}},bx=F,Sx=bx(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),wx=F,Ex=le,Rx=ke,Tf=Sx,fn=Object.isExtensible,xx=wx(function(){fn(1)}),Ox=xx||Tf?function(r){return!Ex(r)||Tf&&Rx(r)=="ArrayBuffer"?!1:fn?fn(r):!0}:fn,Px=F,Cx=!Px(function(){return Object.isExtensible(Object.preventExtensions({}))}),Tx=j,kx=G,Ix=vr,Ax=le,Vo=se,_x=pe.f,kf=At,Nx=ho,Go=Ox,Mx=bn,Dx=Cx,Ov=!1,je=Mx("meta"),Lx=0,zo=function(t){_x(t,je,{value:{objectID:"O"+Lx++,weakData:{}}})},jx=function(t,r){if(!Ax(t))return typeof t=="symbol"?t:(typeof t=="string"?"S":"P")+t;if(!Vo(t,je)){if(!Go(t))return"F";if(!r)return"E";zo(t)}return t[je].objectID},Bx=function(t,r){if(!Vo(t,je)){if(!Go(t))return!0;
6if(!r)return!1;zo(t)}return t[je].weakData},Fx=function(t){return Dx&&Ov&&Go(t)&&!Vo(t,je)&&zo(t),t},Vx=function(){Gx.enable=function(){},Ov=!0;var t=kf.f,r=kx([].splice),e={};e[je]=1,t(e).length&&(kf.f=function(a){for(var n=t(a),o=0,i=n.length;o<i;o++)if(n[o]===je){r(n,o,1);break}return n},Tx({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Nx.f}))},Gx=xv.exports={enable:Vx,fastKey:jx,getWeakData:Bx,onFreeze:Fx};Ix[je]=!0;var Pv=xv.exports,zx=j,Ux=J,Wx=G,If=Pn,qx=be,Hx=Pv,Yx=zn,Kx=wo,Xx=K,Qx=Fe,ui=le,fi=F,Jx=ko,Zx=mr,eO=gv,tO=function(t,r,e){var a=t.indexOf("Map")!==-1,n=t.indexOf("Weak")!==-1,o=a?"set":"add",i=Ux[t],s=i&&i.prototype,u=i,f={},l=function($){var S=Wx(s[$]);qx(s,$,$=="add"?function(R){return S(this,R===0?0:R),this}:$=="delete"?function(b){return n&&!ui(b)?!1:S(this,b===0?0:b)}:$=="get"?function(R){return n&&!ui(R)?void 0:S(this,R===0?0:R)}:$=="has"?function(R){return n&&!ui(R)?!1:S(this,R===0?0:R)}:function(R,T){return S(this,R===0?0:R,T),this})},c=If(t,!Xx(i)||!(n||s.forEach&&!fi(function(){new i().entries().next()})));if(c)u=e.getConstructor(r,t,a,o),Hx.enable();else if(If(t,!0)){var v=new u,h=v[o](n?{}:-0,1)!=v,g=fi(function(){v.has(1)}),y=Jx(function($){new i($)}),p=!n&&fi(function(){for(var $=new i,S=5;S--;)$[o](S,S);return!$.has(-0)});y||(u=r(function($,S){Kx($,s);var b=eO(new i,$,u);return Qx(S)||Yx(S,b[o],{that:b,AS_ENTRIES:a}),b}),u.prototype=s,s.constructor=u),(g||p)&&(l("delete"),l("has"),a&&l("get")),(p||h)&&l(o),n&&s.clear&&delete s.clear}return f[t]=u,zx({global:!0,constructor:!0,forced:u!=i},f),Zx(u,t),n||e.setStrong(u,t,a),u},rO=be,nO=function(t,r,e){for(var a in r)rO(t,a,r[a],e);return t},aO=Mt,iO=yr,Af=nO,oO=_t,sO=wo,uO=Fe,fO=zn,lO=Do,Jr=Lo,cO=bc,qt=ce,_f=Pv.fastKey,Cv=ut,Nf=Cv.set,li=Cv.getterFor,vO={getConstructor:function(t,r,e,a){var n=t(function(f,l){sO(f,o),Nf(f,{type:r,index:aO(null),first:void 0,last:void 0,size:0}),qt||(f.size=0),uO(l)||fO(l,f[a],{that:f,AS_ENTRIES:e})}),o=n.prototype,i=li(r),s=function(f,l,c){var v=i(f),h=u(f,l),g,y;return h?h.value=c:(v.last=h={index:y=_f(l,!0),key:l,value:c,previous:g=v.last,next:void 0,removed:!1},v.first||(v.first=h),g&&(g.next=h),qt?v.size++:f.size++,y!=="F"&&(v.index[y]=h)),f},u=function(f,l){var c=i(f),v=_f(l),h;if(v!=="F")return c.index[v];for(h=c.first;h;h=h.next)if(h.key==l)return h};return Af(o,{clear:function(){for(var l=this,c=i(l),v=c.index,h=c.first;h;)h.removed=!0,h.previous&&(h.previous=h.previous.next=void 0),delete v[h.index],h=h.next;c.first=c.last=void 0,qt?c.size=0:l.size=0},delete:function(f){var l=this,c=i(l),v=u(l,f);if(v){var h=v.next,g=v.previous;delete c.index[v.index],v.removed=!0,g&&(g.next=h),h&&(h.previous=g),c.first==v&&(c.first=h),c.last==v&&(c.last=g),qt?c.size--:l.size--}return!!v},forEach:function(l){for(var c=i(this),v=oO(l,arguments.length>1?arguments[1]:void 0),h;h=h?h.next:c.first;)for(v(h.value,h.key,this);h&&h.removed;)h=h.previous},has:function(l){return!!u(this,l)}}),Af(o,e?{get:function(l){var c=u(this,l);return c&&c.value},set:function(l,c){return s(this,l===0?0:l,c)}}:{add:function(l){return s(this,l=l===0?0:l,l)}}),qt&&iO(o,"size",{configurable:!0,get:function(){return i(this).size}}),n},setStrong:function(t,r,e){var a=r+" Iterator",n=li(r),o=li(a);lO(t,r,function(i,s){Nf(this,{type:a,target:i,state:n(i),kind:s,last:void 0})},function(){for(var i=o(this),s=i.kind,u=i.last;u&&u.removed;)u=u.previous;return!i.target||!(i.last=u=u?u.next:i.state.first)?(i.target=void 0,Jr(void 0,!0)):s=="keys"?Jr(u.key,!1):s=="values"?Jr(u.value,!1):Jr([u.key,u.value],!1)},e?"entries":"values",!e,!0),cO(r)}},hO=tO,gO=vO;hO("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},gO);var dO=j,pO=Dt,yO=Re,mO=ne,$O=F,bO=!$O(function(){Reflect.apply(function(){})});dO({target:"Reflect",stat:!0,forced:bO},{apply:function(r,e,a){return pO(yO(r),e,mO(a))}});var SO=j,wO=ne,EO=Mo,RO=av;SO({target:"Reflect",stat:!0,sham:!RO},{getPrototypeOf:function(r){return EO(wO(r))}});function ln(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ln=function(r){return typeof r}:ln=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ln(t)}function xO(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}var OO=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,39
66,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],PO=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function CO(t,r,e,a,n){if(typeof t=="string"&&(t=document.getElementById(t)),!t||ln(t)!=="object"||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=t.getContext("2d");try{return o.getImageData(r,e,a,n)}catch(i){throw new Error("unable to access image data: "+i)}}function TO(t,r,e,a,n,o){if(!(isNaN(o)||o<1)){o|=0;var i=CO(t,r,e,a,n);i=kO(i,r,e,a,n,o),t.getContext("2d").putImageData(i,r,e)}}function kO(t,r,e,a,n,o){for(var i=t.data,s=2*o+1,u=a-1,f=n-1,l=o+1,c=l*(l+1)/2,v=new Mf,h=v,g,y=1;y<s;y++)h=h.next=new Mf,y===l&&(g=h);h.next=v;for(var p=null,$=null,S=0,b=0,R=OO[o],T=PO[o],M=0;M<n;M++){h=v;for(var D=i[b],V=i[b+1],X=i[b+2],z=i[b+3],H=0;H<l;H++)h.r=D,h.g=V,h.b=X,h.a=z,h=h.next;for(var Y=0,ee=0,Q=0,P=0,w=l*D,d=l*V,m=l*X,E=l*z,O=c*D,C=c*V,L=c*X,B=c*z,U=1;U<l;U++){var W=b+((u<U?u:U)<<2),q=i[W],Ae=i[W+1],ze=i[W+2],Oe=i[W+3],Or=l-U;O+=(h.r=q)*Or,C+=(h.g=Ae)*Or,L+=(h.b=ze)*Or,B+=(h.a=Oe)*Or,Y+=q,ee+=Ae,Q+=ze,P+=Oe,h=h.next}p=v,$=g;for(var Xn=0;Xn<a;Xn++){var Qn=B*R>>T;if(i[b+3]=Qn,Qn!==0){var Jn=255/Qn;i[b]=(O*R>>T)*Jn,i[b+1]=(C*R>>T)*Jn,i[b+2]=(L*R>>T)*Jn}else i[b]=i[b+1]=i[b+2]=0;O-=w,C-=d,L-=m,B-=E,w-=p.r,d-=p.g,m-=p.b,E-=p.a;var Ye=Xn+o+1;Ye=S+(Ye<u?Ye:u)<<2,Y+=p.r=i[Ye],ee+=p.g=i[Ye+1],Q+=p.b=i[Ye+2],P+=p.a=i[Ye+3],O+=Y,C+=ee,L+=Q,B+=P,p=p.next;var Pr=$,qo=Pr.r,Ho=Pr.g,Yo=Pr.b,Ko=Pr.a;w+=qo,d+=Ho,m+=Yo,E+=Ko,Y-=qo,ee-=Ho,Q-=Yo,P-=Ko,$=$.next,b+=4}S+=a}for(var lt=0;lt<a;lt++){b=lt<<2;var Ke=i[b],Xe=i[b+1],Qe=i[b+2],he=i[b+3],Zn=l*Ke,ea=l*Xe,ta=l*Qe,ra=l*he,Cr=c*Ke,Tr=c*Xe,kr=c*Qe,Ir=c*he;h=v;for(var Xo=0;Xo<l;Xo++)h.r=Ke,h.g=Xe,h.b=Qe,h.a=he,h=h.next;for(var Qo=a,na=0,aa=0,ia=0,oa=0,Ar=1;Ar<=o;Ar++){b=Qo+lt<<2;var _r=l-Ar;Cr+=(h.r=Ke=i[b])*_r,Tr+=(h.g=Xe=i[b+1])*_r,kr+=(h.b=Qe=i[b+2])*_r,Ir+=(h.a=he=i[b+3])*_r,oa+=Ke,na+=Xe,aa+=Qe,ia+=he,h=h.next,Ar<f&&(Qo+=a)}b=lt,p=v,$=g;for(var sa=0;sa<n;sa++){var ge=b<<2;i[ge+3]=he=Ir*R>>T,he>0?(he=255/he,i[ge]=(Cr*R>>T)*he,i[ge+1]=(Tr*R>>T)*he,i[ge+2]=(kr*R>>T)*he):i[ge]=i[ge+1]=i[ge+2]=0,Cr-=Zn,Tr-=ea,kr-=ta,Ir-=ra,Zn-=p.r,ea-=p.g,ta-=p.b,ra-=p.a,ge=lt+((ge=sa+l)<f?ge:f)*a<<2,Cr+=oa+=p.r=i[ge],Tr+=na+=p.g=i[ge+1],kr+=aa+=p.b=i[ge+2],Ir+=ia+=p.a=i[ge+3],p=p.next,Zn+=Ke=$.r,ea+=Xe=$.g,ta+=Qe=$.b,ra+=he=$.a,oa-=Ke,na-=Xe,aa-=Qe,ia-=he,$=$.next,b+=a}}return t}var Mf=function t(){xO(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function Bt(t){return t.replace(/(?!\u3000)\s+/gm," ")}function IO(t){return t.replace(/^[\n \t]+/,"")}function AO(t){return t.replace(/[\n \t]+$/,"")}function ve(t){var r=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return r.map(parseFloat)}var _O=/^[A-Z-]+$/;function NO(t){return _O.test(t)?t.toLowerCase():t}function Tv(t){var r=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return r[2]||r[3]||r[4]}function MO(t){if(!t.startsWith("rgb"))return t;var r=3,e=t.replace(/\d+(\.\d+)?/g,function(a,n){return r--&&n?String(Math.round(parseFloat(a))):a});return e}var DO=/(\[[^\]]+\])/g,LO=/(#[^\s\+>~\.\[:]+)/g,jO=/(\.[^\s\+>~\.\[:]+)/g,BO=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,FO=/(:[\w-]+\([^\)]*\))/gi,VO=/(:[^\s\+>~\.\[:]+)/g,GO=/([^\s\+>~\.\[:]+)/g;function tt(t,r){var e=t.match(r);return e?[t.replace(r," "),e.length]:[t,0]}function zO(t){var r=[0,0,0],e=t.replace(/:not\(([^\)]*)\)/g,"     $1 ").replace(/{[\s\S]*/gm," "),a=0,n=tt(e,DO),o=te(n,2);e=o[0],a=o[1],r[1]+=a;var i=tt(e,LO),s=te(i,2);e=s[0],a=s[1],r[0]+=a;var u=tt(e,jO),f=te(u,2);e=f[0],a=f[1],r[1]+=a;var l=tt(e,BO),c=te(l,2);e=c[0],a=c[1],r[2]+=a;var v=tt(e,FO),h=te(v,2);e=h[0],a=h[1],r[1]+=a;var g=tt(e,VO),y=te(g,2);e=y[0],a=y[1],r[1]+=a,e=e.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," ");var p=tt(e,GO),$=te(p,2);return e=$[0],a=$[1],r[2]+=a,r.join("")}var Et=1e-8;function Df(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function ir(t,r){return(t[0]*r[0]+t[1]*r[1])/(Df(t)*Df(r))}function yn(t,r){return(t[0]*r[1]<t[1]*r[0]?-1:1)*Math.acos(ir(t,r))}function Lf(t){return t*t*t}function jf(t){return 3*t*t*(1-t)}function Bf(t){return 3*t*(1-t)*(1-t)}function Ff(t){return(1-t)*(1-t)*(1-t)}function Vf(t){return t*t}function Gf(t){return 2*t*(1-t)}function zf(t){return(1-t)*(1-t)}function UO(t,r){return r={exports:{}},t(r,r.exports),r.exports}UO(function(t){var r=function(e){var a=Object.prototype,n=a.hasOwnProperty,o,i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";
6function l(d,m,E,O){var C=m&&m.prototype instanceof $?m:$,L=Object.create(C.prototype),B=new Q(O||[]);return L._invoke=z(d,E,B),L}e.wrap=l;function c(d,m,E){try{return{type:"normal",arg:d.call(m,E)}}catch(O){return{type:"throw",arg:O}}}var v="suspendedStart",h="suspendedYield",g="executing",y="completed",p={};function $(){}function S(){}function b(){}var R={};R[s]=function(){return this};var T=Object.getPrototypeOf,M=T&&T(T(P([])));M&&M!==a&&n.call(M,s)&&(R=M);var D=b.prototype=$.prototype=Object.create(R);S.prototype=D.constructor=b,b.constructor=S,b[f]=S.displayName="GeneratorFunction";function V(d){["next","throw","return"].forEach(function(m){d[m]=function(E){return this._invoke(m,E)}})}e.isGeneratorFunction=function(d){var m=typeof d=="function"&&d.constructor;return m?m===S||(m.displayName||m.name)==="GeneratorFunction":!1},e.mark=function(d){return Object.setPrototypeOf?Object.setPrototypeOf(d,b):(d.__proto__=b,f in d||(d[f]="GeneratorFunction")),d.prototype=Object.create(D),d},e.awrap=function(d){return{__await:d}};function X(d,m){function E(L,B,U,W){var q=c(d[L],d,B);if(q.type==="throw")W(q.arg);else{var Ae=q.arg,ze=Ae.value;return ze&&typeof ze=="object"&&n.call(ze,"__await")?m.resolve(ze.__await).then(function(Oe){E("next",Oe,U,W)},function(Oe){E("throw",Oe,U,W)}):m.resolve(ze).then(function(Oe){Ae.value=Oe,U(Ae)},function(Oe){return E("throw",Oe,U,W)})}}var O;function C(L,B){function U(){return new m(function(W,q){E(L,B,W,q)})}return O=O?O.then(U,U):U()}this._invoke=C}V(X.prototype),X.prototype[u]=function(){return this},e.AsyncIterator=X,e.async=function(d,m,E,O,C){C===void 0&&(C=Promise);var L=new X(l(d,m,E,O),C);return e.isGeneratorFunction(m)?L:L.next().then(function(B){return B.done?B.value:L.next()})};function z(d,m,E){var O=v;return function(L,B){if(O===g)throw new Error("Generator is already running");if(O===y){if(L==="throw")throw B;return w()}for(E.method=L,E.arg=B;;){var U=E.delegate;if(U){var W=H(U,E);if(W){if(W===p)continue;return W}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(O===v)throw O=y,E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);O=g;var q=c(d,m,E);if(q.type==="normal"){if(O=E.done?y:h,q.arg===p)continue;return{value:q.arg,done:E.done}}else q.type==="throw"&&(O=y,E.method="throw",E.arg=q.arg)}}}function H(d,m){var E=d.iterator[m.method];if(E===o){if(m.delegate=null,m.method==="throw"){if(d.iterator.return&&(m.method="return",m.arg=o,H(d,m),m.method==="throw"))return p;m.method="throw",m.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var O=c(E,d.iterator,m.arg);if(O.type==="throw")return m.method="throw",m.arg=O.arg,m.delegate=null,p;var C=O.arg;if(!C)return m.method="throw",m.arg=new TypeError("iterator result is not an object"),m.delegate=null,p;if(C.done)m[d.resultName]=C.value,m.next=d.nextLoc,m.method!=="return"&&(m.method="next",m.arg=o);else return C;return m.delegate=null,p}V(D),D[f]="Generator",D[s]=function(){return this},D.toString=function(){return"[object Generator]"};function Y(d){var m={tryLoc:d[0]};1 in d&&(m.catchLoc=d[1]),2 in d&&(m.finallyLoc=d[2],m.afterLoc=d[3]),this.tryEntries.push(m)}function ee(d){var m=d.completion||{};m.type="normal",delete m.arg,d.completion=m}function Q(d){this.tryEntries=[{tryLoc:"root"}],d.forEach(Y,this),this.reset(!0)}e.keys=function(d){var m=[];for(var E in d)m.push(E);return m.reverse(),function O(){for(;m.length;){var C=m.pop();if(C in d)return O.value=C,O.done=!1,O}return O.done=!0,O}};function P(d){if(d){var m=d[s];if(m)return m.call(d);if(typeof d.next=="function")return d;if(!isNaN(d.length)){var E=-1,O=function C(){for(;++E<d.length;
6)if(n.call(d,E))return C.value=d[E],C.done=!1,C;return C.value=o,C.done=!0,C};return O.next=O}}return{next:w}}e.values=P;function w(){return{value:o,done:!0}}return Q.prototype={constructor:Q,reset:function(d){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(ee),!d)for(var m in this)m.charAt(0)==="t"&&n.call(this,m)&&!isNaN(+m.slice(1))&&(this[m]=o)},stop:function(){this.done=!0;var d=this.tryEntries[0],m=d.completion;if(m.type==="throw")throw m.arg;return this.rval},dispatchException:function(d){if(this.done)throw d;var m=this;function E(W,q){return L.type="throw",L.arg=d,m.next=W,q&&(m.method="next",m.arg=o),!!q}for(var O=this.tryEntries.length-1;O>=0;--O){var C=this.tryEntries[O],L=C.completion;if(C.tryLoc==="root")return E("end");if(C.tryLoc<=this.prev){var B=n.call(C,"catchLoc"),U=n.call(C,"finallyLoc");if(B&&U){if(this.prev<C.catchLoc)return E(C.catchLoc,!0);if(this.prev<C.finallyLoc)return E(C.finallyLoc)}else if(B){if(this.prev<C.catchLoc)return E(C.catchLoc,!0)}else if(U){if(this.prev<C.finallyLoc)return E(C.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(d,m){for(var E=this.tryEntries.length-1;E>=0;--E){var O=this.tryEntries[E];if(O.tryLoc<=this.prev&&n.call(O,"finallyLoc")&&this.prev<O.finallyLoc){var C=O;break}}C&&(d==="break"||d==="continue")&&C.tryLoc<=m&&m<=C.finallyLoc&&(C=null);var L=C?C.completion:{};return L.type=d,L.arg=m,C?(this.method="next",this.next=C.finallyLoc,p):this.complete(L)},complete:function(d,m){if(d.type==="throw")throw d.arg;return d.type==="break"||d.type==="continue"?this.next=d.arg:d.type==="return"?(this.rval=this.arg=d.arg,this.method="return",this.next="end"):d.type==="normal"&&m&&(this.next=m),p},finish:function(d){for(var m=this.tryEntries.length-1;m>=0;--m){var E=this.tryEntries[m];if(E.finallyLoc===d)return this.complete(E.completion,E.afterLoc),ee(E),p}},catch:function(d){for(var m=this.tryEntries.length-1;m>=0;--m){var E=this.tryEntries[m];if(E.tryLoc===d){var O=E.completion;if(O.type==="throw"){var C=O.arg;ee(E)}return C}}throw new Error("illegal catch attempt")},delegateYield:function(d,m,E){return this.delegate={iterator:P(d),resultName:m,nextLoc:E},this.method==="next"&&(this.arg=o),p}},e}(t.exports);try{regeneratorRuntime=r}catch{Function("r","regeneratorRuntime = r")(r)}});var _=function(){function t(r,e,a){k(this,t),this.document=r,this.name=e,this.value=a,this.isNormalizedColor=!1}return I(t,[{key:"hasValue",value:function(){var e=this.value;return e!==null&&e!==""&&e!==0&&typeof e<"u"}},{key:"isString",value:function(e){var a=this.value,n=typeof a=="string";return!n||!e?n:e.test(a)}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case/px$/.test(e):case/^[0-9]+$/.test(e):return!0;default:return!1}}},{key:"setValue",value:function(e){return this.value=e,this}},{key:"getValue",value:function(e){return typeof e>"u"||this.hasValue()?this.value:e}},{key:"getNumber",value:function(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var a=this.value,n=parseFloat(a);return this.isString(/%$/)&&(n=n/100),n}},{key:"getString",value:function(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}},{key:"getColor",value:function(e){var a=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,a=MO(a),this.value=a),a}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9\.\-]/g,"")}},{key:"getPixels",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var n=typeof e=="boolean"?[void 0,e]:[e],o=te(n,2),i=o[0],s=o[1],u=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(u.computeSize("x"),u.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(u.computeSize("x"),u.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*u.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*u.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&s):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*u.computeSize(i);default:{var f=this.getNumber();return a&&f<1?f*u.computeSize(i):f}}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var e=this.getString(),a=e.match(/#([^\)'"]+)/);return a&&(a=a[1]),a||(a=e),this.document.definitions[a]}},{key:"getFillStyleDefinition",value:function(e,a){var n=this.getDefinition();if(!n)return null;if(typeof n.createGradient=="function")return n.createGradient(this.document.ctx,e,a);if(typeof n.createPattern=="function"){if(n.getHrefAttribute().hasValue()){var o=n.getAttribute("patternTransform");n=n.getHrefAttribute().getDefinition(),o.hasValue()&&n.getAttribute("patternTransform",!0).setValue(o.value)}return n.createPattern(this.document.ctx,e,a)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?t.textBaselineMapping[this.get
6String()]:null}},{key:"addOpacity",value:function(e){for(var a=this.getColor(),n=a.length,o=0,i=0;i<n&&(a[i]===","&&o++,o!==3);i++);if(e.hasValue()&&this.isString()&&o!==3){var s=new ji(a);s.ok&&(s.alpha=e.getNumber(),a=s.toRGBA())}return new t(this.document,this.name,a)}}],[{key:"empty",value:function(e){return new t(e,"EMPTY","")}}]),t}();_.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};var WO=function(){function t(){k(this,t),this.viewPorts=[]}return I(t,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(e,a){this.viewPorts.push({width:e,height:a})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var e=this.viewPorts;return e[e.length-1]}},{key:"computeSize",value:function(e){return typeof e=="number"?e:e==="x"?this.width:e==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}}]),t}(),re=function(){function t(r,e){k(this,t),this.x=r,this.y=e}return I(t,[{key:"angleTo",value:function(e){return Math.atan2(e.y-this.y,e.x-this.x)}},{key:"applyTransform",value:function(e){var a=this.x,n=this.y,o=a*e[0]+n*e[2]+e[4],i=a*e[1]+n*e[3]+e[5];this.x=o,this.y=i}}],[{key:"parse",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=ve(e),o=te(n,2),i=o[0],s=i===void 0?a:i,u=o[1],f=u===void 0?a:u;return new t(s,f)}},{key:"parseScale",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,n=ve(e),o=te(n,2),i=o[0],s=i===void 0?a:i,u=o[1],f=u===void 0?s:u;return new t(s,f)}},{key:"parsePath",value:function(e){for(var a=ve(e),n=a.length,o=[],i=0;i<n;i+=2)o.push(new t(a[i],a[i+1]));return o}}]),t}(),qO=function(){function t(r){k(this,t),this.screen=r,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return I(t,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(!this.working){var e=this.screen,a=this.onClick,n=this.onMouseMove,o=e.ctx.canvas;o.onclick=a,o.onmousemove=n,this.working=!0}}},{key:"stop",value:function(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(this.working){var e=this.screen,a=this.events,n=this.eventElements,o=e.ctx.canvas.style;o&&(o.cursor=""),a.forEach(function(i,s){for(var u=i.run,f=n[s];f;)u(f),f=f.parent}),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(e,a){if(!(!this.working||!a)){var n=this.events,o=this.eventElements;n.forEach(function(i,s){var u=i.x,f=i.y;!o[s]&&a.isPointInPath&&a.isPointInPath(u,f)&&(o[s]=e)})}}},{key:"checkBoundingBox",value:function(e,a){if(!(!this.working||!a)){var n=this.events,o=this.eventElements;n.forEach(function(i,s){var u=i.x,f=i.y;!o[s]&&a.isPointInBox(u,f)&&(o[s]=e)})}}},{key:"mapXY",value:function(e,a){for(var n=this.screen,o=n.window,i=n.ctx,s=new re(e,a),u=i.canvas;u;)s.x-=u.offsetLeft,s.y-=u.offsetTop,u=u.offsetParent;return o.scrollX&&(s.x+=o.scrollX),o.scrollY&&(s.y+=o.scrollY),s}},{key:"onClick",value:function(e){var a=this.mapXY((e||event).clientX,(e||event).clientY),n=a.x,o=a.y;this.events.push({type:"onclick",x:n,y:o,run:function(s){s.onClick&&s.onClick()}})}},{key:"onMouseMove",value:function(e){var a=this.mapXY((e||event).clientX,(e||event).clientY),n=a.x,o=a.y;this.events.push({type:"onmousemove",x:n,y:o,run:function(s){s.onMouseMove&&s.onMouseMove()}})}}]),t}(),kv=typeof window<"u"?window:null,Iv=typeof fetch<"u"?fetch.bind(void 0):null,Hn=function(){function t(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.fetch,n=a===void 0?Iv:a,o=e.window,i=o===void 0?kv:o;
6k(this,t),this.ctx=r,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new WO,this.mouse=new qO(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=i,this.fetch=n}return I(t,[{key:"wait",value:function(e){this.waits.push(e)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var e=this.waits.every(function(a){return a()});return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}},{key:"setDefaults",value:function(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}},{key:"setViewBox",value:function(e){var a=e.document,n=e.ctx,o=e.aspectRatio,i=e.width,s=e.desiredWidth,u=e.height,f=e.desiredHeight,l=e.minX,c=l===void 0?0:l,v=e.minY,h=v===void 0?0:v,g=e.refX,y=e.refY,p=e.clip,$=p===void 0?!1:p,S=e.clipX,b=S===void 0?0:S,R=e.clipY,T=R===void 0?0:R,M=Bt(o).replace(/^defer\s/,""),D=M.split(" "),V=te(D,2),X=V[0],z=V[1],H=X||"xMidYMid",Y=z||"meet",ee=i/s,Q=u/f,P=Math.min(ee,Q),w=Math.max(ee,Q),d=s,m=f;Y==="meet"&&(d*=P,m*=P),Y==="slice"&&(d*=w,m*=w);var E=new _(a,"refX",g),O=new _(a,"refY",y),C=E.hasValue()&&O.hasValue();if(C&&n.translate(-P*E.getPixels("x"),-P*O.getPixels("y")),$){var L=P*b,B=P*T;n.beginPath(),n.moveTo(L,B),n.lineTo(i,B),n.lineTo(i,u),n.lineTo(L,u),n.closePath(),n.clip()}if(!C){var U=Y==="meet"&&P===Q,W=Y==="slice"&&w===Q,q=Y==="meet"&&P===ee,Ae=Y==="slice"&&w===ee;/^xMid/.test(H)&&(U||W)&&n.translate(i/2-d/2,0),/YMid$/.test(H)&&(q||Ae)&&n.translate(0,u/2-m/2),/^xMax/.test(H)&&(U||W)&&n.translate(i-d,0),/YMax$/.test(H)&&(q||Ae)&&n.translate(0,u-m)}switch(!0){case H==="none":n.scale(ee,Q);break;case Y==="meet":n.scale(P,P);break;case Y==="slice":n.scale(w,w);break}n.translate(-c,-h)}},{key:"start",value:function(e){var a=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.enableRedraw,i=o===void 0?!1:o,s=n.ignoreMouse,u=s===void 0?!1:s,f=n.ignoreAnimation,l=f===void 0?!1:f,c=n.ignoreDimensions,v=c===void 0?!1:c,h=n.ignoreClear,g=h===void 0?!1:h,y=n.forceRedraw,p=n.scaleWidth,$=n.scaleHeight,S=n.offsetX,b=n.offsetY,R=this.FRAMERATE,T=this.mouse,M=1e3/R;if(this.frameDuration=M,this.readyPromise=new Promise(function(H){a.resolveReady=H}),this.isReady()&&this.render(e,v,g,p,$,S,b),!!i){var D=Date.now(),V=D,X=0,z=function H(){D=Date.now(),X=D-V,X>=M&&(V=D-X%M,a.shouldUpdate(l,y)&&(a.render(e,v,g,p,$,S,b),T.runEvents())),a.intervalId=Xa(H)};u||T.start(),this.intervalId=Xa(z)}}},{key:"stop",value:function(){this.intervalId&&(Xa.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(e,a){if(!e){var n=this.frameDuration,o=this.animations.reduce(function(i,s){return s.update(n)||i},!1);if(o)return!0}return!!(typeof a=="function"&&a()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}},{key:"render",value:function(e,a,n,o,i,s,u){var f=this.CLIENT_WIDTH,l=this.CLIENT_HEIGHT,c=this.viewPort,v=this.ctx,h=this.isFirstRender,g=v.canvas;c.clear(),g.width&&g.height?c.setCurrent(g.width,g.height):c.setCurrent(f,l);var y=e.getStyle("width"),p=e.getStyle("height");!a&&(h||typeof o!="number"&&typeof i!="number")&&(y.hasValue()&&(g.width=y.getPixels("x"),g.style&&(g.style.width="".concat(g.width,"px"))),p.hasValue()&&(g.height=p.getPixels("y"),g.style&&(g.style.height="".concat(g.height,"px"))));var $=g.clientWidth||g.width,S=g.clientHeight||g.height;if(a&&y.hasValue()&&p.hasValue()&&($=y.getPixels("x"),S=p.getPixels("y")),c.setCurrent($,S),typeof s=="number"&&e.getAttribute("x",!0).setValue(s),typeof u=="number"&&e.getAttribute("y",!0).setValue(u),typeof o=="number"||typeof i=="number"){var b=ve(e.getAttribute("viewBox").getString()),R=0,T=0;if(typeof o=="number"){var M=e.getStyle("width");M.hasValue()?R=M.getPixels("x")/o:isNaN(b[2])||(R=b[2]/o)}if(typeof i=="number"){var D=e.getStyle("height");D.hasValue()?T=D.getPixels("y")/i:isNaN(b[3])||(T=b[3]/i)}R||(R=T),T||(T=R),e.getAttribute("width",!0).setValue(o),e.getAttribute("height",!0).setValue(i);var V=e.getStyle("transform",!0,!0);V.setValue("".concat(V.getString()," scale(").concat(1/R,", ").concat(1/T,")"))}n||v.clearRect(0,0,$,S),e.render(v),h&&(this.isFirstRender=!1)}}]),t}();Hn.defaultWindow=kv;Hn.defaultFetch=Iv;var HO=Hn.defaultFetch,YO=typeof DOMParser<"u"?DOMParser:null,ci=function(){function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.fetch,a=e===void 0?HO:e,n=r.DOMParser,o=n===void 0?YO:n;k(this,t),this.fetch=a,this.DOMParser=o}return I(t,[{key:"parse",value:function(){var r=Le(fe.mark(function a(n){return fe.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!/^</.test(n)){i.next=2;break}return i.abrupt("return",this.parseFromString(n));case 2:return i.abrupt("return",this.load(n));case 3:case"end":return i.stop()}},a,this)}));function e(a){return r.apply(this,arguments)}return e}()},{key:"parseFromString",value:function(e){var a=new this.DOMParser;try{return this.checkDocument(a.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(a.parseFromString(e,"text/xml"))}}},{key:"checkDocument",value:function(e){var a=e.getElementsByTagName("parsererror")[0];if(a)throw new Error(a.textContent);return e}},{key:"load",value:function(){var r=Le(fe.mark(function a(n){var o,i;return fe.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this.fetch(n);case 2:return o=u.sent,u.next=5,o.text();case 5:return i=u.sent,u.abrupt("return",this.parseFromString(i));case 7:case"end":return u.stop()}},a,this)}));function e(a){return r.apply(this,arguments)}return e}()}]),t}(),KO=function(){function t(r,e){k(this,t),this.type="translate",this.point=null,this.point=re.parse(e)}
6return I(t,[{key:"apply",value:function(e){var a=this.point,n=a.x,o=a.y;e.translate(n||0,o||0)}},{key:"unapply",value:function(e){var a=this.point,n=a.x,o=a.y;e.translate(-1*n||0,-1*o||0)}},{key:"applyToPoint",value:function(e){var a=this.point,n=a.x,o=a.y;e.applyTransform([1,0,0,1,n||0,o||0])}}]),t}(),XO=function(){function t(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];k(this,t),this.type="rotate",this.angle=null,this.cx=0,this.cy=0;var n=ve(e);this.angle=new _(r,"angle",n[0]),this.cx=(n[1]||0)+(a[0]||0),this.cy=(n[2]||0)+(a[1]||0)}return I(t,[{key:"apply",value:function(e){var a=this.cx,n=this.cy,o=this.angle;e.translate(a,n),e.rotate(o.getRadians()),e.translate(-a,-n)}},{key:"unapply",value:function(e){var a=this.cx,n=this.cy,o=this.angle;e.translate(a,n),e.rotate(-1*o.getRadians()),e.translate(-a,-n)}},{key:"applyToPoint",value:function(e){var a=this.cx,n=this.cy,o=this.angle,i=o.getRadians();e.applyTransform([1,0,0,1,a||0,n||0]),e.applyTransform([Math.cos(i),Math.sin(i),-Math.sin(i),Math.cos(i),0,0]),e.applyTransform([1,0,0,1,-a||0,-n||0])}}]),t}(),QO=function(){function t(r,e){k(this,t),this.type="scale",this.scale=null;var a=re.parseScale(e);(a.x===0||a.y===0)&&(a.x=Et,a.y=Et),this.scale=a}return I(t,[{key:"apply",value:function(e){var a=this.scale,n=a.x,o=a.y;e.scale(n,o||n)}},{key:"unapply",value:function(e){var a=this.scale,n=a.x,o=a.y;e.scale(1/n,1/o||n)}},{key:"applyToPoint",value:function(e){var a=this.scale,n=a.x,o=a.y;e.applyTransform([n||0,0,0,o||0,0,0])}}]),t}(),Av=function(){function t(r,e){k(this,t),this.type="matrix",this.matrix=[],this.matrix=ve(e)}return I(t,[{key:"apply",value:function(e){var a=this.matrix;e.transform(a[0],a[1],a[2],a[3],a[4],a[5])}},{key:"unapply",value:function(e){var a=this.matrix,n=a[0],o=a[2],i=a[4],s=a[1],u=a[3],f=a[5],l=0,c=0,v=1,h=1/(n*(u*v-f*c)-o*(s*v-f*l)+i*(s*c-u*l));e.transform(h*(u*v-f*c),h*(f*l-s*v),h*(i*c-o*v),h*(n*v-i*l),h*(o*f-i*u),h*(i*s-n*f))}},{key:"applyToPoint",value:function(e){e.applyTransform(this.matrix)}}]),t}();function JO(t){return function(){var r=x(t),e;if(ZO()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function ZO(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var _v=function(t){N(e,t);var r=JO(e);function e(a,n){var o;return k(this,e),o=r.call(this,a,n),o.type="skew",o.angle=null,o.angle=new _(a,"angle",n),o}return e}(Av);function eP(t){return function(){var r=x(t),e;if(tP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function tP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var rP=function(t){N(e,t);var r=eP(e);function e(a,n){var o;return k(this,e),o=r.call(this,a,n),o.type="skewX",o.matrix=[1,0,Math.tan(o.angle.getRadians()),1,0,0],o}return e}(_v);function nP(t){return function(){var r=x(t),e;if(aP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function aP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var iP=function(t){N(e,t);var r=nP(e);function e(a,n){var o;return k(this,e),o=r.call(this,a,n),o.type="skewY",o.matrix=[1,Math.tan(o.angle.getRadians()),0,1,0,0],o}return e}(_v);function oP(t){return Bt(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function sP(t){var r=t.split("("),e=te(r,2),a=e[0],n=e[1];return[a.trim(),n.trim().replace(")","")]}var Yn=function(){function t(r,e,a){var n=this;k(this,t),this.document=r,this.transforms=[];var o=oP(e),i=a?ve(a):[];o.forEach(function(s){if(s!=="none"){var u=sP(s),f=te(u,2),l=f[0],c=f[1],v=t.transformTypes[l];typeof v<"u"&&n.transforms.push(new v(n.document,c,i))}})}return I(t,[{key:"apply",value:function(e){for(var a=this.transforms,n=a.length,o=0;o<n;o++)a[o].apply(e)}},{key:"unapply",value:function(e){for(var a=this.transforms,n=a.length,o=n-1;o>=0;o--)a[o].unapply(e)}},{key:"applyToPoint",value:function(e){for(var a=this.transforms,n=a.length,o=0;o<n;o++)a[o].applyToPoint(e)}}],[{key:"fromElement",value:function(e,a){var n=a.getStyle("transform",!1,!0),o=a.getStyle("transform-origin",!1,!0);return n.hasValue()?new t(e,n.getString(),o.getString()):null}}]),t}();Yn.transformTypes={translate:KO,rotate:XO,scale:QO,matrix:Av,skewX:rP,skewY:iP};var ae=function(){function t(r,e){var a=this,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(k(this,t),this.document=r,this.node=e,this.captureTextNodes=n,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],
6!(!e||e.nodeType!==1)){if(Array.from(e.attributes).forEach(function(u){var f=NO(u.nodeName);a.attributes[f]=new _(r,f,u.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var o=this.getAttribute("style").getString().split(";").map(function(u){return u.trim()});o.forEach(function(u){if(u){var f=u.split(":").map(function(h){return h.trim()}),l=te(f,2),c=l[0],v=l[1];a.styles[c]=new _(r,c,v)}})}var i=r.definitions,s=this.getAttribute("id");s.hasValue()&&(i[s.getValue()]||(i[s.getValue()]=this)),Array.from(e.childNodes).forEach(function(u){if(u.nodeType===1)a.addChild(u);else if(n&&(u.nodeType===3||u.nodeType===4)){var f=r.createTextNode(u);f.getText().length>0&&a.addChild(f)}})}}return I(t,[{key:"getAttribute",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=this.attributes[e];if(!n&&a){var o=new _(this.document,e,"");return this.attributes[e]=o,o}return n||_.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var e in this.attributes)if(e==="href"||/:href$/.test(e))return this.attributes[e];return _.empty(this.document)}},{key:"getStyle",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this.styles[e];if(o)return o;var i=this.getAttribute(e);if(i&&i.hasValue())return this.styles[e]=i,i;if(!n){var s=this.parent;if(s){var u=s.getStyle(e);if(u&&u.hasValue())return u}}if(a){var f=new _(this.document,e,"");return this.styles[e]=f,f}return o||_.empty(this.document)}},{key:"render",value:function(e){if(!(this.getStyle("display").getString()==="none"||this.get
6Style("visibility").getString()==="hidden")){if(e.save(),this.getStyle("mask").hasValue()){var a=this.getStyle("mask").getDefinition();a&&(this.applyEffects(e),a.apply(e,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var n=this.getStyle("filter").getDefinition();n&&(this.applyEffects(e),n.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}},{key:"setContext",value:function(e){}},{key:"applyEffects",value:function(e){var a=Yn.fromElement(this.document,this);a&&a.apply(e);var n=this.getStyle("clip-path",!1,!0);if(n.hasValue()){var o=n.getDefinition();o&&o.apply(e)}}},{key:"clearContext",value:function(e){}},{key:"renderChildren",value:function(e){this.children.forEach(function(a){a.render(e)})}},{key:"addChild",value:function(e){var a=e instanceof t?e:this.document.createElement(e);a.parent=this,t.ignoreChildTypes.includes(a.type)||this.children.push(a)}},{key:"matchesSelector",value:function(e){var a=this.node;if(typeof a.matches=="function")return a.matches(e);var n=a.getAttribute("class");return!n||n===""?!1:n.split(" ").some(function(o){if(".".concat(o)===e)return!0})}},{key:"addStylesFromStyleDefinition",value:function(){var e=this.document,a=e.styles,n=e.stylesSpecificity;for(var o in a)if(o[0]!=="@"&&this.matchesSelector(o)){var i=a[o],s=n[o];if(i)for(var u in i){var f=this.stylesSpecificity[u];typeof f>"u"&&(f="000"),s>=f&&(this.styles[u]=i[u],this.stylesSpecificity[u]=s)}}}},{key:"removeStyles",value:function(e,a){var n=a.reduce(function(o,i){var s=e.getStyle(i);if(!s.hasValue())return o;var u=s.getString();return s.setValue(""),[].concat(XE(o),[[i,u]])},[]);return n}},{key:"restoreStyles",value:function(e,a){a.forEach(function(n){var o=te(n,2),i=o[0],s=o[1];e.getStyle(i,!0).setValue(s)})}}]),t}();ae.ignoreChildTypes=["title"];function uP(t){return function(){var r=x(t),e;if(fP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function fP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var lP=function(t){N(e,t);var r=uP(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i}return e}(ae);function cP(t){var r=t.trim();return/^('|")/.test(r)?r:'"'.concat(r,'"')}function vP(t){return typeof process>"u"?t:t.trim().split(",").map(cP).join(",")}function hP(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return r;default:return/^oblique\s+(-|)\d+deg$/.test(r)?r:""}}function gP(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return r;default:return/^[\d.]+$/.test(r)?r:""}}var Be=function(){function t(r,e,a,n,o,i){k(this,t);var s=i?typeof i=="string"?t.parse(i):i:{};this.fontFamily=o||s.fontFamily,this.fontSize=n||s.fontSize,this.fontStyle=r||s.fontStyle,this.fontWeight=a||s.fontWeight,this.fontVariant=e||s.fontVariant}return I(t,[{key:"toString",value:function(){return[hP(this.fontStyle),this.fontVariant,gP(this.fontWeight),this.fontSize,vP(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,n="",o="",i="",s="",u="",f=Bt(e).trim().split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return f.forEach(function(c){switch(!0){case(!l.fontStyle&&t.styles.includes(c)):c!=="inherit"&&(n=c),l.fontStyle=!0;break;case(!l.fontVariant&&t.variants.includes(c)):c!=="inherit"&&(o=c),l.fontStyle=!0,l.fontVariant=!0;break;case(!l.fontWeight&&t.weights.includes(c)):c!=="inherit"&&(i=c),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:if(c!=="inherit"){var v=c.split("/"),h=te(v,1);s=h[0]}l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:c!=="inherit"&&(u+=c)}}),new t(n,o,i,s,u,a)}}]),t}();Be.styles="normal|italic|oblique|inherit";Be.variants="normal|small-caps|inherit";Be.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var xe=function(){function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;k(this,t),this.x1=r,this.y1=e,this.x2=a,this.y2=n,this.addPoint(r,e),this.addPoint(a,n)}return I(t,[{key:"addPoint",value:function(e,a){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),typeof a<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=a,this.y2=a),a<this.y1&&(this.y1=a),a>this.y2&&(this.y2=a))}},{key:"addX",value:function(e){this.addPoint(e,null)}},{key:"addY",value:function(e){this.addPoint(null,e)}}
6,{key:"addBoundingBox",value:function(e){if(e){var a=e.x1,n=e.y1,o=e.x2,i=e.y2;this.addPoint(a,n),this.addPoint(o,i)}}},{key:"sumCubic",value:function(e,a,n,o,i){return Math.pow(1-e,3)*a+3*Math.pow(1-e,2)*e*n+3*(1-e)*Math.pow(e,2)*o+Math.pow(e,3)*i}},{key:"bezierCurveAdd",value:function(e,a,n,o,i){var s=6*a-12*n+6*o,u=-3*a+9*n-9*o+3*i,f=3*n-3*a;if(u===0){if(s===0)return;var l=-f/s;0<l&&l<1&&(e?this.addX(this.sumCubic(l,a,n,o,i)):this.addY(this.sumCubic(l,a,n,o,i)));return}var c=Math.pow(s,2)-4*f*u;if(!(c<0)){var v=(-s+Math.sqrt(c))/(2*u);0<v&&v<1&&(e?this.addX(this.sumCubic(v,a,n,o,i)):this.addY(this.sumCubic(v,a,n,o,i)));var h=(-s-Math.sqrt(c))/(2*u);0<h&&h<1&&(e?this.addX(this.sumCubic(h,a,n,o,i)):this.addY(this.sumCubic(h,a,n,o,i)))}}},{key:"addBezierCurve",value:function(e,a,n,o,i,s,u,f){this.addPoint(e,a),this.addPoint(u,f),this.bezierCurveAdd(!0,e,n,i,u),this.bezierCurveAdd(!1,a,o,s,f)}},{key:"addQuadraticCurve",value:function(e,a,n,o,i,s){var u=e+.6666666666666666*(n-e),f=a+2/3*(o-a),l=u+1/3*(i-e),c=f+1/3*(s-a);this.addBezierCurve(e,a,u,l,f,c,i,s)}},{key:"isPointInBox",value:function(e,a){var n=this.x1,o=this.y1,i=this.x2,s=this.y2;return n<=e&&e<=i&&o<=a&&a<=s}},{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}}]),t}();function dP(t){return function(){var r=x(t),e;if(pP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function pP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var ft=function(t){N(e,t);var r=dP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.modifiedEmSizeStack=!1,a}return I(e,[{key:"calculateOpacity",value:function(){for(var n=1,o=this;o;){var i=o.getStyle("opacity",!1,!0);i.hasValue()&&(n*=i.getNumber()),o=o.parent}return n}},{key:"setContext",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!o){var i=this.getStyle("fill"),s=this.getStyle("fill-opacity"),u=this.getStyle("stroke"),f=this.getStyle("stroke-opacity");if(i.isUrlDefinition()){var l=i.getFillStyleDefinition(this,s);l&&(n.fillStyle=l)}else if(i.hasValue()){i.getString()==="currentColor"&&i.setValue(this.getStyle("color").getColor());var c=i.getColor();c!=="inherit"&&(n.fillStyle=c==="none"?"rgba(0,0,0,0)":c)}if(s.hasValue()){var v=new _(this.document,"fill",n.fillStyle).addOpacity(s).getColor();n.fillStyle=v}if(u.isUrlDefinition()){var h=u.getFillStyleDefinition(this,f);h&&(n.strokeStyle=h)}else if(u.hasValue()){u.getString()==="currentColor"&&u.setValue(this.getStyle("color").getColor());var g=u.getString();g!=="inherit"&&(n.strokeStyle=g==="none"?"rgba(0,0,0,0)":g)}if(f.hasValue()){var y=new _(this.document,"stroke",n.strokeStyle).addOpacity(f).getString();n.strokeStyle=y}var p=this.getStyle("stroke-width");if(p.hasValue()){var $=p.getPixels();n.lineWidth=$||Et}var S=this.getStyle("stroke-linecap"),b=this.getStyle("stroke-linejoin"),R=this.getStyle("stroke-miterlimit"),T=this.getStyle("paint-order"),M=this.getStyle("stroke-dasharray"),D=this.getStyle("stroke-dashoffset");if(S.hasValue()&&(n.lineCap=S.getString()),b.hasValue()&&(n.lineJoin=b.getString()),R.hasValue()&&(n.miterLimit=R.getNumber()),T.hasValue()&&(n.paintOrder=T.getValue()),M.hasValue()&&M.getString()!=="none"){var V=ve(M.getString());typeof n.setLineDash<"u"?n.setLineDash(V):typeof n.webkitLineDash<"u"?n.webkitLineDash=V:typeof n.mozDash<"u"&&!(V.length===1&&V[0]===0)&&(n.mozDash=V);var X=D.getPixels();typeof n.lineDashOffset<"u"?n.lineDashOffset=X:typeof n.webkitLineDashOffset<"u"?n.webkitLineDashOffset=X:typeof n.mozDashOffset<"u"&&(n.mozDashOffset=X)}}if(this.modifiedEmSizeStack=!1,typeof n.font<"u"){var z=this.getStyle("font"),H=this.getStyle("font-style"),Y=this.getStyle("font-variant"),ee=this.getStyle("font-weight"),Q=this.getStyle("font-size"),P=this.getStyle("font-family"),w=new Be(H.getString(),Y.getString(),ee.getString(),Q.hasValue()?"".concat(Q.getPixels(!0),"px"):"",P.getString(),Be.parse(z.getString(),n.font));H.setValue(w.fontStyle),Y.setValue(w.fontVariant),ee.setValue(w.fontWeight),Q.setValue(w.fontSize),P.setValue(w.fontFamily),n.font=w.toString(),Q.isPixels()&&(this.document.emSize=Q.getPixels(),this.modifiedEmSizeStack=!0)}o||(this.applyEffects(n),n.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(n){Ce(x(e.prototype),"clearContext",this).call(this,n),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),e}(ae);function yP(t){return function(){var r=x(t),e;if(mP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}
6function mP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Rr=function(t){N(e,t);var r=yP(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,(this instanceof e?this.constructor:void 0)===e?!0:o),i.type="text",i.x=0,i.y=0,i.measureCache=-1,i}return I(e,[{key:"setContext",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ce(x(e.prototype),"setContext",this).call(this,n,o);var i=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();i&&(n.textBaseline=i)}},{key:"initializeCoordinates",value:function(n){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var o=this.getAttribute("dx"),i=this.getAttribute("dy");o.hasValue()&&(this.x+=o.getPixels("x")),i.hasValue()&&(this.y+=i.getPixels("y")),this.x+=this.getAnchorDelta(n,this,0)}},{key:"getBoundingBox",value:function(n){var o=this;if(this.type!=="text")return this.getTElementBoundingBox(n);this.initializeCoordinates(n);var i=null;return this.children.forEach(function(s,u){var f=o.getChildBoundingBox(n,o,o,u);i?i.addBoundingBox(f):i=f}),i}},{key:"getFontSize",value:function(){var n=this.document,o=this.parent,i=Be.parse(n.ctx.font).fontSize,s=o.getStyle("font-size").getNumber(i);return s}},{key:"getTElementBoundingBox",value:function(n){var o=this.getFontSize();return new xe(this.x,this.y-o,this.x+this.measureText(n),this.y)}},{key:"getGlyph",value:function(n,o,i){var s=o[i],u=null;if(n.isArabic){var f=o.length,l=o[i-1],c=o[i+1],v="isolated";(i===0||l===" ")&&i<f-2&&c!==" "&&(v="terminal"),i>0&&l!==" "&&i<f-2&&c!==" "&&(v="medial"),i>0&&l!==" "&&(i===f-1||c===" ")&&(v="initial"),typeof n.glyphs[s]<"u"&&(u=n.glyphs[s][v],!u&&n.glyphs[s].type==="glyph"&&(u=n.glyphs[s]))}else u=n.glyphs[s];return u||(u=n.missingGlyph),u}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(n){var o=n||this.node,i=Array.from(o.parentNode.childNodes),s=i.indexOf(o),u=i.length-1,f=Bt(o.value||o.text||o.textContent||"");return s===0&&(f=IO(f)),s===u&&(f=AO(f)),f}},{key:"renderChildren",value:function(n){var o=this;if(this.type!=="text"){this.renderTElementChildren(n);return}this.initializeCoordinates(n),this.children.forEach(function(s,u){o.renderChild(n,o,o,u)});var i=this.document.screen.mouse;i.isWorking()&&i.checkBoundingBox(this,this.getBoundingBox(n))}},{key:"renderTElementChildren",value:function(n){var o=this.document,i=this.parent,s=this.getText(),u=i.getStyle("font-family").getDefinition();if(u){for(var f=u.fontFace.unitsPerEm,l=Be.parse(o.ctx.font),c=i.getStyle("font-size").getNumber(l.fontSize),v=i.getStyle("font-style").getString(l.fontStyle),h=c/f,g=u.isRTL?s.split("").reverse().join(""):s,y=ve(i.getAttribute("dx").getString()),p=g.length,$=0;$<p;$++){var S=this.getGlyph(u,g,$);n.translate(this.x,this.y),n.scale(h,-h);var b=n.lineWidth;n.lineWidth=n.lineWidth*f/c,v==="italic"&&n.transform(1,0,.4,1,0,0),S.render(n),v==="italic"&&n.transform(1,0,-.4,1,0,0),n.lineWidth=b,n.scale(1/h,-1/h),n.translate(-this.x,-this.y),this.x+=c*(S.horizAdvX||u.horizAdvX)/f,typeof y[$]<"u"&&!isNaN(y[$])&&(this.x+=y[$])}return}var R=this.x,T=this.y;n.paintOrder==="stroke"?(n.strokeStyle&&n.strokeText(s,R,T),n.fillStyle&&n.fillText(s,R,T)):(n.fillStyle&&n.fillText(s,R,T),n.strokeStyle&&n.strokeText(s,R,T))}},{key:"getAnchorDelta",value:function(n,o,i){var s=this.getStyle("text-anchor").getString("start");if(s!=="start"){for(var u=o.children,f=u.length,l=null,c=0,v=i;v<f&&(l=u[v],!(v>i&&l.getAttribute("x").hasValue()||l.getAttribute("text-anchor").hasValue()));v++)c+=l.measureTextRecursive(n);return-1*(s==="end"?c:c/2)}return 0}},{key:"adjustChildCoordinates",value:function(n,o,i,s){var u=i.children[s];if(typeof u.measureText!="function")return u;n.save(),u.setContext(n,!0);var f=u.getAttribute("x"),l=u.getAttribute("y"),c=u.getAttribute("dx"),v=u.getAttribute("dy"),h=u.getAttribute("text-anchor").getString("start");if(s===0&&u.type!=="textNode"&&(f.hasValue()||f.setValue(o.getAttribute("x").getValue("0")),l.hasValue()||l.setValue(o.getAttribute("y").getValue("0")),c.hasValue()||c.setValue(o.getAttribute("dx").getValue("0")),v.hasValue()||v.setValue(o.getAttribute("dy").getValue("0"))),f.hasValue()){if(u.x=f.getPixels("x")+o.getAnchorDelta(n,i,s),h!=="start"){var g=u.measureTextRecursive(n);u.x+=-1*(h==="end"?g:g/2)}c.hasValue()&&(u.x+=c.getPixels("x"))}else{if(h!=="start"){var y=u.measureTextRecursive(n);o.x+=-1*(h==="end"?y:y/2)}c.hasValue()&&(o.x+=c.getPixels("x")),u.x=o.x}return o.x=u.x+u.measureText(n),l.hasValue()?(u.y=l.getPixels("y"),v.hasValue()&&(u.y+=v.getPixels("y"))):(v.hasValue()&&(o.y+=v.getPixels("y")),u.y=o.y),o.y=u.y,u.clearContext(n),n.restore(
6),u}},{key:"getChildBoundingBox",value:function(n,o,i,s){var u=this.adjustChildCoordinates(n,o,i,s),f=u.getBoundingBox(n);return f?(u.children.forEach(function(l,c){var v=o.getChildBoundingBox(n,o,u,c);f.addBoundingBox(v)}),f):null}},{key:"renderChild",value:function(n,o,i,s){var u=this.adjustChildCoordinates(n,o,i,s);u.render(n),u.children.forEach(function(f,l){o.renderChild(n,o,u,l)})}},{key:"measureTextRecursive",value:function(n){var o=this.children.reduce(function(i,s){return i+s.measureTextRecursive(n)},this.measureText(n));return o}},{key:"measureText",value:function(n){var o=this.measureCache;if(~o)return o;var i=this.getText(),s=this.measureTargetText(n,i);return this.measureCache=s,s}},{key:"measureTargetText",value:function(n,o){if(!o.length)return 0;var i=this.parent,s=i.getStyle("font-family").getDefinition();if(s){for(var u=this.getFontSize(),f=s.isRTL?o.split("").reverse().join(""):o,l=ve(i.getAttribute("dx").getString()),c=f.length,v=0,h=0;h<c;h++){var g=this.getGlyph(s,f,h);v+=(g.horizAdvX||s.horizAdvX)*u/s.fontFace.unitsPerEm,typeof l[h]<"u"&&!isNaN(l[h])&&(v+=l[h])}return v}if(!n.measureText)return o.length*10;n.save(),this.setContext(n,!0);var y=n.measureText(o),p=y.width;return this.clearContext(n),n.restore(),p}}]),e}(ft);function $P(t){return function(){var r=x(t),e;if(bP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function bP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Nv=function(t){N(e,t);var r=$P(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,(this instanceof e?this.constructor:void 0)===e?!0:o),i.type="tspan",i.text=i.children.length>0?"":i.getTextFromNode(),i}return I(e,[{key:"getText",value:function(){return this.text}}]),e}(Rr);function SP(t){return function(){var r=x(t),e;if(wP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function wP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var EP=function(t){N(e,t);var r=SP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="textNode",a}return e}(Nv);function RP(t){var r=t.replace(/,/gm," ").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2").replace(/([0-9])([+\-])/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/([Aa](?:\s+(?:[0-9]*\.)?[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $2 $3 ");return Bt(r).trim()}var xP=function(){function t(r){k(this,t),this.control=null,this.start=null,this.current=null,this.command="",this.tokens=[],this.i=-1,this.previousCommand="",this.points=[],this.angles=[],this.tokens=RP(r).split(" ")}return I(t,[{key:"reset",value:function(){this.i=-1,this.command="",this.previousCommand="",this.start=new re(0,0),this.control=new re(0,0),this.current=new re(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){var e=this.i,a=this.tokens;return e>=a.length-1}},{key:"isCommandOrEnd",value:function(){if(this.isEnd())return!0;var e=this.i,a=this.tokens;return/^[A-Za-z]$/.test(a[e+1])}},{key:"isRelativeCommand",value:function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0;default:return!1}}},{key:"getToken",value:function(){return this.i++,this.tokens[this.i]}},{key:"getScalar",value:function(){return parseFloat(this.getToken())}},{key:"nextCommand",value:function(){this.previousCommand=this.command,this.command=this.getToken()}},{key:"getPoint",value:function(){var e=new re(this.getScalar(),this.getScalar());return this.makeAbsolute(e)}},{key:"getAsControlPoint",value:function(){var e=this.getPoint();return this.control=e,e}},{key:"getAsCurrentPoint",value:function(){var e=this.getPoint();return this.current=e,e}},{key:"getReflectedControlPoint",value:function(){var e=this.previousCommand.toLowerCase();if(e!=="c"&&e!=="s"&&e!=="q"&&e!=="t")return this.current;var a=this.current,n=a.x,o=a.y,i=this.control,s=i.x,u=i.y,f=new re(2*n-s,2*o-u);return f}},{key:"makeAbsolute",value:function(e){if(this.isRelativeCommand()){var a=this.current,n=a.x,o=a.y;e.x+=n,e.y+=o}return e}},{key:"addMarker",value:function(e,a,n){var o=this.points,i=this.angles;n&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=o[o.length-1].angleTo(n)),this.addMarkerAngle(e,a?a.angleTo(e):null)}},{key:"addMarkerAngle",value:function(e,a){this.points.push(e),this.angles.push(a)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var e=this.angles,a=e.length,n=0;n<a;n++)if(!e[n]){for(var o=n+1;o<a;o++)if(e[o]){e[n]=e[o];break}}return e}}]),t}();function OP(t){return function(){var r=x(t),e;if(PP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function PP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}
6var He=function(t){N(e,t);var r=OP(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="path",i.pathParser=null,i.pathParser=new xP(i.getAttribute("d").getString()),i}return I(e,[{key:"path",value:function(n){var o=this.pathParser,i=new xe;for(o.reset(),n&&n.beginPath();!o.isEnd();)switch(o.nextCommand(),o.command){case"M":case"m":this.pathM(n,i);break;case"L":case"l":this.pathL(n,i);break;case"H":case"h":this.pathH(n,i);break;case"V":case"v":this.pathV(n,i);break;case"C":case"c":this.pathC(n,i);break;case"S":case"s":this.pathS(n,i);break;case"Q":case"q":this.pathQ(n,i);break;case"T":case"t":this.pathT(n,i);break;case"A":case"a":this.pathA(n,i);break;case"Z":case"z":this.pathZ(n,i);break}return i}},{key:"getBoundingBox",value:function(n){return this.path()}},{key:"getMarkers",value:function(){var n=this.pathParser,o=n.getMarkerPoints(),i=n.getMarkerAngles(),s=o.map(function(u,f){return[u,i[f]]});return s}},{key:"renderChildren",value:function(n){this.path(n),this.document.screen.mouse.checkPath(this,n);var o=this.getStyle("fill-rule");n.fillStyle!==""&&(o.getString("inherit")!=="inherit"?n.fill(o.getString()):n.fill()),n.strokeStyle!==""&&n.stroke();var i=this.getMarkers();if(i){var s=i.length-1,u=this.getStyle("marker-start"),f=this.getStyle("marker-mid"),l=this.getStyle("marker-end");if(u.isUrlDefinition()){var c=u.getDefinition(),v=te(i[0],2),h=v[0],g=v[1];c.render(n,h,g)}if(f.isUrlDefinition())for(var y=f.getDefinition(),p=1;p<s;p++){var $=te(i[p],2),S=$[0],b=$[1];y.render(n,S,b)}if(l.isUrlDefinition()){var R=l.getDefinition(),T=te(i[s],2),M=T[0],D=T[1];R.render(n,M,D)}}}},{key:"pathM",value:function(n,o){var i=this.pathParser,s=i.getAsCurrentPoint(),u=s.x,f=s.y;for(i.addMarker(s),o.addPoint(u,f),n&&n.moveTo(u,f),i.start=i.current;!i.isCommandOrEnd();){var l=i.getAsCurrentPoint(),c=l.x,v=l.y;i.addMarker(l,i.start),o.addPoint(c,v),n&&n.lineTo(c,v)}}},{key:"pathL",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=i.getAsCurrentPoint(),f=u.x,l=u.y;i.addMarker(u,s),o.addPoint(f,l),n&&n.lineTo(f,l)}}},{key:"pathH",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=new re((i.isRelativeCommand()?s.x:0)+i.getScalar(),s.y);i.addMarker(u,s),i.current=u,o.addPoint(u.x,u.y),n&&n.lineTo(u.x,u.y)}}},{key:"pathV",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=new re(s.x,(i.isRelativeCommand()?s.y:0)+i.getScalar());i.addMarker(u,s),i.current=u,o.addPoint(u.x,u.y),n&&n.lineTo(u.x,u.y)}}},{key:"pathC",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=i.getPoint(),f=i.getAsControlPoint(),l=i.getAsCurrentPoint();i.addMarker(l,f,u),o.addBezierCurve(s.x,s.y,u.x,u.y,f.x,f.y,l.x,l.y),n&&n.bezierCurveTo(u.x,u.y,f.x,f.y,l.x,l.y)}}},{key:"pathS",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=i.getReflectedControlPoint(),f=i.getAsControlPoint(),l=i.getAsCurrentPoint();i.addMarker(l,f,u),o.addBezierCurve(s.x,s.y,u.x,u.y,f.x,f.y,l.x,l.y),n&&n.bezierCurveTo(u.x,u.y,f.x,f.y,l.x,l.y)}}},{key:"pathQ",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=i.getAsControlPoint(),f=i.getAsCurrentPoint();i.addMarker(f,u,u),o.addQuadraticCurve(s.x,s.y,u.x,u.y,f.x,f.y),n&&n.quadraticCurveTo(u.x,u.y,f.x,f.y)}}},{key:"pathT",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=i.getReflectedControlPoint();i.control=u;var f=i.getAsCurrentPoint();i.addMarker(f,u,u),o.addQuadraticCurve(s.x,s.y,u.x,u.y,f.x,f.y),n&&n.quadraticCurveTo(u.x,u.y,f.x,f.y)}}},{key:"pathA",value:function(n,o){for(var i=this.pathParser;!i.isCommandOrEnd();){var s=i.current,u=i.getScalar(),f=i.getScalar(),l=i.getScalar()*(Math.PI/180),c=i.getScalar(),v=i.getScalar(),h=i.getAsCurrentPoint(),g=new re(Math.cos(l)*(s.x-h.x)/2+Math.sin(l)*(s.y-h.y)/2,-Math.sin(l)*(s.x-h.x)/2+Math.cos(l)*(s.y-h.y)/2),y=Math.pow(g.x,2)/Math.pow(u,2)+Math.pow(g.y,2)/Math.pow(f,2);y>1&&(u*=Math.sqrt(y),f*=Math.sqrt(y));var p=(c===v?-1:1)*Math.sqrt((Math.pow(u,2)*Math.pow(f,2)-Math.pow(u,2)*Math.pow(g.y,2)-Math.pow(f,2)*Math.pow(g.x,2))/(Math.pow(u,2)*Math.pow(g.y,2)+Math.pow(f,2)*Math.pow(g.x,2)));isNaN(p)&&(p=0);var $=new re(p*u*g.y/f,p*-f*g.x/u),S=new re((s.x+h.x)/2+Math.cos(l)*$.x-Math.sin(l)*$.y,(s.y+h.y)/2+Math.sin(l)*$.x+Math.cos(l)*$.y),b=yn([1,0],[(g.x-$.x)/u,(g.y-$.y)/f]),R=[(g.x-$.x)/u,(g.y-$.y)/f],T=[(-g.x-$.x)/u,(-g.y-$.y)/f],M=yn(R,T);ir(R,T)<=-1&&(M=Math.PI),ir(R,T)>=1&&(M=0);var D=1-v?1:-1,V=b+D*(M/2),X=new re(S.x+u*Math.cos(V),S.y+f*Math.sin(V));if(i.addMarkerAngle(X,V-D*Math.PI/2),i.addMarkerAngle(h,V-D*Math.PI),o.addPoint(h.x,h.y),n&&!isNaN(b)&&!isNaN(M)){var z=u>f?u:f,H=u>f?1:u/f,Y=u>f?f/u:1;n.translate(S.x,S.y),n.rotate(l),n.scale(H,Y),n.arc(0,0,z,b,b+M,!!(1-v)),n.scale(1/H,1/Y),n.rotate(-l),n.translate(-S.x,-S.y)}}}},{key:"pathZ",value:function(n,o){var i=this.pathParser;n&&o.x1!==o.x2&&o.y1!==o.y2&&n.closePath(),i.current=i.start}}]),e}(ft);function CP(t){return function(){var r=x(t),e;
6if(TP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function TP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var xr=function(t){N(e,t);var r=CP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="svg",a.root=!1,a}return I(e,[{key:"clearContext",value:function(n){Ce(x(e.prototype),"clearContext",this).call(this,n),this.document.screen.viewPort.removeCurrent()}},{key:"setContext",value:function(n){var o=this.document,i=o.screen,s=o.window,u=n.canvas;if(i.setDefaults(n),u.style&&typeof n.font<"u"&&s&&typeof s.getComputedStyle<"u"){n.font=s.getComputedStyle(u).getPropertyValue("font");var f=new _(o,"fontSize",Be.parse(n.font).fontSize);f.hasValue()&&(o.rootEmSize=f.getPixels("y"),o.emSize=o.rootEmSize)}Ce(x(e.prototype),"setContext",this).call(this,n),this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0),n.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y"));var l=i.viewPort,c=l.width,v=l.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var h=this.getAttribute("refX"),g=this.getAttribute("refY"),y=this.getAttribute("viewBox"),p=y.hasValue()?ve(y.getString()):null,$=!this.root&&this.getAttribute("overflow").getValue("hidden")!=="visible",S=0,b=0,R=0,T=0;p&&(S=p[0],b=p[1]),this.root||(c=this.getStyle("width").getPixels("x"),v=this.getStyle("height").getPixels("y"),this.type==="marker"&&(R=S,T=b,S=0,b=0)),i.viewPort.setCurrent(c,v),p&&(c=p[2],v=p[3]),o.setViewBox({ctx:n,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:c,height:i.viewPort.height,desiredHeight:v,minX:S,minY:b,refX:h.getValue(),refY:g.getValue(),clip:$,clipX:R,clipY:T}),p&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(c,v))}},{key:"resize",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,s=this.getAttribute("width",!0),u=this.getAttribute("height",!0),f=this.getAttribute("viewBox"),l=this.getAttribute("style"),c=s.getNumber(0),v=u.getNumber(0);if(i)if(typeof i=="string")this.getAttribute("preserveAspectRatio",!0).setValue(i);else{var h=this.getAttribute("preserveAspectRatio");h.hasValue()&&h.setValue(h.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(s.setValue(n),u.setValue(o),f.hasValue()||f.setValue("0 0 ".concat(c||n," ").concat(v||o)),l.hasValue()){var g=this.getStyle("width"),y=this.getStyle("height");g.hasValue()&&g.setValue("".concat(n,"px")),y.hasValue()&&y.setValue("".concat(o,"px"))}}}]),e}(ft);function kP(t){return function(){var r=x(t),e;if(IP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function IP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Mv=function(t){N(e,t);var r=kP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="rect",a}return I(e,[{key:"path",value:function(n){var o=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y"),f=this.getAttribute("rx"),l=this.getAttribute("ry"),c=f.getPixels("x"),v=l.getPixels("y");if(f.hasValue()&&!l.hasValue()&&(v=c),l.hasValue()&&!f.hasValue()&&(c=v),c=Math.min(c,s/2),v=Math.min(v,u/2),n){var h=4*((Math.sqrt(2)-1)/3);n.beginPath(),u>0&&s>0&&(n.moveTo(o+c,i),n.lineTo(o+s-c,i),n.bezierCurveTo(o+s-c+h*c,i,o+s,i+v-h*v,o+s,i+v),n.lineTo(o+s,i+u-v),n.bezierCurveTo(o+s,i+u-v+h*v,o+s-c+h*c,i+u,o+s-c,i+u),n.lineTo(o+c,i+u),n.bezierCurveTo(o+c-h*c,i+u,o,i+u-v+h*v,o,i+u-v),n.lineTo(o,i+v),n.bezierCurveTo(o,i+v-h*v,o+c-h*c,i,o+c,i),n.closePath())}return new xe(o,i,o+s,i+u)}},{key:"getMarkers",value:function(){return null}}]),e}(He);function AP(t){return function(){var r=x(t),e;if(_P()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}
6function _P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var NP=function(t){N(e,t);var r=AP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="circle",a}return I(e,[{key:"path",value:function(n){var o=this.getAttribute("cx").getPixels("x"),i=this.getAttribute("cy").getPixels("y"),s=this.getAttribute("r").getPixels();return n&&s>0&&(n.beginPath(),n.arc(o,i,s,0,Math.PI*2,!1),n.closePath()),new xe(o-s,i-s,o+s,i+s)}},{key:"getMarkers",value:function(){return null}}]),e}(He);function MP(t){return function(){var r=x(t),e;if(DP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function DP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var LP=function(t){N(e,t);var r=MP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="ellipse",a}return I(e,[{key:"path",value:function(n){var o=4*((Math.sqrt(2)-1)/3),i=this.getAttribute("rx").getPixels("x"),s=this.getAttribute("ry").getPixels("y"),u=this.getAttribute("cx").getPixels("x"),f=this.getAttribute("cy").getPixels("y");return n&&i>0&&s>0&&(n.beginPath(),n.moveTo(u+i,f),n.bezierCurveTo(u+i,f+o*s,u+o*i,f+s,u,f+s),n.bezierCurveTo(u-o*i,f+s,u-i,f+o*s,u-i,f),n.bezierCurveTo(u-i,f-o*s,u-o*i,f-s,u,f-s),n.bezierCurveTo(u+o*i,f-s,u+i,f-o*s,u+i,f),n.closePath()),new xe(u-i,f-s,u+i,f+s)}},{key:"getMarkers",value:function(){return null}}]),e}(He);function jP(t){return function(){var r=x(t),e;if(BP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function BP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var FP=function(t){N(e,t);var r=jP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="line",a}return I(e,[{key:"getPoints",value:function(){return[new re(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new re(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(n){var o=this.getPoints(),i=te(o,2),s=i[0],u=s.x,f=s.y,l=i[1],c=l.x,v=l.y;return n&&(n.beginPath(),n.moveTo(u,f),n.lineTo(c,v)),new xe(u,f,c,v)}},{key:"getMarkers",value:function(){var n=this.getPoints(),o=te(n,2),i=o[0],s=o[1],u=i.angleTo(s);return[[i,u],[s,u]]}}]),e}(He);function VP(t){return function(){var r=x(t),e;if(GP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function GP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Dv=function(t){N(e,t);var r=VP(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="polyline",i.points=[],i.points=re.parsePath(i.getAttribute("points").getString()),i}return I(e,[{key:"path",value:function(n){var o=this.points,i=te(o,1),s=i[0],u=s.x,f=s.y,l=new xe(u,f);return n&&(n.beginPath(),n.moveTo(u,f)),o.forEach(function(c){var v=c.x,h=c.y;l.addPoint(v,h),n&&n.lineTo(v,h)}),l}},{key:"getMarkers",value:function(){var n=this.points,o=n.length-1,i=[];return n.forEach(function(s,u){u!==o&&i.push([s,s.angleTo(n[u+1])])}),i.length>0&&i.push([n[n.length-1],i[i.length-1][1]]),i}}]),e}(He);function zP(t){return function(){var r=x(t),e;if(UP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function UP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var WP=function(t){N(e,t);var r=zP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="polygon",a}return I(e,[{key:"path",value:function(n){var o=Ce(x(e.prototype),"path",this).call(this,n),i=te(this.points,1),s=i[0],u=s.x,f=s.y;return n&&(n.lineTo(u,f),n.closePath()),o}}]),e}(Dv);function qP(t){return function(){var r=x(t),e;if(HP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function HP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var YP=function(t){N(e,t);var r=qP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="pattern",a}return I(e,[{key:"createPattern",value:function(n,o,i){var s=this.getStyle("width").getPixels("x",!0),u=this.getStyle("height").getPixels("y",!0),f=new xr(this.document,null);f.attributes.viewBox=new _(this.document,"viewBox",this.getAttribute("viewBox").getValue()),f.attributes.width=new _(this.document,"width","".concat(s,"px")),f.attributes.height=new _(this.document,"height","".concat(u,"px")),f.attributes.transform=new _(this.document,"transform",this.getAttribute("patternTransform").getValue()),f.children=this.children;var l=this.document.createCanvas(s,u),c=l.getContext("2d"),v=this.getAttribute("x"),h=this.getAttribute("y");v.hasValue()&&h.hasValue()&&c.translate(v.getPixels("x",!0),h.getPixels("y",!0)),i.hasValue()?this.styles["fill-opacity"]=i:Reflect.deleteProperty(this.styles,"fill-opacity");for(var g=-1;g<=1;g++)for(var y=-1;y<=1;y++)c.save(),f.attributes.x=new _(this.document,"x",g*l.width),f.attributes.y=new _(this.document,"y",y*l.height),f.render(c),c.restore(
6);var p=n.createPattern(l,"repeat");return p}}]),e}(ae);function KP(t){return function(){var r=x(t),e;if(XP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function XP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var QP=function(t){N(e,t);var r=KP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="marker",a}return I(e,[{key:"render",value:function(n,o,i){if(o){var s=o.x,u=o.y,f=this.getAttribute("orient").getValue("auto"),l=this.getAttribute("markerUnits").getValue("strokeWidth");n.translate(s,u),f==="auto"&&n.rotate(i),l==="strokeWidth"&&n.scale(n.lineWidth,n.lineWidth),n.save();var c=new xr(this.document,null);c.type=this.type,c.attributes.viewBox=new _(this.document,"viewBox",this.getAttribute("viewBox").getValue()),c.attributes.refX=new _(this.document,"refX",this.getAttribute("refX").getValue()),c.attributes.refY=new _(this.document,"refY",this.getAttribute("refY").getValue()),c.attributes.width=new _(this.document,"width",this.getAttribute("markerWidth").getValue()),c.attributes.height=new _(this.document,"height",this.getAttribute("markerHeight").getValue()),c.attributes.overflow=new _(this.document,"overflow",this.getAttribute("overflow").getValue()),c.attributes.fill=new _(this.document,"fill",this.getAttribute("fill").getColor("black")),c.attributes.stroke=new _(this.document,"stroke",this.getAttribute("stroke").getValue("none")),c.children=this.children,c.render(n),n.restore(),l==="strokeWidth"&&n.scale(1/n.lineWidth,1/n.lineWidth),f==="auto"&&n.rotate(-i),n.translate(-s,-u)}}}]),e}(ae);function JP(t){return function(){var r=x(t),e;if(ZP()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function ZP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var eC=function(t){N(e,t);var r=JP(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="defs",a}return I(e,[{key:"render",value:function(){}}]),e}(ae);function tC(t){return function(){var r=x(t),e;if(rC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function rC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Uo=function(t){N(e,t);var r=tC(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="g",a}return I(e,[{key:"getBoundingBox",value:function(n){var o=new xe;return this.children.forEach(function(i){o.addBoundingBox(i.getBoundingBox(n))}),o}}]),e}(ft);function nC(t){return function(){var r=x(t),e;if(aC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function aC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Lv=function(t){N(e,t);var r=nC(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.attributesToInherit=["gradientUnits"],i.stops=[];var s=Zt(i),u=s.stops,f=s.children;return f.forEach(function(l){l.type==="stop"&&u.push(l)}),i}return I(e,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(n,o,i){var s=this,u=this;this.getHrefAttribute().hasValue()&&(u=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(u));var f=u,l=f.stops,c=this.getGradient(n,o);if(!c)return this.addParentOpacity(i,l[l.length-1].color);if(l.forEach(function(D){c.addColorStop(D.offset,s.addParentOpacity(i,D.color))}),this.getAttribute("gradientTransform").hasValue()){var v=this.document,h=v.screen,g=h.MAX_VIRTUAL_PIXELS,y=h.viewPort,p=te(y.viewPorts,1),$=p[0],S=new Mv(v,null);S.attributes.x=new _(v,"x",-g/3),S.attributes.y=new _(v,"y",-g/3),S.attributes.width=new _(v,"width",g),S.attributes.height=new _(v,"height",g);var b=new Uo(v,null);b.attributes.transform=new _(v,"transform",this.getAttribute("gradientTransform").getValue()),b.children=[S];var R=new xr(v,null);R.attributes.x=new _(v,"x",0),R.attributes.y=new _(v,"y",0),R.attributes.width=new _(v,"width",$.width),R.attributes.height=new _(v,"height",$.height),R.children=[b];var T=v.createCanvas($.width,$.height),M=T.getContext("2d");return M.fillStyle=c,R.render(M),M.createPattern(T,"no-repeat")}return c}},{key:"inheritStopContainer",value:function(n){var o=this;this.attributesToInherit.forEach(function(i){!o.getAttribute(i).hasValue()&&n.getAttribute(i).hasValue()&&o.getAttribute(i,!0).setValue(n.getAttribute(i).getValue())})}},{key:"addParentOpacity",value:function(n,o){if(n.hasValue()){var i=new _(this.document,"color",o);return i.addOpacity(n).getColor()}return o}}]),e}(ae);function iC(t){return function(){var r=x(t),e;if(oC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function oC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var sC=function(t){N(e,t);var r=iC(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="linearGradient",i.attributesToInherit.push("x1","y1","x2","y2"),i}return I(e,[{key:"getGradient",value:function(n,o){var i=this.getGradientUnits()==="objectBoundingBox",s=i?o.getBoundingBox(n):null;if(i&&!s)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var u=i?s.x+s.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),f=i?s.y+s.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),l=i?s.x+s.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),c=i?s.y+s.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return u===l&&f===c?null:n.createLinearGradient(u,f,l,c)}}]),e}(Lv);function uC(t){return function(){var r=x(t),e;if(fC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function fC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var lC=function(t){N(e,t);var r=uC(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="radialGradient",i.attributesToInherit.push("cx","cy","r","fx","fy","fr"),i}return I(e,[{key:"getGradient",value:function(n,o){var i=this.getGradientUnits()==="objectBoundingBox",s=o.getBoundingBox(n);if(i&&!s)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var u=i?s.x+s.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),f=i?s.y+s.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),l=u,c=f;this.getAttribute("fx").hasValue()&&(l=i?s.x+s.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(c=i?s.y+s.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var v=i?(s.width+s.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),h=this.getAttribute("fr").getPixels();return n.createRadialGradient(l,c,h,u,f,v)}}]),e}(Lv);function cC(t){return function(){var r=x(t),e;if(vC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function vC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var hC=function(t){N(e,t);var r=cC(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.type="stop";var s=Math.max(0,Math.min(1,i.getAttribute("offset").getNumber())),u=i.getStyle("stop-opacity"),f=i.getStyle("stop-color",!0);return f.getString()===""&&f.setValue("#000"),u.hasValue()&&(f=f.addOpacity(u)),i.offset=s,i.color=f.getColor(),i}return e}(ae);function gC(t){return function(){var r=x(t),e;if(dC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function dC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Wo=function(t){N(e,t);var r=gC(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="animate",i.duration=0,i.initialValue=null,i.initialUnits="",i.removed=!1,i.frozen=!1,a.screen.animations.push(Zt(i)),i.begin=i.getAttribute("begin").getMilliseconds(),i.maxDuration=i.begin+i.getAttribute("dur").getMilliseconds(),i.from=i.getAttribute("from"),i.to=i.getAttribute("to"),i.values=i.getAttribute("values"),i.values.hasValue()&&i.values.setValue(i.values.getString().split(";")),i}return I(e,[{key:"getProperty",value:function(){var n=this.getAttribute("attributeType").getString(),o=this.getAttribute("attributeName").getString();return n==="CSS"?this.parent.getStyle(o,!0):this.parent.getAttribute(o,!0)}},{key:"calcValue",value:function(){var n=this.initialUnits,o=this.getProgress(),i=o.progress,s=o.from,u=o.to,f=s.getNumber()+(u.getNumber()-s.getNumber())*i;return n==="%"&&(f*=100),"".concat(f).concat(n)}},{key:"update",value:function(n){var o=this.parent,i=this.getProperty();if(this.initialValue||(this.initialValue=i.getString(),this.initialUnits=i.getUnits()),this.duration>this.maxDuration){var s=this.getAttribute("fill").getString("remove");
6if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(s==="freeze"&&!this.frozen)this.frozen=!0,o.animationFrozen=!0,o.animationFrozenValue=i.getString();else if(s==="remove"&&!this.removed)return this.removed=!0,i.setValue(o.animationFrozen?o.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=n;var u=!1;if(this.begin<this.duration){var f=this.calcValue(),l=this.getAttribute("type");if(l.hasValue()){var c=l.getString();f="".concat(c,"(").concat(f,")")}i.setValue(f),u=!0}return u}},{key:"getProgress",value:function(){var n=this.document,o=this.values,i={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(o.hasValue()){var s=i.progress*(o.getValue().length-1),u=Math.floor(s),f=Math.ceil(s);i.from=new _(n,"from",parseFloat(o.getValue()[u])),i.to=new _(n,"to",parseFloat(o.getValue()[f])),i.progress=(s-u)/(f-u)}else i.from=this.from,i.to=this.to;return i}}]),e}(ae);function pC(t){return function(){var r=x(t),e;if(yC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function yC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var mC=function(t){N(e,t);var r=pC(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="animateColor",a}return I(e,[{key:"calcValue",value:function(){var n=this.getProgress(),o=n.progress,i=n.from,s=n.to,u=new ji(i.getColor()),f=new ji(s.getColor());if(u.ok&&f.ok){var l=u.r+(f.r-u.r)*o,c=u.g+(f.g-u.g)*o,v=u.b+(f.b-u.b)*o;return"rgb(".concat(parseInt(l,10),", ").concat(parseInt(c,10),", ").concat(parseInt(v,10),")")}return this.getAttribute("from").getColor()}}]),e}(Wo);function $C(t){return function(){var r=x(t),e;if(bC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function bC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var SC=function(t){N(e,t);var r=$C(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="animateTransform",a}return I(e,[{key:"calcValue",value:function(){var n=this.getProgress(),o=n.progress,i=n.from,s=n.to,u=ve(i.getString()),f=ve(s.getString()),l=u.map(function(c,v){var h=f[v];return c+(h-c)*o}).join(" ");return l}}]),e}(Wo);function wC(t){if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(t=EC(t))){var r=0,e=function(){};return{s:e,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(u){throw u},f:e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,n=!0,o=!1,i;return{s:function(){a=t[Symbol.iterator]()},n:function(){var u=a.next();return n=u.done,u},e:function(u){o=!0,i=u},f:function(){try{!n&&a.return!=null&&a.return()}finally{if(o)throw i}}}}function EC(t,r){if(t){if(typeof t=="string")return Uf(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(e);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Uf(t,r)}}function Uf(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,a=new Array(r);e<r;e++)a[e]=t[e];return a}function RC(t){return function(){var r=x(t),e;if(xC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function xC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var OC=function(t){N(e,t);var r=RC(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.type="font",i.glyphs={},i.horizAdvX=i.getAttribute("horiz-adv-x").getNumber();var s=a.definitions,u=Zt(i),f=u.children,l=wC(f),c;try{for(l.s();!(c=l.n()).done;){var v=c.value;switch(v.type){case"font-face":{i.fontFace=v;var h=v.getStyle("font-family");h.hasValue()&&(s[h.getString()]=Zt(i));break}case"missing-glyph":i.missingGlyph=v;break;case"glyph":{var g=v;g.arabicForm?(i.isRTL=!0,i.isArabic=!0,typeof i.glyphs[g.unicode]>"u"&&(i.glyphs[g.unicode]={}),i.glyphs[g.unicode][g.arabicForm]=g):i.glyphs[g.unicode]=g;break}default:}}}catch(y){l.e(y)}finally{l.f()}return i}return I(e,[{key:"render",value:function(){}}]),e}(ae);function PC(t){return function(){var r=x(t),e;if(CC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function CC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var TC=function(t){N(e,t);var r=PC(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="font-face",i.ascent=i.getAttribute("ascent").getNumber(),i.descent=i.getAttribute("descent").getNumber(),i.unitsPerEm=i.getAttribute("units-per-em").getNumber(),i}return e}(ae);function kC(t){return function(){var r=x(t),e;if(IC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function IC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var AC=function(t){N(e,t);var r=kC(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="missing-glyph",a.horizAdvX=0,a}return e}(He);function _C(t){return function(){var r=x(t),e;if(NC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function NC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var MC=function(t){N(e,t);var r=_C(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="glyph",i.horizAdvX=i.getAttribute("horiz-adv-x").getNumber(),i.unicode=i.getAttribute("unicode").getString(),i.arabicForm=i.getAttribute("arabic-form").getString(),i}return e}(He);function DC(t){return function(){var r=x(t),e;if(LC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function LC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var jC=function(t){N(e,t);var r=DC(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="tref",a}return I(e,[{key:"getText",value:function(){var n=this.getHrefAttribute().getDefinition();if(n){var o=n.children[0];if(o)return o.getText()}return""}}]),e}(Rr);function BC(t){return function(){var r=x(t),e;if(FC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function FC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var VC=function(t){N(e,t);var r=BC(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.type="a";var s=n.childNodes,u=s[0],f=s.length>0&&Array.from(s).every(function(l){return l.nodeType===3});return i.hasText=f,i.text=f?i.getTextFromNode(u):"",i}return I(e,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(n){if(this.hasText){Ce(x(e.prototype),"renderChildren",this).call(this,n);var o=this.document,i=this.x,s=this.y,u=o.screen.mouse,f=new _(o,"fontSize",Be.parse(o.ctx.font).fontSize);u.isWorking()&&u.checkBoundingBox(this,new xe(i,s-f.getPixels("y"),i+this.measureText(n),s))}else if(this.children.length>0){var l=new Uo(this.document,null);l.children=this.children,l.parent=this,l.render(n)}}},{key:"onClick",value:function(){var n=this.document.window;n&&n.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){var n=this.document.ctx;n.canvas.style.cursor="pointer"}}]),e}(Rr);function GC(t){if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(t=zC(t))){var r=0,e=function(){};return{s:e,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(u){throw u},f:e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,n=!0,o=!1,i;return{s:function(){a=t[Symbol.iterator]()},n:function(){var u=a.next();return n=u.done,u},e:function(u){o=!0,i=u},f:function(){try{!n&&a.return!=null&&a.return()}finally{if(o)throw i}}}}function zC(t,r){if(t){if(typeof t=="string")return Wf(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);
8if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(e);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Wf(t,r)}}function Wf(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,a=new Array(r);e<r;e++)a[e]=t[e];return a}function UC(t){return function(){var r=x(t),e;if(WC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function WC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var qC=function(t){N(e,t);var r=UC(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.type="textPath",i.textWidth=0,i.textHeight=0,i.pathLength=-1,i.glyphInfo=null,i.letterSpacingCache=[],i.measuresCache=new Map([["",0]]);var s=i.getHrefAttribute().getDefinition();return i.text=i.getTextFromNode(),i.dataArray=i.parsePathData(s),i}return I(e,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(n){var o=this.dataArray;n&&n.beginPath(),o.forEach(function(i){var s=i.command,u=i.points;switch(s){case"L":n&&n.lineTo(u[0],u[1]);break;case"M":n&&n.moveTo(u[0],u[1]);break;case"C":n&&n.bezierCurveTo(u[0],u[1],u[2],u[3],u[4],u[5]);break;case"Q":n&&n.quadraticCurveTo(u[0],u[1],u[2],u[3]);break;case"A":{var f=u[0],l=u[1],c=u[2],v=u[3],h=u[4],g=u[5],y=u[6],p=u[7],$=c>v?c:v,S=c>v?1:c/v,b=c>v?v/c:1;n&&(n.translate(f,l),n.rotate(y),n.scale(S,b),n.arc(0,0,$,h,h+g,!!(1-p)),n.scale(1/S,1/b),n.rotate(-y),n.translate(-f,-l));break}case"z":n&&n.closePath();break}})}},{key:"renderChildren",value:function(n){this.setTextData(n),n.save();var o=this.parent.getStyle("text-decoration").getString(),i=this.getFontSize(),s=this.glyphInfo,u=n.fillStyle;o==="underline"&&n.beginPath(),s.forEach(function(f,l){var c=f.p0,v=f.p1,h=f.text;n.save(),n.translate(c.x,c.y),n.rotate(s[l].rotation),n.fillStyle&&n.fillText(h,0,0),n.strokeStyle&&n.strokeText(h,0,0),n.restore(),o==="underline"&&(l===0&&n.moveTo(c.x,c.y+i/8),n.lineTo(v.x,v.y+i/5))}),o==="underline"&&(n.lineWidth=i/20,n.strokeStyle=u,n.stroke(),n.closePath()),n.restore()}},{key:"getLetterSpacingAt",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[n]||0}},{key:"findSegmentToFitChar",value:function(n,o,i,s,u,f,l,c){var v=f,h=this.measureText(n,l);l===" "&&o==="justify"&&i<s&&(h+=(s-i)/u),c>-1&&(v+=this.getLetterSpacingAt(c));var g=this.textHeight/20,y={p0:this.getEquidistantPointOnPath(v,g),p1:this.getEquidistantPointOnPath(v+h,g)};return v+=h,{offset:v,segment:y}}},{key:"measureText",value:function(n,o){var i=this.measuresCache,s=o||this.getText();if(i.has(s))return i.get(s);var u=this.measureTargetText(n,s);return i.set(s,u),u}},{key:"setTextData",value:function(n){var o=this;if(!this.glyphInfo){var i=this.getText(),s=i.split(""),u=i.split(" ").length-1,f=ve(this.parent.getAttribute("dx").getString("0")),l=this.parent.getStyle("text-anchor").getString("start"),c=this.getStyle("letter-spacing"),v=this.parent.getStyle("letter-spacing"),h=0;!c.hasValue()||c.getValue()==="inherit"?h=v.getPixels():c.hasValue()&&c.getValue()!=="initial"&&c.getValue()!=="unset"&&(h=c.getPixels());var g=[],y=i.length;this.letterSpacingCache=g;for(var p=0;p<y;p++)g.push(typeof f[p]<"u"?f[p]:h);var $=g.reduce(function(M,D){return M+D||0},0);this.textWidth=this.measureText(n),this.textHeight=this.getFontSize();var S=Math.max(this.textWidth+$,0);this.glyphInfo=[];var b=this.getPathLength(),R=this.getStyle("startOffset").getNumber(0)*b,T=0;(l==="middle"||l==="center")&&(T=-S/2),(l==="end"||l==="right")&&(T=-S),T+=R,s.forEach(function(M,D){var V=o.findSegmentToFitChar(n,l,S,b,u,T,M,D),X=V.offset,z=V.segment;if(T=X,!(!z.p0||!z.p1)){var H=o.getLineLength(z.p0.x,z.p0.y,z.p1.x,z.p1.y),Y=0,ee=o.getPointOnLine(Y+H/2,z.p0.x,z.p0.y,z.p1.x,z.p1.y),Q=Math.atan2(z.p1.y-z.p0.y,z.p1.x-z.p0.x);o.glyphInfo.push({transposeX:ee.x,transposeY:ee.y,text:s[D],p0:z.p0,p1:z.p1,rotation:Q})}})}}},{key:"parsePathData",value:function(n){if(this.pathLength=-1,!n)return[];var o=[],i=n.pathParser;for(i.reset();!i.isEnd();){var s=i.current,u=s?s.x:0,f=s?s.y:0,l="",c=[];i.nextCommand();var v=i.command.toUpperCase();switch(i.command){case"M":case"m":l=this.pathM(i,c);break;case"L":case"l":l=this.pathL(i,c);break;case"H":case"h":l=this.pathH(i,c);break;case"V":case"v":l=this.pathV(i,c);break;case"C":case"c":this.pathC(i,c);break;case"S":case"s":l=this.pathS(i,c);break;case"Q":case"q":this.pathQ(i,c);break;case"T":case"t":l=this.pathT(i,c);break;case"A":case"a":c=this.pathA(i);break;case"Z":case"z":i.current=i.start;break}v!=="Z"?o.push({command:l||v,points:c,start:{x:u,y:f},pathLength:this.calcLength(u,f,l||v,c)}):o.push({command:"z",points:[],pathLength:0})}return o}},{key:"pathM",value:function(n,o){var i=n.getAsCurrentPoint();for(o.push(i.x,i.y),n.start=n.current;!n.isCommandOrEnd();){var s=n.getAsCurrentPoint();return o.push(s.x,s.y),"L"}}},{key:"pathL",value:function(n,o){for(;!n.isCommandOrEnd();){var i=n.getAsCurrentPoint();o.push(i.x,i.y)}return"L"}},{key:"pathH",value:function(n,o){for(;!n.isCommandOrEnd();){var i=n.current,s=new re((n.isRelativeCommand()?i.x:0)+n.getScalar(),i.y);o.push(s.x,s.y),n.current=s}return"L"}},{key:"pathV",value:function(n,o){for(;!n.isCommandOrEnd();){var i=n.current,s=new re(i.x,(n.isRelativeCommand()?i.y:0)+n.getScalar());o.push(s.x,s.y),n.current=s}return"L"}},{key:"pathC",value:function(n,o){for(;!n.isCommandOrEnd();){var i=n.getPoint(),s=n.getAsControlPoint(),u=n.getAsCurrentPoint();o.push(i.x,i.y,s.x,s.y,u.x,u.y)}}},{key:"pathS",value:function(n,o){for(;!n.isCommandOrEnd();){var i=n.getReflectedControlPoint(),s=n.getAsControlPoint(),u=n.getAsCurrentPoint();o.push(i.x,i.y,s.x,s.y,u.x,u.y)}return"C"}},{key:"pathQ",value:function(n,o){for(;!n.isCommandOrEnd();){var i=n.getAsControlPoint(),s=n.getAsCurrentPoint();o.push(i.x,i.y,s.x,s.y)}}},{key:"pathT",value:function(n,o){for(;!n.isCommandOrEnd();){var i=n.getReflectedControlPoint();n.control=i;var s=n.getAsCurrentPoint();o.push(i.x,i.y,s.x,s.y)}return"Q"}},{key:"pathA",value:function(n){for(;!n.isCommandOrEnd();){var o=n.current,i=n.getScalar(),s=n.getScalar(),u=n.getScalar()*(Math.PI/180),f=n.getScalar(),l=n.getScalar(),c=n.getAsCurrentPoint(),v=new re(Math.cos(u)*(o.x-c.x)/2+Math.sin(u)*(o.y-c.y)/2,-Math.sin(u)*(o.x-c.x)/2+Math.cos(u)*(o.y-c.y)/2),h=Math.pow(v.x,2)/Math.pow(i,2)+Math.pow(v.y,2)/Math.pow(s,2);h>1&&(i*=Math.sqrt(h),s*=Math.sqrt(h));var g=(f===l?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(s,2)-Math.pow(i,2)*Math.pow(v.y,2)-Math.pow(s,2)*Math.pow(v.x,2))/(Math.pow(i,2)*Math.pow(v.y,2)+Math.pow(s,2)*Math.pow(v.x,2)));isNaN(g)&&(g=0);var y=new re(g*i*v.y/s,g*-s*v.x/i),p=new re((o.x+c.x)/2+Math.cos(u)*y.x-Math.sin(u)*y.y,(o.y+c.y)/2+Math.sin(u)*y.x+Math.cos(u)*y.y),$=yn([1,0],[(v.x-y.x)/i,(v.y-y.y)/s]),S=[(v.x-y.x)/i,(v.y-y.y)/s],b=[(-v.x-y.x)/i,(-v.y-y.y)/s],R=yn(S,b);return ir(S,b)<=-1&&(R=Math.PI),ir(S,b)>=1&&(R=0),l===0&&R>0&&(R=R-2*Math.PI),l===1&&R<0&&(R=R+2*Math.PI),[p.x,p.y,i,s,$,R,u,l]}}},{key:"calcLength",value:function(n,o,i,s){var u=0,f=null,l=null,c=0;switch(i){case"L":return this.getLineLength(n,o,s[0],s[1]);case"C":for(u=0,f=this.getPointOnCubicBezier(0,n,o,s[0],s[1],s[2],s[3],s[4],s[5]),c=.01;c<=1;c+=.01)l=this.getPointOnCubicBezier(c,n,o,s[0],s[1],s[2],s[3],s[4],s[5]),u+=this.getLineLength(f.x,f.y,l.x,l.y),f=l;return u;case"Q":for(u=0,f=this.getPointOnQuadraticBezier(0,n,o,s[0],s[1],s[2],s[3]),c=.01;c<=1;c+=.01)l=this.getPointOnQuadraticBezier(c,n,o,s[0],s[1],s[2],s[3]),u+=this.getLineLength(f.x,f.y,l.x,l.y),f=l;return u;case"A":u=0;var v=s[4],h=s[5],g=s[4]+h,y=Math.PI/180;
8if(Math.abs(v-g)<y&&(y=Math.abs(v-g)),f=this.getPointOnEllipticalArc(s[0],s[1],s[2],s[3],v,0),h<0)for(c=v-y;c>g;c-=y)l=this.getPointOnEllipticalArc(s[0],s[1],s[2],s[3],c,0),u+=this.getLineLength(f.x,f.y,l.x,l.y),f=l;else for(c=v+y;c<g;c+=y)l=this.getPointOnEllipticalArc(s[0],s[1],s[2],s[3],c,0),u+=this.getLineLength(f.x,f.y,l.x,l.y),f=l;return l=this.getPointOnEllipticalArc(s[0],s[1],s[2],s[3],g,0),u+=this.getLineLength(f.x,f.y,l.x,l.y),u}return 0}},{key:"getPointOnLine",value:function(n,o,i,s,u){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:o,l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:i,c=(u-i)/(s-o+Et),v=Math.sqrt(n*n/(1+c*c));s<o&&(v*=-1);var h=c*v,g=null;if(s===o)g={x:f,y:l+h};else if((l-i)/(f-o+Et)===c)g={x:f+v,y:l+h};else{var y=0,p=0,$=this.getLineLength(o,i,s,u);if($<Et)return null;var S=(f-o)*(s-o)+(l-i)*(u-i);S=S/($*$),y=o+S*(s-o),p=i+S*(u-i);var b=this.getLineLength(f,l,y,p),R=Math.sqrt(n*n-b*b);v=Math.sqrt(R*R/(1+c*c)),s<o&&(v*=-1),h=c*v,g={x:y+v,y:p+h}}return g}},{key:"getPointOnPath",value:function(n){var o=this.getPathLength(),i=0,s=null;if(n<-5e-5||n-5e-5>o)return null;var u=this.dataArray,f=GC(u),l;try{for(f.s();!(l=f.n()).done;){var c=l.value;if(c&&(c.pathLength<5e-5||i+c.pathLength+5e-5<n)){i+=c.pathLength;continue}var v=n-i,h=0;switch(c.command){case"L":s=this.getPointOnLine(v,c.start.x,c.start.y,c.points[0],c.points[1],c.start.x,c.start.y);break;case"A":var g=c.points[4],y=c.points[5],p=c.points[4]+y;if(h=g+v/c.pathLength*y,y<0&&h<p||y>=0&&h>p)break;s=this.getPointOnEllipticalArc(c.points[0],c.points[1],c.points[2],c.points[3],h,c.points[6]);break;case"C":h=v/c.pathLength,h>1&&(h=1),s=this.getPointOnCubicBezier(h,c.start.x,c.start.y,c.points[0],c.points[1],c.points[2],c.points[3],c.points[4],c.points[5]);break;case"Q":h=v/c.pathLength,h>1&&(h=1),s=this.getPointOnQuadraticBezier(h,c.start.x,c.start.y,c.points[0],c.points[1],c.points[2],c.points[3]);break;default:}if(s)return s;break}}catch($){f.e($)}finally{f.f()}return null}},{key:"getLineLength",value:function(n,o,i,s){return Math.sqrt((i-n)*(i-n)+(s-o)*(s-o))}},{key:"getPathLength",value:function(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce(function(n,o){return o.pathLength>0?n+o.pathLength:n},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(n,o,i,s,u,f,l,c,v){var h=c*Lf(n)+f*jf(n)+s*Bf(n)+o*Ff(n),g=v*Lf(n)+l*jf(n)+u*Bf(n)+i*Ff(n);return{x:h,y:g}}},{key:"getPointOnQuadraticBezier",value:function(n,o,i,s,u,f,l){var c=f*Vf(n)+s*Gf(n)+o*zf(n),v=l*Vf(n)+u*Gf(n)+i*zf(n);return{x:c,y:v}}},{key:"getPointOnEllipticalArc",value:function(n,o,i,s,u,f){var l=Math.cos(f),c=Math.sin(f),v={x:i*Math.cos(u),y:s*Math.sin(u)};return{x:n+(v.x*l-v.y*c),y:o+(v.x*c+v.y*l)}}},{key:"buildEquidistantCache",value:function(n,o){var i=this.getPathLength(),s=o||.25,u=n||i/100;if(!this.equidistantCache||this.equidistantCache.step!==u||this.equidistantCache.precision!==s){this.equidistantCache={step:u,precision:s,points:[]};for(var f=0,l=0;l<=i;l+=s){var c=this.getPointOnPath(l),v=this.getPointOnPath(l+s);!c||!v||(f+=this.getLineLength(c.x,c.y,v.x,v.y),f>=u&&(this.equidistantCache.points.push({x:c.x,y:c.y,distance:l}),f-=u))}}}},{key:"getEquidistantPointOnPath",value:function(n,o,i){if(this.buildEquidistantCache(o,i),n<0||n-this.getPathLength()>5e-5)return null;var s=Math.round(n/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[s]||null}}]),e}(Rr);function HC(t){return function(){var r=x(t),e;if(YC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function YC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var KC=function(t){N(e,t);var r=HC(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.type="image",i.loaded=!1;var s=i.getHrefAttribute().getString();if(!s)return A(i);var u=/\.svg$/.test(s);return a.images.push(Zt(i)),u?i.loadSvg(s):i.loadImage(s),i.isSvg
8=u,i}return I(e,[{key:"loadImage",value:function(){var a=Le(fe.mark(function o(i){var s;return fe.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,f.next=3,this.document.createImage(i);case 3:s=f.sent,this.image=s,f.next=10;break;case 7:f.prev=7,f.t0=f.catch(0),console.error('Error while loading image "'.concat(i,'":'),f.t0);case 10:this.loaded=!0;case 11:case"end":return f.stop()}},o,this,[[0,7]])}));function n(o){return a.apply(this,arguments)}return n}()},{key:"loadSvg",value:function(){var a=Le(fe.mark(function o(i){var s,u;return fe.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,this.document.fetch(i);case 3:return s=l.sent,l.next=6,s.text();case 6:u=l.sent,this.image=u,l.next=13;break;case 10:l.prev=10,l.t0=l.catch(0),console.error('Error while loading image "'.concat(i,'":'),l.t0);case 13:this.loaded=!0;case 14:case"end":return l.stop()}},o,this,[[0,10]])}));function n(o){return a.apply(this,arguments)}return n}()},{key:"renderChildren",value:function(n){var o=this.document,i=this.image,s=this.loaded,u=this.getAttribute("x").getPixels("x"),f=this.getAttribute("y").getPixels("y"),l=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y");if(!(!s||!i||!l||!c)){if(n.save(),this.isSvg)o.canvg.forkString(n,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:u,offsetY:f,scaleWidth:l,scaleHeight:c}).render();else{var v=this.image;n.translate(u,f),o.setViewBox({ctx:n,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:l,desiredWidth:v.width,height:c,desiredHeight:v.height}),this.loaded&&(typeof v.complete>"u"||v.complete)&&n.drawImage(v,0,0)}n.restore()}}},{key:"getBoundingBox",value:function(){var n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");return new xe(n,o,n+i,o+s)}}]),e}(ft);function XC(t){return function(){var r=x(t),e;if(QC()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function QC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var JC=function(t){N(e,t);var r=XC(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="symbol",a}return I(e,[{key:"render",value:function(n){}}]),e}(ft),ZC=function(){function t(r){k(this,t),this.document=r,this.loaded=!1,r.fonts.push(this)}return I(t,[{key:"load",value:function(){var r=Le(fe.mark(function a(n,o){var i,s,u;return fe.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,i=this.document,l.next=4,i.canvg.parser.load(o);case 4:s=l.sent,u=s.getElementsByTagName("font"),Array.from(u).forEach(function(c){var v=i.createElement(c);i.definitions[n]=v}),l.next=12;break;case 9:l.prev=9,l.t0=l.catch(0),console.error('Error while loading font "'.concat(o,'":'),l.t0);case 12:this.loaded=!0;case 13:case"end":return l.stop()}},a,this,[[0,9]])}));function e(a,n){return r.apply(this,arguments)}return e}()}]),t}();function eT(t){return function(){var r=x(t),e;if(tT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function tT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var jv=function(t){N(e,t);var r=eT(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.type="style";var s=Bt(Array.from(n.childNodes).map(function(f){return f.data}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),u=s.split("}");return u.forEach(function(f){var l=f.trim();if(l){var c=l.split("{"),v=c[0].split(","),h=c[1].split(";");v.forEach(function(g){var y=g.trim();if(y){var p=a.styles[y]||{};if(h.forEach(function(b){var R=b.indexOf(":"),T=b.substr(0,R).trim(),M=b.substr(R+1,b.length-R).trim();T&&M&&(p[T]=new _(a,T,M))}),a.styles[y]=p,a.stylesSpecificity[y]=zO(y),y==="@font-face"){var $=p["font-family"].getString().replace(/"|'/g,""),S=p.src.getString().split(",");
8S.forEach(function(b){if(b.indexOf('format("svg")')>0){var R=Tv(b);R&&new ZC(a).load($,R)}})}}})}}),i}return e}(ae);jv.parseExternalUrl=Tv;function rT(t){return function(){var r=x(t),e;if(nT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function nT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var aT=function(t){N(e,t);var r=rT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="use",a}return I(e,[{key:"setContext",value:function(n){Ce(x(e.prototype),"setContext",this).call(this,n);var o=this.getAttribute("x"),i=this.getAttribute("y");o.hasValue()&&n.translate(o.getPixels("x"),0),i.hasValue()&&n.translate(0,i.getPixels("y"))}},{key:"path",value:function(n){var o=this.element;o&&o.path(n)}},{key:"renderChildren",value:function(n){var o=this.document,i=this.element;if(i){var s=i;if(i.type==="symbol"&&(s=new xr(o,null),s.attributes.viewBox=new _(o,"viewBox",i.getAttribute("viewBox").getString()),s.attributes.preserveAspectRatio=new _(o,"preserveAspectRatio",i.getAttribute("preserveAspectRatio").getString()),s.attributes.overflow=new _(o,"overflow",i.getAttribute("overflow").getString()),s.children=i.children),s.type==="svg"){var u=this.getStyle("width",!1,!0),f=this.getStyle("height",!1,!0);u.hasValue()&&(s.attributes.width=new _(o,"width",u.getString())),f.hasValue()&&(s.attributes.height=new _(o,"height",f.getString()))}var l=s.parent;s.parent=this,s.render(n),s.parent=l}}},{key:"getBoundingBox",value:function(n){var o=this.element;return o?o.getBoundingBox(n):null}},{key:"elementTransform",value:function(){var n=this.document,o=this.element;return Yn.fromElement(n,o)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),e}(ft);function iT(t){return function(){var r=x(t),e;if(oT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function oT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Zr(t,r,e,a,n,o){return t[e*a*4+r*4+o]}function en(t,r,e,a,n,o,i){t[e*a*4+r*4+o]=i}function oe(t,r,e){var a=t[r];return a*(a<0?e-255:e)}function _e(t,r,e,a){return r+Math.cos(t)*e+Math.sin(t)*a}var Bv=function(t){N(e,t);var r=iT(e);function e(a,n,o){var i;k(this,e),i=r.call(this,a,n,o),i.type="feColorMatrix";var s=ve(i.getAttribute("values").getString());switch(i.getAttribute("type").getString("matrix")){case"saturate":{var u=s[0];s=[.213+.787*u,.715-.715*u,.072-.072*u,0,0,.213-.213*u,.715+.285*u,.072-.072*u,0,0,.213-.213*u,.715-.715*u,.072+.928*u,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var f=s[0]*Math.PI/180;s=[_e(f,.213,.787,-.213),_e(f,.715,-.715,-.715),_e(f,.072,-.072,.928),0,0,_e(f,.213,-.213,.143),_e(f,.715,.285,.14),_e(f,.072,-.072,-.283),0,0,_e(f,.213,-.213,-.787),_e(f,.715,-.715,.715),_e(f,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}return i.matrix=s,i.includeOpacity=i.getAttribute("includeOpacity").hasValue(),i}return I(e,[{key:"apply",value:function(n,o,i,s,u){for(var f=this.includeOpacity,l=this.matrix,c=n.getImageData(0,0,s,u),v=0;v<u;v++)for(var h=0;h<s;h++){var g=Zr(c.data,h,v,s,u,0),y=Zr(c.data,h,v,s,u,1),p=Zr(c.data,h,v,s,u,2),$=Zr(c.data,h,v,s,u,3),S=oe(l,0,g)+oe(l,1,y)+oe(l,2,p)+oe(l,3,$)+oe(l,4,1),b=oe(l,5,g)+oe(l,6,y)+oe(l,7,p)+oe(l,8,$)+oe(l,9,1),R=oe(l,10,g)+oe(l,11,y)+oe(l,12,p)+oe(l,13,$)+oe(l,14,1),T=oe(l,15,g)+oe(l,16,y)+oe(l,17,p)+oe(l,18,$)+oe(l,19,1);f&&(S=b=R=0,T*=$/255),en(c.data,h,v,s,u,0,S),en(c.data,h,v,s,u,1,b),en(c.data,h,v,s,u,2,R),en(c.data,h,v,s,u,3,T)}n.clearRect(0,0,s,u),n.putImageData(c,0,0)}}]),e}(ae);function sT(t){return function(){var r=x(t),e;if(uT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function uT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Fv=function(t){N(e,t);var r=sT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="mask",a}return I(e,[{key:"apply",value:function(n,o){var i=this.document,s=this.getAttribute("x").getPixels("x"),u=this.getAttribute("y").getPixels("y"),f=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y");if(!f&&!l){var c=new xe;
8this.children.forEach(function($){c.addBoundingBox($.getBoundingBox(n))}),s=Math.floor(c.x1),u=Math.floor(c.y1),f=Math.floor(c.width),l=Math.floor(c.height)}var v=this.removeStyles(o,e.ignoreStyles),h=i.createCanvas(s+f,u+l),g=h.getContext("2d");i.screen.setDefaults(g),this.renderChildren(g),new Bv(i,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(g,0,0,s+f,u+l);var y=i.createCanvas(s+f,u+l),p=y.getContext("2d");i.screen.setDefaults(p),o.render(p),p.globalCompositeOperation="destination-in",p.fillStyle=g.createPattern(h,"no-repeat"),p.fillRect(0,0,s+f,u+l),n.fillStyle=p.createPattern(y,"no-repeat"),n.fillRect(0,0,s+f,u+l),this.restoreStyles(o,v)}},{key:"render",value:function(n){}}]),e}(ae);Fv.ignoreStyles=["mask","transform","clip-path"];function fT(t){return function(){var r=x(t),e;if(lT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function lT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var qf=function(){},cT=function(t){N(e,t);var r=fT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="clipPath",a}return I(e,[{key:"apply",value:function(n){var o=this.document,i=Reflect.getPrototypeOf(n),s=n.beginPath,u=n.closePath;i&&(i.beginPath=qf,i.closePath=qf),Reflect.apply(s,n,[]),this.children.forEach(function(f){if(!(typeof f.path>"u")){var l=typeof f.elementTransform<"u"?f.elementTransform():null;l||(l=Yn.fromElement(o,f)),l&&l.apply(n),f.path(n),i&&(i.closePath=u),l&&l.unapply(n)}}),Reflect.apply(u,n,[]),n.clip(),i&&(i.beginPath=s,i.closePath=u)}},{key:"render",value:function(n){}}]),e}(ae);function vT(t){return function(){var r=x(t),e;if(hT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function hT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Vv=function(t){N(e,t);var r=vT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="filter",a}return I(e,[{key:"apply",value:function(n,o){var i=this.document,s=this.children,u=o.getBoundingBox(n);if(u){var f=0,l=0;s.forEach(function(R){var T=R.extraFilterDistance||0;f=Math.max(f,T),l=Math.max(l,T)});var c=Math.floor(u.width),v=Math.floor(u.height),h=c+2*f,g=v+2*l;if(!(h<1||g<1)){var y=Math.floor(u.x),p=Math.floor(u.y),$=this.removeStyles(o,e.ignoreStyles),S=i.createCanvas(h,g),b=S.getContext("2d");i.screen.setDefaults(b),b.translate(-y+f,-p+l),o.render(b),s.forEach(function(R){typeof R.apply=="function"&&R.apply(b,0,0,h,g)}),n.drawImage(S,0,0,h,g,y-f,p-l,h,g),this.restoreStyles(o,$)}}}},{key:"render",value:function(n){}}]),e}(ae);Vv.ignoreStyles=["filter","transform","clip-path"];function gT(t){return function(){var r=x(t),e;if(dT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function dT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var pT=function(t){N(e,t);var r=gT(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="feDropShadow",i.addStylesFromStyleDefinition(),i}return I(e,[{key:"apply",value:function(n,o,i,s,u){}}]),e}(ae);function yT(t){return function(){var r=x(t),e;if(mT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function mT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var $T=function(t){N(e,t);var r=yT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="feMorphology",a}return I(e,[{key:"apply",value:function(n,o,i,s,u){}}]),e}(ae);function bT(t){return function(){var r=x(t),e;if(ST()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}
8function ST(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var wT=function(t){N(e,t);var r=bT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="feComposite",a}return I(e,[{key:"apply",value:function(n,o,i,s,u){}}]),e}(ae);function ET(t){return function(){var r=x(t),e;if(RT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function RT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var xT=function(t){N(e,t);var r=ET(e);function e(a,n,o){var i;return k(this,e),i=r.call(this,a,n,o),i.type="feGaussianBlur",i.blurRadius=Math.floor(i.getAttribute("stdDeviation").getNumber()),i.extraFilterDistance=i.blurRadius,i}return I(e,[{key:"apply",value:function(n,o,i,s,u){var f=this.document,l=this.blurRadius,c=f.window?f.window.document.body:null,v=n.canvas;v.id=f.getUniqueId(),c&&(v.style.display="none",c.appendChild(v)),TO(v,o,i,s,u,l),c&&c.removeChild(v)}}]),e}(ae);function OT(t){return function(){var r=x(t),e;if(PT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function PT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var CT=function(t){N(e,t);var r=OT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="title",a}return e}(ae);function TT(t){return function(){var r=x(t),e;if(kT()){var a=x(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return A(this,e)}}function kT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var IT=function(t){N(e,t);var r=TT(e);function e(){var a;return k(this,e),a=r.apply(this,arguments),a.type="desc",a}return e}(ae),AT={svg:xr,rect:Mv,circle:NP,ellipse:LP,line:FP,polyline:Dv,polygon:WP,path:He,pattern:YP,marker:QP,defs:eC,linearGradient:sC,radialGradient:lC,stop:hC,animate:Wo,animateColor:mC,animateTransform:SC,font:OC,"font-face":TC,"missing-glyph":AC,glyph:MC,text:Rr,tspan:Nv,tref:jC,a:VC,textPath:qC,image:KC,g:Uo,symbol:JC,style:jv,use:aT,mask:Fv,clipPath:cT,filter:Vv,feDropShadow:pT,feMorphology:$T,feComposite:wT,feColorMatrix:Bv,feGaussianBlur:xT,title:CT,desc:IT};function Hf(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,a)}return e}function _T(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?Hf(Object(e),!0).forEach(function(a){Xf(t,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Hf(Object(e)).forEac
8h(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(e,a))})}return t}function NT(t,r){var e=document.createElement("canvas");return e.width=t,e.height=r,e}function MT(t){return Wi.apply(this,arguments)}function Wi(){return Wi=Le(fe.mark(function t(r){var e,a,n=arguments;return fe.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return e=n.length>1&&n[1]!==void 0?n[1]:!1,a=document.createElement("img"),e&&(a.crossOrigin="Anonymous"),i.abrupt("return",new Promise(function(s,u){a.onload=function(){s(a)},a.onerror=function(){u()},a.src=r}));case 4:case"end":return i.stop()}},t)})),Wi.apply(this,arguments)}var Kn=function(){function t(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.rootEmSize,n=a===void 0?12:a,o=e.emSize,i=o===void 0?12:o,s=e.createCanvas,u=s===void 0?t.createCanvas:s,f=e.createImage,l=f===void 0?t.createImage:f,c=e.anonymousCrossOrigin;k(this,t),this.canvg=r,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=r.screen,this.rootEmSize=n,this.emSize=i,this.createCanvas=u,this.createImage=this.bindCreateImage(l,c),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return I(t,[{key:"bindCreateImage",value:function(e,a){return typeof a=="boolean"?function(n,o){return e(n,typeof o=="boolean"?o:a)}:e}},{key:"popEmSize",value:function(){var e=this.emSizeStack;e.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(e){return e.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(e){return e.loaded})}},{key:"createDocumentElement",value:function(e){var a=this.createElement(e.documentElement);return a.root=!0,a.addStylesFromStyleDefinition(),this.documentElement=a,a}}
8,{key:"createElement",value:function(e){var a=e.nodeName.replace(/^[^:]+:/,""),n=t.elementTypes[a];return typeof n<"u"?new n(this,e):new lP(this,e)}},{key:"createTextNode",value:function(e){return new EP(this,e)}},{key:"setViewBox",value:function(e){this.screen.setViewBox(_T({document:this},e))}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var e=this.emSizeStack;return e[e.length-1]},set:function(e){var a=this.emSizeStack;a.push(e)}}]),t}();Kn.createCanvas=NT;Kn.createImage=MT;Kn.elementTypes=AT;function Yf(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,a)}return e}function tn(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?Yf(Object(e),!0).forEach(function(a){Xf(t,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yf(Object(e)).forEac
8h(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(e,a))})}return t}var zT=function(){function t(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};k(this,t),this.parser=new ci(a),this.screen=new Hn(r,a),this.options=a;var n=new Kn(this,a),o=n.createDocumentElement(e);this.document=n,this.documentElement=o}return I(t,[{key:"fork",value:function(e,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t.from(e,a,tn({},this.options,{},n))}},{key:"forkString",value:function(e,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t.fromString(e,a,tn({},this.options,{},n))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:function(){var r=Le(fe.mark(function a(){var n,o=arguments;return fe.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return n=o.length>0&&o[0]!==void 0?o[0]:{},this.start(tn({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},n)),s.next=4,this.ready();case 4:this.stop();case 5:case"end":return s.stop()}},a,this)}));function e(){return r.apply(this,arguments)}return e}()},{key:"start",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=this.documentElement,n=this.screen,o=this.options;n.start(a,tn({enableRedraw:!0},o,{},e))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(e,a,n)}}],[{key:"from",value:function(){var r=Le(fe.mark(function a(n,o){var i,s,u,f=arguments;return fe.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return i=f.length>2&&f[2]!==void 0?f[2]:{},s=new ci(i),c.next=4,s.parse(o);case 4:return u=c.sent,c.abrupt("return",new t(n,u,i));case 6:case"end":return c.stop()}},a)}));function e(a,n){return r.apply(this,arguments)}return e}()},{key:"fromString",value:function(e,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=new ci(n),i=o.parseFromString(a);return new t(e,i,n)}}]),t}();function DT(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.DOMParser,e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,createCanvas:function(n,o){return new OffscreenCanvas(n,o)},createImage:function(n){return Le(fe.mark(function o(){var i,s,u;return fe.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,fetch(n);case 2:return i=l.sent,l.next=5,i.blob();case 5:return s=l.sent,l.next=8,createImageBitmap(s);case 8:return u=l.sent,l.abrupt("return",u);case 10:case"end":return l.stop()}},o)}))()}};return(typeof DOMParser<"u"||typeof r>"u")&&Reflect.deleteProperty(e,"DOMParser"),e}function LT(t){var r=t.DOMParser,e=t.canvas,a=t.fetch;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,fetch:a,createCanvas:e.createCanvas,createImage:e.loadImage}}var UT=Object.freeze({__proto__:null,offscreen:DT,node:LT});export{VC as AElement,mC as AnimateColorElement,Wo as AnimateElement,SC as AnimateTransformElement,xe as BoundingBox,Lf as CB1,jf as CB2,Bf as CB3,Ff as CB4,zT as Canvg,NP as CircleElement,cT as ClipPathElement,eC as DefsElement,IT as DescElement,Kn as Document,ae as Element,LP as EllipseElement,Bv as FeColorMatrixElement,wT as FeCompositeElement,pT as FeDropShadowElement,xT as FeGaussianBlurElement,$T as FeMorphologyElement,Vv as FilterElement,Be as Font,OC as FontElement,TC as FontFaceElement,Uo as GElement,MC as GlyphElement,Lv as GradientElement,KC as ImageElement,FP as LineElement,sC as LinearGradientElement,QP as MarkerElement,Fv as MaskElement,Av as Matrix,AC as MissingGlyphElement,qO as Mouse,Et as PSEUDO_ZERO,ci as Parser,He as PathElement,xP as PathParser,YP as PatternElement,re as Point,WP as PolygonElement,Dv as PolylineElement,_ as Property,Vf as QB1,Gf as QB2,zf as QB3,lC as RadialGradientElement,Mv as RectElement,ft as RenderedElement,XO as Rotate,xr as SVGElement,ZC as SVGFontLoader,QO as Scale,Hn as Screen,_v as Skew,rP as SkewX,iP as SkewY,hC as StopElement,jv as StyleElement,JC as SymbolElement,jC as TRefElement,Nv as TSpanElement,Rr as TextElement,qC as TextPathElement,CT as TitleElement,Yn as Transform,KO as Translate,lP as UnknownElement,aT as UseElement,WO as ViewPort,Bt as compressSpaces,zT as default,zO as getSelectorSpecificity,NO as normalizeAttributeName,MO as normalizeColor,Tv as parseExternalUrl,UT as presets,ve as toNumbers,IO as trimLeft,AO as trimRight,Df as vectorMagnitude,yn as vectorsAngle,ir as vectorsRatio};

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.