-1&&t%1==0&&t<=e}return Di=a,Di}var ji,Pm;function Vg(){if(Pm)return ji;Pm=1;var e=sa(),a=hs(),t=Ct(),n="[object Arguments]",r="[object Array]",i="[object Boolean]",u="[object Date]",d="[object Error]",c="[object Function]",h="[object Map]",l="[object Number]",g="[object Object]",f="[object RegExp]",P="[object Set]",y="[object String]",_="[object WeakMap]",j="[object ArrayBuffer]",z="[object DataView]",A="[object Float32Array]",x="[object Float64Array]",$="[object Int8Array]",H="[object Int16Array]",R="[object Int32Array]",D="[object Uint8Array]",K="[object Uint8ClampedArray]",X="[object Uint16Array]",B="[object Uint32Array]",q={};q[A]=q[x]=q[$]=q[H]=q[R]=q[D]=q[K]=q[X]=q[B]=!0,q[n]=q[r]=q[j]=q[i]=q[z]=q[u]=q[d]=q[c]=q[h]=q[l]=q[g]=q[f]=q[P]=q[y]=q[_]=!1;function ee(O){return t(O)&&a(O.length)&&!!q[e(O)]}return ji=ee,ji}var Ai,km;function Uc(){if(km)return Ai;km=1;function e(a){return function(t){return a(t)}}return Ai=e,Ai}var aa={exports:{}};aa.exports;var Mm;function Og(){return Mm||(Mm=1,function(e,a){var t=$c(),n=a&&!a.nodeType&&a,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,u=i&&t.process,d=function(){try{var c=r&&r.require&&r.require("util").types;return c||u&&u.binding&&u.binding("util")}catch{}}();e.exports=d}(aa,aa.exports)),aa.exports}var Ti,$m;function Zc(){if($m)return Ti;$m=1;var e=Vg(),a=Uc(),t=Og(),n=t&&t.isTypedArray,r=n?a(n):e;return Ti=r,Ti}var Si,Wm;function Xg(){if(Wm)return Si;Wm=1;var e=Lg(),a=cs(),t=Ge(),n=Jc(),r=us(),i=Zc(),u=Object.prototype,d=u.hasOwnProperty;function c(h,l){var g=t(h),f=!g&&a(h),P=!g&&!f&&n(h),y=!g&&!f&&!P&&i(h),_=g||f||P||y,j=_?e(h.length,String):[],z=j.length;for(var A in h)(l||d.call(h,A))&&!(_&&(A=="length"||P&&(A=="offset"||A=="parent")||y&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||r(A,z)))&&j.push(A);return j}return Si=c,Si}var Ci,_m;function Gg(){if(_m)return Ci;_m=1;var e=Object.prototype;function a(t){var n=t&&t.constructor,r=typeof n=="function"&&n.prototype||e;return t===r}return Ci=a,Ci}var Ei,xm;function Bg(){if(xm)return Ei;xm=1;function e(a,t){return function(n){return a(t(n))}}return Ei=e,Ei}var zi,Dm;function Yg(){if(Dm)return zi;Dm=1;var e=Bg(),a=e(Object.keys,Object);return zi=a,zi}var Ni,jm;function Kg(){if(jm)return Ni;jm=1;var e=Gg(),a=Yg(),t=Object.prototype,n=t.hasOwnProperty;function r(i){if(!e(i))return a(i);var u=[];for(var d in Object(i))n.call(i,d)&&d!="constructor"&&u.push(d);return u}return Ni=r,Ni}var Fi,Am;function Qg(){if(Am)return Fi;Am=1;var e=Wc(),a=hs();function t(n){return n!=null&&a(n.length)&&!e(n)}return Fi=t,Fi}var Ri,Tm;function eh(){if(Tm)return Ri;Tm=1;var e=Xg(),a=Kg(),t=Qg();function n(r){return t(r)?e(r):a(r)}return Ri=n,Ri}var Hi,Sm;function Jg(){if(Sm)return Hi;Sm=1;var e=Fg(),a=qg(),t=eh();function n(r){return e(r,t,a)}return Hi=n,Hi}var qi,Cm;function Ug(){if(Cm)return qi;Cm=1;var e=Jg(),a=1,t=Object.prototype,n=t.hasOwnProperty;function r(i,u,d,c,h,l){var g=d&a,f=e(i),P=f.length,y=e(u),_=y.length;if(P!=_&&!g)return!1;for(var j=P;j--;){var z=f[j];if(!(g?z in u:n.call(u,z)))return!1}var A=l.get(i),x=l.get(u);if(A&&x)return A==u&&x==i;var $=!0;l.set(i,u),l.set(u,i);for(var H=g;++j
i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var u=Array(i);++r=i?t:e(t,n,r)}return Wo=a,Wo}var _o,bl;function jp(){if(bl)return _o;bl=1;var e=ma(),a=ls(),t=Qe(),n=Dp(),r=ua(),i="Expected a function",u=Math.max;function d(c,h){if(typeof c!="function")throw new TypeError(i);return h=h==null?0:u(r(h),0),t(function(l){var g=l[h],f=n(l,0,h);return g&&a(f,g),e(c,this,f)})}return _o=d,_o}var xo,yl;function Ap(){if(yl)return xo;yl=1;var e=Vc(),a=lt(),t="Expected a function";function n(r,i,u){var d=!0,c=!0;if(typeof r!="function")throw new TypeError(t);return a(u)&&(d="leading"in u?!!u.leading:d,c="trailing"in u?!!u.trailing:c),e(r,i,{leading:d,maxWait:i,trailing:c})}return xo=n,xo}var Do,wl;function Tp(){if(wl)return Do;wl=1;var e=qc();function a(t){return e(t,1)}return Do=a,Do}var jo,Pl;function Sp(){if(Pl)return jo;Pl=1;var e=da();function a(t){return typeof t=="function"?t:e}return jo=a,jo}var Ao,kl;function Cp(){if(kl)return Ao;kl=1;var e=Sp(),a=oh();function t(n,r){return a(e(r),n)}return Ao=t,Ao}var To,Ml;function Ep(){return Ml||(Ml=1,To={after:yf(),ary:qc(),before:Lc(),bind:Yf(),bindKey:Kf(),curry:Qf(),curryRight:Jf(),debounce:Vc(),defer:Zf(),delay:eg(),flip:tg(),memoize:Gc(),negate:yg(),once:wg(),overArgs:Pp(),partial:oh(),partialRight:kp(),rearg:Wp(),rest:_p(),spread:jp(),throttle:Ap(),unary:Tp(),wrap:Cp()}),To}var zp=Ep();function Np(e,a){return w(),M("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"})])}function Fp(e,a){return w(),M("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function Rp(e,a){return w(),M("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"})])}function Hp(e,a){return w(),M("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"})])}const qp={name:"Search",components:{Icon:Z,MagnifyingGlassIcon:Fp},data(){return{showResults:!1,loading:!1,searchString:"",usersList:[],playersList:[]}},created:function(){window.addEventListener("click",e=>{this.$el.contains(e.target)||(this.showResults=!1,this.searchString="")})},methods:{performSearch:zp.debounce(function(){this.searchString&&(this.showResults=!0,this.loading=!0,axios.get(route("search",{q:this.searchString})).then(e=>{this.usersList=e.data.users,this.playersList=e.data.players}).finally(()=>{this.loading=!1}))},200)}},Lp={class:"relative mx-auto text-gray-600 dark:text-gray-400"},Ip=["placeholder"],Vp={type:"submit",class:"absolute right-0 top-0 mt-3 mr-4"},Op={key:0,id:"results",class:"absolute bg-white dark:bg-cool-gray-800 px-3 py-1 w-full rounded-md shadow-lg z-50"},Xp={key:0,id:"loading",class:"text-center p-2"},Gp={key:1,id:"users"},Bp={class:"text-xs text-gray-400 dark:text-gray-300 font-extrabold"},Yp={class:"flex flex-col"},Kp={class:"flex"},Qp=["src"],Jp={class:"text-sm"},Up={class:"text-gray-700 dark:text-gray-300 font-bold"},Zp={class:"text-gray-500 dark:text-gray-500"},ev={class:"flex"},tv=["title","src"],av={key:0,id:"emptyusers",class:"italic"},nv={key:2,id:"players",class:"mt-5 pb-4"},rv={class:"text-xs text-gray-400 dark:text-gray-300 font-extrabold"},iv={class:"flex flex-col"},ov={class:"flex items-center"},sv=["src"],uv={class:"text-sm"},dv={class:"text-gray-700 dark:text-gray-300 font-bold"},mv={class:"flex space-x-2"},lv=["src","alt","title"],cv=["title","src"],hv={key:0,id:"emptyplayers",class:"italic"};function fv(e,a,t,n,r,i){const u=J("MagnifyingGlassIcon"),d=J("inertia-link"),c=J("icon"),h=ia("tippy");return w(),M("div",Lp,[b("form",{onSubmit:a[2]||(a[2]=ra((...l)=>i.performSearch&&i.performSearch(...l),["prevent"]))},[Re(b("input",{"onUpdate:modelValue":a[0]||(a[0]=l=>r.searchString=l),"aria-label":"search",class:le(["border-none bg-gray-200 dark:bg-cool-gray-900 h-10 px-5 pr-10 focus:w-80 rounded-full text-sm focus:outline-none focus:ring-0",{"w-80":r.showResults}]),type:"search",name:"search",placeholder:e.__("Search")+"..",autocomplete:"off",onInput:a[1]||(a[1]=(...l)=>i.performSearch&&i.performSearch(...l))},null,42,Ip),[[Kh,r.searchString]]),b("button",Vp,[F(u,{class:"text-gray-400 dark:text-gray-600 h-4 w-4 stroke-2"})])],32),r.showResults&&r.searchString?(w(),M("div",Op,[r.loading?(w(),M("div",Xp,T(e.__("Loading"))+"... ",1)):E("",!0),r.loading?E("",!0):(w(),M("div",Gp,[b("span",Bp,T(e.__("USERS")),1),b("div",Yp,[(w(!0),M(ye,null,Se(r.usersList,l=>(w(),Y(d,{id:"user",key:l.username,as:"a",href:e.route("user.public.get",l.username),class:"flex px-2 py-1 justify-between hover:bg-light-blue-100 dark:hover:bg-cool-gray-900 rounded cursor-pointer"},{default:V(()=>[b("div",Kp,[b("img",{class:"mr-3 w-10 h-10 rounded-full",src:l.profile_photo_url,alt:"Image"},null,8,Qp),b("div",Jp,[b("p",Up,T(l.title),1),b("p",Zp," @"+T(l.username),1)])]),b("div",ev,[Re(b("img",{title:l.country.name,src:l.country.photo_path,alt:"",class:"h-8 w-8 -mt-0.5 focus:outline-none"},null,8,tv),[[h]])])]),_:2},1032,["href"]))),128))]),!r.usersList||r.usersList.length<=0?(w(),M("div",av,T(e.__("No users found.")),1)):E("",!0)])),r.loading?E("",!0):(w(),M("div",nv,[b("span",rv,T(e.__("PLAYERS")),1),b("div",iv,[(w(!0),M(ye,null,Se(r.playersList,l=>(w(),Y(d,{id:"player",key:l.uuid,as:"a",href:e.route("player.show",l.uuid),class:"flex justify-between px-2 py-1 hover:bg-light-blue-100 dark:hover:bg-cool-gray-900 rounded cursor-pointer"},{default:V(()=>[b("div",ov,[b("img",{class:"mr-3 w-8 h-8",src:l.avatar_url,alt:"Avatar"},null,8,sv),b("div",uv,[b("p",dv,T(l.title),1)])]),b("div",mv,[Re(F(c,{class:"w-8 h-8 focus:outline-none",name:`rating-${l.rating}`,content:l.rating},null,8,["name","content"]),[[Ca,l.rating!=null],[h]]),Re(b("img",{src:l.rank.photo_path,alt:l.rank.name,title:l.rank.name,class:"h-8 w-8 focus:outline-none"},null,8,lv),[[Ca,l.rank.photo_path],[h]]),Re(b("img",{title:l.country.name,src:l.country.photo_path,alt:"",class:"h-8 w-8 -mt-0.5 focus:outline-none"},null,8,cv),[[h]])])]),_:2},1032,["href"]))),128))]),!r.playersList||r.playersList.length<=0?(w(),M("div",hv,T(e.__("No players found.")),1)):E("",!0)]))])):E("",!0)])}const sh=Xe(qp,[["render",fv]]),gv={name:"ColorThemeToggle",components:{MoonIcon:Rp,SunIcon:Hp},data(){return{colorMode:window.colorMode}},methods:{toggleTheme(){this.colorMode==="dark"?(this.colorMode="light",window.colorMode="light",localStorage.theme="light",document.documentElement.classList.add("light"),document.documentElement.classList.remove("dark")):(this.colorMode="dark",window.colorMode="dark",localStorage.theme="dark",document.documentElement.classList.add("dark"),document.documentElement.classList.remove("light")),window.location.reload()}}},pv=["title"],vv=["title"];function bv(e,a,t,n,r,i){const u=J("MoonIcon"),d=J("SunIcon"),c=ia("tippy");return w(),M("div",null,[b("button",{onClick:a[0]||(a[0]=(...h)=>i.toggleTheme&&i.toggleTheme(...h))},[r.colorMode==="dark"?Re((w(),M("span",{key:0,title:e.__("Use Light Theme")},[F(u,{class:"w-5 h-5 text-gray-400 focus:outline-none stroke-2"})],8,pv)),[[c]]):Re((w(),M("span",{key:1,title:e.__("Use Dark Theme")},[F(d,{class:"w-6 h-6 text-gray-400 focus:outline-none stroke-2"})],8,vv)),[[c]])])])}const uh=Xe(gv,[["render",bv]]),yv={computed:{logo(){return window.colorMode==="light"?this.$page.props.generalSettings.site_header_logo_path_light:this.$page.props.generalSettings.site_header_logo_path_dark}}},wv=["src"];function Pv(e,a,t,n,r,i){return w(),M("img",{src:i.logo,alt:"Site Header Logo",class:"logo"},null,8,wv)}const Ko=Xe(yv,[["render",Pv]]),kv={class:"flex items-center flex-shrink-0"},Mv={__name:"AppLogoMark",props:{canShowAdminSidebar:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=J("InertiaLink"),r=ia("tippy");return w(),M("div",kv,[F(n,{href:a.route("home")},{default:V(()=>[F(Ko,{class:"block w-auto h-9"})]),_:1},8,["href"]),e.canShowAdminSidebar&&!a.route().current("admin.*")?Re((w(),Y(n,{key:0,title:a.__("Administration Section"),"aria-label":"Open Menu",class:"ml-2 focus:outline-none",href:a.route("admin.dashboard")},{default:V(()=>[F(Z,{name:"cog",class:"w-6 h-6 text-gray-400 dark:text-gray-500 hover:animate-spin"})]),_:1},8,["title","href"])),[[r]]):E("",!0)])}}},$v=["href"],$l={__name:"NavLink",props:{href:String,active:Boolean,openInNewTab:{type:Boolean,default:!1}},setup(e){const a=e,t=Oe(()=>a.active?"inline-flex items-center px-1 pt-1 border-b-2 border-light-blue-400 text-sm leading-5 text-gray-900 dark:text-gray-200 focus:outline-none focus:border-light-blue-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm leading-5 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 hover:border-gray-300 focus:outline-none focus:text-gray-700 dark:focus:text-gray-300 focus:border-gray-300 transition duration-150 ease-in-out");return(n,r)=>{const i=J("InertiaLink");return e.openInNewTab?(w(),M("a",{key:1,target:"_blank",href:e.href,class:le(t.value)},[qe(n.$slots,"default")],10,$v)):(w(),Y(i,{key:0,href:e.href,class:le(t.value)},{default:V(()=>[qe(n.$slots,"default")]),_:3},8,["href","class"]))}}},Wv={class:"relative"},Va={__name:"Dropdown",props:{align:{type:String,default:"right"},width:{type:String,default:"48"},contentClasses:{type:Array,default:()=>["py-1","bg-white"]}},setup(e){const a=e;let t=as(!1);const n=u=>{t.value&&u.key==="Escape"&&(t.value=!1)};kc(()=>document.addEventListener("keydown",n)),Qh(()=>document.removeEventListener("keydown",n));const r=Oe(()=>({48:"w-48"})[a.width.toString()]),i=Oe(()=>a.align==="left"?"origin-top-left left-0":a.align==="right"?"origin-top-right right-0":"origin-top");return(u,d)=>(w(),M("div",Wv,[b("div",{onClick:d[0]||(d[0]=c=>qs(t)?t.value=!N(t):t=!N(t))},[qe(u.$slots,"trigger")]),Re(b("div",{class:"fixed inset-0 z-40",onClick:d[1]||(d[1]=c=>qs(t)?t.value=!1:t=!1)},null,512),[[Ca,N(t)]]),F(Jh,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:V(()=>[Re(b("div",{class:le(["absolute z-50 mt-2 rounded-md shadow-lg",[r.value,i.value]]),style:{display:"none"}},[b("div",{class:le(["rounded-md ring-1 ring-black ring-opacity-5 dark:bg-gray-800",e.contentClasses])},[qe(u.$slots,"content")],2)],2),[[Ca,N(t)]])]),_:3})]))}},_v=["href"],et={__name:"DropdownLink",props:{href:String,as:String,btnClass:String,openInNewTab:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=J("InertiaLink");return w(),M("div",null,[e.as=="button"?(w(),M("button",{key:0,type:"submit",class:le(["block w-full px-4 py-2 text-sm leading-5 text-gray-700 dark:text-gray-400 text-left hover:bg-cool-gray-100 dark:hover:bg-cool-gray-900 focus:outline-none focus:bg-cool-gray-100 dark:focus:bg-cool-gray-900 transition duration-150 ease-in-out",e.btnClass])},[qe(a.$slots,"default")],2)):e.as!="button"&&!e.openInNewTab?(w(),Y(n,{key:1,href:e.href,class:le(["block px-4 py-2 text-sm leading-5 text-gray-700 dark:text-gray-400 hover:bg-cool-gray-100 dark:hover:bg-cool-gray-900 focus:outline-none focus:bg-cool-gray-100 dark:focus:bg-cool-gray-900 transition duration-150 ease-in-out",e.btnClass])},{default:V(()=>[qe(a.$slots,"default")]),_:3},8,["href","class"])):(w(),M("a",{key:2,target:"_blank",href:e.href,class:le(["block px-4 py-2 text-sm leading-5 text-gray-700 dark:text-gray-400 hover:bg-cool-gray-100 dark:hover:bg-cool-gray-900 focus:outline-none focus:bg-cool-gray-100 dark:focus:bg-cool-gray-900 transition duration-150 ease-in-out",e.btnClass])},[qe(a.$slots,"default")],10,_v))])}}},xv={components:{JetDropdown:Va,JetDropdownLink:et},props:{title:{type:String,required:!0},items:{type:Array,required:!0}}},Dv={class:"inline-flex items-center px-1 pt-1 text-sm leading-5 text-gray-500 transition duration-150 ease-in-out border-b-2 border-transparent hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300"},jv={class:"inline-flex rounded-md"},Av={type:"button",class:"inline-flex items-center py-2 text-sm font-semibold leading-4 text-gray-500 transition duration-150 ease-in-out border border-transparent rounded-md dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 focus:outline-none"};function Tv(e,a,t,n,r,i){const u=J("jet-dropdown-link"),d=J("jet-dropdown");return w(),M("div",Dv,[F(d,{align:"right",width:"48"},{trigger:V(()=>[b("span",jv,[b("button",Av,[G(T(e.__(t.title))+" ",1),a[0]||(a[0]=b("svg",{class:"ml-2 -mr-0.5 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[b("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1))])])]),content:V(()=>[(w(!0),M(ye,null,Se(t.items,c=>(w(),Y(u,{key:c.key,class:"text-sm",href:e.route(c.route,c.route_params??null),"open-in-new-tab":c.is_open_in_new_tab},{default:V(()=>[G(T(e.__(c.title)),1)]),_:2},1032,["href","open-in-new-tab"]))),128))]),_:1})])}const Sv=Xe(xv,[["render",Tv]]);var Cv="4.1.0";function Ev(e){return e===void 0}function He(e){return typeof e=="boolean"}function zv(e,a){for(var t in a)a.hasOwnProperty(t)&&Ev(e[t])&&(e[t]=a[t]);return e}function Nv(e,a,t){var n;return e.length>a&&(t==null?(t="…",n=3):n=t.length,e=e.substring(0,a-n)+t),e}function oe(e,a){for(var t=e.length-1;t>=0;t--)e[t]===a&&e.splice(t,1)}function vt(e,a){for(var t=e.length-1;t>=0;t--)a(e[t])===!0&&e.splice(t,1)}function Tt(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}var St=/[A-Za-z]/,Me=/[\d]/,Ve=/\s/,So=/['"]/,Fv=/[\x00-\x1F\x7F]/,Rv=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,Hv=/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source,qv=/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,Lv=Rv+Hv+qv,Iv=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,dh=Lv+Iv,Pt=new RegExp("[".concat(dh,"]")),mh=function(){function e(a){a===void 0&&(a={}),this.tagName="",this.attrs={},this.innerHTML="",this.tagName=a.tagName||"",this.attrs=a.attrs||{},this.innerHTML=a.innerHtml||a.innerHTML||""}return e.prototype.setTagName=function(a){return this.tagName=a,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(a,t){var n=this.getAttrs();return n[a]=t,this},e.prototype.getAttr=function(a){return this.getAttrs()[a]},e.prototype.setAttrs=function(a){return Object.assign(this.getAttrs(),a),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(a){return this.setAttr("class",a)},e.prototype.addClass=function(a){for(var t=this.getClass(),n=t?t.split(Ve):[],r=a.split(Ve),i;i=r.shift();)n.indexOf(i)===-1&&n.push(i);return this.getAttrs().class=n.join(" "),this},e.prototype.removeClass=function(a){for(var t=this.getClass(),n=t?t.split(Ve):[],r=a.split(Ve),i;n.length&&(i=r.shift());){var u=n.indexOf(i);u!==-1&&n.splice(u,1)}return this.getAttrs().class=n.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(a){return(" "+this.getClass()+" ").indexOf(" "+a+" ")!==-1},e.prototype.setInnerHTML=function(a){return this.innerHTML=a,this},e.prototype.setInnerHtml=function(a){return this.setInnerHTML(a)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var a=this.getTagName(),t=this.buildAttrsStr();return t=t?" "+t:"",["<",a,t,">",this.getInnerHtml(),"",a,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var a=this.getAttrs(),t=[];for(var n in a)a.hasOwnProperty(n)&&t.push(n+'="'+a[n]+'"');return t.join(" ")},e}();function Vv(e,a,t){var n,r;t==null?(t="…",r=3,n=8):(r=t.length,n=t.length);var i=function(A){var x={},$=A,H=$.match(/^([a-z]+):\/\//i);return H&&(x.scheme=H[1],$=$.substr(H[0].length)),H=$.match(/^(.*?)(?=(\?|#|\/|$))/i),H&&(x.host=H[1],$=$.substr(H[0].length)),H=$.match(/^\/(.*?)(?=(\?|#|$))/i),H&&(x.path=H[1],$=$.substr(H[0].length)),H=$.match(/^\?(.*?)(?=(#|$))/i),H&&(x.query=H[1],$=$.substr(H[0].length)),H=$.match(/^#(.*?)$/i),H&&(x.fragment=H[1]),x},u=function(A){var x="";return A.scheme&&A.host&&(x+=A.scheme+"://"),A.host&&(x+=A.host),A.path&&(x+="/"+A.path),A.query&&(x+="?"+A.query),A.fragment&&(x+="#"+A.fragment),x},d=function(A,x){var $=x/2,H=Math.ceil($),R=-1*Math.floor($),D="";return R<0&&(D=A.substr(R)),A.substr(0,H)+t+D};if(e.length<=a)return e;var c=a-r,h=i(e);if(h.query){var l=h.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);l&&(h.query=h.query.substr(0,l[1].length),e=u(h))}if(e.length<=a||(h.host&&(h.host=h.host.replace(/^www\./,""),e=u(h)),e.length<=a))return e;var g="";if(h.host&&(g+=h.host),g.length>=c)return h.host.length==a?(h.host.substr(0,a-r)+t).substr(0,c+n):d(g,c).substr(0,c+n);var f="";if(h.path&&(f+="/"+h.path),h.query&&(f+="?"+h.query),f)if((g+f).length>=c){if((g+f).length==a)return(g+f).substr(0,a);var P=c-g.length;return(g+d(f,P)).substr(0,c+n)}else g+=f;if(h.fragment){var y="#"+h.fragment;if((g+y).length>=c){if((g+y).length==a)return(g+y).substr(0,a);var _=c-g.length;return(g+d(y,_)).substr(0,c+n)}else g+=y}if(h.scheme&&h.host){var j=h.scheme+"://";if((g+j).length 1&&a>0?s:o}};return i;function o(){return e n&&(n+=F2);var c=Math.atan2(s,o);if(c<0&&(c+=F2),c>=a&&c<=n||c+F2>=a&&c+F2<=n)return l[0]=f,l[1]=h,u-t;var p=t*Math.cos(a)+r,d=t*Math.sin(a)+e,g=t*Math.cos(n)+r,y=t*Math.sin(n)+e,m=(p-o)*(p-o)+(d-s)*(d-s),_=(g-o)*(g-o)+(y-s)*(y-s);return m<_?(l[0]=p,l[1]=d,Math.sqrt(m)):(l[0]=g,l[1]=y,Math.sqrt(_))}function La(r,e,t,a,n,i,o,s){var l=n-r,u=i-e,f=t-r,h=a-e,v=Math.sqrt(f*f+h*h);f/=v,h/=v;var c=l*f+u*h,p=c/v;s&&(p=Math.min(Math.max(p,0),1)),p*=v;var d=o[0]=r+p*f,g=o[1]=e+p*h;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function x_(r,e,t,a,n,i,o){t<0&&(r=r+t,t=-t),a<0&&(e=e+a,a=-a);var s=r+t,l=e+a,u=o[0]=Math.min(Math.max(n,r),s),f=o[1]=Math.min(Math.max(i,e),l);return Math.sqrt((u-n)*(u-n)+(f-i)*(f-i))}var ce=[];function AP(r,e,t){var a=x_(e.x,e.y,e.width,e.height,r.x,r.y,ce);return t.set(ce[0],ce[1]),a}function MP(r,e,t){for(var a=0,n=0,i=0,o=0,s,l,u=1/0,f=e.data,h=r.x,v=r.y,c=0;c1&&a&&a.length>1){var i=bl(a)/bl(n);!isFinite(i)&&(i=1),e.pinchScale=i;var o=Tw(a);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:r[0].target,event:e}}}}};function ae(){return[1,0,0,1,0,0]}function rn(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function uo(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r}function a9(r,e,t){var a=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],o=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];return r[0]=a,r[1]=n,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function Ve(r,e,t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4]+t[0],r[5]=e[5]+t[1],r}function u1(r,e,t){var a=e[0],n=e[2],i=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(t),f=Math.cos(t);return r[0]=a*f+o*u,r[1]=-a*u+o*f,r[2]=n*f+s*u,r[3]=-n*u+f*s,r[4]=f*i+u*l,r[5]=f*l-u*i,r}function fo(r,e,t){var a=t[0],n=t[1];return r[0]=e[0]*a,r[1]=e[1]*n,r[2]=e[2]*a,r[3]=e[3]*n,r[4]=e[4]*a,r[5]=e[5]*n,r}function l2(r,e){var t=e[0],a=e[2],n=e[4],i=e[1],o=e[3],s=e[5],l=t*o-i*a;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-a*l,r[3]=t*l,r[4]=(a*s-o*n)*l,r[5]=(i*n-t*s)*l,r):null}function Cw(r){var e=ae();return uo(e,r),e}var Aw=function(){function r(e,t){this.x=e||0,this.y=t||0}return r.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(e,t){return this.x=e,this.y=t,this},r.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},r.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},r.prototype.scale=function(e){this.x*=e,this.y*=e},r.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},r.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},r.prototype.dot=function(e){return this.x*e.x+this.y*e.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},r.prototype.distance=function(e){var t=this.x-e.x,a=this.y-e.y;return Math.sqrt(t*t+a*a)},r.prototype.distanceSquare=function(e){var t=this.x-e.x,a=this.y-e.y;return t*t+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(e){if(e){var t=this.x,a=this.y;return this.x=e[0]*t+e[2]*a+e[4],this.y=e[1]*t+e[3]*a+e[5],this}},r.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},r.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},r.set=function(e,t,a){e.x=t,e.y=a},r.copy=function(e,t){e.x=t.x,e.y=t.y},r.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},r.lenSquare=function(e){return e.x*e.x+e.y*e.y},r.dot=function(e,t){return e.x*t.x+e.y*t.y},r.add=function(e,t,a){e.x=t.x+a.x,e.y=t.y+a.y},r.sub=function(e,t,a){e.x=t.x-a.x,e.y=t.y-a.y},r.scale=function(e,t,a){e.x=t.x*a,e.y=t.y*a},r.scaleAndAdd=function(e,t,a,n){e.x=t.x+a.x*n,e.y=t.y+a.y*n},r.lerp=function(e,t,a,n){var i=1-n;e.x=i*t.x+n*a.x,e.y=i*t.y+n*a.y},r}();const s0=Aw;var L4=Math.min,I4=Math.max,e5=new s0,r5=new s0,a5=new s0,n5=new s0,w2=new s0,T2=new s0,Mw=function(){function r(e,t,a,n){a<0&&(e=e+a,a=-a),n<0&&(t=t+n,n=-n),this.x=e,this.y=t,this.width=a,this.height=n}return r.prototype.union=function(e){var t=L4(e.x,this.x),a=L4(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=I4(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=I4(e.y+e.height,this.y+this.height)-a:this.height=e.height,this.x=t,this.y=a},r.prototype.applyTransform=function(e){r.applyTransform(this,this,e)},r.prototype.calculateTransform=function(e){var t=this,a=e.width/t.width,n=e.height/t.height,i=ae();return Ve(i,i,[-t.x,-t.y]),fo(i,i,[a,n]),Ve(i,i,[e.x,e.y]),i},r.prototype.intersect=function(e,t){if(!e)return!1;e instanceof r||(e=r.create(e));var a=this,n=a.x,i=a.x+a.width,o=a.y,s=a.y+a.height,l=e.x,u=e.x+e.width,f=e.y,h=e.y+e.height,v=!(i0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;ls&&(l=s);var u=o;o=n-l,l=n-u}for(o++;os&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=a-n;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;ot);f++);f=v(f-1,s-2)}p=o[f+1],c=o[f]}if(c&&p){this._lastFr=f,this._lastFrP=t;var g=p.percent-c.percent,y=g===0?1:v((t-c.percent)/g,1);p.easingFunc&&(y=p.easingFunc(y));var m=a?this._additiveValue:u?M2:e[l];if((B4(i)||u)&&!m&&(m=this._additiveValue=[]),this.discrete)e[l]=y<1?c.rawValue:p.rawValue;else if(B4(i))i===G7?Jn(m,c[n],p[n],y):aT(m,c[n],p[n],y);else if(kl(i)){var _=c[n],S=p[n],b=i===L6;e[l]={type:b?"linear":"radial",x:qe(_.x,S.x,y),y:qe(_.y,S.y,y),colorStops:G(_.colorStops,function(w,T){var C=S.colorStops[T];return{offset:qe(w.offset,C.offset,y),color:z7(Jn([],w.color,C.color,y))}}),global:S.global},b?(e[l].x2=qe(_.x2,S.x2,y),e[l].y2=qe(_.y2,S.y2,y)):e[l].r=qe(_.r,S.r,y)}else if(u)Jn(m,c[n],p[n],y),a||(e[l]=z7(m));else{var x=qe(c[n],p[n],y);a?this._additiveValue=x:e[l]=x}a&&this._addToTarget(e)}}},r.prototype._addToTarget=function(e){var t=this.valType,a=this.propName,n=this._additiveValue;t===O4?e[a]=e[a]+n:t===er?(zt(e[a],M2),N4(M2,M2,n,1),e[a]=z7(M2)):t===G7?N4(e[a],e[a],n,1):t===Zd&&Rl(e[a],e[a],n,1)},r}(),co=function(){function r(e,t,a,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){no("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(e){this._target=e},r.prototype.when=function(e,t,a){return this.whenWithKeys(e,t,m0(t),a)},r.prototype.whenWithKeys=function(e,t,a,n){for(var i=this._tracks,o=0;og[1]&&(g[1]=d)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(e,t,a){for(var n=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=G(o,function(m){return m.property}),f=0;fy[1]&&(y[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(e,t){if(!(t>=0&&tS&&(S=_),S!==c&&(y.width=S,h-=S+f*S,v--)}}),c=(h-u)/(v+(v-1)*f),c=Math.max(c,0);var p=0,d;M(i,function(y,m){y.width||(y.width=c),d=y,p+=y.width*(1+f)}),d&&(p-=d.width*f);var g=-p/2;M(i,function(y,m){t[n][m]=t[n][m]||{bandWidth:o,offset:g,width:y.width},g+=y.width*(1+f)})}),t}function VI(r,e,t){if(r&&e){var a=r[ns(e)];return a!=null&&t!=null?a[as(t)]:a}}function r_(r,e){var t=Jm(r,e),a=t_(t);M(t,function(n){var i=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),l=as(n),u=a[ns(s)][l],f=u.offset,h=u.width;i.setLayout({bandWidth:u.bandWidth,offset:f,size:h})})}function a_(r){return{seriesType:r,plan:_2(),reset:function(e){if(n_(e)){var t=e.getData(),a=e.coordinateSystem,n=a.getBaseAxis(),i=a.getOtherAxis(n),o=t.getDimensionIndex(t.mapDimension(i.dim)),s=t.getDimensionIndex(t.mapDimension(n.dim)),l=e.get("showBackground",!0),u=t.mapDimension(i.dim),f=t.getCalculationInfo("stackResultDimension"),h=X9(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),v=i.isHorizontal(),c=zI(n,i),p=i_(e),d=e.get("barMinHeight")||0,g=f&&t.getDimensionIndex(f),y=t.getLayout("size"),m=t.getLayout("offset");return{progress:function(_,S){for(var b=_.count,x=p&&ke(b*3),w=p&&l&&ke(b*3),T=p&&ke(b),C=a.master.getRect(),A=v?C.width:C.height,D,L=S.getStore(),I=0;(D=_.next())!=null;){var P=L.get(h?g:o,D),R=L.get(s,D),E=c,O=void 0;h&&(O=+P-L.get(o,D));var N=void 0,V=void 0,F=void 0,W=void 0;if(v){var Z=a.dataToPoint([P,R]);if(h){var j=a.dataToPoint([O,R]);E=j[0]}N=E,V=Z[1]+m,F=Z[0]-E,W=y,Math.abs(F)e){i?t.push(o(i,l,e)):n&&t.push(o(n,l,0),o(n,l,e));break}else n&&(t.push(o(n,l,0)),n=null),t.push(l),i=l}return t}function tE(r,e,t){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&e.type==="cartesian2d"){for(var n,i,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(n=s&&s.coordDim,n==="x"||n==="y"){i=a[o];break}}if(i){var l=e.getAxis(n),u=G(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=i.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var v=JR(u,n==="x"?t.getWidth():t.getHeight()),c=v.length;if(!c&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var p=10,d=v[0].coord-p,g=v[c-1].coord+p,y=g-d;if(y<.001)return"transparent";M(v,function(_){_.offset=(_.coord-d)/y}),v.push({offset:c?v[c-1].offset:.5,color:h[1]||"transparent"}),v.unshift({offset:c?v[0].offset:.5,color:h[0]||"transparent"});var m=new s4(0,0,0,0,v,!0);return m[n]=d,m[n+"2"]=g,m}}}function eE(r,e,t){var a=r.get("showAllSymbol"),n=a==="auto";if(!(a&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&rE(i,e))){var o=e.mapDimension(i.dim),s={};return M(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function rE(r,e){var t=r.getExtent(),a=Math.abs(t[1]-t[0])/r.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),o=0;o