(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[9020],{373(dS,ap,Da){/**
 * vis-data
 * http://visjs.org/
 *
 * Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
 *
 * @version 7.1.10
 * @date    2025-07-06T08:42:20.006Z
 *
 * @copyright (c) 2011-2017 Almende B.V, http://almende.com
 * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
 *
 * @license
 * vis.js is dual licensed under both
 *
 *   1. The Apache 2.0 License
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *   and
 *
 *   2. The MIT License
 *      http://opensource.org/licenses/MIT
 *
 * vis.js may be distributed under either license.
 */(function(St,xt){xt(ap)})(this,function(St){function xt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Da.g<"u"?Da.g:typeof self<"u"?self:{};function E(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ca={exports:{}},Mr=function(t){return t&&t.Math===Math&&t},D=Mr(typeof globalThis=="object"&&globalThis)||Mr(typeof window=="object"&&window)||Mr(typeof self=="object"&&self)||Mr(typeof Jn=="object"&&Jn)||function(){return this}()||Jn||Function("return this")(),x=function(t){try{return!!t()}catch{return!0}},$e=!x(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),up=$e,La=Function.prototype,Ra=La.apply,Ma=La.call,me=typeof Reflect=="object"&&Reflect.apply||(up?Ma.bind(Ra):function(){return Ma.apply(Ra,arguments)}),Na=$e,Fa=Function.prototype,$n=Fa.call,sp=Na&&Fa.bind.bind($n,$n),P=Na?sp:function(t){return function(){return $n.apply(t,arguments)}},za=P,cp=za({}.toString),fp=za("".slice),Ct=function(t){return fp(cp(t),8,-1)},lp=Ct,hp=P,Qn=function(t){if(lp(t)==="Function")return hp(t)},Zn=typeof document=="object"&&document.all,Nr={all:Zn,IS_HTMLDDA:Zn===void 0&&Zn!==void 0},pp=Nr.all,R=Nr.IS_HTMLDDA?function(t){return typeof t=="function"||t===pp}:function(t){return typeof t=="function"},Ht={},q=!x(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),vp=$e,Fr=Function.prototype.call,Y=vp?Fr.bind(Fr):function(){return Fr.apply(Fr,arguments)},zr={},Ua={}.propertyIsEnumerable,qa=Object.getOwnPropertyDescriptor,dp=qa&&!Ua.call({1:2},1);zr.f=dp?function(t){var e=qa(this,t);return!!e&&e.enumerable}:Ua;var Lt,Ur,Kt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},yp=x,gp=Ct,ti=Object,mp=P("".split),qr=yp(function(){return!ti("z").propertyIsEnumerable(0)})?function(t){return gp(t)==="String"?mp(t,""):ti(t)}:ti,be=function(t){return t==null},bp=be,wp=TypeError,ei=function(t){if(bp(t))throw new wp("Can't call method on "+t);return t},_p=qr,Tp=ei,bt=function(t){return _p(Tp(t))},Ya=R,Ep=Nr.all,X=Nr.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:Ya(t)||t===Ep}:function(t){return typeof t=="object"?t!==null:Ya(t)},C={},ri=C,ni=D,Op=R,Wa=function(t){return Op(t)?t:void 0},K=function(t,e){return arguments.length<2?Wa(ri[t])||Wa(ni[t]):ri[t]&&ri[t][e]||ni[t]&&ni[t][e]},N=P({}.isPrototypeOf),Rt=typeof navigator<"u"&&String(navigator.userAgent)||"",Ga=D,ii=Rt,Xa=Ga.process,Va=Ga.Deno,Ba=Xa&&Xa.versions||Va&&Va.version,Ha=Ba&&Ba.v8;Ha&&(Ur=(Lt=Ha.split("."))[0]>0&&Lt[0]<4?1:+(Lt[0]+Lt[1])),!Ur&&ii&&(!(Lt=ii.match(/Edge\/(\d+)/))||Lt[1]>=74)&&(Lt=ii.match(/Chrome\/(\d+)/))&&(Ur=+Lt[1]);var Jt=Ur,Ka=Jt,Sp=x,xp=D.String,we=!!Object.getOwnPropertySymbols&&!Sp(function(){var t=Symbol("symbol detection");return!xp(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Ka&&Ka<41}),Ja=we&&!Symbol.sham&&typeof Symbol.iterator=="symbol",kp=K,jp=R,Ap=N,Pp=Object,Qe=Ja?function(t){return typeof t=="symbol"}:function(t){var e=kp("Symbol");return jp(e)&&Ap(e.prototype,Pp(t))},Ip=String,_e=function(t){try{return Ip(t)}catch{return"Object"}},Dp=R,Cp=_e,Lp=TypeError,Z=function(t){if(Dp(t))return t;throw new Lp(Cp(t)+" is not a function")},Rp=Z,Mp=be,oi=function(t,e){var r=t[e];return Mp(r)?void 0:Rp(r)},ai=Y,ui=R,si=X,Np=TypeError,$a={exports:{}},Qa=D,Fp=Object.defineProperty,zp=function(t,e){try{Fp(Qa,t,{value:e,configurable:!0,writable:!0})}catch{Qa[t]=e}return e},Za="__core-js_shared__",ci=D[Za]||zp(Za,{}),tu=ci;($a.exports=function(t,e){return tu[t]||(tu[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.33.2",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Te=$a.exports,Up=ei,qp=Object,tt=function(t){return qp(Up(t))},Yp=tt,Wp=P({}.hasOwnProperty),F=Object.hasOwn||function(t,e){return Wp(Yp(t),e)},Gp=P,Xp=0,Vp=Math.random(),Bp=Gp(1 .toString),Yr=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Bp(++Xp+Vp,36)},Hp=Te,eu=F,Kp=Yr,Jp=we,$p=Ja,Ee=D.Symbol,fi=Hp("wks"),Qp=$p?Ee.for||Ee:Ee&&Ee.withoutSetter||Kp,L=function(t){return eu(fi,t)||(fi[t]=Jp&&eu(Ee,t)?Ee[t]:Qp("Symbol."+t)),fi[t]},Zp=Y,ru=X,nu=Qe,tv=oi,ev=function(t,e){var r,n;if(e==="string"&&ui(r=t.toString)&&!si(n=ai(r,t))||ui(r=t.valueOf)&&!si(n=ai(r,t))||e!=="string"&&ui(r=t.toString)&&!si(n=ai(r,t)))return n;throw new Np("Can't convert object to primitive value")},rv=TypeError,nv=L("toPrimitive"),iv=function(t,e){if(!ru(t)||nu(t))return t;var r,n=tv(t,nv);if(n){if(e===void 0&&(e="default"),r=Zp(n,t,e),!ru(r)||nu(r))return r;throw new rv("Can't convert object to primitive value")}return e===void 0&&(e="number"),ev(t,e)},ov=Qe,Wr=function(t){var e=iv(t,"string");return ov(e)?e:e+""},iu=X,li=D.document,av=iu(li)&&iu(li.createElement),hi=function(t){return av?li.createElement(t):{}},uv=hi,ou=!q&&!x(function(){return Object.defineProperty(uv("div"),"a",{get:function(){return 7}}).a!==7}),sv=q,cv=Y,fv=zr,lv=Kt,hv=bt,pv=Wr,vv=F,dv=ou,au=Object.getOwnPropertyDescriptor;Ht.f=sv?au:function(t,e){if(t=hv(t),e=pv(e),dv)try{return au(t,e)}catch{}if(vv(t,e))return lv(!cv(fv.f,t,e),t[e])};var yv=x,gv=R,mv=/#|\.prototype\./,Ze=function(t,e){var r=wv[bv(t)];return r===Tv||r!==_v&&(gv(e)?yv(e):!!e)},bv=Ze.normalize=function(t){return String(t).replace(mv,".").toLowerCase()},wv=Ze.data={},_v=Ze.NATIVE="N",Tv=Ze.POLYFILL="P",uu=Ze,Ev=Z,Ov=$e,Sv=Qn(Qn.bind),Mt=function(t,e){return Ev(t),e===void 0?t:Ov?Sv(t,e):function(){return t.apply(e,arguments)}},et={},su=q&&x(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),xv=X,kv=String,jv=TypeError,ut=function(t){if(xv(t))return t;throw new jv(kv(t)+" is not an object")},Av=q,Pv=ou,Iv=su,Gr=ut,cu=Wr,Dv=TypeError,pi=Object.defineProperty,Cv=Object.getOwnPropertyDescriptor,vi="enumerable",di="configurable",yi="writable";et.f=Av?Iv?function(t,e,r){if(Gr(t),e=cu(e),Gr(r),typeof t=="function"&&e==="prototype"&&"value"in r&&yi in r&&!r[yi]){var n=Cv(t,e);n&&n[yi]&&(t[e]=r.value,r={configurable:di in r?r[di]:n[di],enumerable:vi in r?r[vi]:n[vi],writable:!1})}return pi(t,e,r)}:pi:function(t,e,r){if(Gr(t),e=cu(e),Gr(r),Pv)try{return pi(t,e,r)}catch{}if("get"in r||"set"in r)throw new Dv("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Lv=et,Rv=Kt,kt=q?function(t,e,r){return Lv.f(t,e,Rv(1,r))}:function(t,e,r){return t[e]=r,t},Xr=D,Mv=me,Nv=Qn,Fv=R,zv=Ht.f,Uv=uu,Oe=C,qv=Mt,Se=kt,fu=F,Yv=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return Mv(t,this,arguments)};return e.prototype=t.prototype,e},T=function(t,e){var r,n,i,o,a,u,s,c,f,l=t.target,h=t.global,p=t.stat,g=t.proto,m=h?Xr:p?Xr[l]:(Xr[l]||{}).prototype,b=h?Oe:Oe[l]||Se(Oe,l,{})[l],O=b.prototype;for(o in e)n=!(r=Uv(h?o:l+(p?".":"#")+o,t.forced))&&m&&fu(m,o),u=b[o],n&&(s=t.dontCallGetSet?(f=zv(m,o))&&f.value:m[o]),a=n&&s?s:e[o],n&&typeof u==typeof a||(c=t.bind&&n?qv(a,Xr):t.wrap&&n?Yv(a):g&&Fv(a)?Nv(a):a,(t.sham||a&&a.sham||u&&u.sham)&&Se(c,"sham",!0),Se(b,o,c),g&&(fu(Oe,i=l+"Prototype")||Se(Oe,i,{}),Se(Oe[i],o,a),t.real&&O&&(r||!O[o])&&Se(O,o,a)))},Wv=T,Gv=q,lu=et.f;Wv({target:"Object",stat:!0,forced:Object.defineProperty!==lu,sham:!Gv},{defineProperty:lu});var hu=C.Object,Xv=Ca.exports=function(t,e,r){return hu.defineProperty(t,e,r)};hu.defineProperty.sham&&(Xv.sham=!0);var pu=Ca.exports,vu=pu,Vr=E(vu),Vv=Ct,Nt=Array.isArray||function(t){return Vv(t)==="Array"},Bv=Math.ceil,Hv=Math.floor,Kv=Math.trunc||function(t){var e=+t;return(e>0?Hv:Bv)(e)},Br=function(t){var e=+t;return e!=e||e===0?0:Kv(e)},Jv=Br,$v=Math.min,Qv=function(t){return t>0?$v(Jv(t),9007199254740991):0},st=function(t){return Qv(t.length)},Zv=TypeError,Hr=function(t){if(t>9007199254740991)throw Zv("Maximum allowed index exceeded");return t},td=Wr,ed=et,rd=Kt,xe=function(t,e,r){var n=td(e);n in t?ed.f(t,n,rd(0,r)):t[n]=r},du={};du[L("toStringTag")]="z";var gi=String(du)==="[object z]",nd=gi,id=R,Kr=Ct,od=L("toStringTag"),ad=Object,ud=Kr(function(){return arguments}())==="Arguments",jt=nd?Kr:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(i,o){try{return i[o]}catch{}}(e=ad(t),od))=="string"?r:ud?Kr(e):(n=Kr(e))==="Object"&&id(e.callee)?"Arguments":n},sd=R,mi=ci,cd=P(Function.toString);sd(mi.inspectSource)||(mi.inspectSource=function(t){return cd(t)});var yu=mi.inspectSource,fd=P,ld=x,gu=R,hd=jt,pd=yu,mu=function(){},vd=[],bu=K("Reflect","construct"),bi=/^\s*(?:class|function)\b/,dd=fd(bi.exec),yd=!bi.test(mu),tr=function(t){if(!gu(t))return!1;try{return bu(mu,vd,t),!0}catch{return!1}},wu=function(t){if(!gu(t))return!1;switch(hd(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yd||!!dd(bi,pd(t))}catch{return!0}};wu.sham=!0;var Jr=!bu||ld(function(){var t;return tr(tr.call)||!tr(Object)||!tr(function(){t=!0})||t})?wu:tr,_u=Nt,gd=Jr,md=X,bd=L("species"),Tu=Array,wd=function(t){var e;return _u(t)&&(e=t.constructor,(gd(e)&&(e===Tu||_u(e.prototype))||md(e)&&(e=e[bd])===null)&&(e=void 0)),e===void 0?Tu:e},$r=function(t,e){return new(wd(t))(e===0?0:e)},_d=x,Td=Jt,Ed=L("species"),er=function(t){return Td>=51||!_d(function(){var e=[];return(e.constructor={})[Ed]=function(){return{foo:1}},e[t](Boolean).foo!==1})},Od=T,Sd=x,xd=Nt,kd=X,jd=tt,Ad=st,Eu=Hr,Ou=xe,Pd=$r,Id=er,Dd=Jt,Su=L("isConcatSpreadable"),Cd=Dd>=51||!Sd(function(){var t=[];return t[Su]=!1,t.concat()[0]!==t}),Ld=function(t){if(!kd(t))return!1;var e=t[Su];return e!==void 0?!!e:xd(t)};Od({target:"Array",proto:!0,arity:1,forced:!Cd||!Id("concat")},{concat:function(t){var e,r,n,i,o,a=jd(this),u=Pd(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(Ld(o=e===-1?a:arguments[e]))for(i=Ad(o),Eu(s+i),r=0;r<i;r++,s++)r in o&&Ou(u,s,o[r]);else Eu(s+1),Ou(u,s++,o);return u.length=s,u}});var Rd=jt,Md=String,$t=function(t){if(Rd(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Md(t)},Qr={},Nd=Br,Fd=Math.max,zd=Math.min,Zr=function(t,e){var r=Nd(t);return r<0?Fd(r+e,0):zd(r,e)},Ud=bt,qd=Zr,Yd=st,xu=function(t){return function(e,r,n){var i,o=Ud(e),a=Yd(o),u=qd(n,a);if(t&&r!=r){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},Wd={includes:xu(!0),indexOf:xu(!1)},rr={},wi=F,Gd=bt,Xd=Wd.indexOf,Vd=rr,ku=P([].push),ju=function(t,e){var r,n=Gd(t),i=0,o=[];for(r in n)!wi(Vd,r)&&wi(n,r)&&ku(o,r);for(;e.length>i;)wi(n,r=e[i++])&&(~Xd(o,r)||ku(o,r));return o},_i=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Bd=ju,Hd=_i,tn=Object.keys||function(t){return Bd(t,Hd)},Kd=q,Jd=su,$d=et,Qd=ut,Zd=bt,ty=tn;Qr.f=Kd&&!Jd?Object.defineProperties:function(t,e){Qd(t);for(var r,n=Zd(e),i=ty(e),o=i.length,a=0;o>a;)$d.f(t,r=i[a++],n[r]);return t};var en,Au=K("document","documentElement"),ey=Yr,Pu=Te("keys"),rn=function(t){return Pu[t]||(Pu[t]=ey(t))},ry=ut,ny=Qr,Iu=_i,iy=rr,oy=Au,ay=hi,Ti="prototype",Ei="script",Du=rn("IE_PROTO"),Oi=function(){},Cu=function(t){return"<"+Ei+">"+t+"</"+Ei+">"},Lu=function(t){t.write(Cu("")),t.close();var e=t.parentWindow.Object;return t=null,e},nn=function(){try{en=new ActiveXObject("htmlfile")}catch{}var t,e,r;nn=typeof document<"u"?document.domain&&en?Lu(en):(e=ay("iframe"),r="java"+Ei+":",e.style.display="none",oy.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Cu("document.F=Object")),t.close(),t.F):Lu(en);for(var n=Iu.length;n--;)delete nn[Ti][Iu[n]];return nn()};iy[Du]=!0;var Qt=Object.create||function(t,e){var r;return t!==null?(Oi[Ti]=ry(t),r=new Oi,Oi[Ti]=null,r[Du]=t):r=nn(),e===void 0?r:ny.f(r,e)},nr={},uy=ju,sy=_i.concat("length","prototype");nr.f=Object.getOwnPropertyNames||function(t){return uy(t,sy)};var Si={},Ru=Zr,cy=st,fy=xe,ly=Array,hy=Math.max,Mu=function(t,e,r){for(var n=cy(t),i=Ru(e,n),o=Ru(r===void 0?n:r,n),a=ly(hy(o-i,0)),u=0;i<o;i++,u++)fy(a,u,t[i]);return a.length=u,a},py=Ct,vy=bt,Nu=nr.f,dy=Mu,Fu=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Si.f=function(t){return Fu&&py(t)==="Window"?function(e){try{return Nu(e)}catch{return dy(Fu)}}(t):Nu(vy(t))};var ir={};ir.f=Object.getOwnPropertySymbols;var yy=kt,ke=function(t,e,r,n){return n&&n.enumerable?t[e]=r:yy(t,e,r),t},gy=et,xi=function(t,e,r){return gy.f(t,e,r)},or={},my=L;or.f=my;var on,ar,an,zu=C,by=F,wy=or,_y=et.f,M=function(t){var e=zu.Symbol||(zu.Symbol={});by(e,t)||_y(e,t,{value:wy.f(t)})},Ty=Y,Ey=K,Oy=L,Sy=ke,Uu=function(){var t=Ey("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=Oy("toPrimitive");e&&!e[n]&&Sy(e,n,function(i){return Ty(r,this)},{arity:1})},xy=jt,ky=gi?{}.toString:function(){return"[object "+xy(this)+"]"},jy=gi,Ay=et.f,Py=kt,Iy=F,Dy=ky,qu=L("toStringTag"),Zt=function(t,e,r,n){if(t){var i=r?t:t.prototype;Iy(i,qu)||Ay(i,qu,{configurable:!0,value:e}),n&&!jy&&Py(i,"toString",Dy)}},Cy=R,Yu=D.WeakMap,Ly=Cy(Yu)&&/native code/.test(String(Yu)),Wu=D,Ry=X,My=kt,ki=F,ji=ci,Ny=rn,Fy=rr,Gu="Object already initialized",Ai=Wu.TypeError,zy=Wu.WeakMap;if(Ly||ji.state){var wt=ji.state||(ji.state=new zy);wt.get=wt.get,wt.has=wt.has,wt.set=wt.set,on=function(t,e){if(wt.has(t))throw new Ai(Gu);return e.facade=t,wt.set(t,e),e},ar=function(t){return wt.get(t)||{}},an=function(t){return wt.has(t)}}else{var je=Ny("state");Fy[je]=!0,on=function(t,e){if(ki(t,je))throw new Ai(Gu);return e.facade=t,My(t,je,e),e},ar=function(t){return ki(t,je)?t[je]:{}},an=function(t){return ki(t,je)}}var Ft={set:on,get:ar,has:an,enforce:function(t){return an(t)?ar(t):on(t,{})},getterFor:function(t){return function(e){var r;if(!Ry(e)||(r=ar(e)).type!==t)throw new Ai("Incompatible receiver, "+t+" required");return r}}},Uy=Mt,qy=qr,Yy=tt,Wy=st,Gy=$r,Xu=P([].push),zt=function(t){var e=t===1,r=t===2,n=t===3,i=t===4,o=t===6,a=t===7,u=t===5||o;return function(s,c,f,l){for(var h,p,g=Yy(s),m=qy(g),b=Uy(c,f),O=Wy(m),w=0,k=l||Gy,A=e?k(s,O):r||a?k(s,0):void 0;O>w;w++)if((u||w in m)&&(p=b(h=m[w],w,g),t))if(e)A[w]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:Xu(A,h)}else switch(t){case 4:return!1;case 7:Xu(A,h)}return o?-1:n||i?i:A}},Ae={forEach:zt(0),map:zt(1),filter:zt(2),some:zt(3),every:zt(4),find:zt(5),findIndex:zt(6),filterReject:zt(7)},un=T,ur=D,Pi=Y,Xy=P,Pe=q,Ie=we,Vy=x,W=F,By=N,Ii=ut,sn=bt,Di=Wr,Hy=$t,Ci=Kt,sr=Qt,Vu=tn,Ky=nr,Bu=Si,Jy=ir,Hu=Ht,Ku=et,$y=Qr,Ju=zr,$u=ke,Qy=xi,Li=Te,Qu=rr,Zu=Yr,Zy=L,tg=or,eg=M,rg=Uu,ng=Zt,ts=Ft,cn=Ae.forEach,rt=rn("hidden"),fn="Symbol",cr="prototype",ig=ts.set,es=ts.getterFor(fn),gt=Object[cr],te=ur.Symbol,ln=te&&te[cr],og=ur.RangeError,ag=ur.TypeError,Ri=ur.QObject,rs=Hu.f,ee=Ku.f,ns=Bu.f,ug=Ju.f,is=Xy([].push),At=Li("symbols"),fr=Li("op-symbols"),sg=Li("wks"),Mi=!Ri||!Ri[cr]||!Ri[cr].findChild,os=function(t,e,r){var n=rs(gt,e);n&&delete gt[e],ee(t,e,r),n&&t!==gt&&ee(gt,e,n)},Ni=Pe&&Vy(function(){return sr(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a!==7})?os:ee,Fi=function(t,e){var r=At[t]=sr(ln);return ig(r,{type:fn,tag:t,description:e}),Pe||(r.description=e),r},hn=function(t,e,r){t===gt&&hn(fr,e,r),Ii(t);var n=Di(e);return Ii(r),W(At,n)?(r.enumerable?(W(t,rt)&&t[rt][n]&&(t[rt][n]=!1),r=sr(r,{enumerable:Ci(0,!1)})):(W(t,rt)||ee(t,rt,Ci(1,{})),t[rt][n]=!0),Ni(t,n,r)):ee(t,n,r)},zi=function(t,e){Ii(t);var r=sn(e),n=Vu(r).concat(cs(r));return cn(n,function(i){Pe&&!Pi(as,r,i)||hn(t,i,r[i])}),t},as=function(t){var e=Di(t),r=Pi(ug,this,e);return!(this===gt&&W(At,e)&&!W(fr,e))&&(!(r||!W(this,e)||!W(At,e)||W(this,rt)&&this[rt][e])||r)},us=function(t,e){var r=sn(t),n=Di(e);if(r!==gt||!W(At,n)||W(fr,n)){var i=rs(r,n);return!i||!W(At,n)||W(r,rt)&&r[rt][n]||(i.enumerable=!0),i}},ss=function(t){var e=ns(sn(t)),r=[];return cn(e,function(n){W(At,n)||W(Qu,n)||is(r,n)}),r},cs=function(t){var e=t===gt,r=ns(e?fr:sn(t)),n=[];return cn(r,function(i){!W(At,i)||e&&!W(gt,i)||is(n,At[i])}),n};Ie||(te=function(){if(By(ln,this))throw new ag("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?Hy(arguments[0]):void 0,e=Zu(t),r=function(n){var i=this===void 0?ur:this;i===gt&&Pi(r,fr,n),W(i,rt)&&W(i[rt],e)&&(i[rt][e]=!1);var o=Ci(1,n);try{Ni(i,e,o)}catch(a){if(!(a instanceof og))throw a;os(i,e,o)}};return Pe&&Mi&&Ni(gt,e,{configurable:!0,set:r}),Fi(e,t)},$u(ln=te[cr],"toString",function(){return es(this).tag}),$u(te,"withoutSetter",function(t){return Fi(Zu(t),t)}),Ju.f=as,Ku.f=hn,$y.f=zi,Hu.f=us,Ky.f=Bu.f=ss,Jy.f=cs,tg.f=function(t){return Fi(Zy(t),t)},Pe&&Qy(ln,"description",{configurable:!0,get:function(){return es(this).description}})),un({global:!0,constructor:!0,wrap:!0,forced:!Ie,sham:!Ie},{Symbol:te}),cn(Vu(sg),function(t){eg(t)}),un({target:fn,stat:!0,forced:!Ie},{useSetter:function(){Mi=!0},useSimple:function(){Mi=!1}}),un({target:"Object",stat:!0,forced:!Ie,sham:!Pe},{create:function(t,e){return e===void 0?sr(t):zi(sr(t),e)},defineProperty:hn,defineProperties:zi,getOwnPropertyDescriptor:us}),un({target:"Object",stat:!0,forced:!Ie},{getOwnPropertyNames:ss}),rg(),ng(te,fn),Qu[rt]=!0;var fs=we&&!!Symbol.for&&!!Symbol.keyFor,cg=T,fg=K,lg=F,hg=$t,ls=Te,pg=fs,Ui=ls("string-to-symbol-registry"),vg=ls("symbol-to-string-registry");cg({target:"Symbol",stat:!0,forced:!pg},{for:function(t){var e=hg(t);if(lg(Ui,e))return Ui[e];var r=fg("Symbol")(e);return Ui[e]=r,vg[r]=e,r}});var dg=T,yg=F,gg=Qe,mg=_e,bg=fs,hs=Te("symbol-to-string-registry");dg({target:"Symbol",stat:!0,forced:!bg},{keyFor:function(t){if(!gg(t))throw new TypeError(mg(t)+" is not a symbol");if(yg(hs,t))return hs[t]}});var lr=P([].slice),ps=Nt,wg=R,vs=Ct,_g=$t,ds=P([].push),Tg=T,ys=K,gs=me,Eg=Y,hr=P,ms=x,bs=R,ws=Qe,_s=lr,Og=function(t){if(wg(t))return t;if(ps(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];typeof i=="string"?ds(r,i):typeof i!="number"&&vs(i)!=="Number"&&vs(i)!=="String"||ds(r,_g(i))}var o=r.length,a=!0;return function(u,s){if(a)return a=!1,s;if(ps(this))return s;for(var c=0;c<o;c++)if(r[c]===u)return s}}},Sg=we,xg=String,Ut=ys("JSON","stringify"),pn=hr(/./.exec),Ts=hr("".charAt),kg=hr("".charCodeAt),jg=hr("".replace),Ag=hr(1 .toString),Pg=/[\uD800-\uDFFF]/g,Es=/^[\uD800-\uDBFF]$/,Os=/^[\uDC00-\uDFFF]$/,Ss=!Sg||ms(function(){var t=ys("Symbol")("stringify detection");return Ut([t])!=="[null]"||Ut({a:t})!=="{}"||Ut(Object(t))!=="{}"}),xs=ms(function(){return Ut("\uDF06\uD834")!=='"\\udf06\\ud834"'||Ut("\uDEAD")!=='"\\udead"'}),Ig=function(t,e){var r=_s(arguments),n=Og(e);if(bs(n)||t!==void 0&&!ws(t))return r[1]=function(i,o){if(bs(n)&&(o=Eg(n,this,xg(i),o)),!ws(o))return o},gs(Ut,null,r)},Dg=function(t,e,r){var n=Ts(r,e-1),i=Ts(r,e+1);return pn(Es,t)&&!pn(Os,i)||pn(Os,t)&&!pn(Es,n)?"\\u"+Ag(kg(t,0),16):t};Ut&&Tg({target:"JSON",stat:!0,arity:3,forced:Ss||xs},{stringify:function(t,e,r){var n=_s(arguments),i=gs(Ss?Ig:Ut,null,n);return xs&&typeof i=="string"?jg(i,Pg,Dg):i}});var ks=ir,Cg=tt;T({target:"Object",stat:!0,forced:!we||x(function(){ks.f(1)})},{getOwnPropertySymbols:function(t){var e=ks.f;return e?e(Cg(t)):[]}}),M("asyncIterator"),M("hasInstance"),M("isConcatSpreadable"),M("iterator"),M("match"),M("matchAll"),M("replace"),M("search"),M("species"),M("split");var Lg=Uu;M("toPrimitive"),Lg();var Rg=K,Mg=Zt;M("toStringTag"),Mg(Rg("Symbol"),"Symbol"),M("unscopables"),Zt(D.JSON,"JSON",!0);var re,js,As,Ng=C.Symbol,De={},qi=q,Fg=F,Ps=Function.prototype,zg=qi&&Object.getOwnPropertyDescriptor,Yi=Fg(Ps,"name"),Ug={EXISTS:Yi,PROPER:Yi&&function(){}.name==="something",CONFIGURABLE:Yi&&(!qi||qi&&zg(Ps,"name").configurable)},Is=!x(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),qg=F,Yg=R,Wg=tt,Gg=Is,Ds=rn("IE_PROTO"),Wi=Object,Xg=Wi.prototype,vn=Gg?Wi.getPrototypeOf:function(t){var e=Wg(t);if(qg(e,Ds))return e[Ds];var r=e.constructor;return Yg(r)&&e instanceof r?r.prototype:e instanceof Wi?Xg:null},Vg=x,Bg=R,Hg=X,Kg=Qt,Cs=vn,Jg=ke,Gi=L("iterator"),Ls=!1;[].keys&&("next"in(As=[].keys())?(js=Cs(Cs(As)))!==Object.prototype&&(re=js):Ls=!0);var $g=!Hg(re)||Vg(function(){var t={};return re[Gi].call(t)!==t});Bg((re=$g?{}:Kg(re))[Gi])||Jg(re,Gi,function(){return this});var Rs={IteratorPrototype:re,BUGGY_SAFARI_ITERATORS:Ls},Qg=Rs.IteratorPrototype,Zg=Qt,tm=Kt,em=Zt,rm=De,nm=function(){return this},im=P,om=Z,am=R,um=String,sm=TypeError,cm=function(t,e,r){try{return im(om(Object.getOwnPropertyDescriptor(t,e)[r]))}catch{}},fm=ut,lm=function(t){if(typeof t=="object"||am(t))return t;throw new sm("Can't set "+um(t)+" as a prototype")},Ms=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=cm(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch{}return function(n,i){return fm(n),lm(i),e?t(n,i):n.__proto__=i,n}}():void 0),hm=T,pm=Y,vm=Ug,dm=function(t,e,r,n){var i=e+" Iterator";return t.prototype=Zg(Qg,{next:tm(+!n,r)}),em(t,i,!1,!0),rm[i]=nm,t},ym=vn,gm=Zt,Ns=ke,Fs=De,mm=Rs,bm=vm.PROPER,dn=mm.BUGGY_SAFARI_ITERATORS,Xi=L("iterator"),zs="keys",yn="values",Us="entries",wm=function(){return this},Vi=function(t,e,r,n,i,o,a){dm(r,e,n);var u,s,c,f=function(O){if(O===i&&m)return m;if(!dn&&O&&O in p)return p[O];switch(O){case zs:case yn:case Us:return function(){return new r(this,O)}}return function(){return new r(this)}},l=e+" Iterator",h=!1,p=t.prototype,g=p[Xi]||p["@@iterator"]||i&&p[i],m=!dn&&g||f(i),b=e==="Array"&&p.entries||g;if(b&&(u=ym(b.call(new t)))!==Object.prototype&&u.next&&(gm(u,l,!0,!0),Fs[l]=wm),bm&&i===yn&&g&&g.name!==yn&&(h=!0,m=function(){return pm(g,this)}),i)if(s={values:f(yn),keys:o?m:f(zs),entries:f(Us)},a)for(c in s)(dn||h||!(c in p))&&Ns(p,c,s[c]);else hm({target:e,proto:!0,forced:dn||h},s);return a&&p[Xi]!==m&&Ns(p,Xi,m,{name:i}),Fs[e]=m,s},Bi=function(t,e){return{value:t,done:e}},_m=bt,qs=De,Ys=Ft;et.f;var Tm=Vi,gn=Bi,Ws="Array Iterator",Em=Ys.set,Om=Ys.getterFor(Ws);Tm(Array,"Array",function(t,e){Em(this,{type:Ws,target:_m(t),index:0,kind:e})},function(){var t=Om(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,gn(void 0,!0);switch(t.kind){case"keys":return gn(r,!1);case"values":return gn(e[r],!1)}return gn([r,e[r]],!1)},"values"),qs.Arguments=qs.Array;var Sm={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},xm=D,km=jt,jm=kt,Gs=De,Xs=L("toStringTag");for(var Hi in Sm){var Vs=xm[Hi],Ki=Vs&&Vs.prototype;Ki&&km(Ki)!==Xs&&jm(Ki,Xs,Hi),Gs[Hi]=Gs.Array}var Bs=Ng,Am=L,Pm=et.f,Hs=Am("metadata"),Ks=Function.prototype;Ks[Hs]===void 0&&Pm(Ks,Hs,{value:null}),M("asyncDispose"),M("dispose"),M("metadata");var Im=Bs,Dm=P,Ji=K("Symbol"),Cm=Ji.keyFor,Lm=Dm(Ji.prototype.valueOf),Js=Ji.isRegisteredSymbol||function(t){try{return Cm(Lm(t))!==void 0}catch{return!1}};T({target:"Symbol",stat:!0},{isRegisteredSymbol:Js});for(var Rm=Te,$s=K,Mm=P,Nm=Qe,Fm=L,mn=$s("Symbol"),Qs=mn.isWellKnownSymbol,Zs=$s("Object","getOwnPropertyNames"),zm=Mm(mn.prototype.valueOf),tc=Rm("wks"),$i=0,ec=Zs(mn),Um=ec.length;$i<Um;$i++)try{var rc=ec[$i];Nm(mn[rc])&&Fm(rc)}catch{}var nc=function(t){if(Qs&&Qs(t))return!0;try{for(var e=zm(t),r=0,n=Zs(tc),i=n.length;r<i;r++)if(tc[n[r]]==e)return!0}catch{}return!1};T({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:nc}),M("matcher"),M("observable"),T({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Js}),T({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:nc}),M("metadataKey"),M("patternMatch"),M("replaceAll");var Qi=Im,Ce=E(Qi),Zi=P,qm=Br,Ym=$t,Wm=ei,Gm=Zi("".charAt),ic=Zi("".charCodeAt),Xm=Zi("".slice),oc=function(t){return function(e,r){var n,i,o=Ym(Wm(e)),a=qm(r),u=o.length;return a<0||a>=u?t?"":void 0:(n=ic(o,a))<55296||n>56319||a+1===u||(i=ic(o,a+1))<56320||i>57343?t?Gm(o,a):n:t?Xm(o,a,a+2):i-56320+(n-55296<<10)+65536}},Vm={codeAt:oc(!1),charAt:oc(!0)}.charAt,Bm=$t,ac=Ft,Hm=Vi,uc=Bi,sc="String Iterator",Km=ac.set,Jm=ac.getterFor(sc);Hm(String,"String",function(t){Km(this,{type:sc,string:Bm(t),index:0})},function(){var t,e=Jm(this),r=e.string,n=e.index;return n>=r.length?uc(void 0,!0):(t=Vm(r,n),e.index+=t.length,uc(t,!1))});var cc=or.f("iterator"),fc=cc,$m=E(fc);function Le(t){return Le=typeof Ce=="function"&&typeof $m=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Ce=="function"&&e.constructor===Ce&&e!==Ce.prototype?"symbol":typeof e},Le(t)}var Qm=E(or.f("toPrimitive"));function lc(t){var e=function(r,n){if(Le(r)!=="object"||r===null)return r;var i=r[Qm];if(i!==void 0){var o=i.call(r,n||"default");if(Le(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}(t,"string");return Le(e)==="symbol"?e:String(e)}function hc(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Vr(t,lc(n.key),n)}}function ne(t,e,r){return e&&hc(t.prototype,e),r&&hc(t,r),Vr(t,"prototype",{writable:!1}),t}function dt(t,e,r){return(e=lc(e))in t?Vr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pc=P,Zm=Z,t0=X,e0=F,vc=lr,r0=$e,dc=Function,n0=pc([].concat),i0=pc([].join),to={},yc=r0?dc.bind:function(t){var e=Zm(this),r=e.prototype,n=vc(arguments,1),i=function(){var o=n0(n,vc(arguments));return this instanceof i?function(a,u,s){if(!e0(to,u)){for(var c=[],f=0;f<u;f++)c[f]="a["+f+"]";to[u]=dc("C,a","return new C("+i0(c,",")+")")}return to[u](a,s)}(e,o.length,o):e.apply(t,o)};return t0(r)&&(i.prototype=r),i},gc=yc;T({target:"Function",proto:!0,forced:Function.bind!==gc},{bind:gc});var o0=D,a0=C,H=function(t,e){var r=a0[t+"Prototype"],n=r&&r[e];if(n)return n;var i=o0[t],o=i&&i.prototype;return o&&o[e]},u0=H("Function","bind"),s0=N,c0=u0,eo=Function.prototype,mc=function(t){var e=t.bind;return t===eo||s0(eo,t)&&e===eo.bind?c0:e},ie=E(mc),f0=Z,l0=tt,h0=qr,p0=st,v0=TypeError,bc=function(t){return function(e,r,n,i){f0(r);var o=l0(e),a=h0(o),u=p0(o),s=t?u-1:0,c=t?-1:1;if(n<2)for(;;){if(s in a){i=a[s],s+=c;break}if(s+=c,t?s<0:u<=s)throw new v0("Reduce of empty array with no initial value")}for(;t?s>=0:u>s;s+=c)s in a&&(i=r(i,a[s],s,o));return i}},d0={left:bc(!1),right:bc(!0)},y0=x,bn=function(t,e){var r=[][t];return!!r&&y0(function(){r.call(null,e||function(){return 1},1)})},pr=Ct(D.process)==="process",g0=d0.left;T({target:"Array",proto:!0,forced:!pr&&Jt>79&&Jt<83||!bn("reduce")},{reduce:function(t){var e=arguments.length;return g0(this,t,e,e>1?arguments[1]:void 0)}});var m0=H("Array","reduce"),b0=N,w0=m0,ro=Array.prototype,wc=E(function(t){var e=t.reduce;return t===ro||b0(ro,t)&&e===ro.reduce?w0:e}),_0=Ae.filter;T({target:"Array",proto:!0,forced:!er("filter")},{filter:function(t){return _0(this,t,arguments.length>1?arguments[1]:void 0)}});var T0=H("Array","filter"),E0=N,O0=T0,no=Array.prototype,G=E(function(t){var e=t.filter;return t===no||E0(no,t)&&e===no.filter?O0:e}),S0=Ae.map;T({target:"Array",proto:!0,forced:!er("map")},{map:function(t){return S0(this,t,arguments.length>1?arguments[1]:void 0)}});var x0=H("Array","map"),k0=N,j0=x0,io=Array.prototype,ct=E(function(t){var e=t.map;return t===io||k0(io,t)&&e===io.map?j0:e}),A0=Nt,P0=st,I0=Hr,D0=Mt,_c=function(t,e,r,n,i,o,a,u){for(var s,c,f=i,l=0,h=!!a&&D0(a,u);l<n;)l in r&&(s=h?h(r[l],l,e):r[l],o>0&&A0(s)?(c=P0(s),f=_c(t,e,s,c,f,o-1)-1):(I0(f+1),t[f]=s),f++),l++;return f},C0=_c,L0=Z,R0=tt,M0=st,N0=$r;T({target:"Array",proto:!0},{flatMap:function(t){var e,r=R0(this),n=M0(r);return L0(t),(e=N0(r,0)).length=C0(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var F0=H("Array","flatMap"),z0=N,U0=F0,oo=Array.prototype,q0=E(function(t){var e=t.flatMap;return t===oo||z0(oo,t)&&e===oo.flatMap?U0:e}),Y0=function(){function t(e,r,n){var i,o,a;xt(this,t),dt(this,"_listeners",{add:ie(i=this._add).call(i,this),remove:ie(o=this._remove).call(o,this),update:ie(a=this._update).call(a,this)}),this._source=e,this._transformers=r,this._target=n}return ne(t,[{key:"all",value:function(){return this._target.update(this._transformItems(this._source.get())),this}},{key:"start",value:function(){return this._source.on("add",this._listeners.add),this._source.on("remove",this._listeners.remove),this._source.on("update",this._listeners.update),this}},{key:"stop",value:function(){return this._source.off("add",this._listeners.add),this._source.off("remove",this._listeners.remove),this._source.off("update",this._listeners.update),this}},{key:"_transformItems",value:function(e){var r;return wc(r=this._transformers).call(r,function(n,i){return i(n)},e)}},{key:"_add",value:function(e,r){r!=null&&this._target.add(this._transformItems(this._source.get(r.items)))}},{key:"_update",value:function(e,r){r!=null&&this._target.update(this._transformItems(this._source.get(r.items)))}},{key:"_remove",value:function(e,r){r!=null&&this._target.remove(this._transformItems(r.oldData))}}]),t}(),W0=function(){function t(e){xt(this,t),dt(this,"_transformers",[]),this._source=e}return ne(t,[{key:"filter",value:function(e){return this._transformers.push(function(r){return G(r).call(r,e)}),this}},{key:"map",value:function(e){return this._transformers.push(function(r){return ct(r).call(r,e)}),this}},{key:"flatMap",value:function(e){return this._transformers.push(function(r){return q0(r).call(r,e)}),this}},{key:"to",value:function(e){return new Y0(this._source,this._transformers,e)}}]),t}(),G0=Y,Tc=ut,X0=oi,Ec=function(t,e,r){var n,i;Tc(t);try{if(!(n=X0(t,"return"))){if(e==="throw")throw r;return r}n=G0(n,t)}catch(o){i=!0,n=o}if(e==="throw")throw r;if(i)throw n;return Tc(n),r},V0=ut,B0=Ec,H0=De,K0=L("iterator"),J0=Array.prototype,Oc=function(t){return t!==void 0&&(H0.Array===t||J0[K0]===t)},$0=jt,Sc=oi,Q0=be,Z0=De,tb=L("iterator"),wn=function(t){if(!Q0(t))return Sc(t,tb)||Sc(t,"@@iterator")||Z0[$0(t)]},eb=Y,rb=Z,nb=ut,ib=_e,ob=wn,ab=TypeError,ao=function(t,e){var r=arguments.length<2?ob(t):e;if(rb(r))return nb(eb(r,t));throw new ab(ib(t)+" is not iterable")},ub=Mt,sb=Y,cb=tt,fb=function(t,e,r,n){try{return n?e(V0(r)[0],r[1]):e(r)}catch(i){B0(t,"throw",i)}},lb=Oc,hb=Jr,pb=st,xc=xe,vb=ao,db=wn,kc=Array,jc=L("iterator"),Ac=!1;try{var yb=0,Pc={next:function(){return{done:!!yb++}},return:function(){Ac=!0}};Pc[jc]=function(){return this},Array.from(Pc,function(){throw 2})}catch{}var Ic=function(t,e){try{if(!e&&!Ac)return!1}catch{return!1}var r=!1;try{var n={};n[jc]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch{}return r},gb=function(t){var e=cb(t),r=hb(this),n=arguments.length,i=n>1?arguments[1]:void 0,o=i!==void 0;o&&(i=ub(i,n>2?arguments[2]:void 0));var a,u,s,c,f,l,h=db(e),p=0;if(!h||this===kc&&lb(h))for(a=pb(e),u=r?new this(a):kc(a);a>p;p++)l=o?i(e[p],p):e[p],xc(u,p,l);else for(f=(c=vb(e,h)).next,u=r?new this:[];!(s=sb(f,c)).done;p++)l=o?fb(c,i,[s.value,p],!0):s.value,xc(u,p,l);return u.length=p,u};T({target:"Array",stat:!0,forced:!Ic(function(t){Array.from(t)})},{from:gb});var Dc=C.Array.from,_n=E(Dc),Cc=wn,Lc=E(Cc),Tn=E(Cc);T({target:"Array",stat:!0},{isArray:Nt});var Rc=C.Array.isArray,Mc=E(Rc),mb=q,bb=Nt,wb=TypeError,_b=Object.getOwnPropertyDescriptor,Nc=mb&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(bb(t)&&!_b(t,"length").writable)throw new wb("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Tb=tt,Eb=st,Ob=Nc,Sb=Hr;T({target:"Array",proto:!0,arity:1,forced:x(function(){return[].push.call({length:4294967296},1)!==4294967297})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=Tb(this),r=Eb(e),n=arguments.length;Sb(r+n);for(var i=0;i<n;i++)e[r]=arguments[i],r++;return Ob(e,r),r}});var xb=H("Array","push"),kb=N,jb=xb,uo=Array.prototype,Fc=function(t){var e=t.push;return t===uo||kb(uo,t)&&e===uo.push?jb:e},Ab=E(Fc),Pb=T,zc=Nt,Ib=Jr,Db=X,Uc=Zr,Cb=st,Lb=bt,Rb=xe,Mb=L,Nb=lr,Fb=er("slice"),zb=Mb("species"),so=Array,Ub=Math.max;Pb({target:"Array",proto:!0,forced:!Fb},{slice:function(t,e){var r,n,i,o=Lb(this),a=Cb(o),u=Uc(t,a),s=Uc(e===void 0?a:e,a);if(zc(o)&&(r=o.constructor,(Ib(r)&&(r===so||zc(r.prototype))||Db(r)&&(r=r[zb])===null)&&(r=void 0),r===so||r===void 0))return Nb(o,u,s);for(n=new(r===void 0?so:r)(Ub(s-u,0)),i=0;u<s;u++,i++)u in o&&Rb(n,i,o[u]);return n.length=i,n}});var qb=H("Array","slice"),Yb=N,Wb=qb,co=Array.prototype,qc=function(t){var e=t.slice;return t===co||Yb(co,t)&&e===co.slice?Wb:e},Yc=qc,Gb=E(Yc),Wc=E(Dc);function fo(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Gc(t,e){var r;if(t){if(typeof t=="string")return fo(t,e);var n=Gb(r=Object.prototype.toString.call(t)).call(r,8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Wc(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fo(t,e):void 0}}function nt(t,e){return function(r){if(Mc(r))return r}(t)||function(r,n){var i=r==null?null:Ce!==void 0&&Lc(r)||r["@@iterator"];if(i!=null){var o,a,u,s,c=[],f=!0,l=!1;try{if(u=(i=i.call(r)).next,n===0){if(Object(i)!==i)return;f=!1}else for(;!(f=(o=u.call(i)).done)&&(Ab(c).call(c,o.value),c.length!==n);f=!0);}catch(h){l=!0,a=h}finally{try{if(!f&&i.return!=null&&(s=i.return(),Object(s)!==s))return}finally{if(l)throw a}}return c}}(t,e)||Gc(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function J(t){return function(e){if(Mc(e))return fo(e)}(t)||function(e){if(Ce!==void 0&&Lc(e)!=null||e["@@iterator"]!=null)return Wc(e)}(t)||Gc(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var vr=E(Bs),Xb=H("Array","concat"),Vb=N,Bb=Xb,lo=Array.prototype,En=E(function(t){var e=t.concat;return t===lo||Vb(lo,t)&&e===lo.concat?Bb:e}),dr=E(qc),Hb=K,Kb=nr,Jb=ir,$b=ut,Qb=P([].concat),ho=Hb("Reflect","ownKeys")||function(t){var e=Kb.f($b(t)),r=Jb.f;return r?Qb(e,r(t)):e};T({target:"Reflect",stat:!0},{ownKeys:ho});var Xc=E(C.Reflect.ownKeys),$=E(Rc),Zb=tt,Vc=tn;T({target:"Object",stat:!0,forced:x(function(){Vc(1)})},{keys:function(t){return Vc(Zb(t))}});var po=E(C.Object.keys),tw=Ae.forEach,Bc=bn("forEach")?[].forEach:function(t){return tw(this,t,arguments.length>1?arguments[1]:void 0)};T({target:"Array",proto:!0,forced:[].forEach!==Bc},{forEach:Bc});var ew=H("Array","forEach"),rw=jt,nw=F,iw=N,ow=ew,vo=Array.prototype,aw={DOMTokenList:!0,NodeList:!0},Hc=function(t){var e=t.forEach;return t===vo||iw(vo,t)&&e===vo.forEach||nw(aw,rw(t))?ow:e},qt=E(Hc),uw=T,sw=Nt,cw=P([].reverse),Kc=[1,2];uw({target:"Array",proto:!0,forced:String(Kc)===String(Kc.reverse())},{reverse:function(){return sw(this)&&(this.length=this.length),cw(this)}});var fw=H("Array","reverse"),lw=N,hw=fw,yo=Array.prototype,Jc=function(t){var e=t.reverse;return t===yo||lw(yo,t)&&e===yo.reverse?hw:e},pw=E(Jc),$c=_e,vw=TypeError,Qc=function(t,e){if(!delete t[e])throw new vw("Cannot delete property "+$c(e)+" of "+$c(t))},dw=T,yw=tt,gw=Zr,mw=Br,bw=st,ww=Nc,_w=Hr,Tw=$r,Ew=xe,go=Qc,Ow=er("splice"),Sw=Math.max,xw=Math.min;dw({target:"Array",proto:!0,forced:!Ow},{splice:function(t,e){var r,n,i,o,a,u,s=yw(this),c=bw(s),f=gw(t,c),l=arguments.length;for(l===0?r=n=0:l===1?(r=0,n=c-f):(r=l-2,n=xw(Sw(mw(e),0),c-f)),_w(c+r-n),i=Tw(s,n),o=0;o<n;o++)(a=f+o)in s&&Ew(i,o,s[a]);if(i.length=n,r<n){for(o=f;o<c-n;o++)u=o+r,(a=o+n)in s?s[u]=s[a]:go(s,u);for(o=c;o>c-n+r;o--)go(s,o-1)}else if(r>n)for(o=c-n;o>f;o--)u=o+r-1,(a=o+n-1)in s?s[u]=s[a]:go(s,u);for(o=0;o<r;o++)s[o+f]=arguments[o+2];return ww(s,c-n+r),i}});var kw=H("Array","splice"),jw=N,Aw=kw,mo=Array.prototype,Zc=E(function(t){var e=t.splice;return t===mo||jw(mo,t)&&e===mo.splice?Aw:e}),tf=q,Pw=P,Iw=Y,Dw=x,bo=tn,Cw=ir,Lw=zr,Rw=tt,Mw=qr,Re=Object.assign,ef=Object.defineProperty,Nw=Pw([].concat),Fw=!Re||Dw(function(){if(tf&&Re({b:1},Re(ef({},"a",{enumerable:!0,get:function(){ef(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(i){e[i]=i}),Re({},t)[r]!==7||bo(Re({},e)).join("")!==n})?function(t,e){for(var r=Rw(t),n=arguments.length,i=1,o=Cw.f,a=Lw.f;n>i;)for(var u,s=Mw(arguments[i++]),c=o?Nw(bo(s),o(s)):bo(s),f=c.length,l=0;f>l;)u=c[l++],tf&&!Iw(a,s,u)||(r[u]=s[u]);return r}:Re,rf=Fw;T({target:"Object",stat:!0,arity:2,forced:Object.assign!==rf},{assign:rf});var nf=E(C.Object.assign),zw=tt,of=vn,Uw=Is;T({target:"Object",stat:!0,forced:x(function(){of(1)}),sham:!Uw},{getPrototypeOf:function(t){return of(zw(t))}});var qw=C.Object.getPrototypeOf;T({target:"Object",stat:!0,sham:!q},{create:Qt});var Yw=C.Object,af=function(t,e){return Yw.create(t,e)},Ww=E(af),wo=C,Gw=me;wo.JSON||(wo.JSON={stringify:JSON.stringify});var Xw=function(t,e,r){return Gw(wo.JSON.stringify,null,arguments)},Vw=E(Xw),Bw=typeof Bun=="function"&&Bun&&typeof Bun.version=="string",Hw=TypeError,uf=function(t,e){if(t<e)throw new Hw("Not enough arguments");return t},sf=D,Kw=me,Jw=R,$w=Bw,Qw=Rt,Zw=lr,t1=uf,e1=sf.Function,r1=/MSIE .\./.test(Qw)||$w&&function(){var t=sf.Bun.version.split(".");return t.length<3||t[0]==="0"&&(t[1]<3||t[1]==="3"&&t[2]==="0")}(),cf=function(t,e){var r=e?2:1;return r1?function(n,i){var o=t1(arguments.length,1)>r,a=Jw(n)?n:e1(n),u=o?Zw(arguments,r):[],s=o?function(){Kw(a,this,u)}:a;return e?t(s,i):t(s)}:t},n1=T,ff=D,lf=cf(ff.setInterval,!0);n1({global:!0,bind:!0,forced:ff.setInterval!==lf},{setInterval:lf});var i1=T,hf=D,pf=cf(hf.setTimeout,!0);i1({global:!0,bind:!0,forced:hf.setTimeout!==pf},{setTimeout:pf});var o1=E(C.setTimeout),vf={exports:{}};(function(t){function e(r){if(r)return function(n){return Object.assign(n,e.prototype),n._callbacks=new Map,n}(r);this._callbacks=new Map}e.prototype.on=function(r,n){const i=this._callbacks.get(r)??[];return i.push(n),this._callbacks.set(r,i),this},e.prototype.once=function(r,n){const i=(...o)=>{this.off(r,i),n.apply(this,o)};return i.fn=n,this.on(r,i),this},e.prototype.off=function(r,n){if(r===void 0&&n===void 0)return this._callbacks.clear(),this;if(n===void 0)return this._callbacks.delete(r),this;const i=this._callbacks.get(r);if(i){for(const[o,a]of i.entries())if(a===n||a.fn===n){i.splice(o,1);break}i.length===0?this._callbacks.delete(r):this._callbacks.set(r,i)}return this},e.prototype.emit=function(r,...n){const i=this._callbacks.get(r);if(i){const o=[...i];for(const a of o)a.apply(this,n)}return this},e.prototype.listeners=function(r){return this._callbacks.get(r)??[]},e.prototype.listenerCount=function(r){if(r)return this.listeners(r).length;let n=0;for(const i of this._callbacks.values())n+=i.length;return n},e.prototype.hasListeners=function(r){return this.listenerCount(r)>0},e.prototype.addEventListener=e.prototype.on,e.prototype.removeListener=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,t.exports=e})(vf);var df,a1=E(vf.exports);/*! Hammer.JS - v2.0.17-rc - 2019-12-16
   * http://naver.github.io/egjs
   *
   * Forked By Naver egjs
   * Copyright (c) hammerjs
   * Licensed under the MIT license */function mt(){return mt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},mt.apply(this,arguments)}function yt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function On(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}df=typeof Object.assign!="function"?function(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}return e}:Object.assign;var Yt,oe=df,yf=["","webkit","Moz","MS","ms","o"],u1=typeof document>"u"?{style:{}}:document.createElement("div"),Me=Math.round,ae=Math.abs,_o=Date.now;function Sn(t,e){for(var r,n,i=e[0].toUpperCase()+e.slice(1),o=0;o<yf.length;){if((n=(r=yf[o])?r+i:e)in t)return n;o++}}Yt=typeof window>"u"?{}:window;var gf=Sn(u1.style,"touchAction"),mf=gf!==void 0,bf="compute",wf="auto",To="manipulation",ue="none",yr="pan-x",gr="pan-y",xn=function(){if(!mf)return!1;var t={},e=Yt.CSS&&Yt.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(r){return t[r]=!e||Yt.CSS.supports("touch-action",r)}),t}(),_f="ontouchstart"in Yt,s1=Sn(Yt,"PointerEvent")!==void 0,c1=_f&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),mr="touch",Eo="mouse",f1=25,Q=1,z=4,it=8,kn=1,br=2,wr=4,_r=8,Ne=16,_t=br|wr,se=_r|Ne,Tf=_t|se,Ef=["x","y"],jn=["clientX","clientY"];function Pt(t,e,r){var n;if(t)if(t.forEach)t.forEach(e,r);else if(t.length!==void 0)for(n=0;n<t.length;)e.call(r,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(r,t[n],n,t)}function An(t,e){return typeof t=="function"?t.apply(e&&e[0]||void 0,e):t}function ce(t,e){return t.indexOf(e)>-1}var Of=function(){function t(r,n){this.manager=r,this.set(n)}var e=t.prototype;return e.set=function(r){r===bf&&(r=this.compute()),mf&&this.manager.element.style&&xn[r]&&(this.manager.element.style[gf]=r),this.actions=r.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var r=[];return Pt(this.manager.recognizers,function(n){An(n.options.enable,[n])&&(r=r.concat(n.getTouchAction()))}),function(n){if(ce(n,ue))return ue;var i=ce(n,yr),o=ce(n,gr);return i&&o?ue:i||o?i?yr:gr:ce(n,To)?To:wf}(r.join(" "))},e.preventDefaults=function(r){var n=r.srcEvent,i=r.offsetDirection;if(this.manager.session.prevented)n.preventDefault();else{var o=this.actions,a=ce(o,ue)&&!xn[ue],u=ce(o,gr)&&!xn[gr],s=ce(o,yr)&&!xn[yr];if(a){var c=r.pointers.length===1,f=r.distance<2,l=r.deltaTime<250;if(c&&f&&l)return}if(!s||!u)return a||u&&i&_t||s&&i&se?this.preventSrc(n):void 0}},e.preventSrc=function(r){this.manager.session.prevented=!0,r.preventDefault()},t}();function Oo(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function Sf(t){var e=t.length;if(e===1)return{x:Me(t[0].clientX),y:Me(t[0].clientY)};for(var r=0,n=0,i=0;i<e;)r+=t[i].clientX,n+=t[i].clientY,i++;return{x:Me(r/e),y:Me(n/e)}}function xf(t){for(var e=[],r=0;r<t.pointers.length;)e[r]={clientX:Me(t.pointers[r].clientX),clientY:Me(t.pointers[r].clientY)},r++;return{timeStamp:_o(),pointers:e,center:Sf(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Pn(t,e,r){r||(r=Ef);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return Math.sqrt(n*n+i*i)}function So(t,e,r){r||(r=Ef);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return 180*Math.atan2(i,n)/Math.PI}function kf(t,e){return t===e?kn:ae(t)>=ae(e)?t<0?br:wr:e<0?_r:Ne}function jf(t,e,r){return{x:e/t||0,y:r/t||0}}function l1(t,e){var r=t.session,n=e.pointers,i=n.length;r.firstInput||(r.firstInput=xf(e)),i>1&&!r.firstMultiple?r.firstMultiple=xf(e):i===1&&(r.firstMultiple=!1);var o=r.firstInput,a=r.firstMultiple,u=a?a.center:o.center,s=e.center=Sf(n);e.timeStamp=_o(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=So(u,s),e.distance=Pn(u,s),function(m,b){var O=b.center,w=m.offsetDelta||{},k=m.prevDelta||{},A=m.prevInput||{};b.eventType!==Q&&A.eventType!==z||(k=m.prevDelta={x:A.deltaX||0,y:A.deltaY||0},w=m.offsetDelta={x:O.x,y:O.y}),b.deltaX=k.x+(O.x-w.x),b.deltaY=k.y+(O.y-w.y)}(r,e),e.offsetDirection=kf(e.deltaX,e.deltaY);var c,f,l=jf(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=ae(l.x)>ae(l.y)?l.x:l.y,e.scale=a?(c=a.pointers,Pn((f=n)[0],f[1],jn)/Pn(c[0],c[1],jn)):1,e.rotation=a?function(m,b){return So(b[1],b[0],jn)+So(m[1],m[0],jn)}(a.pointers,n):0,e.maxPointers=r.prevInput?e.pointers.length>r.prevInput.maxPointers?e.pointers.length:r.prevInput.maxPointers:e.pointers.length,function(m,b){var O,w,k,A,I=m.lastInterval||b,B=b.timeStamp-I.timeStamp;if(b.eventType!==it&&(B>f1||I.velocity===void 0)){var Ot=b.deltaX-I.deltaX,at=b.deltaY-I.deltaY,lt=jf(B,Ot,at);w=lt.x,k=lt.y,O=ae(lt.x)>ae(lt.y)?lt.x:lt.y,A=kf(Ot,at),m.lastInterval=b}else O=I.velocity,w=I.velocityX,k=I.velocityY,A=I.direction;b.velocity=O,b.velocityX=w,b.velocityY=k,b.direction=A}(r,e);var h,p=t.element,g=e.srcEvent;Oo(h=g.composedPath?g.composedPath()[0]:g.path?g.path[0]:g.target,p)&&(p=h),e.target=p}function h1(t,e,r){var n=r.pointers.length,i=r.changedPointers.length,o=e&Q&&n-i==0,a=e&(z|it)&&n-i==0;r.isFirst=!!o,r.isFinal=!!a,o&&(t.session={}),r.eventType=e,l1(t,r),t.emit("hammer.input",r),t.recognize(r),t.session.prevInput=r}function Tr(t){return t.trim().split(/\s+/g)}function Er(t,e,r){Pt(Tr(e),function(n){t.addEventListener(n,r,!1)})}function Or(t,e,r){Pt(Tr(e),function(n){t.removeEventListener(n,r,!1)})}function Af(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var Fe=function(){function t(r,n){var i=this;this.manager=r,this.callback=n,this.element=r.element,this.target=r.options.inputTarget,this.domHandler=function(o){An(r.options.enable,[r])&&i.handler(o)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&Er(this.element,this.evEl,this.domHandler),this.evTarget&&Er(this.target,this.evTarget,this.domHandler),this.evWin&&Er(Af(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&Or(this.element,this.evEl,this.domHandler),this.evTarget&&Or(this.target,this.evTarget,this.domHandler),this.evWin&&Or(Af(this.element),this.evWin,this.domHandler)},t}();function fe(t,e,r){if(t.indexOf&&!r)return t.indexOf(e);for(var n=0;n<t.length;){if(r&&t[n][r]==e||!r&&t[n]===e)return n;n++}return-1}var p1={pointerdown:Q,pointermove:2,pointerup:z,pointercancel:it,pointerout:it},v1={2:mr,3:"pen",4:Eo,5:"kinect"},Pf="pointerdown",If="pointermove pointerup pointercancel";Yt.MSPointerEvent&&!Yt.PointerEvent&&(Pf="MSPointerDown",If="MSPointerMove MSPointerUp MSPointerCancel");var Df=function(t){function e(){var r,n=e.prototype;return n.evEl=Pf,n.evWin=If,(r=t.apply(this,arguments)||this).store=r.manager.session.pointerEvents=[],r}return yt(e,t),e.prototype.handler=function(r){var n=this.store,i=!1,o=r.type.toLowerCase().replace("ms",""),a=p1[o],u=v1[r.pointerType]||r.pointerType,s=u===mr,c=fe(n,r.pointerId,"pointerId");a&Q&&(r.button===0||s)?c<0&&(n.push(r),c=n.length-1):a&(z|it)&&(i=!0),c<0||(n[c]=r,this.callback(this.manager,a,{pointers:n,changedPointers:[r],pointerType:u,srcEvent:r}),i&&n.splice(c,1))},e}(Fe);function Sr(t){return Array.prototype.slice.call(t,0)}function xo(t,e,r){for(var n=[],i=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];fe(i,a)<0&&n.push(t[o]),i[o]=a,o++}return r&&(n=e?n.sort(function(u,s){return u[e]>s[e]}):n.sort()),n}var d1={touchstart:Q,touchmove:2,touchend:z,touchcancel:it},ko=function(t){function e(){var r;return e.prototype.evTarget="touchstart touchmove touchend touchcancel",(r=t.apply(this,arguments)||this).targetIds={},r}return yt(e,t),e.prototype.handler=function(r){var n=d1[r.type],i=y1.call(this,r,n);i&&this.callback(this.manager,n,{pointers:i[0],changedPointers:i[1],pointerType:mr,srcEvent:r})},e}(Fe);function y1(t,e){var r,n,i=Sr(t.touches),o=this.targetIds;if(e&(2|Q)&&i.length===1)return o[i[0].identifier]=!0,[i,i];var a=Sr(t.changedTouches),u=[],s=this.target;if(n=i.filter(function(c){return Oo(c.target,s)}),e===Q)for(r=0;r<n.length;)o[n[r].identifier]=!0,r++;for(r=0;r<a.length;)o[a[r].identifier]&&u.push(a[r]),e&(z|it)&&delete o[a[r].identifier],r++;return u.length?[xo(n.concat(u),"identifier",!0),u]:void 0}var g1={mousedown:Q,mousemove:2,mouseup:z},jo=function(t){function e(){var r,n=e.prototype;return n.evEl="mousedown",n.evWin="mousemove mouseup",(r=t.apply(this,arguments)||this).pressed=!1,r}return yt(e,t),e.prototype.handler=function(r){var n=g1[r.type];n&Q&&r.button===0&&(this.pressed=!0),2&n&&r.which!==1&&(n=z),this.pressed&&(n&z&&(this.pressed=!1),this.callback(this.manager,n,{pointers:[r],changedPointers:[r],pointerType:Eo,srcEvent:r}))},e}(Fe),m1=2500;function Cf(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var r={x:e.clientX,y:e.clientY},n=this.lastTouches;this.lastTouches.push(r),setTimeout(function(){var i=n.indexOf(r);i>-1&&n.splice(i,1)},m1)}}function b1(t,e){t&Q?(this.primaryTouch=e.changedPointers[0].identifier,Cf.call(this,e)):t&(z|it)&&Cf.call(this,e)}function w1(t){for(var e=t.srcEvent.clientX,r=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var i=this.lastTouches[n],o=Math.abs(e-i.x),a=Math.abs(r-i.y);if(o<=25&&a<=25)return!0}return!1}var Lf=function(){return function(t){function e(r,n){var i;return(i=t.call(this,r,n)||this).handler=function(o,a,u){var s=u.pointerType===mr,c=u.pointerType===Eo;if(!(c&&u.sourceCapabilities&&u.sourceCapabilities.firesTouchEvents)){if(s)b1.call(On(On(i)),a,u);else if(c&&w1.call(On(On(i)),u))return;i.callback(o,a,u)}},i.touch=new ko(i.manager,i.handler),i.mouse=new jo(i.manager,i.handler),i.primaryTouch=null,i.lastTouches=[],i}return yt(e,t),e.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(Fe)}();function ze(t,e,r){return!!Array.isArray(t)&&(Pt(t,r[e],r),!0)}var Wt=32,_1=1;function In(t,e){var r=e.manager;return r?r.get(t):t}function Rf(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var xr=function(){function t(r){r===void 0&&(r={}),this.options=mt({enable:!0},r),this.id=_1++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(r){return oe(this.options,r),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(r){if(ze(r,"recognizeWith",this))return this;var n=this.simultaneous;return n[(r=In(r,this)).id]||(n[r.id]=r,r.recognizeWith(this)),this},e.dropRecognizeWith=function(r){return ze(r,"dropRecognizeWith",this)||(r=In(r,this),delete this.simultaneous[r.id]),this},e.requireFailure=function(r){if(ze(r,"requireFailure",this))return this;var n=this.requireFail;return fe(n,r=In(r,this))===-1&&(n.push(r),r.requireFailure(this)),this},e.dropRequireFailure=function(r){if(ze(r,"dropRequireFailure",this))return this;r=In(r,this);var n=fe(this.requireFail,r);return n>-1&&this.requireFail.splice(n,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(r){return!!this.simultaneous[r.id]},e.emit=function(r){var n=this,i=this.state;function o(a){n.manager.emit(a,r)}i<8&&o(n.options.event+Rf(i)),o(n.options.event),r.additionalEvent&&o(r.additionalEvent),i>=8&&o(n.options.event+Rf(i))},e.tryEmit=function(r){if(this.canEmit())return this.emit(r);this.state=Wt},e.canEmit=function(){for(var r=0;r<this.requireFail.length;){if(!(33&this.requireFail[r].state))return!1;r++}return!0},e.recognize=function(r){var n=oe({},r);if(!An(this.options.enable,[this,n]))return this.reset(),void(this.state=Wt);56&this.state&&(this.state=1),this.state=this.process(n),30&this.state&&this.tryEmit(n)},e.process=function(r){},e.getTouchAction=function(){},e.reset=function(){},t}(),Ao=function(t){function e(n){var i;return n===void 0&&(n={}),(i=t.call(this,mt({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},n))||this).pTime=!1,i.pCenter=!1,i._timer=null,i._input=null,i.count=0,i}yt(e,t);var r=e.prototype;return r.getTouchAction=function(){return[To]},r.process=function(n){var i=this,o=this.options,a=n.pointers.length===o.pointers,u=n.distance<o.threshold,s=n.deltaTime<o.time;if(this.reset(),n.eventType&Q&&this.count===0)return this.failTimeout();if(u&&s&&a){if(n.eventType!==z)return this.failTimeout();var c=!this.pTime||n.timeStamp-this.pTime<o.interval,f=!this.pCenter||Pn(this.pCenter,n.center)<o.posThreshold;if(this.pTime=n.timeStamp,this.pCenter=n.center,f&&c?this.count+=1:this.count=1,this._input=n,this.count%o.taps===0)return this.hasRequireFailures()?(this._timer=setTimeout(function(){i.state=8,i.tryEmit()},o.interval),2):8}return Wt},r.failTimeout=function(){var n=this;return this._timer=setTimeout(function(){n.state=Wt},this.options.interval),Wt},r.reset=function(){clearTimeout(this._timer)},r.emit=function(){this.state===8&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},e}(xr),Ue=function(t){function e(n){return n===void 0&&(n={}),t.call(this,mt({pointers:1},n))||this}yt(e,t);var r=e.prototype;return r.attrTest=function(n){var i=this.options.pointers;return i===0||n.pointers.length===i},r.process=function(n){var i=this.state,o=n.eventType,a=6&i,u=this.attrTest(n);return a&&(o&it||!u)?16|i:a||u?o&z?8|i:2&i?4|i:2:Wt},e}(xr);function Mf(t){return t===Ne?"down":t===_r?"up":t===br?"left":t===wr?"right":""}var Po=function(t){function e(n){var i;return n===void 0&&(n={}),(i=t.call(this,mt({event:"pan",threshold:10,pointers:1,direction:Tf},n))||this).pX=null,i.pY=null,i}yt(e,t);var r=e.prototype;return r.getTouchAction=function(){var n=this.options.direction,i=[];return n&_t&&i.push(gr),n&se&&i.push(yr),i},r.directionTest=function(n){var i=this.options,o=!0,a=n.distance,u=n.direction,s=n.deltaX,c=n.deltaY;return u&i.direction||(i.direction&_t?(u=s===0?kn:s<0?br:wr,o=s!==this.pX,a=Math.abs(n.deltaX)):(u=c===0?kn:c<0?_r:Ne,o=c!==this.pY,a=Math.abs(n.deltaY))),n.direction=u,o&&a>i.threshold&&u&i.direction},r.attrTest=function(n){return Ue.prototype.attrTest.call(this,n)&&(2&this.state||!(2&this.state)&&this.directionTest(n))},r.emit=function(n){this.pX=n.deltaX,this.pY=n.deltaY;var i=Mf(n.direction);i&&(n.additionalEvent=this.options.event+i),t.prototype.emit.call(this,n)},e}(Ue),Nf=function(t){function e(n){return n===void 0&&(n={}),t.call(this,mt({event:"swipe",threshold:10,velocity:.3,direction:_t|se,pointers:1},n))||this}yt(e,t);var r=e.prototype;return r.getTouchAction=function(){return Po.prototype.getTouchAction.call(this)},r.attrTest=function(n){var i,o=this.options.direction;return o&(_t|se)?i=n.overallVelocity:o&_t?i=n.overallVelocityX:o&se&&(i=n.overallVelocityY),t.prototype.attrTest.call(this,n)&&o&n.offsetDirection&&n.distance>this.options.threshold&&n.maxPointers===this.options.pointers&&ae(i)>this.options.velocity&&n.eventType&z},r.emit=function(n){var i=Mf(n.offsetDirection);i&&this.manager.emit(this.options.event+i,n),this.manager.emit(this.options.event,n)},e}(Ue),Ff=function(t){function e(n){return n===void 0&&(n={}),t.call(this,mt({event:"pinch",threshold:0,pointers:2},n))||this}yt(e,t);var r=e.prototype;return r.getTouchAction=function(){return[ue]},r.attrTest=function(n){return t.prototype.attrTest.call(this,n)&&(Math.abs(n.scale-1)>this.options.threshold||2&this.state)},r.emit=function(n){if(n.scale!==1){var i=n.scale<1?"in":"out";n.additionalEvent=this.options.event+i}t.prototype.emit.call(this,n)},e}(Ue),zf=function(t){function e(n){return n===void 0&&(n={}),t.call(this,mt({event:"rotate",threshold:0,pointers:2},n))||this}yt(e,t);var r=e.prototype;return r.getTouchAction=function(){return[ue]},r.attrTest=function(n){return t.prototype.attrTest.call(this,n)&&(Math.abs(n.rotation)>this.options.threshold||2&this.state)},e}(Ue),Uf=function(t){function e(n){var i;return n===void 0&&(n={}),(i=t.call(this,mt({event:"press",pointers:1,time:251,threshold:9},n))||this)._timer=null,i._input=null,i}yt(e,t);var r=e.prototype;return r.getTouchAction=function(){return[wf]},r.process=function(n){var i=this,o=this.options,a=n.pointers.length===o.pointers,u=n.distance<o.threshold,s=n.deltaTime>o.time;if(this._input=n,!u||!a||n.eventType&(z|it)&&!s)this.reset();else if(n.eventType&Q)this.reset(),this._timer=setTimeout(function(){i.state=8,i.tryEmit()},o.time);else if(n.eventType&z)return 8;return Wt},r.reset=function(){clearTimeout(this._timer)},r.emit=function(n){this.state===8&&(n&&n.eventType&z?this.manager.emit(this.options.event+"up",n):(this._input.timeStamp=_o(),this.manager.emit(this.options.event,this._input)))},e}(xr),qf={domEvents:!1,touchAction:bf,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Yf=[[zf,{enable:!1}],[Ff,{enable:!1},["rotate"]],[Nf,{direction:_t}],[Po,{direction:_t},["swipe"]],[Ao],[Ao,{event:"doubletap",taps:2},["tap"]],[Uf]];function Wf(t,e){var r,n=t.element;n.style&&(Pt(t.options.cssProps,function(i,o){r=Sn(n.style,o),e?(t.oldCssProps[r]=n.style[r],n.style[r]=i):n.style[r]=t.oldCssProps[r]||""}),e||(t.oldCssProps={}))}var Gf=function(){function t(r,n){var i,o=this;this.options=oe({},qf,n||{}),this.options.inputTarget=this.options.inputTarget||r,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=r,this.input=new((i=this).options.inputClass||(s1?Df:c1?ko:_f?Lf:jo))(i,h1),this.touchAction=new Of(this,this.options.touchAction),Wf(this,!0),Pt(this.options.recognizers,function(a){var u=o.add(new a[0](a[1]));a[2]&&u.recognizeWith(a[2]),a[3]&&u.requireFailure(a[3])},this)}var e=t.prototype;return e.set=function(r){return oe(this.options,r),r.touchAction&&this.touchAction.update(),r.inputTarget&&(this.input.destroy(),this.input.target=r.inputTarget,this.input.init()),this},e.stop=function(r){this.session.stopped=r?2:1},e.recognize=function(r){var n=this.session;if(!n.stopped){var i;this.touchAction.preventDefaults(r);var o=this.recognizers,a=n.curRecognizer;(!a||a&&8&a.state)&&(n.curRecognizer=null,a=null);for(var u=0;u<o.length;)i=o[u],n.stopped===2||a&&i!==a&&!i.canRecognizeWith(a)?i.reset():i.recognize(r),!a&&14&i.state&&(n.curRecognizer=i,a=i),u++}},e.get=function(r){if(r instanceof xr)return r;for(var n=this.recognizers,i=0;i<n.length;i++)if(n[i].options.event===r)return n[i];return null},e.add=function(r){if(ze(r,"add",this))return this;var n=this.get(r.options.event);return n&&this.remove(n),this.recognizers.push(r),r.manager=this,this.touchAction.update(),r},e.remove=function(r){if(ze(r,"remove",this))return this;var n=this.get(r);if(r){var i=this.recognizers,o=fe(i,n);o!==-1&&(i.splice(o,1),this.touchAction.update())}return this},e.on=function(r,n){if(r===void 0||n===void 0)return this;var i=this.handlers;return Pt(Tr(r),function(o){i[o]=i[o]||[],i[o].push(n)}),this},e.off=function(r,n){if(r===void 0)return this;var i=this.handlers;return Pt(Tr(r),function(o){n?i[o]&&i[o].splice(fe(i[o],n),1):delete i[o]}),this},e.emit=function(r,n){this.options.domEvents&&function(a,u){var s=document.createEvent("Event");s.initEvent(a,!0,!0),s.gesture=u,u.target.dispatchEvent(s)}(r,n);var i=this.handlers[r]&&this.handlers[r].slice();if(i&&i.length){n.type=r,n.preventDefault=function(){n.srcEvent.preventDefault()};for(var o=0;o<i.length;)i[o](n),o++}},e.destroy=function(){this.element&&Wf(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),T1={touchstart:Q,touchmove:2,touchend:z,touchcancel:it},E1=function(t){function e(){var r,n=e.prototype;return n.evTarget="touchstart",n.evWin="touchstart touchmove touchend touchcancel",(r=t.apply(this,arguments)||this).started=!1,r}return yt(e,t),e.prototype.handler=function(r){var n=T1[r.type];if(n===Q&&(this.started=!0),this.started){var i=O1.call(this,r,n);n&(z|it)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,n,{pointers:i[0],changedPointers:i[1],pointerType:mr,srcEvent:r})}},e}(Fe);function O1(t,e){var r=Sr(t.touches),n=Sr(t.changedTouches);return e&(z|it)&&(r=xo(r.concat(n),"identifier",!0)),[r,n]}function Xf(t,e,r){var n="DEPRECATED METHOD: "+e+`
`+r+` AT 
`;return function(){var i=new Error("get-stack-trace"),o=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=window.console&&(window.console.warn||window.console.log);return a&&a.call(window.console,n,o),t.apply(this,arguments)}}var Vf=Xf(function(t,e,r){for(var n=Object.keys(e),i=0;i<n.length;)(!r||r&&t[n[i]]===void 0)&&(t[n[i]]=e[n[i]]),i++;return t},"extend","Use `assign`."),S1=Xf(function(t,e){return Vf(t,e,!0)},"merge","Use `assign`.");function x1(t,e,r){var n,i=e.prototype;(n=t.prototype=Object.create(i)).constructor=t,n._super=i,r&&oe(n,r)}function Bf(t,e){return function(){return t.apply(e,arguments)}}var k1=function(){var t=function(e,r){return r===void 0&&(r={}),new Gf(e,mt({recognizers:Yf.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=Tf,t.DIRECTION_DOWN=Ne,t.DIRECTION_LEFT=br,t.DIRECTION_RIGHT=wr,t.DIRECTION_UP=_r,t.DIRECTION_HORIZONTAL=_t,t.DIRECTION_VERTICAL=se,t.DIRECTION_NONE=kn,t.DIRECTION_DOWN=Ne,t.INPUT_START=Q,t.INPUT_MOVE=2,t.INPUT_END=z,t.INPUT_CANCEL=it,t.STATE_POSSIBLE=1,t.STATE_BEGAN=2,t.STATE_CHANGED=4,t.STATE_ENDED=8,t.STATE_RECOGNIZED=8,t.STATE_CANCELLED=16,t.STATE_FAILED=Wt,t.Manager=Gf,t.Input=Fe,t.TouchAction=Of,t.TouchInput=ko,t.MouseInput=jo,t.PointerEventInput=Df,t.TouchMouseInput=Lf,t.SingleTouchInput=E1,t.Recognizer=xr,t.AttrRecognizer=Ue,t.Tap=Ao,t.Pan=Po,t.Swipe=Nf,t.Pinch=Ff,t.Rotate=zf,t.Press=Uf,t.on=Er,t.off=Or,t.each=Pt,t.merge=S1,t.extend=Vf,t.bindFn=Bf,t.assign=oe,t.inherit=x1,t.bindFn=Bf,t.prefixed=Sn,t.toArray=Sr,t.inArray=fe,t.uniqueArray=xo,t.splitStr=Tr,t.boolOrFn=An,t.hasParent=Oo,t.addEventListeners=Er,t.removeEventListeners=Or,t.defaults=oe({},qf,{preset:Yf}),t}();function Hf(t,e){var r=vr!==void 0&&Tn(t)||t["@@iterator"];if(!r){if($(t)||(r=function(s,c){var f;if(s){if(typeof s=="string")return Kf(s,c);var l=dr(f=Object.prototype.toString.call(s)).call(f,8,-1);if(l==="Object"&&s.constructor&&(l=s.constructor.name),l==="Map"||l==="Set")return _n(s);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return Kf(s,c)}}(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var s=r.next();return a=s.done,s},e:function(s){u=!0,o=s},f:function(){try{a||r.return==null||r.return()}finally{if(u)throw o}}}}function Kf(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Io=vr("DELETE");function Jf(){var t=Dn.apply(void 0,arguments);return Qf(t),t}function Dn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e.length<2)return e[0];var n;if(e.length>2)return Dn.apply(void 0,En(n=[Jf(e[0],e[1])]).call(n,J(dr(e).call(e,2))));var i=e[0],o=e[1];if(i instanceof Date&&o instanceof Date)return i.setTime(o.getTime()),i;var a,u=Hf(Xc(o));try{for(u.s();!(a=u.n()).done;){var s=a.value;Object.prototype.propertyIsEnumerable.call(o,s)&&(o[s]===Io?delete i[s]:i[s]===null||o[s]===null||typeof i[s]!="object"||typeof o[s]!="object"||$(i[s])||$(o[s])?i[s]=$f(o[s]):i[s]=Dn(i[s],o[s]))}}catch(c){u.e(c)}finally{u.f()}return i}function $f(t){return $(t)?ct(t).call(t,function(e){return $f(e)}):typeof t=="object"&&t!==null?t instanceof Date?new Date(t.getTime()):Dn({},t):t}function Qf(t){for(var e=0,r=po(t);e<r.length;e++){var n=r[e];t[n]===Io?delete t[n]:typeof t[n]=="object"&&t[n]!==null&&Qf(t[n])}}var j1=typeof window<"u"?window.Hammer||k1:function(){return function(){var t=function(){};return{on:t,off:t,destroy:t,emit:t,get:()=>({set:t})}}()};function It(t){var e,r=this;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(function(){r._dom.overlay.parentNode.removeChild(r._dom.overlay)});var n=j1(this._dom.overlay);n.on("tap",ie(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push(function(){n.destroy()});var i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];qt(i).call(i,function(o){n.on(o,function(a){a.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=function(o){(function(a,u){for(;a;){if(a===u)return!0;a=a.parentNode}return!1})(o.target,t)||r.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(function(){document.body.removeEventListener("click",r._onClick)})),this._escListener=function(o){("key"in o?o.key==="Escape":o.keyCode===27)&&r.deactivate()}}a1(It.prototype),It.current=null,It.prototype.destroy=function(){var t,e;this.deactivate();var r,n=Hf(pw(t=Zc(e=this._cleanupQueue).call(e,0)).call(t));try{for(n.s();!(r=n.n()).done;)(0,r.value)()}catch(i){n.e(i)}finally{n.f()}},It.prototype.activate=function(){It.current&&It.current.deactivate(),It.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},It.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},It.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var A1=Jr,P1=_e,I1=TypeError,Zf=function(t){if(A1(t))return t;throw new I1(P1(t)+" is not a constructor")},D1=T,Do=me,C1=yc,tl=Zf,L1=ut,el=X,R1=Qt,rl=x,Co=K("Reflect","construct"),M1=Object.prototype,N1=[].push,nl=rl(function(){function t(){}return!(Co(function(){},[],t)instanceof t)}),il=!rl(function(){Co(function(){})}),ol=nl||il;D1({target:"Reflect",stat:!0,forced:ol,sham:ol},{construct:function(t,e){tl(t),L1(e);var r=arguments.length<3?t:tl(arguments[2]);if(il&&!nl)return Co(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Do(N1,n,e),new(Do(C1,t,n))}var i=r.prototype,o=R1(el(i)?i:M1),a=Do(t,o,e);return el(a)?a:o}});var Gt=E(C.Reflect.construct),al=E(C.Object.getOwnPropertySymbols),ul={exports:{}},F1=T,z1=x,U1=bt,sl=Ht.f,cl=q;F1({target:"Object",stat:!0,forced:!cl||z1(function(){sl(1)}),sham:!cl},{getOwnPropertyDescriptor:function(t,e){return sl(U1(t),e)}});var fl=C.Object,q1=ul.exports=function(t,e){return fl.getOwnPropertyDescriptor(t,e)};fl.getOwnPropertyDescriptor.sham&&(q1.sham=!0);var ll=E(ul.exports),Y1=ho,W1=bt,G1=Ht,X1=xe;T({target:"Object",stat:!0,sham:!q},{getOwnPropertyDescriptors:function(t){for(var e,r,n=W1(t),i=G1.f,o=Y1(n),a={},u=0;o.length>u;)(r=i(n,e=o[u++]))!==void 0&&X1(a,e,r);return a}});var hl=E(C.Object.getOwnPropertyDescriptors),pl={exports:{}},V1=T,B1=q,vl=Qr.f;V1({target:"Object",stat:!0,forced:Object.defineProperties!==vl,sham:!B1},{defineProperties:vl});var dl=C.Object,H1=pl.exports=function(t,e){return dl.defineProperties(t,e)};dl.defineProperties.sham&&(H1.sham=!0);var K1=E(pl.exports),yl=E(pu);function kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var gl=af,J1=E(gl);T({target:"Object",stat:!0},{setPrototypeOf:Ms});var ml=C.Object.setPrototypeOf,Lo=E(ml),bl=E(mc);function Ro(t,e){var r;return Ro=Lo?bl(r=Lo).call(r):function(n,i){return n.__proto__=i,n},Ro(t,e)}function wl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=J1(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Vr(t,"prototype",{writable:!1}),e&&Ro(t,e)}function _l(t,e){if(e&&(Le(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kr(t)}var Tl=qw,El=E(Tl);function qe(t){var e;return qe=Lo?bl(e=El).call(e):function(r){return r.__proto__||El(r)},qe(t)}var Ol={exports:{}},Sl={exports:{}};(function(t){var e=Qi,r=fc;function n(i){return t.exports=n=typeof e=="function"&&typeof r=="symbol"?function(o){return typeof o}:function(o){return o&&typeof e=="function"&&o.constructor===e&&o!==e.prototype?"symbol":typeof o},t.exports.__esModule=!0,t.exports.default=t.exports,n(i)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})(Sl);var $1=Sl.exports,Q1=Hc,xl=F,Z1=ho,t_=Ht,e_=et,r_=X,n_=kt,kl=Error,i_=P("".replace),o_=String(new kl("zxcasd").stack),jl=/\n\s*at [^:]*:[^\n]*/,a_=jl.test(o_),u_=Kt,s_=!x(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",u_(1,7)),t.stack!==7)}),c_=kt,f_=function(t,e){if(a_&&typeof t=="string"&&!kl.prepareStackTrace)for(;e--;)t=i_(t,jl,"");return t},l_=s_,Al=Error.captureStackTrace,h_=Mt,p_=Y,v_=ut,d_=_e,y_=Oc,g_=st,Pl=N,m_=ao,b_=wn,Il=Ec,w_=TypeError,Cn=function(t,e){this.stopped=t,this.result=e},Dl=Cn.prototype,le=function(t,e,r){var n,i,o,a,u,s,c,f=r&&r.that,l=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),g=!(!r||!r.INTERRUPTED),m=h_(e,f),b=function(w){return n&&Il(n,"normal",w),new Cn(!0,w)},O=function(w){return l?(v_(w),g?m(w[0],w[1],b):m(w[0],w[1])):g?m(w,b):m(w)};if(h)n=t.iterator;else if(p)n=t;else{if(!(i=b_(t)))throw new w_(d_(t)+" is not iterable");if(y_(i)){for(o=0,a=g_(t);a>o;o++)if((u=O(t[o]))&&Pl(Dl,u))return u;return new Cn(!1)}n=m_(t,i)}for(s=h?t.next:n.next;!(c=p_(s,n)).done;){try{u=O(c.value)}catch(w){Il(n,"throw",w)}if(typeof u=="object"&&u&&Pl(Dl,u))return u}return new Cn(!1)},__=$t,T_=T,E_=N,O_=vn,Ln=Ms,S_=function(t,e,r){for(var n=Z1(e),i=e_.f,o=t_.f,a=0;a<n.length;a++){var u=n[a];xl(t,u)||r&&xl(r,u)||i(t,u,o(e,u))}},Cl=Qt,Mo=kt,No=Kt,x_=function(t,e){r_(e)&&"cause"in e&&n_(t,"cause",e.cause)},k_=function(t,e,r,n){l_&&(Al?Al(t,e):c_(t,"stack",f_(r,n)))},j_=le,A_=function(t,e){return t===void 0?arguments.length<2?"":e:__(t)},P_=L("toStringTag"),Rn=Error,I_=[].push,Ye=function(t,e){var r,n=E_(Fo,this);Ln?r=Ln(new Rn,n?O_(this):Fo):(r=n?this:Cl(Fo),Mo(r,P_,"Error")),e!==void 0&&Mo(r,"message",A_(e)),k_(r,Ye,r.stack,1),arguments.length>2&&x_(r,arguments[2]);var i=[];return j_(t,I_,{that:i}),Mo(r,"errors",i),r};Ln?Ln(Ye,Rn):S_(Ye,Rn,{name:!0});var Fo=Ye.prototype=Cl(Rn.prototype,{constructor:No(1,Ye),message:No(1,""),name:No(1,"AggregateError")});T_({global:!0,constructor:!0,arity:2},{AggregateError:Ye});var jr,We,Ll,zo,D_=K,C_=xi,L_=q,Rl=L("species"),Ml=function(t){var e=D_(t);L_&&e&&!e[Rl]&&C_(e,Rl,{configurable:!0,get:function(){return this}})},R_=N,M_=TypeError,Uo=function(t,e){if(R_(e,t))return t;throw new M_("Incorrect invocation")},Nl=ut,N_=Zf,F_=be,z_=L("species"),Fl=function(t,e){var r,n=Nl(t).constructor;return n===void 0||F_(r=Nl(n)[z_])?e:N_(r)},zl=/(?:ipad|iphone|ipod).*applewebkit/i.test(Rt),ft=D,U_=me,q_=Mt,Ul=R,Y_=F,ql=x,Yl=Au,W_=lr,Wl=hi,G_=uf,X_=zl,V_=pr,qo=ft.setImmediate,Yo=ft.clearImmediate,B_=ft.process,Wo=ft.Dispatch,H_=ft.Function,Gl=ft.MessageChannel,K_=ft.String,Go=0,Ar={},Xl="onreadystatechange";ql(function(){jr=ft.location});var Xo=function(t){if(Y_(Ar,t)){var e=Ar[t];delete Ar[t],e()}},Vo=function(t){return function(){Xo(t)}},Vl=function(t){Xo(t.data)},Bl=function(t){ft.postMessage(K_(t),jr.protocol+"//"+jr.host)};qo&&Yo||(qo=function(t){G_(arguments.length,1);var e=Ul(t)?t:H_(t),r=W_(arguments,1);return Ar[++Go]=function(){U_(e,void 0,r)},We(Go),Go},Yo=function(t){delete Ar[t]},V_?We=function(t){B_.nextTick(Vo(t))}:Wo&&Wo.now?We=function(t){Wo.now(Vo(t))}:Gl&&!X_?(zo=(Ll=new Gl).port2,Ll.port1.onmessage=Vl,We=q_(zo.postMessage,zo)):ft.addEventListener&&Ul(ft.postMessage)&&!ft.importScripts&&jr&&jr.protocol!=="file:"&&!ql(Bl)?(We=Bl,ft.addEventListener("message",Vl,!1)):We=Xl in Wl("script")?function(t){Yl.appendChild(Wl("script"))[Xl]=function(){Yl.removeChild(this),Xo(t)}}:function(t){setTimeout(Vo(t),0)});var Hl={set:qo,clear:Yo},Kl=function(){this.head=null,this.tail=null};Kl.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return(this.head=t.next)===null&&(this.tail=null),t.item}};var Ge,Bo,Ho,Ko,Jl,$l=Kl,J_=/ipad|iphone|ipod/i.test(Rt)&&typeof Pebble<"u",$_=/web0s(?!.*chrome)/i.test(Rt),he=D,Ql=Mt,Q_=Ht.f,Jo=Hl.set,Z_=$l,tT=zl,eT=J_,rT=$_,$o=pr,Zl=he.MutationObserver||he.WebKitMutationObserver,th=he.document,eh=he.process,Mn=he.Promise,rh=Q_(he,"queueMicrotask"),Qo=rh&&rh.value;if(!Qo){var Nn=new Z_,Fn=function(){var t,e;for($o&&(t=eh.domain)&&t.exit();e=Nn.get();)try{e()}catch(r){throw Nn.head&&Ge(),r}t&&t.enter()};tT||$o||rT||!Zl||!th?!eT&&Mn&&Mn.resolve?((Ko=Mn.resolve(void 0)).constructor=Mn,Jl=Ql(Ko.then,Ko),Ge=function(){Jl(Fn)}):$o?Ge=function(){eh.nextTick(Fn)}:(Jo=Ql(Jo,he),Ge=function(){Jo(Fn)}):(Bo=!0,Ho=th.createTextNode(""),new Zl(Fn).observe(Ho,{characterData:!0}),Ge=function(){Ho.data=Bo=!Bo}),Qo=function(t){Nn.head||Ge(),Nn.add(t)}}var nT=Qo,Xe=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},pe=D.Promise,nh=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",iT=!nh&&!pr&&typeof window=="object"&&typeof document=="object",oT=D,Pr=pe,aT=R,uT=uu,sT=yu,cT=L,fT=iT,lT=nh,Zo=Jt,ih=Pr&&Pr.prototype,hT=cT("species"),oh=!1,ah=aT(oT.PromiseRejectionEvent),pT=uT("Promise",function(){var t=sT(Pr),e=t!==String(Pr);if(!e&&Zo===66||!ih.catch||!ih.finally)return!0;if(!Zo||Zo<51||!/native code/.test(t)){var r=new Pr(function(i){i(1)}),n=function(i){i(function(){},function(){})};if((r.constructor={})[hT]=n,!(oh=r.then(function(){})instanceof n))return!0}return!e&&(fT||lT)&&!ah}),Ir={CONSTRUCTOR:pT,REJECTION_EVENT:ah,SUBCLASSING:oh},Tt={},uh=Z,vT=TypeError,dT=function(t){var e,r;this.promise=new t(function(n,i){if(e!==void 0||r!==void 0)throw new vT("Bad Promise constructor");e=n,r=i}),this.resolve=uh(e),this.reject=uh(r)};Tt.f=function(t){return new dT(t)};var ta,sh,yT=T,zn=pr,Xt=D,Dr=Y,gT=ke,mT=Zt,bT=Ml,wT=Z,ea=R,_T=X,TT=Uo,ET=Fl,ch=Hl.set,ra=nT,OT=function(t,e){try{arguments.length===1?console.error(t):console.error(t,e)}catch{}},ST=Xe,xT=$l,fh=Ft,na=pe,lh=Ir,hh=Tt,Un="Promise",ph=lh.CONSTRUCTOR,kT=lh.REJECTION_EVENT,ia=fh.getterFor(Un),jT=fh.set,AT=na&&na.prototype,Cr=na,oa=AT,vh=Xt.TypeError,aa=Xt.document,ua=Xt.process,sa=hh.f,PT=sa,IT=!!(aa&&aa.createEvent&&Xt.dispatchEvent),dh="unhandledrejection",yh=function(t){var e;return!(!_T(t)||!ea(e=t.then))&&e},gh=function(t,e){var r,n,i,o=e.value,a=e.state===1,u=a?t.ok:t.fail,s=t.resolve,c=t.reject,f=t.domain;try{u?(a||(e.rejection===2&&CT(e),e.rejection=1),u===!0?r=o:(f&&f.enter(),r=u(o),f&&(f.exit(),i=!0)),r===t.promise?c(new vh("Promise-chain cycle")):(n=yh(r))?Dr(n,r,s,c):s(r)):c(o)}catch(l){f&&!i&&f.exit(),c(l)}},mh=function(t,e){t.notified||(t.notified=!0,ra(function(){for(var r,n=t.reactions;r=n.get();)gh(r,t);t.notified=!1,e&&!t.rejection&&DT(t)}))},bh=function(t,e,r){var n,i;IT?((n=aa.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),Xt.dispatchEvent(n)):n={promise:e,reason:r},!kT&&(i=Xt["on"+t])?i(n):t===dh&&OT("Unhandled promise rejection",r)},DT=function(t){Dr(ch,Xt,function(){var e,r=t.facade,n=t.value;if(wh(t)&&(e=ST(function(){zn?ua.emit("unhandledRejection",n,r):bh(dh,r,n)}),t.rejection=zn||wh(t)?2:1,e.error))throw e.value})},wh=function(t){return t.rejection!==1&&!t.parent},CT=function(t){Dr(ch,Xt,function(){var e=t.facade;zn?ua.emit("rejectionHandled",e):bh("rejectionhandled",e,t.value)})},Ve=function(t,e,r){return function(n){t(e,n,r)}},Be=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,mh(t,!0))},ca=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new vh("Promise can't be resolved itself");var n=yh(e);n?ra(function(){var i={done:!1};try{Dr(n,e,Ve(ca,i,t),Ve(Be,i,t))}catch(o){Be(i,o,t)}}):(t.value=e,t.state=1,mh(t,!1))}catch(i){Be({done:!1},i,t)}}};ph&&(oa=(Cr=function(t){TT(this,oa),wT(t),Dr(ta,this);var e=ia(this);try{t(Ve(ca,e),Ve(Be,e))}catch(r){Be(e,r)}}).prototype,(ta=function(t){jT(this,{type:Un,done:!1,notified:!1,parent:!1,reactions:new xT,rejection:!1,state:0,value:void 0})}).prototype=gT(oa,"then",function(t,e){var r=ia(this),n=sa(ET(this,Cr));return r.parent=!0,n.ok=!ea(t)||t,n.fail=ea(e)&&e,n.domain=zn?ua.domain:void 0,r.state===0?r.reactions.add(n):ra(function(){gh(n,r)}),n.promise}),sh=function(){var t=new ta,e=ia(t);this.promise=t,this.resolve=Ve(ca,e),this.reject=Ve(Be,e)},hh.f=sa=function(t){return t===Cr||t===void 0?new sh(t):PT(t)}),yT({global:!0,constructor:!0,wrap:!0,forced:ph},{Promise:Cr}),mT(Cr,Un,!1,!0),bT(Un);var LT=pe,qn=Ir.CONSTRUCTOR||!Ic(function(t){LT.all(t).then(void 0,function(){})}),RT=Y,MT=Z,NT=Tt,FT=Xe,zT=le;T({target:"Promise",stat:!0,forced:qn},{all:function(t){var e=this,r=NT.f(e),n=r.resolve,i=r.reject,o=FT(function(){var a=MT(e.resolve),u=[],s=0,c=1;zT(t,function(f){var l=s++,h=!1;c++,RT(a,e,f).then(function(p){h||(h=!0,u[l]=p,--c||n(u))},i)}),--c||n(u)});return o.error&&i(o.value),r.promise}});var UT=T,qT=Ir.CONSTRUCTOR;pe&&pe.prototype,UT({target:"Promise",proto:!0,forced:qT,real:!0},{catch:function(t){return this.then(void 0,t)}});var YT=Y,WT=Z,GT=Tt,XT=Xe,VT=le;T({target:"Promise",stat:!0,forced:qn},{race:function(t){var e=this,r=GT.f(e),n=r.reject,i=XT(function(){var o=WT(e.resolve);VT(t,function(a){YT(o,e,a).then(r.resolve,n)})});return i.error&&n(i.value),r.promise}});var BT=Y,HT=Tt;T({target:"Promise",stat:!0,forced:Ir.CONSTRUCTOR},{reject:function(t){var e=HT.f(this);return BT(e.reject,void 0,t),e.promise}});var KT=ut,JT=X,$T=Tt,_h=function(t,e){if(KT(t),JT(e)&&e.constructor===t)return e;var r=$T.f(t);return(0,r.resolve)(e),r.promise},QT=T,ZT=pe,tE=Ir.CONSTRUCTOR,eE=_h,rE=K("Promise"),nE=!tE;QT({target:"Promise",stat:!0,forced:!0},{resolve:function(t){return eE(nE&&this===rE?ZT:this,t)}});var iE=Y,oE=Z,aE=Tt,uE=Xe,sE=le;T({target:"Promise",stat:!0,forced:qn},{allSettled:function(t){var e=this,r=aE.f(e),n=r.resolve,i=r.reject,o=uE(function(){var a=oE(e.resolve),u=[],s=0,c=1;sE(t,function(f){var l=s++,h=!1;c++,iE(a,e,f).then(function(p){h||(h=!0,u[l]={status:"fulfilled",value:p},--c||n(u))},function(p){h||(h=!0,u[l]={status:"rejected",reason:p},--c||n(u))})}),--c||n(u)});return o.error&&i(o.value),r.promise}});var cE=Y,fE=Z,lE=K,hE=Tt,pE=Xe,vE=le,Th="No one promise resolved";T({target:"Promise",stat:!0,forced:qn},{any:function(t){var e=this,r=lE("AggregateError"),n=hE.f(e),i=n.resolve,o=n.reject,a=pE(function(){var u=fE(e.resolve),s=[],c=0,f=1,l=!1;vE(t,function(h){var p=c++,g=!1;f++,cE(u,e,h).then(function(m){g||l||(l=!0,i(m))},function(m){g||l||(g=!0,s[p]=m,--f||o(new r(s,Th)))})}),--f||o(new r(s,Th))});return a.error&&o(a.value),n.promise}});var dE=T,fa=pe,yE=x,gE=K,mE=R,bE=Fl,Eh=_h,wE=fa&&fa.prototype;dE({target:"Promise",proto:!0,real:!0,forced:!!fa&&yE(function(){wE.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=bE(this,gE("Promise")),r=mE(t);return this.then(r?function(n){return Eh(e,t()).then(function(){return n})}:t,r?function(n){return Eh(e,t()).then(function(){throw n})}:t)}});var _E=C.Promise,TE=Tt;T({target:"Promise",stat:!0},{withResolvers:function(){var t=TE.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var EE=_E,OE=Tt,SE=Xe;T({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=OE.f(this),r=SE(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var xE=EE,kE=Jc;(function(t){var e=$1.default,r=vu,n=Qi,i=gl,o=Tl,a=Q1,u=Fc,s=ml,c=xE,f=kE,l=Yc;function h(){t.exports=h=function(){return g},t.exports.__esModule=!0,t.exports.default=t.exports;var p,g={},m=Object.prototype,b=m.hasOwnProperty,O=r||function(v,d,y){v[d]=y.value},w=typeof n=="function"?n:{},k=w.iterator||"@@iterator",A=w.asyncIterator||"@@asyncIterator",I=w.toStringTag||"@@toStringTag";function B(v,d,y){return r(v,d,{value:y,enumerable:!0,configurable:!0,writable:!0}),v[d]}try{B({},"")}catch{B=function(d,y,S){return d[y]=S}}function Ot(v,d,y,S){var _=d&&d.prototype instanceof ka?d:ka,j=i(_.prototype),U=new Pa(S||[]);return O(j,"_invoke",{value:pS(v,y,U)}),j}function at(v,d,y){try{return{type:"normal",arg:v.call(d,y)}}catch(S){return{type:"throw",arg:S}}}g.wrap=Ot;var lt="suspendedStart",Bt="suspendedYield",Vn="executing",He="completed",ht={};function ka(){}function Bn(){}function ye(){}var ja={};B(ja,k,function(){return this});var Hn=o&&o(o(Ia([])));Hn&&Hn!==m&&b.call(Hn,k)&&(ja=Hn);var Ke=ye.prototype=ka.prototype=i(ja);function ip(v){var d;a(d=["next","throw","return"]).call(d,function(y){B(v,y,function(S){return this._invoke(y,S)})})}function Kn(v,d){function y(_,j,U,pt){var vt=at(v[_],v,j);if(vt.type!=="throw"){var Je=vt.arg,Rr=Je.value;return Rr&&e(Rr)=="object"&&b.call(Rr,"__await")?d.resolve(Rr.__await).then(function(ge){y("next",ge,U,pt)},function(ge){y("throw",ge,U,pt)}):d.resolve(Rr).then(function(ge){Je.value=ge,U(Je)},function(ge){return y("throw",ge,U,pt)})}pt(vt.arg)}var S;O(this,"_invoke",{value:function(_,j){function U(){return new d(function(pt,vt){y(_,j,pt,vt)})}return S=S?S.then(U,U):U()}})}function pS(v,d,y){var S=lt;return function(_,j){if(S===Vn)throw new Error("Generator is already running");if(S===He){if(_==="throw")throw j;return{value:p,done:!0}}for(y.method=_,y.arg=j;;){var U=y.delegate;if(U){var pt=op(U,y);if(pt){if(pt===ht)continue;return pt}}if(y.method==="next")y.sent=y._sent=y.arg;else if(y.method==="throw"){if(S===lt)throw S=He,y.arg;y.dispatchException(y.arg)}else y.method==="return"&&y.abrupt("return",y.arg);S=Vn;var vt=at(v,d,y);if(vt.type==="normal"){if(S=y.done?He:Bt,vt.arg===ht)continue;return{value:vt.arg,done:y.done}}vt.type==="throw"&&(S=He,y.method="throw",y.arg=vt.arg)}}}function op(v,d){var y=d.method,S=v.iterator[y];if(S===p)return d.delegate=null,y==="throw"&&v.iterator.return&&(d.method="return",d.arg=p,op(v,d),d.method==="throw")||y!=="return"&&(d.method="throw",d.arg=new TypeError("The iterator does not provide a '"+y+"' method")),ht;var _=at(S,v.iterator,d.arg);if(_.type==="throw")return d.method="throw",d.arg=_.arg,d.delegate=null,ht;var j=_.arg;return j?j.done?(d[v.resultName]=j.value,d.next=v.nextLoc,d.method!=="return"&&(d.method="next",d.arg=p),d.delegate=null,ht):j:(d.method="throw",d.arg=new TypeError("iterator result is not an object"),d.delegate=null,ht)}function vS(v){var d,y={tryLoc:v[0]};1 in v&&(y.catchLoc=v[1]),2 in v&&(y.finallyLoc=v[2],y.afterLoc=v[3]),u(d=this.tryEntries).call(d,y)}function Aa(v){var d=v.completion||{};d.type="normal",delete d.arg,v.completion=d}function Pa(v){this.tryEntries=[{tryLoc:"root"}],a(v).call(v,vS,this),this.reset(!0)}function Ia(v){if(v||v===""){var d=v[k];if(d)return d.call(v);if(typeof v.next=="function")return v;if(!isNaN(v.length)){var y=-1,S=function _(){for(;++y<v.length;)if(b.call(v,y))return _.value=v[y],_.done=!1,_;return _.value=p,_.done=!0,_};return S.next=S}}throw new TypeError(e(v)+" is not iterable")}return Bn.prototype=ye,O(Ke,"constructor",{value:ye,configurable:!0}),O(ye,"constructor",{value:Bn,configurable:!0}),Bn.displayName=B(ye,I,"GeneratorFunction"),g.isGeneratorFunction=function(v){var d=typeof v=="function"&&v.constructor;return!!d&&(d===Bn||(d.displayName||d.name)==="GeneratorFunction")},g.mark=function(v){return s?s(v,ye):(v.__proto__=ye,B(v,I,"GeneratorFunction")),v.prototype=i(Ke),v},g.awrap=function(v){return{__await:v}},ip(Kn.prototype),B(Kn.prototype,A,function(){return this}),g.AsyncIterator=Kn,g.async=function(v,d,y,S,_){_===void 0&&(_=c);var j=new Kn(Ot(v,d,y,S),_);return g.isGeneratorFunction(d)?j:j.next().then(function(U){return U.done?U.value:j.next()})},ip(Ke),B(Ke,I,"Generator"),B(Ke,k,function(){return this}),B(Ke,"toString",function(){return"[object Generator]"}),g.keys=function(v){var d=Object(v),y=[];for(var S in d)u(y).call(y,S);return f(y).call(y),function _(){for(;y.length;){var j=y.pop();if(j in d)return _.value=j,_.done=!1,_}return _.done=!0,_}},g.values=Ia,Pa.prototype={constructor:Pa,reset:function(v){var d;if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,a(d=this.tryEntries).call(d,Aa),!v)for(var y in this)y.charAt(0)==="t"&&b.call(this,y)&&!isNaN(+l(y).call(y,1))&&(this[y]=p)},stop:function(){this.done=!0;var v=this.tryEntries[0].completion;if(v.type==="throw")throw v.arg;return this.rval},dispatchException:function(v){if(this.done)throw v;var d=this;function y(vt,Je){return j.type="throw",j.arg=v,d.next=vt,Je&&(d.method="next",d.arg=p),!!Je}for(var S=this.tryEntries.length-1;S>=0;--S){var _=this.tryEntries[S],j=_.completion;if(_.tryLoc==="root")return y("end");if(_.tryLoc<=this.prev){var U=b.call(_,"catchLoc"),pt=b.call(_,"finallyLoc");if(U&&pt){if(this.prev<_.catchLoc)return y(_.catchLoc,!0);if(this.prev<_.finallyLoc)return y(_.finallyLoc)}else if(U){if(this.prev<_.catchLoc)return y(_.catchLoc,!0)}else{if(!pt)throw new Error("try statement without catch or finally");if(this.prev<_.finallyLoc)return y(_.finallyLoc)}}}},abrupt:function(v,d){for(var y=this.tryEntries.length-1;y>=0;--y){var S=this.tryEntries[y];if(S.tryLoc<=this.prev&&b.call(S,"finallyLoc")&&this.prev<S.finallyLoc){var _=S;break}}_&&(v==="break"||v==="continue")&&_.tryLoc<=d&&d<=_.finallyLoc&&(_=null);var j=_?_.completion:{};return j.type=v,j.arg=d,_?(this.method="next",this.next=_.finallyLoc,ht):this.complete(j)},complete:function(v,d){if(v.type==="throw")throw v.arg;return v.type==="break"||v.type==="continue"?this.next=v.arg:v.type==="return"?(this.rval=this.arg=v.arg,this.method="return",this.next="end"):v.type==="normal"&&d&&(this.next=d),ht},finish:function(v){for(var d=this.tryEntries.length-1;d>=0;--d){var y=this.tryEntries[d];if(y.finallyLoc===v)return this.complete(y.completion,y.afterLoc),Aa(y),ht}},catch:function(v){for(var d=this.tryEntries.length-1;d>=0;--d){var y=this.tryEntries[d];if(y.tryLoc===v){var S=y.completion;if(S.type==="throw"){var _=S.arg;Aa(y)}return _}}throw new Error("illegal catch attempt")},delegateYield:function(v,d,y){return this.delegate={iterator:Ia(v),resultName:d,nextLoc:y},this.method==="next"&&(this.arg=p),ht}},g}t.exports=h,t.exports.__esModule=!0,t.exports.default=t.exports})(Ol);var Yn=(0,Ol.exports)(),jE=Yn;try{regeneratorRuntime=Yn}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=Yn:Function("r","regeneratorRuntime = r")(Yn)}var ot=E(jE),Oh={exports:{}},AE=x(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),PE=x,IE=X,DE=Ct,Sh=AE,Wn=Object.isExtensible,CE=PE(function(){Wn(1)})||Sh?function(t){return!!IE(t)&&(!Sh||DE(t)!=="ArrayBuffer")&&(!Wn||Wn(t))}:Wn,LE=!x(function(){return Object.isExtensible(Object.preventExtensions({}))}),RE=T,ME=P,NE=rr,FE=X,la=F,zE=et.f,xh=nr,UE=Si,ha=CE,qE=LE,kh=!1,Dt=Yr("meta"),YE=0,pa=function(t){zE(t,Dt,{value:{objectID:"O"+YE++,weakData:{}}})},WE=Oh.exports={enable:function(){WE.enable=function(){},kh=!0;var t=xh.f,e=ME([].splice),r={};r[Dt]=1,t(r).length&&(xh.f=function(n){for(var i=t(n),o=0,a=i.length;o<a;o++)if(i[o]===Dt){e(i,o,1);break}return i},RE({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:UE.f}))},fastKey:function(t,e){if(!FE(t))return typeof t=="symbol"?t:(typeof t=="string"?"S":"P")+t;if(!la(t,Dt)){if(!ha(t))return"F";if(!e)return"E";pa(t)}return t[Dt].objectID},getWeakData:function(t,e){if(!la(t,Dt)){if(!ha(t))return!0;if(!e)return!1;pa(t)}return t[Dt].weakData},onFreeze:function(t){return qE&&kh&&ha(t)&&!la(t,Dt)&&pa(t),t}};NE[Dt]=!0;var jh=Oh.exports,GE=T,XE=D,VE=jh,BE=x,HE=kt,KE=le,JE=Uo,$E=R,QE=X,ZE=be,tO=Zt,eO=et.f,rO=Ae.forEach,nO=q,iO=Ft.set,oO=Ft.getterFor,Ah=function(t,e,r){var n,i=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,a=i?"set":"add",u=XE[t],s=u&&u.prototype,c={};if(nO&&$E(u)&&(o||s.forEach&&!BE(function(){new u().entries().next()}))){var f=(n=e(function(h,p){iO(JE(h,f),{type:t,collection:new u}),ZE(p)||KE(p,h[a],{that:h,AS_ENTRIES:i})})).prototype,l=oO(t);rO(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(h){var p=h==="add"||h==="set";!(h in s)||o&&h==="clear"||HE(f,h,function(g,m){var b=l(this).collection;if(!p&&o&&!QE(g))return h==="get"&&void 0;var O=b[h](g===0?0:g,m);return p?this:O})}),o||eO(f,"size",{configurable:!0,get:function(){return l(this).collection.size}})}else n=r.getConstructor(e,t,i,a),VE.enable();return tO(n,t,!1,!0),c[t]=n,GE({global:!0,forced:!0},c),o||r.setStrong(n,t,i),n},aO=ke,uO=Qt,sO=xi,Ph=function(t,e,r){for(var n in e)r&&r.unsafe&&t[n]?t[n]=e[n]:aO(t,n,e[n],r);return t},cO=Mt,fO=Uo,lO=be,hO=le,pO=Vi,Ih=Bi,vO=Ml,Lr=q,Dh=jh.fastKey,Ch=Ft.set,va=Ft.getterFor,Lh={getConstructor:function(t,e,r,n){var i=t(function(c,f){fO(c,o),Ch(c,{type:e,index:uO(null),first:void 0,last:void 0,size:0}),Lr||(c.size=0),lO(f)||hO(f,c[n],{that:c,AS_ENTRIES:r})}),o=i.prototype,a=va(e),u=function(c,f,l){var h,p,g=a(c),m=s(c,f);return m?m.value=l:(g.last=m={index:p=Dh(f,!0),key:f,value:l,previous:h=g.last,next:void 0,removed:!1},g.first||(g.first=m),h&&(h.next=m),Lr?g.size++:c.size++,p!=="F"&&(g.index[p]=m)),c},s=function(c,f){var l,h=a(c),p=Dh(f);if(p!=="F")return h.index[p];for(l=h.first;l;l=l.next)if(l.key===f)return l};return Ph(o,{clear:function(){for(var c=a(this),f=c.index,l=c.first;l;)l.removed=!0,l.previous&&(l.previous=l.previous.next=void 0),delete f[l.index],l=l.next;c.first=c.last=void 0,Lr?c.size=0:this.size=0},delete:function(c){var f=this,l=a(f),h=s(f,c);if(h){var p=h.next,g=h.previous;delete l.index[h.index],h.removed=!0,g&&(g.next=p),p&&(p.previous=g),l.first===h&&(l.first=p),l.last===h&&(l.last=g),Lr?l.size--:f.size--}return!!h},forEach:function(c){for(var f,l=a(this),h=cO(c,arguments.length>1?arguments[1]:void 0);f=f?f.next:l.first;)for(h(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(c){return!!s(this,c)}}),Ph(o,r?{get:function(c){var f=s(this,c);return f&&f.value},set:function(c,f){return u(this,c===0?0:c,f)}}:{add:function(c){return u(this,c=c===0?0:c,c)}}),Lr&&sO(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(t,e,r){var n=e+" Iterator",i=va(e),o=va(n);pO(t,e,function(a,u){Ch(this,{type:n,target:a,state:i(a),kind:u,last:void 0})},function(){for(var a=o(this),u=a.kind,s=a.last;s&&s.removed;)s=s.previous;return a.target&&(a.last=s=s?s.next:a.state.first)?Ih(u==="keys"?s.key:u==="values"?s.value:[s.key,s.value],!1):(a.target=void 0,Ih(void 0,!0))},r?"entries":"values",!r,!0),vO(e)}};Ah("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Lh);var Rh=E(C.Map),dO=Ae.some;T({target:"Array",proto:!0,forced:!bn("some")},{some:function(t){return dO(this,t,arguments.length>1?arguments[1]:void 0)}});var yO=H("Array","some"),gO=N,mO=yO,da=Array.prototype,bO=E(function(t){var e=t.some;return t===da||gO(da,t)&&e===da.some?mO:e}),wO=H("Array","keys"),_O=jt,TO=F,EO=N,OO=wO,ya=Array.prototype,SO={DOMTokenList:!0,NodeList:!0},ve=E(function(t){var e=t.keys;return t===ya||EO(ya,t)&&e===ya.keys||TO(SO,_O(t))?OO:e}),Mh=Mu,xO=Math.floor,ga=function(t,e){var r=t.length,n=xO(r/2);return r<8?kO(t,e):jO(t,ga(Mh(t,0,n),e),ga(Mh(t,n),e),e)},kO=function(t,e){for(var r,n,i=t.length,o=1;o<i;){for(n=o,r=t[o];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==o++&&(t[n]=r)}return t},jO=function(t,e,r,n){for(var i=e.length,o=r.length,a=0,u=0;a<i||u<o;)t[a+u]=a<i&&u<o?n(e[a],r[u])<=0?e[a++]:r[u++]:a<i?e[a++]:r[u++];return t},AO=ga,Nh=Rt.match(/firefox\/(\d+)/i),PO=!!Nh&&+Nh[1],IO=/MSIE|Trident/.test(Rt),Fh=Rt.match(/AppleWebKit\/(\d+)\./),DO=!!Fh&&+Fh[1],CO=T,zh=P,LO=Z,RO=tt,Uh=st,MO=Qc,qh=$t,ma=x,NO=AO,FO=bn,Yh=PO,zO=IO,Wh=Jt,Gh=DO,Vt=[],Xh=zh(Vt.sort),UO=zh(Vt.push),qO=ma(function(){Vt.sort(void 0)}),YO=ma(function(){Vt.sort(null)}),WO=FO("sort"),Vh=!ma(function(){if(Wh)return Wh<70;if(!(Yh&&Yh>3)){if(zO)return!0;if(Gh)return Gh<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)Vt.push({k:e+n,v:r})}for(Vt.sort(function(o,a){return a.v-o.v}),n=0;n<Vt.length;n++)e=Vt[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return i!=="DGBEFHACIJK"}});CO({target:"Array",proto:!0,forced:qO||!YO||!WO||!Vh},{sort:function(t){t!==void 0&&LO(t);var e=RO(this);if(Vh)return t===void 0?Xh(e):Xh(e,t);var r,n,i=[],o=Uh(e);for(n=0;n<o;n++)n in e&&UO(i,e[n]);for(NO(i,function(a){return function(u,s){return s===void 0?-1:u===void 0?1:a!==void 0?+a(u,s)||0:qh(u)>qh(s)?1:-1}}(t)),r=Uh(i),n=0;n<r;)e[n]=i[n++];for(;n<o;)MO(e,n++);return e}});var GO=H("Array","sort"),XO=N,VO=GO,ba=Array.prototype,wa=E(function(t){var e=t.sort;return t===ba||XO(ba,t)&&e===ba.sort?VO:e}),BO=H("Array","values"),HO=jt,KO=F,JO=N,$O=BO,_a=Array.prototype,QO={DOMTokenList:!0,NodeList:!0},Bh=E(function(t){var e=t.values;return t===_a||JO(_a,t)&&e===_a.values||KO(QO,HO(t))?$O:e}),de=E(cc),ZO=H("Array","entries"),tS=jt,eS=F,rS=N,nS=ZO,Ta=Array.prototype,iS={DOMTokenList:!0,NodeList:!0},oS=E(function(t){var e=t.entries;return t===Ta||rS(Ta,t)&&e===Ta.entries||eS(iS,tS(t))?nS:e});let Gn;const aS=new Uint8Array(16);function uS(){if(!Gn&&(Gn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Gn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Gn(aS)}const V=[];for(let t=0;t<256;++t)V.push((t+256).toString(16).slice(1));var Hh={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function sS(t,e,r){if(Hh.randomUUID&&!e&&!t)return Hh.randomUUID();const n=(t=t||{}).random||(t.rng||uS)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(let i=0;i<16;++i)e[r+i]=n[i];return e}return function(i,o=0){return V[i[o+0]]+V[i[o+1]]+V[i[o+2]]+V[i[o+3]]+"-"+V[i[o+4]]+V[i[o+5]]+"-"+V[i[o+6]]+V[i[o+7]]+"-"+V[i[o+8]]+V[i[o+9]]+"-"+V[i[o+10]]+V[i[o+11]]+V[i[o+12]]+V[i[o+13]]+V[i[o+14]]+V[i[o+15]]}(n)}function Ea(t){return typeof t=="string"||typeof t=="number"}var Kh=function(){function t(e){xt(this,t),dt(this,"_queue",[]),dt(this,"_timeout",null),dt(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(e)}return ne(t,[{key:"setOptions",value:function(e){e&&e.delay!==void 0&&(this.delay=e.delay),e&&e.max!==void 0&&(this.max=e.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var e=this._extended.object,r=this._extended.methods,n=0;n<r.length;n++){var i=r[n];i.original?e[i.name]=i.original:delete e[i.name]}this._extended=null}}},{key:"replace",value:function(e,r){var n=this,i=e[r];if(!i)throw new Error("Method "+r+" undefined");e[r]=function(){for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];n.queue({args:a,fn:i,context:this})}}},{key:"queue",value:function(e){typeof e=="function"?this._queue.push({fn:e}):this._queue.push(e),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var e=this;this._queue.length>this.max&&this.flush(),this._timeout!=null&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&typeof this.delay=="number"&&(this._timeout=o1(function(){e.flush()},this.delay))}},{key:"flush",value:function(){var e,r;qt(e=Zc(r=this._queue).call(r,0)).call(e,function(n){n.fn.apply(n.context||n.fn,n.args||[])})}}],[{key:"extend",value:function(e,r){var n=new t(r);if(e.flush!==void 0)throw new Error("Target object already has a property flush");e.flush=function(){n.flush()};var i=[{name:"flush",original:void 0}];if(r&&r.replace)for(var o=0;o<r.replace.length;o++){var a=r.replace[o];i.push({name:a,original:e[a]}),n.replace(e,a)}return n._extended={object:e,methods:i},n}}]),t}(),Jh=function(){function t(){xt(this,t),dt(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),dt(this,"subscribe",t.prototype.on),dt(this,"unsubscribe",t.prototype.off)}return ne(t,[{key:"_trigger",value:function(e,r,n){var i,o;if(e==="*")throw new Error("Cannot trigger event *");qt(i=En(o=[]).call(o,J(this._subscribers[e]),J(this._subscribers["*"]))).call(i,function(a){a(e,r,n??null)})}},{key:"on",value:function(e,r){typeof r=="function"&&this._subscribers[e].push(r)}},{key:"off",value:function(e,r){var n;this._subscribers[e]=G(n=this._subscribers[e]).call(n,function(i){return i!==r})}}]),t}();Ah("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Lh);var Xn=E(C.Set),Oa=E(ao);function Et(t,e){var r=vr!==void 0&&Tn(t)||t["@@iterator"];if(!r){if($(t)||(r=function(s,c){var f;if(s){if(typeof s=="string")return $h(s,c);var l=dr(f=Object.prototype.toString.call(s)).call(f,8,-1);if(l==="Object"&&s.constructor&&(l=s.constructor.name),l==="Map"||l==="Set")return _n(s);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return $h(s,c)}}(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var s=r.next();return a=s.done,s},e:function(s){u=!0,o=s},f:function(){try{a||r.return==null||r.return()}finally{if(u)throw o}}}}function $h(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Sa=function(t){function e(r){xt(this,e),this._pairs=r}return ne(e,[{key:t,value:ot.mark(function r(){var n,i,o,a,u;return ot.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:n=Et(this._pairs),s.prev=1,n.s();case 3:if((i=n.n()).done){s.next=9;break}return o=nt(i.value,2),a=o[0],u=o[1],s.next=7,[a,u];case 7:s.next=3;break;case 9:s.next=14;break;case 11:s.prev=11,s.t0=s.catch(1),n.e(s.t0);case 14:return s.prev=14,n.f(),s.finish(14);case 17:case"end":return s.stop()}},r,this,[[1,11,14,17]])})},{key:"entries",value:ot.mark(function r(){var n,i,o,a,u;return ot.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:n=Et(this._pairs),s.prev=1,n.s();case 3:if((i=n.n()).done){s.next=9;break}return o=nt(i.value,2),a=o[0],u=o[1],s.next=7,[a,u];case 7:s.next=3;break;case 9:s.next=14;break;case 11:s.prev=11,s.t0=s.catch(1),n.e(s.t0);case 14:return s.prev=14,n.f(),s.finish(14);case 17:case"end":return s.stop()}},r,this,[[1,11,14,17]])})},{key:"keys",value:ot.mark(function r(){var n,i,o,a;return ot.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:n=Et(this._pairs),u.prev=1,n.s();case 3:if((i=n.n()).done){u.next=9;break}return o=nt(i.value,1),a=o[0],u.next=7,a;case 7:u.next=3;break;case 9:u.next=14;break;case 11:u.prev=11,u.t0=u.catch(1),n.e(u.t0);case 14:return u.prev=14,n.f(),u.finish(14);case 17:case"end":return u.stop()}},r,this,[[1,11,14,17]])})},{key:"values",value:ot.mark(function r(){var n,i,o,a;return ot.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:n=Et(this._pairs),u.prev=1,n.s();case 3:if((i=n.n()).done){u.next=9;break}return o=nt(i.value,2),a=o[1],u.next=7,a;case 7:u.next=3;break;case 9:u.next=14;break;case 11:u.prev=11,u.t0=u.catch(1),n.e(u.t0);case 14:return u.prev=14,n.f(),u.finish(14);case 17:case"end":return u.stop()}},r,this,[[1,11,14,17]])})},{key:"toIdArray",value:function(){var r;return ct(r=J(this._pairs)).call(r,function(n){return n[0]})}},{key:"toItemArray",value:function(){var r;return ct(r=J(this._pairs)).call(r,function(n){return n[1]})}},{key:"toEntryArray",value:function(){return J(this._pairs)}},{key:"toObjectMap",value:function(){var r,n=Ww(null),i=Et(this._pairs);try{for(i.s();!(r=i.n()).done;){var o=nt(r.value,2),a=o[0],u=o[1];n[a]=u}}catch(s){i.e(s)}finally{i.f()}return n}},{key:"toMap",value:function(){return new Rh(this._pairs)}},{key:"toIdSet",value:function(){return new Xn(this.toIdArray())}},{key:"toItemSet",value:function(){return new Xn(this.toItemArray())}},{key:"cache",value:function(){return new e(J(this._pairs))}},{key:"distinct",value:function(r){var n,i=new Xn,o=Et(this._pairs);try{for(o.s();!(n=o.n()).done;){var a=nt(n.value,2),u=a[0],s=a[1];i.add(r(s,u))}}catch(c){o.e(c)}finally{o.f()}return i}},{key:"filter",value:function(r){var n=this._pairs;return new e({[de]:()=>ot.mark(function i(){var o,a,u,s,c;return ot.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:o=Et(n),f.prev=1,o.s();case 3:if((a=o.n()).done){f.next=10;break}if(u=nt(a.value,2),s=u[0],c=u[1],!r(c,s)){f.next=8;break}return f.next=8,[s,c];case 8:f.next=3;break;case 10:f.next=15;break;case 12:f.prev=12,f.t0=f.catch(1),o.e(f.t0);case 15:return f.prev=15,o.f(),f.finish(15);case 18:case"end":return f.stop()}},i,null,[[1,12,15,18]])})()})}},{key:"forEach",value:function(r){var n,i=Et(this._pairs);try{for(i.s();!(n=i.n()).done;){var o=nt(n.value,2),a=o[0];r(o[1],a)}}catch(u){i.e(u)}finally{i.f()}}},{key:"map",value:function(r){var n=this._pairs;return new e({[de]:()=>ot.mark(function i(){var o,a,u,s,c;return ot.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:o=Et(n),f.prev=1,o.s();case 3:if((a=o.n()).done){f.next=9;break}return u=nt(a.value,2),s=u[0],c=u[1],f.next=7,[s,r(c,s)];case 7:f.next=3;break;case 9:f.next=14;break;case 11:f.prev=11,f.t0=f.catch(1),o.e(f.t0);case 14:return f.prev=14,o.f(),f.finish(14);case 17:case"end":return f.stop()}},i,null,[[1,11,14,17]])})()})}},{key:"max",value:function(r){var n=Oa(this._pairs),i=n.next();if(i.done)return null;for(var o=i.value[1],a=r(i.value[1],i.value[0]);!(i=n.next()).done;){var u=nt(i.value,2),s=u[0],c=u[1],f=r(c,s);f>a&&(a=f,o=c)}return o}},{key:"min",value:function(r){var n=Oa(this._pairs),i=n.next();if(i.done)return null;for(var o=i.value[1],a=r(i.value[1],i.value[0]);!(i=n.next()).done;){var u=nt(i.value,2),s=u[0],c=u[1],f=r(c,s);f<a&&(a=f,o=c)}return o}},{key:"reduce",value:function(r,n){var i,o=Et(this._pairs);try{for(o.s();!(i=o.n()).done;){var a=nt(i.value,2),u=a[0];n=r(n,a[1],u)}}catch(s){o.e(s)}finally{o.f()}return n}},{key:"sort",value:function(r){var n=this;return new e({[de]:function(){var i;return Oa(wa(i=J(n._pairs)).call(i,function(o,a){var u=nt(o,2),s=u[0],c=u[1],f=nt(a,2),l=f[0],h=f[1];return r(c,h,s,l)}))}})}}]),e}(de);function Qh(t,e){var r=po(t);if(al){var n=al(t);e&&(n=G(n).call(n,function(i){return ll(t,i).enumerable})),r.push.apply(r,n)}return r}function Zh(t){for(var e=1;e<arguments.length;e++){var r,n,i=arguments[e]!=null?arguments[e]:{};e%2?qt(r=Qh(Object(i),!0)).call(r,function(o){dt(t,o,i[o])}):hl?K1(t,hl(i)):qt(n=Qh(Object(i))).call(n,function(o){yl(t,o,ll(i,o))})}return t}function xa(t,e){var r=vr!==void 0&&Tn(t)||t["@@iterator"];if(!r){if($(t)||(r=function(s,c){var f;if(s){if(typeof s=="string")return tp(s,c);var l=dr(f=Object.prototype.toString.call(s)).call(f,8,-1);if(l==="Object"&&s.constructor&&(l=s.constructor.name),l==="Map"||l==="Set")return _n(s);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return tp(s,c)}}(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var s=r.next();return a=s.done,s},e:function(s){u=!0,o=s},f:function(){try{a||r.return==null||r.return()}finally{if(u)throw o}}}}function tp(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function cS(t){var e=function(){if(typeof Reflect>"u"||!Gt||Gt.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Gt(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,n=qe(t);if(e){var i=qe(this).constructor;r=Gt(n,arguments,i)}else r=n.apply(this,arguments);return _l(this,r)}}var ep=function(t){wl(r,t);var e=cS(r);function r(n,i){var o;return xt(this,r),dt(kr(o=e.call(this)),"_queue",null),n&&!$(n)&&(i=n,n=[]),o._options=i||{},o._data=new Rh,o.length=0,o._idProp=o._options.fieldId||"id",n&&n.length&&o.add(n),o.setOptions(i),o}return ne(r,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(n){n&&n.queue!==void 0&&(n.queue===!1?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=Kh.extend(this,{replace:["add","update","remove"]})),n.queue&&typeof n.queue=="object"&&this._queue.setOptions(n.queue)))}},{key:"add",value:function(n,i){var o,a=this,u=[];if($(n)){var s=ct(n).call(n,function(l){return l[a._idProp]});if(bO(s).call(s,function(l){return a._data.has(l)}))throw new Error("A duplicate id was found in the parameter array.");for(var c=0,f=n.length;c<f;c++)o=this._addItem(n[c]),u.push(o)}else{if(!n||typeof n!="object")throw new Error("Unknown dataType");o=this._addItem(n),u.push(o)}return u.length&&this._trigger("add",{items:u},i),u}},{key:"update",value:function(n,i){var o=this,a=[],u=[],s=[],c=[],f=this._idProp,l=function(m){var b=m[f];if(b!=null&&o._data.has(b)){var O=m,w=nf({},o._data.get(b)),k=o._updateItem(O);u.push(k),c.push(O),s.push(w)}else{var A=o._addItem(m);a.push(A)}};if($(n))for(var h=0,p=n.length;h<p;h++)n[h]&&typeof n[h]=="object"?l(n[h]):console.warn("Ignoring input item, which is not an object at index "+h);else{if(!n||typeof n!="object")throw new Error("Unknown dataType");l(n)}if(a.length&&this._trigger("add",{items:a},i),u.length){var g={items:u,oldData:s,data:c};this._trigger("update",g,i)}return En(a).call(a,u)}},{key:"updateOnly",value:function(n,i){var o,a=this;$(n)||(n=[n]);var u=ct(o=ct(n).call(n,function(c){var f=a._data.get(c[a._idProp]);if(f==null)throw new Error("Updating non-existent items is not allowed.");return{oldData:f,update:c}})).call(o,function(c){var f=c.oldData,l=c.update,h=f[a._idProp],p=function(g){for(var m,b=arguments.length,O=new Array(b>1?b-1:0),w=1;w<b;w++)O[w-1]=arguments[w];return Jf.apply(void 0,En(m=[{},g]).call(m,O))}(f,l);return a._data.set(h,p),{id:h,oldData:f,updatedData:p}});if(u.length){var s={items:ct(u).call(u,function(c){return c.id}),oldData:ct(u).call(u,function(c){return c.oldData}),data:ct(u).call(u,function(c){return c.updatedData})};return this._trigger("update",s,i),s.items}return[]}},{key:"get",value:function(n,i){var o=void 0,a=void 0,u=void 0;Ea(n)?(o=n,u=i):$(n)?(a=n,u=i):u=n;var s,c=u&&u.returnType==="Object"?"Object":"Array",f=u&&G(u),l=[],h=void 0,p=void 0,g=void 0;if(o!=null)(h=this._data.get(o))&&f&&!f(h)&&(h=void 0);else if(a!=null)for(var m=0,b=a.length;m<b;m++)(h=this._data.get(a[m]))==null||f&&!f(h)||l.push(h);else for(var O,w=0,k=(p=J(ve(O=this._data).call(O))).length;w<k;w++)g=p[w],(h=this._data.get(g))==null||f&&!f(h)||l.push(h);if(u&&u.order&&o==null&&this._sort(l,u.order),u&&u.fields){var A=u.fields;if(o!=null&&h!=null)h=this._filterFields(h,A);else for(var I=0,B=l.length;I<B;I++)l[I]=this._filterFields(l[I],A)}if(c=="Object"){for(var Ot={},at=0,lt=l.length;at<lt;at++){var Bt=l[at];Ot[Bt[this._idProp]]=Bt}return Ot}return o!=null?(s=h)!==null&&s!==void 0?s:null:l}},{key:"getIds",value:function(n){var i=this._data,o=n&&G(n),a=n&&n.order,u=J(ve(i).call(i)),s=[];if(o)if(a){for(var c=[],f=0,l=u.length;f<l;f++){var h=u[f],p=this._data.get(h);p!=null&&o(p)&&c.push(p)}this._sort(c,a);for(var g=0,m=c.length;g<m;g++)s.push(c[g][this._idProp])}else for(var b=0,O=u.length;b<O;b++){var w=u[b],k=this._data.get(w);k!=null&&o(k)&&s.push(k[this._idProp])}else if(a){for(var A=[],I=0,B=u.length;I<B;I++){var Ot=u[I];A.push(i.get(Ot))}this._sort(A,a);for(var at=0,lt=A.length;at<lt;at++)s.push(A[at][this._idProp])}else for(var Bt=0,Vn=u.length;Bt<Vn;Bt++){var He=u[Bt],ht=i.get(He);ht!=null&&s.push(ht[this._idProp])}return s}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(n,i){var o=i&&G(i),a=this._data,u=J(ve(a).call(a));if(i&&i.order)for(var s=this.get(i),c=0,f=s.length;c<f;c++){var l=s[c];n(l,l[this._idProp])}else for(var h=0,p=u.length;h<p;h++){var g=u[h],m=this._data.get(g);m==null||o&&!o(m)||n(m,g)}}},{key:"map",value:function(n,i){for(var o=i&&G(i),a=[],u=this._data,s=J(ve(u).call(u)),c=0,f=s.length;c<f;c++){var l=s[c],h=this._data.get(l);h==null||o&&!o(h)||a.push(n(h,l))}return i&&i.order&&this._sort(a,i.order),a}},{key:"_filterFields",value:function(n,i){var o;return n&&wc(o=$(i)?i:po(i)).call(o,function(a,u){return a[u]=n[u],a},{})}},{key:"_sort",value:function(n,i){if(typeof i=="string"){var o=i;wa(n).call(n,function(a,u){var s=a[o],c=u[o];return s>c?1:s<c?-1:0})}else{if(typeof i!="function")throw new TypeError("Order must be a function or a string");wa(n).call(n,i)}}},{key:"remove",value:function(n,i){for(var o=[],a=[],u=$(n)?n:[n],s=0,c=u.length;s<c;s++){var f=this._remove(u[s]);if(f){var l=f[this._idProp];l!=null&&(o.push(l),a.push(f))}}return o.length&&this._trigger("remove",{items:o,oldData:a},i),o}},{key:"_remove",value:function(n){var i;if(Ea(n)?i=n:n&&typeof n=="object"&&(i=n[this._idProp]),i!=null&&this._data.has(i)){var o=this._data.get(i)||null;return this._data.delete(i),--this.length,o}return null}},{key:"clear",value:function(n){for(var i,o=J(ve(i=this._data).call(i)),a=[],u=0,s=o.length;u<s;u++)a.push(this._data.get(o[u]));return this._data.clear(),this.length=0,this._trigger("remove",{items:o,oldData:a},n),o}},{key:"max",value:function(n){var i,o,a=null,u=null,s=xa(Bh(i=this._data).call(i));try{for(s.s();!(o=s.n()).done;){var c=o.value,f=c[n];typeof f=="number"&&(u==null||f>u)&&(a=c,u=f)}}catch(l){s.e(l)}finally{s.f()}return a||null}},{key:"min",value:function(n){var i,o,a=null,u=null,s=xa(Bh(i=this._data).call(i));try{for(s.s();!(o=s.n()).done;){var c=o.value,f=c[n];typeof f=="number"&&(u==null||f<u)&&(a=c,u=f)}}catch(l){s.e(l)}finally{s.f()}return a||null}},{key:"distinct",value:function(n){for(var i=this._data,o=J(ve(i).call(i)),a=[],u=0,s=0,c=o.length;s<c;s++){for(var f=o[s],l=i.get(f)[n],h=!1,p=0;p<u;p++)if(a[p]==l){h=!0;break}h||l===void 0||(a[u]=l,u++)}return a}},{key:"_addItem",value:function(n){var i=function(a,u){return a[u]==null&&(a[u]=sS()),a}(n,this._idProp),o=i[this._idProp];if(this._data.has(o))throw new Error("Cannot add item: item with id "+o+" already exists");return this._data.set(o,i),++this.length,o}},{key:"_updateItem",value:function(n){var i=n[this._idProp];if(i==null)throw new Error("Cannot update item: item has no id (item: "+Vw(n)+")");var o=this._data.get(i);if(!o)throw new Error("Cannot update item: no item with id "+i+" found");return this._data.set(i,Zh(Zh({},o),n)),i}},{key:"stream",value:function(n){if(n){var i=this._data;return new Sa({[de]:()=>ot.mark(function a(){var u,s,c,f;return ot.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:u=xa(n),l.prev=1,u.s();case 3:if((s=u.n()).done){l.next=11;break}if(c=s.value,(f=i.get(c))==null){l.next=9;break}return l.next=9,[c,f];case 9:l.next=3;break;case 11:l.next=16;break;case 13:l.prev=13,l.t0=l.catch(1),u.e(l.t0);case 16:return l.prev=16,u.f(),l.finish(16);case 19:case"end":return l.stop()}},a,null,[[1,13,16,19]])})()})}var o;return new Sa({[de]:ie(o=oS(this._data)).call(o,this._data)})}}]),r}(Jh);function fS(t,e){var r=vr!==void 0&&Tn(t)||t["@@iterator"];if(!r){if($(t)||(r=function(s,c){var f;if(s){if(typeof s=="string")return rp(s,c);var l=dr(f=Object.prototype.toString.call(s)).call(f,8,-1);if(l==="Object"&&s.constructor&&(l=s.constructor.name),l==="Map"||l==="Set")return _n(s);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return rp(s,c)}}(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var s=r.next();return a=s.done,s},e:function(s){u=!0,o=s},f:function(){try{a||r.return==null||r.return()}finally{if(u)throw o}}}}function rp(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function lS(t){var e=function(){if(typeof Reflect>"u"||!Gt||Gt.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Gt(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,n=qe(t);if(e){var i=qe(this).constructor;r=Gt(n,arguments,i)}else r=n.apply(this,arguments);return _l(this,r)}}var hS=function(t){wl(r,t);var e=lS(r);function r(n,i){var o,a;return xt(this,r),dt(kr(a=e.call(this)),"length",0),dt(kr(a),"_ids",new Xn),a._options=i||{},a._listener=ie(o=a._onEvent).call(o,kr(a)),a.setData(n),a}return ne(r,[{key:"idProp",get:function(){return this.getDataSet().idProp}},{key:"setData",value:function(n){if(this._data){this._data.off&&this._data.off("*",this._listener);var i=this._data.getIds({filter:G(this._options)}),o=this._data.get(i);this._ids.clear(),this.length=0,this._trigger("remove",{items:i,oldData:o})}if(n!=null){this._data=n;for(var a=this._data.getIds({filter:G(this._options)}),u=0,s=a.length;u<s;u++){var c=a[u];this._ids.add(c)}this.length=a.length,this._trigger("add",{items:a})}else this._data=new ep;this._data.on&&this._data.on("*",this._listener)}},{key:"refresh",value:function(){for(var n=this._data.getIds({filter:G(this._options)}),i=J(this._ids),o={},a=[],u=[],s=[],c=0,f=n.length;c<f;c++){var l=n[c];o[l]=!0,this._ids.has(l)||(a.push(l),this._ids.add(l))}for(var h=0,p=i.length;h<p;h++){var g=i[h],m=this._data.get(g);m==null?console.error("If you see this, report it please."):o[g]||(u.push(g),s.push(m),this._ids.delete(g))}this.length+=a.length-u.length,a.length&&this._trigger("add",{items:a}),u.length&&this._trigger("remove",{items:u,oldData:s})}},{key:"get",value:function(n,i){if(this._data==null)return null;var o,a=null;Ea(n)||$(n)?(a=n,o=i):o=n;var u=nf({},this._options,o),s=G(this._options),c=o&&G(o);return s&&c&&(u.filter=function(f){return s(f)&&c(f)}),a==null?this._data.get(u):this._data.get(a,u)}},{key:"getIds",value:function(n){if(this._data.length){var i,o=G(this._options),a=n!=null?G(n):null;return i=a?o?function(u){return o(u)&&a(u)}:a:o,this._data.getIds({filter:i,order:n&&n.order})}return[]}},{key:"forEach",value:function(n,i){if(this._data){var o,a,u=G(this._options),s=i&&G(i);a=s?u?function(c){return u(c)&&s(c)}:s:u,qt(o=this._data).call(o,n,{filter:a,order:i&&i.order})}}},{key:"map",value:function(n,i){if(this._data){var o,a,u=G(this._options),s=i&&G(i);return a=s?u?function(c){return u(c)&&s(c)}:s:u,ct(o=this._data).call(o,n,{filter:a,order:i&&i.order})}return[]}},{key:"getDataSet",value:function(){return this._data.getDataSet()}},{key:"stream",value:function(n){var i;return this._data.stream(n||{[de]:ie(i=ve(this._ids)).call(i,this._ids)})}},{key:"dispose",value:function(){var n;(n=this._data)!==null&&n!==void 0&&n.off&&this._data.off("*",this._listener);var i,o="This data view has already been disposed of.",a={get:function(){throw new Error(o)},set:function(){throw new Error(o)},configurable:!1},u=fS(Xc(r.prototype));try{for(u.s();!(i=u.n()).done;){var s=i.value;yl(this,s,a)}}catch(c){u.e(c)}finally{u.f()}}},{key:"_onEvent",value:function(n,i,o){if(i&&i.items&&this._data){var a=i.items,u=[],s=[],c=[],f=[],l=[],h=[];switch(n){case"add":for(var p=0,g=a.length;p<g;p++){var m=a[p];this.get(m)&&(this._ids.add(m),u.push(m))}break;case"update":for(var b=0,O=a.length;b<O;b++){var w=a[b];this.get(w)?this._ids.has(w)?(s.push(w),l.push(i.data[b]),f.push(i.oldData[b])):(this._ids.add(w),u.push(w)):this._ids.has(w)&&(this._ids.delete(w),c.push(w),h.push(i.oldData[b]))}break;case"remove":for(var k=0,A=a.length;k<A;k++){var I=a[k];this._ids.has(I)&&(this._ids.delete(I),c.push(I),h.push(i.oldData[k]))}}this.length+=u.length-c.length,u.length&&this._trigger("add",{items:u},o),s.length&&this._trigger("update",{items:s,oldData:f,data:l},o),c.length&&this._trigger("remove",{items:c,oldData:h},o)}}}]),r}(Jh);function np(t,e){return typeof e=="object"&&e!==null&&t===e.idProp&&typeof e.add=="function"&&typeof e.clear=="function"&&typeof e.distinct=="function"&&typeof qt(e)=="function"&&typeof e.get=="function"&&typeof e.getDataSet=="function"&&typeof e.getIds=="function"&&typeof e.length=="number"&&typeof ct(e)=="function"&&typeof e.max=="function"&&typeof e.min=="function"&&typeof e.off=="function"&&typeof e.on=="function"&&typeof e.remove=="function"&&typeof e.setOptions=="function"&&typeof e.stream=="function"&&typeof e.update=="function"&&typeof e.updateOnly=="function"}St.DELETE=Io,St.DataSet=ep,St.DataStream=Sa,St.DataView=hS,St.Queue=Kh,St.createNewDataPipeFrom=function(t){return new W0(t)},St.isDataSetLike=np,St.isDataViewLike=function(t,e){return typeof e=="object"&&e!==null&&t===e.idProp&&typeof qt(e)=="function"&&typeof e.get=="function"&&typeof e.getDataSet=="function"&&typeof e.getIds=="function"&&typeof e.length=="number"&&typeof ct(e)=="function"&&typeof e.off=="function"&&typeof e.on=="function"&&typeof e.stream=="function"&&np(t,e.getDataSet())}})}}]);

//# sourceMappingURL=vis-data.ab7cbb3aa86bd78037db.js.map