vis-network
Version:
A dynamic, browser-based visualization library.
26 lines • 407 kB
JavaScript
/**
* vis-network
* https://visjs.github.io/vis-network/
*
* A dynamic, browser-based visualization library.
*
* @version 9.1.12
* @date 2025-06-10T17:35:44.677Z
*
* @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(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).vis=t.vis||{})}(this,(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var o=function(t){return t&&t.Math===Math&&t},s=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||function(){return this}()||e||Function("return this")(),n=function(t){try{return!!t()}catch(t){return!0}},r=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=r,h=Function.prototype,d=h.apply,l=h.call,c="object"==typeof Reflect&&Reflect.apply||(a?l.bind(d):function(){return l.apply(d,arguments)}),u=r,p=Function.prototype,f=p.call,g=u&&p.bind.bind(f,f),m=u?g:function(t){return function(){return f.apply(t,arguments)}},y=m,b=y({}.toString),v=y("".slice),w=function(t){return v(b(t),8,-1)},_=w,x=m,E=function(t){if("Function"===_(t))return x(t)},O="object"==typeof document&&document.all,C={all:O,IS_HTMLDDA:void 0===O&&void 0!==O},k=C.all,S=C.IS_HTMLDDA?function(t){return"function"==typeof t||t===k}:function(t){return"function"==typeof t},T={},D=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),M=r,P=Function.prototype.call,I=M?P.bind(P):function(){return P.apply(P,arguments)},B={},N={}.propertyIsEnumerable,z=Object.getOwnPropertyDescriptor,F=z&&!N.call({1:2},1);B.f=F?function(t){var e=z(this,t);return!!e&&e.enumerable}:N;var A,j,R=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},L=n,H=w,W=Object,q=m("".split),V=L((function(){return!W("z").propertyIsEnumerable(0)}))?function(t){return"String"===H(t)?q(t,""):W(t)}:W,U=function(t){return null==t},Y=U,X=TypeError,G=function(t){if(Y(t))throw new X("Can't call method on "+t);return t},K=V,Z=G,Q=function(t){return K(Z(t))},$=S,J=C.all,tt=C.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:$(t)||t===J}:function(t){return"object"==typeof t?null!==t:$(t)},et={},it=et,ot=s,st=S,nt=function(t){return st(t)?t:void 0},rt=function(t,e){return arguments.length<2?nt(it[t])||nt(ot[t]):it[t]&&it[t][e]||ot[t]&&ot[t][e]},at=m({}.isPrototypeOf),ht="undefined"!=typeof navigator&&String(navigator.userAgent)||"",dt=s,lt=ht,ct=dt.process,ut=dt.Deno,pt=ct&&ct.versions||ut&&ut.version,ft=pt&&pt.v8;ft&&(j=(A=ft.split("."))[0]>0&&A[0]<4?1:+(A[0]+A[1])),!j&<&&(!(A=lt.match(/Edge\/(\d+)/))||A[1]>=74)&&(A=lt.match(/Chrome\/(\d+)/))&&(j=+A[1]);var gt=j,mt=gt,yt=n,bt=s.String,vt=!!Object.getOwnPropertySymbols&&!yt((function(){var t=Symbol("symbol detection");return!bt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&mt&&mt<41})),wt=vt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_t=rt,xt=S,Et=at,Ot=Object,Ct=wt?function(t){return"symbol"==typeof t}:function(t){var e=_t("Symbol");return xt(e)&&Et(e.prototype,Ot(t))},kt=String,St=function(t){try{return kt(t)}catch(t){return"Object"}},Tt=S,Dt=St,Mt=TypeError,Pt=function(t){if(Tt(t))return t;throw new Mt(Dt(t)+" is not a function")},It=Pt,Bt=U,Nt=function(t,e){var i=t[e];return Bt(i)?void 0:It(i)},zt=I,Ft=S,At=tt,jt=TypeError,Rt={exports:{}},Lt=s,Ht=Object.defineProperty,Wt=function(t,e){try{Ht(Lt,t,{value:e,configurable:!0,writable:!0})}catch(i){Lt[t]=e}return e},qt="__core-js_shared__",Vt=s[qt]||Wt(qt,{}),Ut=Vt;(Rt.exports=function(t,e){return Ut[t]||(Ut[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Yt=Rt.exports,Xt=G,Gt=Object,Kt=function(t){return Gt(Xt(t))},Zt=Kt,Qt=m({}.hasOwnProperty),$t=Object.hasOwn||function(t,e){return Qt(Zt(t),e)},Jt=m,te=0,ee=Math.random(),ie=Jt(1..toString),oe=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ie(++te+ee,36)},se=Yt,ne=$t,re=oe,ae=vt,he=wt,de=s.Symbol,le=se("wks"),ce=he?de.for||de:de&&de.withoutSetter||re,ue=function(t){return ne(le,t)||(le[t]=ae&&ne(de,t)?de[t]:ce("Symbol."+t)),le[t]},pe=I,fe=tt,ge=Ct,me=Nt,ye=function(t,e){var i,o;if("string"===e&&Ft(i=t.toString)&&!At(o=zt(i,t)))return o;if(Ft(i=t.valueOf)&&!At(o=zt(i,t)))return o;if("string"!==e&&Ft(i=t.toString)&&!At(o=zt(i,t)))return o;throw new jt("Can't convert object to primitive value")},be=TypeError,ve=ue("toPrimitive"),we=function(t,e){if(!fe(t)||ge(t))return t;var i,o=me(t,ve);if(o){if(void 0===e&&(e="default"),i=pe(o,t,e),!fe(i)||ge(i))return i;throw new be("Can't convert object to primitive value")}return void 0===e&&(e="number"),ye(t,e)},_e=Ct,xe=function(t){var e=we(t,"string");return _e(e)?e:e+""},Ee=tt,Oe=s.document,Ce=Ee(Oe)&&Ee(Oe.createElement),ke=function(t){return Ce?Oe.createElement(t):{}},Se=ke,Te=!D&&!n((function(){return 7!==Object.defineProperty(Se("div"),"a",{get:function(){return 7}}).a})),De=D,Me=I,Pe=B,Ie=R,Be=Q,Ne=xe,ze=$t,Fe=Te,Ae=Object.getOwnPropertyDescriptor;T.f=De?Ae:function(t,e){if(t=Be(t),e=Ne(e),Fe)try{return Ae(t,e)}catch(t){}if(ze(t,e))return Ie(!Me(Pe.f,t,e),t[e])};var je=n,Re=S,Le=/#|\.prototype\./,He=function(t,e){var i=qe[We(t)];return i===Ue||i!==Ve&&(Re(e)?je(e):!!e)},We=He.normalize=function(t){return String(t).replace(Le,".").toLowerCase()},qe=He.data={},Ve=He.NATIVE="N",Ue=He.POLYFILL="P",Ye=He,Xe=Pt,Ge=r,Ke=E(E.bind),Ze=function(t,e){return Xe(t),void 0===e?t:Ge?Ke(t,e):function(){return t.apply(e,arguments)}},Qe={},$e=D&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Je=tt,ti=String,ei=TypeError,ii=function(t){if(Je(t))return t;throw new ei(ti(t)+" is not an object")},oi=D,si=Te,ni=$e,ri=ii,ai=xe,hi=TypeError,di=Object.defineProperty,li=Object.getOwnPropertyDescriptor,ci="enumerable",ui="configurable",pi="writable";Qe.f=oi?ni?function(t,e,i){if(ri(t),e=ai(e),ri(i),"function"==typeof t&&"prototype"===e&&"value"in i&&pi in i&&!i[pi]){var o=li(t,e);o&&o[pi]&&(t[e]=i.value,i={configurable:ui in i?i[ui]:o[ui],enumerable:ci in i?i[ci]:o[ci],writable:!1})}return di(t,e,i)}:di:function(t,e,i){if(ri(t),e=ai(e),ri(i),si)try{return di(t,e,i)}catch(t){}if("get"in i||"set"in i)throw new hi("Accessors not supported");return"value"in i&&(t[e]=i.value),t};var fi=Qe,gi=R,mi=D?function(t,e,i){return fi.f(t,e,gi(1,i))}:function(t,e,i){return t[e]=i,t},yi=s,bi=c,vi=E,wi=S,_i=T.f,xi=Ye,Ei=et,Oi=Ze,Ci=mi,ki=$t,Si=function(t){var e=function(i,o,s){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,o)}return new t(i,o,s)}return bi(t,this,arguments)};return e.prototype=t.prototype,e},Ti=function(t,e){var i,o,s,n,r,a,h,d,l,c=t.target,u=t.global,p=t.stat,f=t.proto,g=u?yi:p?yi[c]:(yi[c]||{}).prototype,m=u?Ei:Ei[c]||Ci(Ei,c,{})[c],y=m.prototype;for(n in e)o=!(i=xi(u?n:c+(p?".":"#")+n,t.forced))&&g&&ki(g,n),a=m[n],o&&(h=t.dontCallGetSet?(l=_i(g,n))&&l.value:g[n]),r=o&&h?h:e[n],o&&typeof a==typeof r||(d=t.bind&&o?Oi(r,yi):t.wrap&&o?Si(r):f&&wi(r)?vi(r):r,(t.sham||r&&r.sham||a&&a.sham)&&Ci(d,"sham",!0),Ci(m,n,d),f&&(ki(Ei,s=c+"Prototype")||Ci(Ei,s,{}),Ci(Ei[s],n,r),t.real&&y&&(i||!y[n])&&Ci(y,n,r)))},Di=Math.ceil,Mi=Math.floor,Pi=Math.trunc||function(t){var e=+t;return(e>0?Mi:Di)(e)},Ii=function(t){var e=+t;return e!=e||0===e?0:Pi(e)},Bi=Ii,Ni=Math.max,zi=Math.min,Fi=function(t,e){var i=Bi(t);return i<0?Ni(i+e,0):zi(i,e)},Ai=Ii,ji=Math.min,Ri=function(t){return t>0?ji(Ai(t),9007199254740991):0},Li=function(t){return Ri(t.length)},Hi=Q,Wi=Fi,qi=Li,Vi=function(t){return function(e,i,o){var s,n=Hi(e),r=qi(n),a=Wi(o,r);if(t&&i!=i){for(;r>a;)if((s=n[a++])!=s)return!0}else for(;r>a;a++)if((t||a in n)&&n[a]===i)return t||a||0;return!t&&-1}},Ui={includes:Vi(!0),indexOf:Vi(!1)},Yi={},Xi=$t,Gi=Q,Ki=Ui.indexOf,Zi=Yi,Qi=m([].push),$i=function(t,e){var i,o=Gi(t),s=0,n=[];for(i in o)!Xi(Zi,i)&&Xi(o,i)&&Qi(n,i);for(;e.length>s;)Xi(o,i=e[s++])&&(~Ki(n,i)||Qi(n,i));return n},Ji=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],to=$i,eo=Ji,io=Object.keys||function(t){return to(t,eo)},oo={};oo.f=Object.getOwnPropertySymbols;var so=D,no=m,ro=I,ao=n,ho=io,lo=oo,co=B,uo=Kt,po=V,fo=Object.assign,go=Object.defineProperty,mo=no([].concat),yo=!fo||ao((function(){if(so&&1!==fo({b:1},fo(go({},"a",{enumerable:!0,get:function(){go(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[i]=7,o.split("").forEach((function(t){e[t]=t})),7!==fo({},t)[i]||ho(fo({},e)).join("")!==o}))?function(t,e){for(var i=uo(t),o=arguments.length,s=1,n=lo.f,r=co.f;o>s;)for(var a,h=po(arguments[s++]),d=n?mo(ho(h),n(h)):ho(h),l=d.length,c=0;l>c;)a=d[c++],so&&!ro(r,h,a)||(i[a]=h[a]);return i}:fo,bo=yo;Ti({target:"Object",stat:!0,arity:2,forced:Object.assign!==bo},{assign:bo});var vo=i(et.Object.assign),wo=m([].slice),_o=m,xo=Pt,Eo=tt,Oo=$t,Co=wo,ko=r,So=Function,To=_o([].concat),Do=_o([].join),Mo={},Po=ko?So.bind:function(t){var e=xo(this),i=e.prototype,o=Co(arguments,1),s=function(){var i=To(o,Co(arguments));return this instanceof s?function(t,e,i){if(!Oo(Mo,e)){for(var o=[],s=0;s<e;s++)o[s]="a["+s+"]";Mo[e]=So("C,a","return new C("+Do(o,",")+")")}return Mo[e](t,i)}(e,i.length,i):e.apply(t,i)};return Eo(i)&&(s.prototype=i),s},Io=Po;Ti({target:"Function",proto:!0,forced:Function.bind!==Io},{bind:Io});var Bo=et,No=function(t){return Bo[t+"Prototype"]},zo=No("Function").bind,Fo=at,Ao=zo,jo=Function.prototype,Ro=function(t){var e=t.bind;return t===jo||Fo(jo,t)&&e===jo.bind?Ao:e},Lo=i(Ro);function Ho(t,e,i,o){t.beginPath(),t.arc(e,i,o,0,2*Math.PI,!1),t.closePath()}function Wo(t,e,i,o,s,n){const r=Math.PI/180;o-2*n<0&&(n=o/2),s-2*n<0&&(n=s/2),t.beginPath(),t.moveTo(e+n,i),t.lineTo(e+o-n,i),t.arc(e+o-n,i+n,n,270*r,360*r,!1),t.lineTo(e+o,i+s-n),t.arc(e+o-n,i+s-n,n,0,90*r,!1),t.lineTo(e+n,i+s),t.arc(e+n,i+s-n,n,90*r,180*r,!1),t.lineTo(e,i+n),t.arc(e+n,i+n,n,180*r,270*r,!1),t.closePath()}function qo(t,e,i,o,s){const n=.5522848,r=o/2*n,a=s/2*n,h=e+o,d=i+s,l=e+o/2,c=i+s/2;t.beginPath(),t.moveTo(e,c),t.bezierCurveTo(e,c-a,l-r,i,l,i),t.bezierCurveTo(l+r,i,h,c-a,h,c),t.bezierCurveTo(h,c+a,l+r,d,l,d),t.bezierCurveTo(l-r,d,e,c+a,e,c),t.closePath()}function Vo(t,e,i,o,s){const n=s*(1/3),r=.5522848,a=o/2*r,h=n/2*r,d=e+o,l=i+n,c=e+o/2,u=i+n/2,p=i+(s-n/2),f=i+s;t.beginPath(),t.moveTo(d,u),t.bezierCurveTo(d,u+h,c+a,l,c,l),t.bezierCurveTo(c-a,l,e,u+h,e,u),t.bezierCurveTo(e,u-h,c-a,i,c,i),t.bezierCurveTo(c+a,i,d,u-h,d,u),t.lineTo(d,p),t.bezierCurveTo(d,p+h,c+a,f,c,f),t.bezierCurveTo(c-a,f,e,p+h,e,p),t.lineTo(e,u)}function Uo(t,e,i,o,s,n){t.beginPath(),t.moveTo(e,i);const r=n.length,a=o-e,h=s-i,d=h/a;let l=Math.sqrt(a*a+h*h),c=0,u=!0,p=0,f=+n[0];for(;l>=.1;)f=+n[c++%r],f>l&&(f=l),p=Math.sqrt(f*f/(1+d*d)),p=a<0?-p:p,e+=p,i+=d*p,!0===u?t.lineTo(e,i):t.moveTo(e,i),l-=f,u=!u}const Yo={circle:Ho,dashedLine:Uo,database:Vo,diamond:function(t,e,i,o){t.beginPath(),t.lineTo(e,i+o),t.lineTo(e+o,i),t.lineTo(e,i-o),t.lineTo(e-o,i),t.closePath()},ellipse:qo,ellipse_vis:qo,hexagon:function(t,e,i,o){t.beginPath();const s=2*Math.PI/6;t.moveTo(e+o,i);for(let n=1;n<6;n++)t.lineTo(e+o*Math.cos(s*n),i+o*Math.sin(s*n));t.closePath()},roundRect:Wo,square:function(t,e,i,o){t.beginPath(),t.rect(e-o,i-o,2*o,2*o),t.closePath()},star:function(t,e,i,o){t.beginPath(),i+=.1*(o*=.82);for(let s=0;s<10;s++){const n=s%2==0?1.3*o:.5*o;t.lineTo(e+n*Math.sin(2*s*Math.PI/10),i-n*Math.cos(2*s*Math.PI/10))}t.closePath()},triangle:function(t,e,i,o){t.beginPath(),i+=.275*(o*=1.15);const s=2*o,n=s/2,r=Math.sqrt(3)/6*s,a=Math.sqrt(s*s-n*n);t.moveTo(e,i-(a-r)),t.lineTo(e+n,i+r),t.lineTo(e-n,i+r),t.lineTo(e,i-(a-r)),t.closePath()},triangleDown:function(t,e,i,o){t.beginPath(),i-=.275*(o*=1.15);const s=2*o,n=s/2,r=Math.sqrt(3)/6*s,a=Math.sqrt(s*s-n*n);t.moveTo(e,i+(a-r)),t.lineTo(e+n,i-r),t.lineTo(e-n,i-r),t.lineTo(e,i+(a-r)),t.closePath()}};var Xo={exports:{}};!function(t){function e(t){if(t)return function(t){for(var i in e.prototype)t[i]=e.prototype[i];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,o=this._callbacks["$"+t];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var s=0;s<o.length;s++)if((i=o[s])===e||i.fn===e){o.splice(s,1);break}return 0===o.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),i=this._callbacks["$"+t],o=1;o<arguments.length;o++)e[o-1]=arguments[o];if(i){o=0;for(var s=(i=i.slice(0)).length;o<s;++o)i[o].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}}(Xo);var Go=i(Xo.exports),Ko=w,Zo=Array.isArray||function(t){return"Array"===Ko(t)},Qo=TypeError,$o=function(t){if(t>9007199254740991)throw Qo("Maximum allowed index exceeded");return t},Jo=xe,ts=Qe,es=R,is=function(t,e,i){var o=Jo(e);o in t?ts.f(t,o,es(0,i)):t[o]=i},os={};os[ue("toStringTag")]="z";var ss="[object z]"===String(os),ns=ss,rs=S,as=w,hs=ue("toStringTag"),ds=Object,ls="Arguments"===as(function(){return arguments}()),cs=ns?as:function(t){var e,i,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=ds(t),hs))?i:ls?as(e):"Object"===(o=as(e))&&rs(e.callee)?"Arguments":o},us=S,ps=Vt,fs=m(Function.toString);us(ps.inspectSource)||(ps.inspectSource=function(t){return fs(t)});var gs=ps.inspectSource,ms=m,ys=n,bs=S,vs=cs,ws=gs,_s=function(){},xs=[],Es=rt("Reflect","construct"),Os=/^\s*(?:class|function)\b/,Cs=ms(Os.exec),ks=!Os.test(_s),Ss=function(t){if(!bs(t))return!1;try{return Es(_s,xs,t),!0}catch(t){return!1}},Ts=function(t){if(!bs(t))return!1;switch(vs(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ks||!!Cs(Os,ws(t))}catch(t){return!0}};Ts.sham=!0;var Ds=!Es||ys((function(){var t;return Ss(Ss.call)||!Ss(Object)||!Ss((function(){t=!0}))||t}))?Ts:Ss,Ms=Zo,Ps=Ds,Is=tt,Bs=ue("species"),Ns=Array,zs=function(t){var e;return Ms(t)&&(e=t.constructor,(Ps(e)&&(e===Ns||Ms(e.prototype))||Is(e)&&null===(e=e[Bs]))&&(e=void 0)),void 0===e?Ns:e},Fs=function(t,e){return new(zs(t))(0===e?0:e)},As=n,js=gt,Rs=ue("species"),Ls=function(t){return js>=51||!As((function(){var e=[];return(e.constructor={})[Rs]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Hs=Ti,Ws=n,qs=Zo,Vs=tt,Us=Kt,Ys=Li,Xs=$o,Gs=is,Ks=Fs,Zs=Ls,Qs=gt,$s=ue("isConcatSpreadable"),Js=Qs>=51||!Ws((function(){var t=[];return t[$s]=!1,t.concat()[0]!==t})),tn=function(t){if(!Vs(t))return!1;var e=t[$s];return void 0!==e?!!e:qs(t)};Hs({target:"Array",proto:!0,arity:1,forced:!Js||!Zs("concat")},{concat:function(t){var e,i,o,s,n,r=Us(this),a=Ks(r,0),h=0;for(e=-1,o=arguments.length;e<o;e++)if(tn(n=-1===e?r:arguments[e]))for(s=Ys(n),Xs(h+s),i=0;i<s;i++,h++)i in n&&Gs(a,h,n[i]);else Xs(h+1),Gs(a,h++,n);return a.length=h,a}});var en=cs,on=String,sn=function(t){if("Symbol"===en(t))throw new TypeError("Cannot convert a Symbol value to a string");return on(t)},nn={},rn=D,an=$e,hn=Qe,dn=ii,ln=Q,cn=io;nn.f=rn&&!an?Object.defineProperties:function(t,e){dn(t);for(var i,o=ln(e),s=cn(e),n=s.length,r=0;n>r;)hn.f(t,i=s[r++],o[i]);return t};var un,pn=rt("document","documentElement"),fn=oe,gn=Yt("keys"),mn=function(t){return gn[t]||(gn[t]=fn(t))},yn=ii,bn=nn,vn=Ji,wn=Yi,_n=pn,xn=ke,En="prototype",On="script",Cn=mn("IE_PROTO"),kn=function(){},Sn=function(t){return"<"+On+">"+t+"</"+On+">"},Tn=function(t){t.write(Sn("")),t.close();var e=t.parentWindow.Object;return t=null,e},Dn=function(){try{un=new ActiveXObject("htmlfile")}catch(t){}var t,e,i;Dn="undefined"!=typeof document?document.domain&&un?Tn(un):(e=xn("iframe"),i="java"+On+":",e.style.display="none",_n.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(Sn("document.F=Object")),t.close(),t.F):Tn(un);for(var o=vn.length;o--;)delete Dn[En][vn[o]];return Dn()};wn[Cn]=!0;var Mn=Object.create||function(t,e){var i;return null!==t?(kn[En]=yn(t),i=new kn,kn[En]=null,i[Cn]=t):i=Dn(),void 0===e?i:bn.f(i,e)},Pn={},In=$i,Bn=Ji.concat("length","prototype");Pn.f=Object.getOwnPropertyNames||function(t){return In(t,Bn)};var Nn={},zn=Fi,Fn=Li,An=is,jn=Array,Rn=Math.max,Ln=function(t,e,i){for(var o=Fn(t),s=zn(e,o),n=zn(void 0===i?o:i,o),r=jn(Rn(n-s,0)),a=0;s<n;s++,a++)An(r,a,t[s]);return r.length=a,r},Hn=w,Wn=Q,qn=Pn.f,Vn=Ln,Un="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Nn.f=function(t){return Un&&"Window"===Hn(t)?function(t){try{return qn(t)}catch(t){return Vn(Un)}}(t):qn(Wn(t))};var Yn=mi,Xn=function(t,e,i,o){return o&&o.enumerable?t[e]=i:Yn(t,e,i),t},Gn=Qe,Kn=function(t,e,i){return Gn.f(t,e,i)},Zn={},Qn=ue;Zn.f=Qn;var $n,Jn,tr,er=et,ir=$t,or=Zn,sr=Qe.f,nr=function(t){var e=er.Symbol||(er.Symbol={});ir(e,t)||sr(e,t,{value:or.f(t)})},rr=I,ar=rt,hr=ue,dr=Xn,lr=function(){var t=ar("Symbol"),e=t&&t.prototype,i=e&&e.valueOf,o=hr("toPrimitive");e&&!e[o]&&dr(e,o,(function(t){return rr(i,this)}),{arity:1})},cr=cs,ur=ss?{}.toString:function(){return"[object "+cr(this)+"]"},pr=ss,fr=Qe.f,gr=mi,mr=$t,yr=ur,br=ue("toStringTag"),vr=function(t,e,i,o){if(t){var s=i?t:t.prototype;mr(s,br)||fr(s,br,{configurable:!0,value:e}),o&&!pr&&gr(s,"toString",yr)}},wr=S,_r=s.WeakMap,xr=wr(_r)&&/native code/.test(String(_r)),Er=xr,Or=s,Cr=tt,kr=mi,Sr=$t,Tr=Vt,Dr=mn,Mr=Yi,Pr="Object already initialized",Ir=Or.TypeError,Br=Or.WeakMap;if(Er||Tr.state){var Nr=Tr.state||(Tr.state=new Br);Nr.get=Nr.get,Nr.has=Nr.has,Nr.set=Nr.set,$n=function(t,e){if(Nr.has(t))throw new Ir(Pr);return e.facade=t,Nr.set(t,e),e},Jn=function(t){return Nr.get(t)||{}},tr=function(t){return Nr.has(t)}}else{var zr=Dr("state");Mr[zr]=!0,$n=function(t,e){if(Sr(t,zr))throw new Ir(Pr);return e.facade=t,kr(t,zr,e),e},Jn=function(t){return Sr(t,zr)?t[zr]:{}},tr=function(t){return Sr(t,zr)}}var Fr={set:$n,get:Jn,has:tr,enforce:function(t){return tr(t)?Jn(t):$n(t,{})},getterFor:function(t){return function(e){var i;if(!Cr(e)||(i=Jn(e)).type!==t)throw new Ir("Incompatible receiver, "+t+" required");return i}}},Ar=Ze,jr=V,Rr=Kt,Lr=Li,Hr=Fs,Wr=m([].push),qr=function(t){var e=1===t,i=2===t,o=3===t,s=4===t,n=6===t,r=7===t,a=5===t||n;return function(h,d,l,c){for(var u,p,f=Rr(h),g=jr(f),m=Ar(d,l),y=Lr(g),b=0,v=c||Hr,w=e?v(h,y):i||r?v(h,0):void 0;y>b;b++)if((a||b in g)&&(p=m(u=g[b],b,f),t))if(e)w[b]=p;else if(p)switch(t){case 3:return!0;case 5:return u;case 6:return b;case 2:Wr(w,u)}else switch(t){case 4:return!1;case 7:Wr(w,u)}return n?-1:o||s?s:w}},Vr={forEach:qr(0),map:qr(1),filter:qr(2),some:qr(3),every:qr(4),find:qr(5),findIndex:qr(6),filterReject:qr(7)},Ur=Ti,Yr=s,Xr=I,Gr=m,Kr=D,Zr=vt,Qr=n,$r=$t,Jr=at,ta=ii,ea=Q,ia=xe,oa=sn,sa=R,na=Mn,ra=io,aa=Pn,ha=Nn,da=oo,la=T,ca=Qe,ua=nn,pa=B,fa=Xn,ga=Kn,ma=Yt,ya=Yi,ba=oe,va=ue,wa=Zn,_a=nr,xa=lr,Ea=vr,Oa=Fr,Ca=Vr.forEach,ka=mn("hidden"),Sa="Symbol",Ta="prototype",Da=Oa.set,Ma=Oa.getterFor(Sa),Pa=Object[Ta],Ia=Yr.Symbol,Ba=Ia&&Ia[Ta],Na=Yr.RangeError,za=Yr.TypeError,Fa=Yr.QObject,Aa=la.f,ja=ca.f,Ra=ha.f,La=pa.f,Ha=Gr([].push),Wa=ma("symbols"),qa=ma("op-symbols"),Va=ma("wks"),Ua=!Fa||!Fa[Ta]||!Fa[Ta].findChild,Ya=function(t,e,i){var o=Aa(Pa,e);o&&delete Pa[e],ja(t,e,i),o&&t!==Pa&&ja(Pa,e,o)},Xa=Kr&&Qr((function(){return 7!==na(ja({},"a",{get:function(){return ja(this,"a",{value:7}).a}})).a}))?Ya:ja,Ga=function(t,e){var i=Wa[t]=na(Ba);return Da(i,{type:Sa,tag:t,description:e}),Kr||(i.description=e),i},Ka=function(t,e,i){t===Pa&&Ka(qa,e,i),ta(t);var o=ia(e);return ta(i),$r(Wa,o)?(i.enumerable?($r(t,ka)&&t[ka][o]&&(t[ka][o]=!1),i=na(i,{enumerable:sa(0,!1)})):($r(t,ka)||ja(t,ka,sa(1,{})),t[ka][o]=!0),Xa(t,o,i)):ja(t,o,i)},Za=function(t,e){ta(t);var i=ea(e),o=ra(i).concat(th(i));return Ca(o,(function(e){Kr&&!Xr(Qa,i,e)||Ka(t,e,i[e])})),t},Qa=function(t){var e=ia(t),i=Xr(La,this,e);return!(this===Pa&&$r(Wa,e)&&!$r(qa,e))&&(!(i||!$r(this,e)||!$r(Wa,e)||$r(this,ka)&&this[ka][e])||i)},$a=function(t,e){var i=ea(t),o=ia(e);if(i!==Pa||!$r(Wa,o)||$r(qa,o)){var s=Aa(i,o);return!s||!$r(Wa,o)||$r(i,ka)&&i[ka][o]||(s.enumerable=!0),s}},Ja=function(t){var e=Ra(ea(t)),i=[];return Ca(e,(function(t){$r(Wa,t)||$r(ya,t)||Ha(i,t)})),i},th=function(t){var e=t===Pa,i=Ra(e?qa:ea(t)),o=[];return Ca(i,(function(t){!$r(Wa,t)||e&&!$r(Pa,t)||Ha(o,Wa[t])})),o};Zr||(Ia=function(){if(Jr(Ba,this))throw new za("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?oa(arguments[0]):void 0,e=ba(t),i=function(t){this===Pa&&Xr(i,qa,t),$r(this,ka)&&$r(this[ka],e)&&(this[ka][e]=!1);var o=sa(1,t);try{Xa(this,e,o)}catch(t){if(!(t instanceof Na))throw t;Ya(this,e,o)}};return Kr&&Ua&&Xa(Pa,e,{configurable:!0,set:i}),Ga(e,t)},fa(Ba=Ia[Ta],"toString",(function(){return Ma(this).tag})),fa(Ia,"withoutSetter",(function(t){return Ga(ba(t),t)})),pa.f=Qa,ca.f=Ka,ua.f=Za,la.f=$a,aa.f=ha.f=Ja,da.f=th,wa.f=function(t){return Ga(va(t),t)},Kr&&ga(Ba,"description",{configurable:!0,get:function(){return Ma(this).description}})),Ur({global:!0,constructor:!0,wrap:!0,forced:!Zr,sham:!Zr},{Symbol:Ia}),Ca(ra(Va),(function(t){_a(t)})),Ur({target:Sa,stat:!0,forced:!Zr},{useSetter:function(){Ua=!0},useSimple:function(){Ua=!1}}),Ur({target:"Object",stat:!0,forced:!Zr,sham:!Kr},{create:function(t,e){return void 0===e?na(t):Za(na(t),e)},defineProperty:Ka,defineProperties:Za,getOwnPropertyDescriptor:$a}),Ur({target:"Object",stat:!0,forced:!Zr},{getOwnPropertyNames:Ja}),xa(),Ea(Ia,Sa),ya[ka]=!0;var eh=vt&&!!Symbol.for&&!!Symbol.keyFor,ih=Ti,oh=rt,sh=$t,nh=sn,rh=Yt,ah=eh,hh=rh("string-to-symbol-registry"),dh=rh("symbol-to-string-registry");ih({target:"Symbol",stat:!0,forced:!ah},{for:function(t){var e=nh(t);if(sh(hh,e))return hh[e];var i=oh("Symbol")(e);return hh[e]=i,dh[i]=e,i}});var lh=Ti,ch=$t,uh=Ct,ph=St,fh=eh,gh=Yt("symbol-to-string-registry");lh({target:"Symbol",stat:!0,forced:!fh},{keyFor:function(t){if(!uh(t))throw new TypeError(ph(t)+" is not a symbol");if(ch(gh,t))return gh[t]}});var mh=Zo,yh=S,bh=w,vh=sn,wh=m([].push),_h=Ti,xh=rt,Eh=c,Oh=I,Ch=m,kh=n,Sh=S,Th=Ct,Dh=wo,Mh=function(t){if(yh(t))return t;if(mh(t)){for(var e=t.length,i=[],o=0;o<e;o++){var s=t[o];"string"==typeof s?wh(i,s):"number"!=typeof s&&"Number"!==bh(s)&&"String"!==bh(s)||wh(i,vh(s))}var n=i.length,r=!0;return function(t,e){if(r)return r=!1,e;if(mh(this))return e;for(var o=0;o<n;o++)if(i[o]===t)return e}}},Ph=vt,Ih=String,Bh=xh("JSON","stringify"),Nh=Ch(/./.exec),zh=Ch("".charAt),Fh=Ch("".charCodeAt),Ah=Ch("".replace),jh=Ch(1..toString),Rh=/[\uD800-\uDFFF]/g,Lh=/^[\uD800-\uDBFF]$/,Hh=/^[\uDC00-\uDFFF]$/,Wh=!Ph||kh((function(){var t=xh("Symbol")("stringify detection");return"[null]"!==Bh([t])||"{}"!==Bh({a:t})||"{}"!==Bh(Object(t))})),qh=kh((function(){return'"\\udf06\\ud834"'!==Bh("\udf06\ud834")||'"\\udead"'!==Bh("\udead")})),Vh=function(t,e){var i=Dh(arguments),o=Mh(e);if(Sh(o)||void 0!==t&&!Th(t))return i[1]=function(t,e){if(Sh(o)&&(e=Oh(o,this,Ih(t),e)),!Th(e))return e},Eh(Bh,null,i)},Uh=function(t,e,i){var o=zh(i,e-1),s=zh(i,e+1);return Nh(Lh,t)&&!Nh(Hh,s)||Nh(Hh,t)&&!Nh(Lh,o)?"\\u"+jh(Fh(t,0),16):t};Bh&&_h({target:"JSON",stat:!0,arity:3,forced:Wh||qh},{stringify:function(t,e,i){var o=Dh(arguments),s=Eh(Wh?Vh:Bh,null,o);return qh&&"string"==typeof s?Ah(s,Rh,Uh):s}});var Yh=oo,Xh=Kt;Ti({target:"Object",stat:!0,forced:!vt||n((function(){Yh.f(1)}))},{getOwnPropertySymbols:function(t){var e=Yh.f;return e?e(Xh(t)):[]}}),nr("asyncIterator"),nr("hasInstance"),nr("isConcatSpreadable"),nr("iterator"),nr("match"),nr("matchAll"),nr("replace"),nr("search"),nr("species"),nr("split");var Gh=lr;nr("toPrimitive"),Gh();var Kh=rt,Zh=vr;nr("toStringTag"),Zh(Kh("Symbol"),"Symbol"),nr("unscopables"),vr(s.JSON,"JSON",!0);var Qh,$h,Jh,td=et.Symbol,ed={},id=D,od=$t,sd=Function.prototype,nd=id&&Object.getOwnPropertyDescriptor,rd=od(sd,"name"),ad={EXISTS:rd,PROPER:rd&&"something"===function(){}.name,CONFIGURABLE:rd&&(!id||id&&nd(sd,"name").configurable)},hd=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),dd=$t,ld=S,cd=Kt,ud=hd,pd=mn("IE_PROTO"),fd=Object,gd=fd.prototype,md=ud?fd.getPrototypeOf:function(t){var e=cd(t);if(dd(e,pd))return e[pd];var i=e.constructor;return ld(i)&&e instanceof i?i.prototype:e instanceof fd?gd:null},yd=n,bd=S,vd=tt,wd=Mn,_d=md,xd=Xn,Ed=ue("iterator"),Od=!1;[].keys&&("next"in(Jh=[].keys())?($h=_d(_d(Jh)))!==Object.prototype&&(Qh=$h):Od=!0);var Cd=!vd(Qh)||yd((function(){var t={};return Qh[Ed].call(t)!==t}));bd((Qh=Cd?{}:wd(Qh))[Ed])||xd(Qh,Ed,(function(){return this}));var kd={IteratorPrototype:Qh,BUGGY_SAFARI_ITERATORS:Od},Sd=kd.IteratorPrototype,Td=Mn,Dd=R,Md=vr,Pd=ed,Id=function(){return this},Bd=Ti,Nd=I,zd=ad,Fd=function(t,e,i,o){var s=e+" Iterator";return t.prototype=Td(Sd,{next:Dd(+!o,i)}),Md(t,s,!1,!0),Pd[s]=Id,t},Ad=md,jd=vr,Rd=Xn,Ld=ed,Hd=kd,Wd=zd.PROPER,qd=Hd.BUGGY_SAFARI_ITERATORS,Vd=ue("iterator"),Ud="keys",Yd="values",Xd="entries",Gd=function(){return this},Kd=function(t,e,i,o,s,n,r){Fd(i,e,o);var a,h,d,l=function(t){if(t===s&&g)return g;if(!qd&&t&&t in p)return p[t];switch(t){case Ud:case Yd:case Xd:return function(){return new i(this,t)}}return function(){return new i(this)}},c=e+" Iterator",u=!1,p=t.prototype,f=p[Vd]||p["@@iterator"]||s&&p[s],g=!qd&&f||l(s),m="Array"===e&&p.entries||f;if(m&&(a=Ad(m.call(new t)))!==Object.prototype&&a.next&&(jd(a,c,!0,!0),Ld[c]=Gd),Wd&&s===Yd&&f&&f.name!==Yd&&(u=!0,g=function(){return Nd(f,this)}),s)if(h={values:l(Yd),keys:n?g:l(Ud),entries:l(Xd)},r)for(d in h)(qd||u||!(d in p))&&Rd(p,d,h[d]);else Bd({target:e,proto:!0,forced:qd||u},h);return r&&p[Vd]!==g&&Rd(p,Vd,g,{name:s}),Ld[e]=g,h},Zd=function(t,e){return{value:t,done:e}},Qd=Q,$d=ed,Jd=Fr;Qe.f;var tl=Kd,el=Zd,il="Array Iterator",ol=Jd.set,sl=Jd.getterFor(il);tl(Array,"Array",(function(t,e){ol(this,{type:il,target:Qd(t),index:0,kind:e})}),(function(){var t=sl(this),e=t.target,i=t.kind,o=t.index++;if(!e||o>=e.length)return t.target=void 0,el(void 0,!0);switch(i){case"keys":return el(o,!1);case"values":return el(e[o],!1)}return el([o,e[o]],!1)}),"values"),$d.Arguments=$d.Array;var nl={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},rl=s,al=cs,hl=mi,dl=ed,ll=ue("toStringTag");for(var cl in nl){var ul=rl[cl],pl=ul&&ul.prototype;pl&&al(pl)!==ll&&hl(pl,ll,cl),dl[cl]=dl.Array}var fl=td,gl=i(fl),ml=Ti,yl=Zo,bl=Ds,vl=tt,wl=Fi,_l=Li,xl=Q,El=is,Ol=ue,Cl=wo,kl=Ls("slice"),Sl=Ol("species"),Tl=Array,Dl=Math.max;ml({target:"Array",proto:!0,forced:!kl},{slice:function(t,e){var i,o,s,n=xl(this),r=_l(n),a=wl(t,r),h=wl(void 0===e?r:e,r);if(yl(n)&&(i=n.constructor,(bl(i)&&(i===Tl||yl(i.prototype))||vl(i)&&null===(i=i[Sl]))&&(i=void 0),i===Tl||void 0===i))return Cl(n,a,h);for(o=new(void 0===i?Tl:i)(Dl(h-a,0)),s=0;a<h;a++,s++)a in n&&El(o,s,n[a]);return o.length=s,o}});var Ml=No("Array").slice,Pl=at,Il=Ml,Bl=Array.prototype,Nl=function(t){var e=t.slice;return t===Bl||Pl(Bl,t)&&e===Bl.slice?Il:e},zl=i(Nl),Fl=rt,Al=Pn,jl=oo,Rl=ii,Ll=m([].concat),Hl=Fl("Reflect","ownKeys")||function(t){var e=Al.f(Rl(t)),i=jl.f;return i?Ll(e,i(t)):e};Ti({target:"Reflect",stat:!0},{ownKeys:Hl});var Wl=i(et.Reflect.ownKeys);Ti({target:"Array",stat:!0},{isArray:Zo});var ql=i(et.Array.isArray),Vl=Vr.map;Ti({target:"Array",proto:!0,forced:!Ls("map")},{map:function(t){return Vl(this,t,arguments.length>1?arguments[1]:void 0)}});var Ul=No("Array").map,Yl=at,Xl=Ul,Gl=Array.prototype,Kl=function(t){var e=t.map;return t===Gl||Yl(Gl,t)&&e===Gl.map?Xl:e},Zl=i(Kl),Ql=Kt,$l=io;Ti({target:"Object",stat:!0,forced:n((function(){$l(1)}))},{keys:function(t){return $l(Ql(t))}});var Jl=i(et.Object.keys),tc=Ti,ec=Date,ic=m(ec.prototype.getTime);tc({target:"Date",stat:!0},{now:function(){return ic(new ec)}});var oc=i(et.Date.now),sc=n,nc=function(t,e){var i=[][t];return!!i&&sc((function(){i.call(null,e||function(){return 1},1)}))},rc=Vr.forEach,ac=nc("forEach")?[].forEach:function(t){return rc(this,t,arguments.length>1?arguments[1]:void 0)};Ti({target:"Array",proto:!0,forced:[].forEach!==ac},{forEach:ac});var hc=No("Array").forEach,dc=cs,lc=$t,cc=at,uc=hc,pc=Array.prototype,fc={DOMTokenList:!0,NodeList:!0},gc=function(t){var e=t.forEach;return t===pc||cc(pc,t)&&e===pc.forEach||lc(fc,dc(t))?uc:e},mc=i(gc),yc=Ti,bc=Zo,vc=m([].reverse),wc=[1,2];yc({target:"Array",proto:!0,forced:String(wc)===String(wc.reverse())},{reverse:function(){return bc(this)&&(this.length=this.length),vc(this)}});var _c=No("Array").reverse,xc=at,Ec=_c,Oc=Array.prototype,Cc=function(t){var e=t.reverse;return t===Oc||xc(Oc,t)&&e===Oc.reverse?Ec:e},kc=i(Cc),Sc=D,Tc=Zo,Dc=TypeError,Mc=Object.getOwnPropertyDescriptor,Pc=Sc&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),Ic=St,Bc=TypeError,Nc=function(t,e){if(!delete t[e])throw new Bc("Cannot delete property "+Ic(e)+" of "+Ic(t))},zc=Ti,Fc=Kt,Ac=Fi,jc=Ii,Rc=Li,Lc=Pc?function(t,e){if(Tc(t)&&!Mc(t,"length").writable)throw new Dc("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Hc=$o,Wc=Fs,qc=is,Vc=Nc,Uc=Ls("splice"),Yc=Math.max,Xc=Math.min;zc({target:"Array",proto:!0,forced:!Uc},{splice:function(t,e){var i,o,s,n,r,a,h=Fc(this),d=Rc(h),l=Ac(t,d),c=arguments.length;for(0===c?i=o=0:1===c?(i=0,o=d-l):(i=c-2,o=Xc(Yc(jc(e),0),d-l)),Hc(d+i-o),s=Wc(h,o),n=0;n<o;n++)(r=l+n)in h&&qc(s,n,h[r]);if(s.length=o,i<o){for(n=l;n<d-o;n++)a=n+i,(r=n+o)in h?h[a]=h[r]:Vc(h,a);for(n=d;n>d-o+i;n--)Vc(h,n-1)}else if(i>o)for(n=d-o;n>l;n--)a=n+i-1,(r=n+o-1)in h?h[a]=h[r]:Vc(h,a);for(n=0;n<i;n++)h[n+l]=arguments[n+2];return Lc(h,d-o+i),s}});var Gc=No("Array").splice,Kc=at,Zc=Gc,Qc=Array.prototype,$c=function(t){var e=t.splice;return t===Qc||Kc(Qc,t)&&e===Qc.splice?Zc:e},Jc=i($c),tu=Ui.includes;Ti({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(t){return tu(this,t,arguments.length>1?arguments[1]:void 0)}});var eu=No("Array").includes,iu=tt,ou=w,su=ue("match"),nu=function(t){var e;return iu(t)&&(void 0!==(e=t[su])?!!e:"RegExp"===ou(t))},ru=TypeError,au=ue("match"),hu=Ti,du=function(t){if(nu(t))throw new ru("The method doesn't accept regular expressions");return t},lu=G,cu=sn,uu=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[au]=!1,"/./"[t](e)}catch(t){}}return!1},pu=m("".indexOf);hu({target:"String",proto:!0,forced:!uu("includes")},{includes:function(t){return!!~pu(cu(lu(this)),cu(du(t)),arguments.length>1?arguments[1]:void 0)}});var fu=No("String").includes,gu=at,mu=eu,yu=fu,bu=Array.prototype,vu=String.prototype,wu=function(t){var e=t.includes;return t===bu||gu(bu,t)&&e===bu.includes?mu:"string"==typeof t||t===vu||gu(vu,t)&&e===vu.includes?yu:e},_u=i(wu),xu=Kt,Eu=md,Ou=hd;Ti({target:"Object",stat:!0,forced:n((function(){Eu(1)})),sham:!Ou},{getPrototypeOf:function(t){return Eu(xu(t))}});var Cu=i(et.Object.getPrototypeOf),ku=No("Array").concat,Su=at,Tu=ku,Du=Array.prototype,Mu=function(t){var e=t.concat;return t===Du||Su(Du,t)&&e===Du.concat?Tu:e},Pu=i(Mu),Iu=Vr.filter;Ti({target:"Array",proto:!0,forced:!Ls("filter")},{filter:function(t){return Iu(this,t,arguments.length>1?arguments[1]:void 0)}});var Bu=No("Array").filter,Nu=at,zu=Bu,Fu=Array.prototype,Au=function(t){var e=t.filter;return t===Fu||Nu(Fu,t)&&e===Fu.filter?zu:e},ju=i(Au),Ru=D,Lu=n,Hu=m,Wu=md,qu=io,Vu=Q,Uu=Hu(B.f),Yu=Hu([].push),Xu=Ru&&Lu((function(){var t=Object.create(null);return t[2]=2,!Uu(t,2)})),Gu=function(t){return function(e){for(var i,o=Vu(e),s=qu(o),n=Xu&&null===Wu(o),r=s.length,a=0,h=[];r>a;)i=s[a++],Ru&&!(n?i in o:Uu(o,i))||Yu(h,t?[i,o[i]]:o[i]);return h}},Ku={entries:Gu(!0),values:Gu(!1)},Zu=Ku.values;Ti({target:"Object",stat:!0},{values:function(t){return Zu(t)}});var Qu=i(et.Object.values),$u="\t\n\v\f\r \u2028\u2029\ufeff",Ju=G,tp=sn,ep=$u,ip=m("".replace),op=RegExp("^["+ep+"]+"),sp=RegExp("(^|[^"+ep+"])["+ep+"]+$"),np=function(t){return function(e){var i=tp(Ju(e));return 1&t&&(i=ip(i,op,"")),2&t&&(i=ip(i,sp,"$1")),i}},rp={start:np(1),end:np(2),trim:np(3)},ap=s,hp=n,dp=m,lp=sn,cp=rp.trim,up=$u,pp=ap.parseInt,fp=ap.Symbol,gp=fp&&fp.iterator,mp=/^[+-]?0x/i,yp=dp(mp.exec),bp=8!==pp(up+"08")||22!==pp(up+"0x16")||gp&&!hp((function(){pp(Object(gp))}))?function(t,e){var i=cp(lp(t));return pp(i,e>>>0||(yp(mp,i)?16:10))}:pp;Ti({global:!0,forced:parseInt!==bp},{parseInt:bp});var vp=i(et.parseInt),wp=Ti,_p=Ui.indexOf,xp=nc,Ep=E([].indexOf),Op=!!Ep&&1/Ep([1],1,-0)<0;wp({target:"Array",proto:!0,forced:Op||!xp("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Op?Ep(this,t,e)||0:_p(this,t,e)}});var Cp=No("Array").indexOf,kp=at,Sp=Cp,Tp=Array.prototype,Dp=function(t){var e=t.indexOf;return t===Tp||kp(Tp,t)&&e===Tp.indexOf?Sp:e},Mp=i(Dp),Pp=Ku.entries;Ti({target:"Object",stat:!0},{entries:function(t){return Pp(t)}});var Ip=i(et.Object.entries);Ti({target:"Object",stat:!0,sham:!D},{create:Mn});var Bp=et.Object,Np=i((function(t,e){return Bp.create(t,e)})),zp=et,Fp=c;zp.JSON||(zp.JSON={stringify:JSON.stringify});var Ap=function(t,e,i){return Fp(zp.JSON.stringify,null,arguments)},jp=i(Ap),Rp="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,Lp=TypeError,Hp=s,Wp=c,qp=S,Vp=Rp,Up=ht,Yp=wo,Xp=function(t,e){if(t<e)throw new Lp("Not enough arguments");return t},Gp=Hp.Function,Kp=/MSIE .\./.test(Up)||Vp&&function(){var t=Hp.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),Zp=function(t,e){var i=e?2:1;return Kp?function(o,s){var n=Xp(arguments.length,1)>i,r=qp(o)?o:Gp(o),a=n?Yp(arguments,i):[],h=n?function(){Wp(r,this,a)}:r;return e?t(h,s):t(h)}:t},Qp=Ti,$p=s,Jp=Zp($p.setInterval,!0);Qp({global:!0,bind:!0,forced:$p.setInterval!==Jp},{setInterval:Jp});var tf=Ti,ef=s,of=Zp(ef.setTimeout,!0);tf({global:!0,bind:!0,forced:ef.setTimeout!==of},{setTimeout:of});var sf=i(et.setTimeout),nf=Kt,rf=Fi,af=Li,hf=function(t){for(var e=nf(this),i=af(e),o=arguments.length,s=rf(o>1?arguments[1]:void 0,i),n=o>2?arguments[2]:void 0,r=void 0===n?i:rf(n,i);r>s;)e[s++]=t;return e};Ti({target:"Array",proto:!0},{fill:hf});var df,lf=No("Array").fill,cf=at,uf=lf,pf=Array.prototype,ff=function(t){var e=t.fill;return t===pf||cf(pf,t)&&e===pf.fill?uf:e},gf=i(ff);function mf(){return mf=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},mf.apply(this,arguments)}function yf(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function bf(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}df="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}return e}:Object.assign;var vf,wf=df,_f=["","webkit","Moz","MS","ms","o"],xf="undefined"==typeof document?{style:{}}:document.createElement("div"),Ef=Math.round,Of=Math.abs,Cf=Date.now;function kf(t,e){for(var i,o,s=e[0].toUpperCase()+e.slice(1),n=0;n<_f.length;){if((o=(i=_f[n])?i+s:e)in t)return o;n++}}vf="undefined"==typeof window?{}:window;var Sf=kf(xf.style,"touchAction"),Tf=void 0!==Sf;var Df="compute",Mf="auto",Pf="manipulation",If="none",Bf="pan-x",Nf="pan-y",zf=function(){if(!Tf)return!1;var t={},e=vf.CSS&&vf.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){return t[i]=!e||vf.CSS.supports("touch-action",i)})),t}(),Ff="ontouchstart"in vf,Af=void 0!==kf(vf,"PointerEvent"),jf=Ff&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Rf="touch",Lf="mouse",Hf=25,Wf=1,qf=4,Vf=8,Uf=1,Yf=2,Xf=4,Gf=8,Kf=16,Zf=Yf|Xf,Qf=Gf|Kf,$f=Zf|Qf,Jf=["x","y"],tg=["clientX","clientY"];function eg(t,e,i){var o;if(t)if(t.forEach)t.forEach(e,i);else if(void 0!==t.length)for(o=0;o<t.length;)e.call(i,t[o],o,t),o++;else for(o in t)t.hasOwnProperty(o)&&e.call(i,t[o],o,t)}function ig(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function og(t,e){return t.indexOf(e)>-1}var sg=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===Df&&(t=this.compute()),Tf&&this.manager.element.style&&zf[t]&&(this.manager.element.style[Sf]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return eg(this.manager.recognizers,(function(e){ig(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(og(t,If))return If;var e=og(t,Bf),i=og(t,Nf);return e&&i?If:e||i?e?Bf:Nf:og(t,Pf)?Pf:Mf}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var o=this.actions,s=og(o,If)&&!zf[If],n=og(o,Nf)&&!zf[Nf],r=og(o,Bf)&&!zf[Bf];if(s){var a=1===t.pointers.length,h=t.distance<2,d=t.deltaTime<250;if(a&&h&&d)return}if(!r||!n)return s||n&&i&Zf||r&&i&Qf?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function ng(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function rg(t){var e=t.length;if(1===e)return{x:Ef(t[0].clientX),y:Ef(t[0].clientY)};for(var i=0,o=0,s=0;s<e;)i+=t[s].clientX,o+=t[s].clientY,s++;return{x:Ef(i/e),y:Ef(o/e)}}function ag(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:Ef(t.pointers[i].clientX),clientY:Ef(t.pointers[i].clientY)},i++;return{timeStamp:Cf(),pointers:e,center:rg(e),deltaX:t.deltaX,deltaY:t.deltaY}}function hg(t,e,i){i||(i=Jf);var o=e[i[0]]-t[i[0]],s=e[i[1]]-t[i[1]];return Math.sqrt(o*o+s*s)}function dg(t,e,i){i||(i=Jf);var o=e[i[0]]-t[i[0]],s=e[i[1]]-t[i[1]];return 180*Math.atan2(s,o)/Math.PI}function lg(t,e){return t===e?Uf:Of(t)>=Of(e)?t<0?Yf:Xf:e<0?Gf:Kf}function cg(t,e,i){return{x:e/t||0,y:i/t||0}}function ug(t,e){var i=t.session,o=e.pointers,s=o.length;i.firstInput||(i.firstInput=ag(e)),s>1&&!i.firstMultiple?i.firstMultiple=ag(e):1===s&&(i.firstMultiple=!1);var n=i.firstInput,r=i.firstMultiple,a=r?r.center:n.center,h=e.center=rg(o);e.timeStamp=Cf(),e.deltaTime=e.timeStamp-n.timeStamp,e.angle=dg(a,h),e.distance=hg(a,h),function(t,e){var i=e.center,o=t.offsetDelta||{},s=t.prevDelta||{},n=t.prevInput||{};e.eventType!==Wf&&n.eventType!==qf||(s=t.prevDelta={x:n.deltaX||0,y:n.deltaY||0},o=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=s.x+(i.x-o.x),e.deltaY=s.y+(i.y-o.y)}(i,e),e.offsetDirection=lg(e.deltaX,e.deltaY);var d,l,c=cg(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=Of(c.x)>Of(c.y)?c.x:c.y,e.scale=r?(d=r.pointers,hg((l=o)[0],l[1],tg)/hg(d[0],d[1],tg)):1,e.rotation=r?function(t,e){return dg(e[1],e[0],tg)+dg(t[1],t[0],tg)}(r.pointers,o):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,o,s,n,r=t.lastInterval||e,a=e.timeStamp-r.timeStamp;if(e.eventType!==Vf&&(a>Hf||void 0===r.velocity)){var h=e.deltaX-r.deltaX,d=e.deltaY-r.deltaY,l=cg(a,h,d);o=l.x,s=l.y,i=Of(l.x)>Of(l.y)?l.x:l.y,n=lg(h,d),t.lastInterval=e}else i=r.velocity,o=r.velocityX,s=r.velocityY,n=r.direction;e.velocity=i,e.velocityX=o,e.velocityY=s,e.direction=n}(i,e);var u,p=t.element,f=e.srcEvent;ng(u=f.composedPath?f.composedPath()[0]:f.path?f.path[0]:f.target,p)&&(p=u),e.target=p}function pg(t,e,i){var o=i.pointers.length,s=i.changedPointers.length,n=e&Wf&&o-s==0,r=e&(qf|Vf)&&o-s==0;i.isFirst=!!n,i.isFinal=!!r,n&&(t.session={}),i.eventType=e,ug(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function fg(t){return t.trim().split(/\s+/g)}function gg(t,e,i){eg(fg(e),(function(e){t.addEventListener(e,i,!1)}))}function mg(t,e,i){eg(fg(e),(function(e){t.removeEventListener(e,i,!1)}))}function yg(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var bg=function(){function t(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){ig(t.options.enable,[t])&&i.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&gg(this.element,this.evEl,this.domHandler),this.evTarget&&gg(this.target,this.evTarget,this.domHandler),this.evWin&&gg(yg(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&mg(this.element,this.evEl,this.domHandler),this.evTarget&&mg(this.target,this.evTarget,this.domHandler),this.evWin&&mg(yg(this.element),this.evWin,this.domHandler)},t}();function vg(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var o=0;o<t.length;){if(i&&t[o][i]==e||!i&&t[o]===e)return o;o++}return-1}var wg={pointerdown:Wf,pointermove:2,pointerup:qf,pointercancel:Vf,pointerout:Vf},_g={2:Rf,3:"pen",4:Lf,5:"kinect"},xg="pointerdown",Eg="pointermove pointerup pointercancel";vf.MSPointerEvent&&!vf.PointerEvent&&(xg="MSPointerDown",Eg="MSPointerMove MSPointerUp MSPointerCancel");var Og=function(t){function e(){var i,o=e.prototype;return o.evEl=xg,o.evWin=Eg,(i=t.apply(this,arguments)||this).store=i.manager.session.pointerEvents=[],i}return yf(e,t),e.prototype.handler=function(t){var e=this.store,i=!1,o=t.type.toLowerCase().replace("ms",""),s=wg[o],n=_g[t.pointerType]||t.pointerType,r=n===Rf,a=vg(e,t.pointerId,"pointerId");s&Wf&&(0===t.button||r)?a<0&&(e.push(t),a=e.length-1):s&(qf|Vf)&&(i=!0),a<0||(e[a]=t,this.callback(this.manager,s,{pointers:e,changedPointers:[t],pointerType:n,srcEvent:t}),i&&e.splice(a,1))},e}(bg);function Cg(t){return Array.prototype.slice.call(t,0)}function kg(t,e,i){for(var o=[],s=[],n=0;n<t.length;){var r=e?t[n][e]:t[n];vg(s,r)<0&&o.push(t[n]),s[n]=r,n++}return i&&(o=e?o.sort((function(t,i){return t[e]>i[e]})):o.sort()),o}var Sg={touchstart:Wf,touchmove:2,touchend:qf,touchcancel:Vf},Tg=function(t){function e(){var i;return e.prototype.evTarget="touchstart touchmove touchend touchcancel",(i=t.apply(this,arguments)||this).targetIds={},i}return yf(e,t),e.prototype.handler=function(t){var e=Sg[t.type],i=Dg.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:Rf,srcEvent:t})},e}(bg);function Dg(t,e){var i,o,s=Cg(t.touches),n=this.targetIds;if(e&(2|Wf)&&1===s.length)return n[s[0].identifier]=!0,[s,s];var r=Cg(t.changedTouches),a=[],h=this.target;if(o=s.filter((function(t){return ng(t.target,h)})),e===Wf)for(i=0;i<o.length;)n[o[i].identifier]=!0,i++;for(i=0;i<r.length;)n[r[i].identifier]&&a.push(r[i]),e&(qf|Vf)&&delete n[r[i].identifier],i++;return a.length?[kg(o.concat(a),"identifier",!0),a]:void 0}var Mg={mousedown:Wf,mousemove:2,mouseup:qf},Pg=function(t){function e(){var i,o=e.prototype;return o.evEl="mousedown",o.evWin="mousemove mouseup",(i=t.apply(this,arguments)||this).pressed=!1,i}return yf(e,t),e.prototype.handler=function(t){var e=Mg[t.type];e&Wf&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=qf),this.pressed&&(e&qf&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:Lf,srcEvent:t}))},e}(bg),Ig=2500;function Bg(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY},o=this.lastTouches;this.lastTouches.push(i);setTimeout((function(){var t=o.indexOf(i);t>-1&&o.splice(t,1)}),Ig)}}function Ng(t,e){t&Wf?(this.primaryTouch=e.changedPointers[0].identifier,Bg.call(this,e)):t&(qf|Vf)&&Bg.call(this,e)}function zg(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,o=0;o<this.lastTouches.length;o++){var s=this.lastTouches[o],n=Math.abs(e-s.x),r=Math.abs(i-s.y);if(n<=25&&r<=25)return!0}return!1}var Fg=function(){return function(t){function e(e,i){var o;return(o=t.call(this,e,i)||this).handler=function(t,e,i){var s=i.pointerType===Rf,n=i.pointerType===Lf;if(!(n&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(s)Ng.call(bf(bf(o)),e,i);else if(n&&zg.call(bf(bf(o)),i))return;o.callback(t,e,i)}},o.touch=new Tg(o.manager,o.handler),o.mouse=new Pg(o.manager,o.handler),o.primaryTouch=null,o.lastTouches=[],o}return yf(e,t),e.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(bg)}();function Ag(t,e,i){return!!Array.isArray(t)&&(eg(t,i[e],i),!0)}var jg=32,Rg=1;function Lg(t,e){var i=e.manager;return i?i.get(t):t}function Hg(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Wg=function(){function t(t){void 0===t&&(t={}),this.options=mf({enable:!0},t),this.id=Rg++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(t){return wf(this.options,t),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(t){if(Ag(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Lg(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},e.dropRecognizeWith=function(t){return Ag(t,"dropRecognizeWith",this)||(t=Lg(t,this),delete this.simultaneous[t.id]),this},e.requireFailure=function(t){if(Ag(t,"requireFailure",this))return this;var e=this.requireFail;return-1===vg(e,t=Lg(t,this))&&(e.push(t),t.requireFailure(this)),this},e.dropRequireFailure=function(t){if(Ag(t,"dropRequireFailure",this))return this;t=Lg(t,this);var e=vg(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},e.emit=function(t){var e=this,i=this.state;function o(i){e.manager.emit(i,t)}i<8&&o(e.options.event+Hg(i)),o(e.options.event),t.additionalEvent&&o(t.additionalEvent),i>=8&&o(e.options.event+Hg(i))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=jg},e.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},e.recognize=function(t){var e=wf({},t);if(!ig(this.options.enable,[this,e]))return this.reset(),void(this.state=jg);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},e.process=function(t){},e.getTouchAction=function(){},e.reset=function(){},t}(),qg=function(t){function e(e){var i;return void 0===e&&(e={}),(i=t.call(this,mf({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},e))||this).pTime=!1,i.pCenter=!1,i._timer=null,i._input=null,i.count=0,i}yf(e,t);var i=e.prototype;return i.getTouchAction=function(){return[Pf]},i.process=function(t){var e=this,i=this.options,o=t.pointers.length===i.pointers,s=t.distance<i.threshold,n=t.deltaTime<i.time;if(this.reset(),t.eventType&Wf&&0===this.count)return this.failTimeout();if(s&&n&&o){if(t.eventType!==qf)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<i.interval,a=!this.pCenter||hg(this.pCenter,t.center)<i.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&r?this.count+=1:this.count=1,this._input=t,0===this.count%i.taps)return this.hasRequireFailures()?(this._timer=setTimeout((function(){e.state=8,e.tryEmit()}),i.interval),2):8}return jg},i.failTimeout=function(){var t=this;return this._timer=setTimeout((function(){t.state=jg}),this.options.interval),jg},i.reset=function(){clearTimeout(this._timer)},i.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},e}(Wg),Vg=function(t){function e(e){return void 0===e&&(e={}),t.call(this,mf({pointers:1},e))||this}yf(e,t);var i=e.prototype;return i.attrTest=function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},i.process=function(t){var e=this.state,i=t.eventType,o=6&e,s=this.attrTest(t);return o&&(i&Vf||!s)?16|e:o||s?i&qf?8|e:2&e?4|e:2:jg},e}(Wg);function Ug(t){return t===Kf?"down":t===Gf?"up":t===Yf?"left":t===Xf?"right":""}var Yg=function(t){function e(e){var i;return void 0===e&&(e={}),(i=t.call(this,mf({event:"pan",threshold:10,pointers:1,direction:$f},e))||this).pX=null,i.pY=null,i}yf(e,t);var i=e.prototype;return i.getTouchAction=function(){var t=this.options.direction,e=[];return t&Zf&&e.push(Nf),t&Qf&&e.push(Bf),e},i.directionTest=function(t){var e=this.options,i=!0,o=t.distance,s=t.direction,n=t.deltaX,r=t.deltaY;return s&e.direction||(e.direction&Zf?(s=0===n?Uf:n<0?Yf:Xf,i=n!==this.pX,o=Math.abs(t.deltaX)):(s=0===r?Uf:r<0?Gf:Kf,i=r!==this.pY,o=Math.abs(t.deltaY))),t.direction=s,i&&o>