UNPKG

vis-network

Version:

A dynamic, browser-based visualization library.

33 lines 427 kB
/** * vis-network * https://visjs.github.io/vis-network/ * * A dynamic, browser-based visualization library. * * @version 9.1.0 * @date 2021-08-29T08:43:14.666Z * * @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. */ import{isDataViewLike as t,DataSet as e}from"vis-data/peer/esm/vis-data.js";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(t){return t&&t.Math==Math&&t},n=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof i&&i)||function(){return this}()||Function("return this")(),r={},s=function(t){try{return!!t()}catch(t){return!0}},a=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h={},d={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!d.call({1:2},1);h.f=c?function(t){var e=l(this,t);return!!e&&e.enumerable}:d;var u,f,p=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},v={}.toString,g=function(t){return v.call(t).slice(8,-1)},y=g,m="".split,b=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==y(t)?m.call(t,""):Object(t)}:Object,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},k=b,_=w,x=function(t){return k(_(t))},E=function(t){return"object"==typeof t?null!==t:"function"==typeof t},O={},C=O,S=n,T=function(t){return"function"==typeof t?t:void 0},M=function(t,e){return arguments.length<2?T(C[t])||T(S[t]):C[t]&&C[t][e]||S[t]&&S[t][e]},P=M("navigator","userAgent")||"",B=n,D=P,I=B.process,z=B.Deno,F=I&&I.versions||z&&z.version,N=F&&F.v8;N?f=(u=N.split("."))[0]<4?1:u[0]+u[1]:D&&(!(u=D.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=D.match(/Chrome\/(\d+)/))&&(f=u[1]);var A=f&&+f,R=A,j=s,L=!!Object.getOwnPropertySymbols&&!j((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&R&&R<41})),H=L&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,W=M,V=H?function(t){return"symbol"==typeof t}:function(t){var e=W("Symbol");return"function"==typeof e&&Object(t)instanceof e},q=E,U={exports:{}},Y=n,X=function(t,e){try{Object.defineProperty(Y,t,{value:e,configurable:!0,writable:!0})}catch(i){Y[t]=e}return e},G=n["__core-js_shared__"]||X("__core-js_shared__",{}),K=G;(U.exports=function(t,e){return K[t]||(K[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.1",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var $=w,Z=function(t){return Object($(t))},Q=Z,J={}.hasOwnProperty,tt=Object.hasOwn||function(t,e){return J.call(Q(t),e)},et=0,it=Math.random(),ot=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++et+it).toString(36)},nt=n,rt=U.exports,st=tt,at=ot,ht=L,dt=H,lt=rt("wks"),ct=nt.Symbol,ut=dt?ct:ct&&ct.withoutSetter||at,ft=function(t){return st(lt,t)&&(ht||"string"==typeof lt[t])||(ht&&st(ct,t)?lt[t]=ct[t]:lt[t]=ut("Symbol."+t)),lt[t]},pt=E,vt=V,gt=function(t,e){var i,o;if("string"===e&&"function"==typeof(i=t.toString)&&!q(o=i.call(t)))return o;if("function"==typeof(i=t.valueOf)&&!q(o=i.call(t)))return o;if("string"!==e&&"function"==typeof(i=t.toString)&&!q(o=i.call(t)))return o;throw TypeError("Can't convert object to primitive value")},yt=ft("toPrimitive"),mt=function(t,e){if(!pt(t)||vt(t))return t;var i,o=t[yt];if(void 0!==o){if(void 0===e&&(e="default"),i=o.call(t,e),!pt(i)||vt(i))return i;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),gt(t,e)},bt=V,wt=function(t){var e=mt(t,"string");return bt(e)?e:String(e)},kt=E,_t=n.document,xt=kt(_t)&&kt(_t.createElement),Et=function(t){return xt?_t.createElement(t):{}},Ot=Et,Ct=!a&&!s((function(){return 7!=Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),St=a,Tt=h,Mt=p,Pt=x,Bt=wt,Dt=tt,It=Ct,zt=Object.getOwnPropertyDescriptor;r.f=St?zt:function(t,e){if(t=Pt(t),e=Bt(e),It)try{return zt(t,e)}catch(t){}if(Dt(t,e))return Mt(!Tt.f.call(t,e),t[e])};var Ft=s,Nt=/#|\.prototype\./,At=function(t,e){var i=jt[Rt(t)];return i==Ht||i!=Lt&&("function"==typeof e?Ft(e):!!e)},Rt=At.normalize=function(t){return String(t).replace(Nt,".").toLowerCase()},jt=At.data={},Lt=At.NATIVE="N",Ht=At.POLYFILL="P",Wt=At,Vt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},qt=Vt,Ut=function(t,e,i){if(qt(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,o){return t.call(e,i,o)};case 3:return function(i,o,n){return t.call(e,i,o,n)}}return function(){return t.apply(e,arguments)}},Yt={},Xt=E,Gt=function(t){if(!Xt(t))throw TypeError(String(t)+" is not an object");return t},Kt=a,$t=Ct,Zt=Gt,Qt=wt,Jt=Object.defineProperty;Yt.f=Kt?Jt:function(t,e,i){if(Zt(t),e=Qt(e),Zt(i),$t)try{return Jt(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t};var te=Yt,ee=p,ie=a?function(t,e,i){return te.f(t,e,ee(1,i))}:function(t,e,i){return t[e]=i,t},oe=n,ne=r.f,re=Wt,se=O,ae=Ut,he=ie,de=tt,le=function(t){var e=function(e,i,o){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,o)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},ce=function(t,e){var i,o,n,r,s,a,h,d,l=t.target,c=t.global,u=t.stat,f=t.proto,p=c?oe:u?oe[l]:(oe[l]||{}).prototype,v=c?se:se[l]||(se[l]={}),g=v.prototype;for(n in e)i=!re(c?n:l+(u?".":"#")+n,t.forced)&&p&&de(p,n),s=v[n],i&&(a=t.noTargetGet?(d=ne(p,n))&&d.value:p[n]),r=i&&a?a:e[n],i&&typeof s==typeof r||(h=t.bind&&i?ae(r,oe):t.wrap&&i?le(r):f&&"function"==typeof r?ae(Function.call,r):r,(t.sham||r&&r.sham||s&&s.sham)&&he(h,"sham",!0),v[n]=h,f&&(de(se,o=l+"Prototype")||he(se,o,{}),se[o][n]=r,t.real&&g&&!g[n]&&he(g,n,r)))},ue=Math.ceil,fe=Math.floor,pe=function(t){return isNaN(t=+t)?0:(t>0?fe:ue)(t)},ve=pe,ge=Math.min,ye=function(t){return t>0?ge(ve(t),9007199254740991):0},me=pe,be=Math.max,we=Math.min,ke=function(t,e){var i=me(t);return i<0?be(i+e,0):we(i,e)},_e=x,xe=ye,Ee=ke,Oe=function(t){return function(e,i,o){var n,r=_e(e),s=xe(r.length),a=Ee(o,s);if(t&&i!=i){for(;s>a;)if((n=r[a++])!=n)return!0}else for(;s>a;a++)if((t||a in r)&&r[a]===i)return t||a||0;return!t&&-1}},Ce={includes:Oe(!0),indexOf:Oe(!1)},Se={},Te=tt,Me=x,Pe=Ce.indexOf,Be=Se,De=function(t,e){var i,o=Me(t),n=0,r=[];for(i in o)!Te(Be,i)&&Te(o,i)&&r.push(i);for(;e.length>n;)Te(o,i=e[n++])&&(~Pe(r,i)||r.push(i));return r},Ie=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ze=De,Fe=Ie,Ne=Object.keys||function(t){return ze(t,Fe)},Ae={};Ae.f=Object.getOwnPropertySymbols;var Re=a,je=s,Le=Ne,He=Ae,We=h,Ve=Z,qe=b,Ue=Object.assign,Ye=Object.defineProperty,Xe=!Ue||je((function(){if(Re&&1!==Ue({b:1},Ue(Ye({},"a",{enumerable:!0,get:function(){Ye(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol(),o="abcdefghijklmnopqrst";return t[i]=7,o.split("").forEach((function(t){e[t]=t})),7!=Ue({},t)[i]||Le(Ue({},e)).join("")!=o}))?function(t,e){for(var i=Ve(t),o=arguments.length,n=1,r=He.f,s=We.f;o>n;)for(var a,h=qe(arguments[n++]),d=r?Le(h).concat(r(h)):Le(h),l=d.length,c=0;l>c;)a=d[c++],Re&&!s.call(h,a)||(i[a]=h[a]);return i}:Ue;ce({target:"Object",stat:!0,forced:Object.assign!==Xe},{assign:Xe});var Ge=O.Object.assign,Ke=Vt,$e=E,Ze=[].slice,Qe={},Je=function(t,e,i){if(!(e in Qe)){for(var o=[],n=0;n<e;n++)o[n]="a["+n+"]";Qe[e]=Function("C,a","return new C("+o.join(",")+")")}return Qe[e](t,i)},ti=Function.bind||function(t){var e=Ke(this),i=Ze.call(arguments,1),o=function(){var n=i.concat(Ze.call(arguments));return this instanceof o?Je(e,n.length,n):e.apply(t,n)};return $e(e.prototype)&&(o.prototype=e.prototype),o};ce({target:"Function",proto:!0},{bind:ti});var ei=O,ii=function(t){return ei[t+"Prototype"]},oi=ii("Function").bind,ni=Function.prototype,ri=function(t){var e=t.bind;return t===ni||t instanceof Function&&e===ni.bind?oi:e};function si(t,e,i,o){t.beginPath(),t.arc(e,i,o,0,2*Math.PI,!1),t.closePath()}function ai(t,e,i,o,n,r){var s=Math.PI/180;o-2*r<0&&(r=o/2),n-2*r<0&&(r=n/2),t.beginPath(),t.moveTo(e+r,i),t.lineTo(e+o-r,i),t.arc(e+o-r,i+r,r,270*s,360*s,!1),t.lineTo(e+o,i+n-r),t.arc(e+o-r,i+n-r,r,0,90*s,!1),t.lineTo(e+r,i+n),t.arc(e+r,i+n-r,r,90*s,180*s,!1),t.lineTo(e,i+r),t.arc(e+r,i+r,r,180*s,270*s,!1),t.closePath()}function hi(t,e,i,o,n){var r=.5522848,s=o/2*r,a=n/2*r,h=e+o,d=i+n,l=e+o/2,c=i+n/2;t.beginPath(),t.moveTo(e,c),t.bezierCurveTo(e,c-a,l-s,i,l,i),t.bezierCurveTo(l+s,i,h,c-a,h,c),t.bezierCurveTo(h,c+a,l+s,d,l,d),t.bezierCurveTo(l-s,d,e,c+a,e,c),t.closePath()}function di(t,e,i,o,n){var r=n*(1/3),s=.5522848,a=o/2*s,h=r/2*s,d=e+o,l=i+r,c=e+o/2,u=i+r/2,f=i+(n-r/2),p=i+n;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,f),t.bezierCurveTo(d,f+h,c+a,p,c,p),t.bezierCurveTo(c-a,p,e,f+h,e,f),t.lineTo(e,u)}function li(t,e,i,o,n,r){t.beginPath(),t.moveTo(e,i);for(var s=r.length,a=o-e,h=n-i,d=h/a,l=Math.sqrt(a*a+h*h),c=0,u=!0,f=0,p=+r[0];l>=.1;)(p=+r[c++%s])>l&&(p=l),f=Math.sqrt(p*p/(1+d*d)),e+=f=a<0?-f:f,i+=d*f,!0===u?t.lineTo(e,i):t.moveTo(e,i),l-=p,u=!u}var ci={circle:si,dashedLine:li,database:di,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:hi,ellipse_vis:hi,hexagon:function(t,e,i,o){t.beginPath();var n=2*Math.PI/6;t.moveTo(e+o,i);for(var r=1;r<6;r++)t.lineTo(e+o*Math.cos(n*r),i+o*Math.sin(n*r));t.closePath()},roundRect:ai,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(var n=0;n<10;n++){var r=n%2==0?1.3*o:.5*o;t.lineTo(e+r*Math.sin(2*n*Math.PI/10),i-r*Math.cos(2*n*Math.PI/10))}t.closePath()},triangle:function(t,e,i,o){t.beginPath(),i+=.275*(o*=1.15);var n=2*o,r=n/2,s=Math.sqrt(3)/6*n,a=Math.sqrt(n*n-r*r);t.moveTo(e,i-(a-s)),t.lineTo(e+r,i+s),t.lineTo(e-r,i+s),t.lineTo(e,i-(a-s)),t.closePath()},triangleDown:function(t,e,i,o){t.beginPath(),i-=.275*(o*=1.15);var n=2*o,r=n/2,s=Math.sqrt(3)/6*n,a=Math.sqrt(n*n-r*r);t.moveTo(e,i+(a-s)),t.lineTo(e+r,i-s),t.lineTo(e-r,i-s),t.lineTo(e,i+(a-s)),t.closePath()}};var ui={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)}ui.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 n=0;n<o.length;n++)if((i=o[n])===e||i.fn===e){o.splice(n,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 n=(i=i.slice(0)).length;o<n;++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}}();var fi=ui.exports,pi=V,vi=function(t){if(pi(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)},gi=pe,yi=vi,mi=w,bi=function(t){return function(e,i){var o,n,r=yi(mi(e)),s=gi(i),a=r.length;return s<0||s>=a?t?"":void 0:(o=r.charCodeAt(s))<55296||o>56319||s+1===a||(n=r.charCodeAt(s+1))<56320||n>57343?t?r.charAt(s):o:t?r.slice(s,s+2):n-56320+(o-55296<<10)+65536}},wi={codeAt:bi(!1),charAt:bi(!0)},ki=G,_i=Function.toString;"function"!=typeof ki.inspectSource&&(ki.inspectSource=function(t){return _i.call(t)});var xi,Ei,Oi,Ci=ki.inspectSource,Si=n.WeakMap,Ti="function"==typeof Si&&/native code/.test(Ci(Si)),Mi=U.exports,Pi=ot,Bi=Mi("keys"),Di=function(t){return Bi[t]||(Bi[t]=Pi(t))},Ii=Ti,zi=E,Fi=ie,Ni=tt,Ai=G,Ri=Di,ji=Se,Li=n.WeakMap;if(Ii||Ai.state){var Hi=Ai.state||(Ai.state=new Li),Wi=Hi.get,Vi=Hi.has,qi=Hi.set;xi=function(t,e){if(Vi.call(Hi,t))throw new TypeError("Object already initialized");return e.facade=t,qi.call(Hi,t,e),e},Ei=function(t){return Wi.call(Hi,t)||{}},Oi=function(t){return Vi.call(Hi,t)}}else{var Ui=Ri("state");ji[Ui]=!0,xi=function(t,e){if(Ni(t,Ui))throw new TypeError("Object already initialized");return e.facade=t,Fi(t,Ui,e),e},Ei=function(t){return Ni(t,Ui)?t[Ui]:{}},Oi=function(t){return Ni(t,Ui)}}var Yi,Xi,Gi,Ki={set:xi,get:Ei,has:Oi,enforce:function(t){return Oi(t)?Ei(t):xi(t,{})},getterFor:function(t){return function(e){var i;if(!zi(e)||(i=Ei(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},$i=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Zi=tt,Qi=Z,Ji=$i,to=Di("IE_PROTO"),eo=Object.prototype,io=Ji?Object.getPrototypeOf:function(t){return t=Qi(t),Zi(t,to)?t[to]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?eo:null},oo=s,no=io,ro=ie,so=tt,ao=ft("iterator"),ho=!1;[].keys&&("next"in(Gi=[].keys())?(Xi=no(no(Gi)))!==Object.prototype&&(Yi=Xi):ho=!0);var lo=null==Yi||oo((function(){var t={};return Yi[ao].call(t)!==t}));lo&&(Yi={}),lo&&!so(Yi,ao)&&ro(Yi,ao,(function(){return this}));var co,uo={IteratorPrototype:Yi,BUGGY_SAFARI_ITERATORS:ho},fo=Yt,po=Gt,vo=Ne,go=a?Object.defineProperties:function(t,e){po(t);for(var i,o=vo(e),n=o.length,r=0;n>r;)fo.f(t,i=o[r++],e[i]);return t},yo=M("document","documentElement"),mo=Gt,bo=go,wo=Ie,ko=Se,_o=yo,xo=Et,Eo=Di("IE_PROTO"),Oo=function(){},Co=function(t){return"<script>"+t+"<\/script>"},So=function(t){t.write(Co("")),t.close();var e=t.parentWindow.Object;return t=null,e},To=function(){try{co=new ActiveXObject("htmlfile")}catch(t){}To=document.domain&&co?So(co):function(){var t,e=xo("iframe");if(e.style)return e.style.display="none",_o.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Co("document.F=Object")),t.close(),t.F}()||So(co);for(var t=wo.length;t--;)delete To.prototype[wo[t]];return To()};ko[Eo]=!0;var Mo=Object.create||function(t,e){var i;return null!==t?(Oo.prototype=mo(t),i=new Oo,Oo.prototype=null,i[Eo]=t):i=To(),void 0===e?i:bo(i,e)},Po={};Po[ft("toStringTag")]="z";var Bo="[object z]"===String(Po),Do=Bo,Io=g,zo=ft("toStringTag"),Fo="Arguments"==Io(function(){return arguments}()),No=Do?Io: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=Object(t),zo))?i:Fo?Io(e):"Object"==(o=Io(e))&&"function"==typeof e.callee?"Arguments":o},Ao=No,Ro=Bo?{}.toString:function(){return"[object "+Ao(this)+"]"},jo=Bo,Lo=Yt.f,Ho=ie,Wo=tt,Vo=Ro,qo=ft("toStringTag"),Uo=function(t,e,i,o){if(t){var n=i?t:t.prototype;Wo(n,qo)||Lo(n,qo,{configurable:!0,value:e}),o&&!jo&&Ho(n,"toString",Vo)}},Yo={},Xo=uo.IteratorPrototype,Go=Mo,Ko=p,$o=Uo,Zo=Yo,Qo=function(){return this},Jo=E,tn=Gt,en=function(t){if(!Jo(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},on=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}return function(i,o){return tn(i),en(o),e?t.call(i,o):i.__proto__=o,i}}():void 0),nn=ie,rn=function(t,e,i,o){o&&o.enumerable?t[e]=i:nn(t,e,i)},sn=ce,an=function(t,e,i){var o=e+" Iterator";return t.prototype=Go(Xo,{next:Ko(1,i)}),$o(t,o,!1,!0),Zo[o]=Qo,t},hn=io,dn=Uo,ln=ie,cn=rn,un=Yo,fn=uo.IteratorPrototype,pn=uo.BUGGY_SAFARI_ITERATORS,vn=ft("iterator"),gn=function(){return this},yn=function(t,e,i,o,n,r,s){an(i,e,o);var a,h,d,l=function(t){if(t===n&&v)return v;if(!pn&&t in f)return f[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}},c=e+" Iterator",u=!1,f=t.prototype,p=f[vn]||f["@@iterator"]||n&&f[n],v=!pn&&p||l(n),g="Array"==e&&f.entries||p;if(g&&(a=hn(g.call(new t)),fn!==Object.prototype&&a.next&&(dn(a,c,!0,!0),un[c]=gn)),"values"==n&&p&&"values"!==p.name&&(u=!0,v=function(){return p.call(this)}),s&&f[vn]!==v&&ln(f,vn,v),un[e]=v,n)if(h={values:l("values"),keys:r?v:l("keys"),entries:l("entries")},s)for(d in h)(pn||u||!(d in f))&&cn(f,d,h[d]);else sn({target:e,proto:!0,forced:pn||u},h);return h},mn=wi.charAt,bn=vi,wn=Ki,kn=yn,_n=wn.set,xn=wn.getterFor("String Iterator");kn(String,"String",(function(t){_n(this,{type:"String Iterator",string:bn(t),index:0})}),(function(){var t,e=xn(this),i=e.string,o=e.index;return o>=i.length?{value:void 0,done:!0}:(t=mn(i,o),e.index+=t.length,{value:t,done:!1})}));var En=Gt,On=function(t){var e=t.return;if(void 0!==e)return En(e.call(t)).value},Cn=Gt,Sn=On,Tn=Yo,Mn=ft("iterator"),Pn=Array.prototype,Bn=function(t){return void 0!==t&&(Tn.Array===t||Pn[Mn]===t)},Dn=wt,In=Yt,zn=p,Fn=function(t,e,i){var o=Dn(e);o in t?In.f(t,o,zn(0,i)):t[o]=i},Nn=No,An=Yo,Rn=ft("iterator"),jn=function(t){if(null!=t)return t[Rn]||t["@@iterator"]||An[Nn(t)]},Ln=Ut,Hn=Z,Wn=function(t,e,i,o){try{return o?e(Cn(i)[0],i[1]):e(i)}catch(e){throw Sn(t),e}},Vn=Bn,qn=ye,Un=Fn,Yn=jn,Xn=ft("iterator"),Gn=!1;try{var Kn=0,$n={next:function(){return{done:!!Kn++}},return:function(){Gn=!0}};$n[Xn]=function(){return this},Array.from($n,(function(){throw 2}))}catch(t){}var Zn=function(t){var e,i,o,n,r,s,a=Hn(t),h="function"==typeof this?this:Array,d=arguments.length,l=d>1?arguments[1]:void 0,c=void 0!==l,u=Yn(a),f=0;if(c&&(l=Ln(l,d>2?arguments[2]:void 0,2)),null==u||h==Array&&Vn(u))for(i=new h(e=qn(a.length));e>f;f++)s=c?l(a[f],f):a[f],Un(i,f,s);else for(r=(n=u.call(a)).next,i=new h;!(o=r.call(n)).done;f++)s=c?Wn(n,l,[o.value,f],!0):o.value,Un(i,f,s);return i.length=f,i};ce({target:"Array",stat:!0,forced:!function(t,e){if(!e&&!Gn)return!1;var i=!1;try{var o={};o[Xn]=function(){return{next:function(){return{done:i=!0}}}},t(o)}catch(t){}return i}((function(t){Array.from(t)}))},{from:Zn});var Qn=O.Array.from,Jn=Qn,tr=x,er=Yo,ir=Ki,or=yn,nr=ir.set,rr=ir.getterFor("Array Iterator");or(Array,"Array",(function(t,e){nr(this,{type:"Array Iterator",target:tr(t),index:0,kind:e})}),(function(){var t=rr(this),e=t.target,i=t.kind,o=t.index++;return!e||o>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:o,done:!1}:"values"==i?{value:e[o],done:!1}:{value:[o,e[o]],done:!1}}),"values"),er.Arguments=er.Array;var sr=jn,ar={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},hr=n,dr=No,lr=ie,cr=Yo,ur=ft("toStringTag");for(var fr in ar){var pr=hr[fr],vr=pr&&pr.prototype;vr&&dr(vr)!==ur&&lr(vr,ur,fr),cr[fr]=cr.Array}var gr=sr,yr=g,mr=Array.isArray||function(t){return"Array"==yr(t)},br={},wr=De,kr=Ie.concat("length","prototype");br.f=Object.getOwnPropertyNames||function(t){return wr(t,kr)};var _r={},xr=x,Er=br.f,Or={}.toString,Cr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];_r.f=function(t){return Cr&&"[object Window]"==Or.call(t)?function(t){try{return Er(t)}catch(t){return Cr.slice()}}(t):Er(xr(t))};var Sr={},Tr=ft;Sr.f=Tr;var Mr=O,Pr=tt,Br=Sr,Dr=Yt.f,Ir=function(t){var e=Mr.Symbol||(Mr.Symbol={});Pr(e,t)||Dr(e,t,{value:Br.f(t)})},zr=E,Fr=mr,Nr=ft("species"),Ar=function(t){var e;return Fr(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!Fr(e.prototype)?zr(e)&&null===(e=e[Nr])&&(e=void 0):e=void 0),void 0===e?Array:e},Rr=function(t,e){return new(Ar(t))(0===e?0:e)},jr=Ut,Lr=b,Hr=Z,Wr=ye,Vr=Rr,qr=[].push,Ur=function(t){var e=1==t,i=2==t,o=3==t,n=4==t,r=6==t,s=7==t,a=5==t||r;return function(h,d,l,c){for(var u,f,p=Hr(h),v=Lr(p),g=jr(d,l,3),y=Wr(v.length),m=0,b=c||Vr,w=e?b(h,y):i||s?b(h,0):void 0;y>m;m++)if((a||m in v)&&(f=g(u=v[m],m,p),t))if(e)w[m]=f;else if(f)switch(t){case 3:return!0;case 5:return u;case 6:return m;case 2:qr.call(w,u)}else switch(t){case 4:return!1;case 7:qr.call(w,u)}return r?-1:o||n?n:w}},Yr={forEach:Ur(0),map:Ur(1),filter:Ur(2),some:Ur(3),every:Ur(4),find:Ur(5),findIndex:Ur(6),filterReject:Ur(7)},Xr=ce,Gr=n,Kr=M,$r=a,Zr=L,Qr=s,Jr=tt,ts=mr,es=E,is=V,os=Gt,ns=Z,rs=x,ss=wt,as=vi,hs=p,ds=Mo,ls=Ne,cs=br,us=_r,fs=Ae,ps=r,vs=Yt,gs=h,ys=ie,ms=rn,bs=U.exports,ws=Se,ks=ot,_s=ft,xs=Sr,Es=Ir,Os=Uo,Cs=Ki,Ss=Yr.forEach,Ts=Di("hidden"),Ms=_s("toPrimitive"),Ps=Cs.set,Bs=Cs.getterFor("Symbol"),Ds=Object.prototype,Is=Gr.Symbol,zs=Kr("JSON","stringify"),Fs=ps.f,Ns=vs.f,As=us.f,Rs=gs.f,js=bs("symbols"),Ls=bs("op-symbols"),Hs=bs("string-to-symbol-registry"),Ws=bs("symbol-to-string-registry"),Vs=bs("wks"),qs=Gr.QObject,Us=!qs||!qs.prototype||!qs.prototype.findChild,Ys=$r&&Qr((function(){return 7!=ds(Ns({},"a",{get:function(){return Ns(this,"a",{value:7}).a}})).a}))?function(t,e,i){var o=Fs(Ds,e);o&&delete Ds[e],Ns(t,e,i),o&&t!==Ds&&Ns(Ds,e,o)}:Ns,Xs=function(t,e){var i=js[t]=ds(Is.prototype);return Ps(i,{type:"Symbol",tag:t,description:e}),$r||(i.description=e),i},Gs=function(t,e,i){t===Ds&&Gs(Ls,e,i),os(t);var o=ss(e);return os(i),Jr(js,o)?(i.enumerable?(Jr(t,Ts)&&t[Ts][o]&&(t[Ts][o]=!1),i=ds(i,{enumerable:hs(0,!1)})):(Jr(t,Ts)||Ns(t,Ts,hs(1,{})),t[Ts][o]=!0),Ys(t,o,i)):Ns(t,o,i)},Ks=function(t,e){os(t);var i=rs(e),o=ls(i).concat(Js(i));return Ss(o,(function(e){$r&&!$s.call(i,e)||Gs(t,e,i[e])})),t},$s=function(t){var e=ss(t),i=Rs.call(this,e);return!(this===Ds&&Jr(js,e)&&!Jr(Ls,e))&&(!(i||!Jr(this,e)||!Jr(js,e)||Jr(this,Ts)&&this[Ts][e])||i)},Zs=function(t,e){var i=rs(t),o=ss(e);if(i!==Ds||!Jr(js,o)||Jr(Ls,o)){var n=Fs(i,o);return!n||!Jr(js,o)||Jr(i,Ts)&&i[Ts][o]||(n.enumerable=!0),n}},Qs=function(t){var e=As(rs(t)),i=[];return Ss(e,(function(t){Jr(js,t)||Jr(ws,t)||i.push(t)})),i},Js=function(t){var e=t===Ds,i=As(e?Ls:rs(t)),o=[];return Ss(i,(function(t){!Jr(js,t)||e&&!Jr(Ds,t)||o.push(js[t])})),o};(Zr||(ms((Is=function(){if(this instanceof Is)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?as(arguments[0]):void 0,e=ks(t),i=function(t){this===Ds&&i.call(Ls,t),Jr(this,Ts)&&Jr(this[Ts],e)&&(this[Ts][e]=!1),Ys(this,e,hs(1,t))};return $r&&Us&&Ys(Ds,e,{configurable:!0,set:i}),Xs(e,t)}).prototype,"toString",(function(){return Bs(this).tag})),ms(Is,"withoutSetter",(function(t){return Xs(ks(t),t)})),gs.f=$s,vs.f=Gs,ps.f=Zs,cs.f=us.f=Qs,fs.f=Js,xs.f=function(t){return Xs(_s(t),t)},$r&&Ns(Is.prototype,"description",{configurable:!0,get:function(){return Bs(this).description}})),Xr({global:!0,wrap:!0,forced:!Zr,sham:!Zr},{Symbol:Is}),Ss(ls(Vs),(function(t){Es(t)})),Xr({target:"Symbol",stat:!0,forced:!Zr},{for:function(t){var e=as(t);if(Jr(Hs,e))return Hs[e];var i=Is(e);return Hs[e]=i,Ws[i]=e,i},keyFor:function(t){if(!is(t))throw TypeError(t+" is not a symbol");if(Jr(Ws,t))return Ws[t]},useSetter:function(){Us=!0},useSimple:function(){Us=!1}}),Xr({target:"Object",stat:!0,forced:!Zr,sham:!$r},{create:function(t,e){return void 0===e?ds(t):Ks(ds(t),e)},defineProperty:Gs,defineProperties:Ks,getOwnPropertyDescriptor:Zs}),Xr({target:"Object",stat:!0,forced:!Zr},{getOwnPropertyNames:Qs,getOwnPropertySymbols:Js}),Xr({target:"Object",stat:!0,forced:Qr((function(){fs.f(1)}))},{getOwnPropertySymbols:function(t){return fs.f(ns(t))}}),zs)&&Xr({target:"JSON",stat:!0,forced:!Zr||Qr((function(){var t=Is();return"[null]"!=zs([t])||"{}"!=zs({a:t})||"{}"!=zs(Object(t))}))},{stringify:function(t,e,i){for(var o,n=[t],r=1;arguments.length>r;)n.push(arguments[r++]);if(o=e,(es(e)||void 0!==t)&&!is(t))return ts(e)||(e=function(t,e){if("function"==typeof o&&(e=o.call(this,t,e)),!is(e))return e}),n[1]=e,zs.apply(null,n)}});Is.prototype[Ms]||ys(Is.prototype,Ms,Is.prototype.valueOf),Os(Is,"Symbol"),ws[Ts]=!0;var ta=O.Object.getOwnPropertySymbols,ea={exports:{}},ia=ce,oa=s,na=x,ra=r.f,sa=a,aa=oa((function(){ra(1)}));ia({target:"Object",stat:!0,forced:!sa||aa,sham:!sa},{getOwnPropertyDescriptor:function(t,e){return ra(na(t),e)}});var ha=O.Object,da=ea.exports=function(t,e){return ha.getOwnPropertyDescriptor(t,e)};ha.getOwnPropertyDescriptor.sham&&(da.sham=!0);var la=ea.exports,ca=la,ua=br,fa=Ae,pa=Gt,va=M("Reflect","ownKeys")||function(t){var e=ua.f(pa(t)),i=fa.f;return i?e.concat(i(t)):e},ga=va,ya=x,ma=r,ba=Fn;ce({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){for(var e,i,o=ya(t),n=ma.f,r=ga(o),s={},a=0;r.length>a;)void 0!==(i=n(o,e=r[a++]))&&ba(s,e,i);return s}});var wa=O.Object.getOwnPropertyDescriptors,ka={exports:{}};ce({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:go});var _a=O.Object,xa=ka.exports=function(t,e){return _a.defineProperties(t,e)};_a.defineProperties.sham&&(xa.sham=!0);var Ea=ka.exports,Oa={exports:{}};ce({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:Yt.f});var Ca=O.Object,Sa=Oa.exports=function(t,e,i){return Ca.defineProperty(t,e,i)};Ca.defineProperty.sham&&(Sa.sham=!0);var Ta=Oa.exports,Ma=Ta;function Pa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Ba=Ta;function Da(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Ba(t,o.key,o)}}function Ia(t,e,i){return e&&Da(t.prototype,e),i&&Da(t,i),t}function za(t,e,i){return e in t?Ba(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}ce({target:"Array",stat:!0},{isArray:mr});var Fa=O.Array.isArray,Na=Fa;var Aa=s,Ra=A,ja=ft("species"),La=function(t){return Ra>=51||!Aa((function(){var e=[];return(e.constructor={})[ja]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Ha=ce,Wa=s,Va=mr,qa=E,Ua=Z,Ya=ye,Xa=Fn,Ga=Rr,Ka=La,$a=A,Za=ft("isConcatSpreadable"),Qa=$a>=51||!Wa((function(){var t=[];return t[Za]=!1,t.concat()[0]!==t})),Ja=Ka("concat"),th=function(t){if(!qa(t))return!1;var e=t[Za];return void 0!==e?!!e:Va(t)};Ha({target:"Array",proto:!0,forced:!Qa||!Ja},{concat:function(t){var e,i,o,n,r,s=Ua(this),a=Ga(s,0),h=0;for(e=-1,o=arguments.length;e<o;e++)if(th(r=-1===e?s:arguments[e])){if(h+(n=Ya(r.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(i=0;i<n;i++,h++)i in r&&Xa(a,h,r[i])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Xa(a,h++,r)}return a.length=h,a}}),Ir("asyncIterator"),Ir("hasInstance"),Ir("isConcatSpreadable"),Ir("iterator"),Ir("match"),Ir("matchAll"),Ir("replace"),Ir("search"),Ir("species"),Ir("split"),Ir("toPrimitive"),Ir("toStringTag"),Ir("unscopables"),Uo(n.JSON,"JSON",!0);var eh=O.Symbol;Ir("asyncDispose"),Ir("dispose"),Ir("matcher"),Ir("metadata"),Ir("observable"),Ir("patternMatch"),Ir("replaceAll");var ih=eh;var oh=ce,nh=E,rh=mr,sh=ke,ah=ye,hh=x,dh=Fn,lh=ft,ch=La("slice"),uh=lh("species"),fh=[].slice,ph=Math.max;oh({target:"Array",proto:!0,forced:!ch},{slice:function(t,e){var i,o,n,r=hh(this),s=ah(r.length),a=sh(t,s),h=sh(void 0===e?s:e,s);if(rh(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!rh(i.prototype)?nh(i)&&null===(i=i[uh])&&(i=void 0):i=void 0,i===Array||void 0===i))return fh.call(r,a,h);for(o=new(void 0===i?Array:i)(ph(h-a,0)),n=0;a<h;a++,n++)a in r&&dh(o,n,r[a]);return o.length=n,o}});var vh=ii("Array").slice,gh=Array.prototype,yh=function(t){var e=t.slice;return t===gh||t instanceof Array&&e===gh.slice?vh:e},mh=yh,bh=Qn;function wh(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,o=new Array(e);i<e;i++)o[i]=t[i];return o}function kh(t,e){var i;if(t){if("string"==typeof t)return wh(t,e);var o=mh(i=Object.prototype.toString.call(t)).call(i,8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?bh(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?wh(t,e):void 0}}function _h(t,e){return function(t){if(Na(t))return t}(t)||function(t,e){var i=null==t?null:void 0!==ih&&gr(t)||t["@@iterator"];if(null!=i){var o,n,r=[],s=!0,a=!1;try{for(i=i.call(t);!(s=(o=i.next()).done)&&(r.push(o.value),!e||r.length!==e);s=!0);}catch(t){a=!0,n=t}finally{try{s||null==i.return||i.return()}finally{if(a)throw n}}return r}}(t,e)||kh(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var xh=Sr.f("iterator");function Eh(t){return(Eh="function"==typeof ih&&"symbol"==typeof xh?function(t){return typeof t}:function(t){return t&&"function"==typeof ih&&t.constructor===ih&&t!==ih.prototype?"symbol":typeof t})(t)}function Oh(t){return function(t){if(Na(t))return wh(t)}(t)||function(t){if(void 0!==ih&&null!=gr(t)||null!=t["@@iterator"])return bh(t)}(t)||kh(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ch=eh,Sh=ii("Array").concat,Th=Array.prototype,Mh=function(t){var e=t.concat;return t===Th||t instanceof Array&&e===Th.concat?Sh:e},Ph=yh;ce({target:"Reflect",stat:!0},{ownKeys:va}),O.Reflect.ownKeys;var Bh=Fa,Dh=Yr.map;ce({target:"Array",proto:!0,forced:!La("map")},{map:function(t){return Dh(this,t,arguments.length>1?arguments[1]:void 0)}});var Ih=ii("Array").map,zh=Array.prototype,Fh=function(t){var e=t.map;return t===zh||t instanceof Array&&e===zh.map?Ih:e},Nh=Z,Ah=Ne;ce({target:"Object",stat:!0,forced:s((function(){Ah(1)}))},{keys:function(t){return Ah(Nh(t))}});var Rh=O.Object.keys;ce({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var jh=O.Date.now,Lh=s,Hh=function(t,e){var i=[][t];return!!i&&Lh((function(){i.call(null,e||function(){throw 1},1)}))},Wh=Yr.forEach,Vh=Hh("forEach")?[].forEach:function(t){return Wh(this,t,arguments.length>1?arguments[1]:void 0)};ce({target:"Array",proto:!0,forced:[].forEach!=Vh},{forEach:Vh});var qh=ii("Array").forEach,Uh=No,Yh=Array.prototype,Xh={DOMTokenList:!0,NodeList:!0},Gh=function(t){var e=t.forEach;return t===Yh||t instanceof Array&&e===Yh.forEach||Xh.hasOwnProperty(Uh(t))?qh:e},Kh=mr,$h=[].reverse,Zh=[1,2];ce({target:"Array",proto:!0,forced:String(Zh)===String(Zh.reverse())},{reverse:function(){return Kh(this)&&(this.length=this.length),$h.call(this)}});var Qh=ii("Array").reverse,Jh=Array.prototype,td=function(t){var e=t.reverse;return t===Jh||t instanceof Array&&e===Jh.reverse?Qh:e},ed=ce,id=ke,od=pe,nd=ye,rd=Z,sd=Rr,ad=Fn,hd=La("splice"),dd=Math.max,ld=Math.min;ed({target:"Array",proto:!0,forced:!hd},{splice:function(t,e){var i,o,n,r,s,a,h=rd(this),d=nd(h.length),l=id(t,d),c=arguments.length;if(0===c?i=o=0:1===c?(i=0,o=d-l):(i=c-2,o=ld(dd(od(e),0),d-l)),d+i-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(n=sd(h,o),r=0;r<o;r++)(s=l+r)in h&&ad(n,r,h[s]);if(n.length=o,i<o){for(r=l;r<d-o;r++)a=r+i,(s=r+o)in h?h[a]=h[s]:delete h[a];for(r=d;r>d-o+i;r--)delete h[r-1]}else if(i>o)for(r=d-o;r>l;r--)a=r+i-1,(s=r+o-1)in h?h[a]=h[s]:delete h[a];for(r=0;r<i;r++)h[r+l]=arguments[r+2];return h.length=d-o+i,n}});var cd=ii("Array").splice,ud=Array.prototype,fd=function(t){var e=t.splice;return t===ud||t instanceof Array&&e===ud.splice?cd:e},pd=Ce.includes;ce({target:"Array",proto:!0},{includes:function(t){return pd(this,t,arguments.length>1?arguments[1]:void 0)}});var vd=ii("Array").includes,gd=E,yd=g,md=ft("match"),bd=function(t){var e;return gd(t)&&(void 0!==(e=t[md])?!!e:"RegExp"==yd(t))},wd=ft("match"),kd=function(t){if(bd(t))throw TypeError("The method doesn't accept regular expressions");return t},_d=w,xd=vi;ce({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[wd]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~xd(_d(this)).indexOf(xd(kd(t)),arguments.length>1?arguments[1]:void 0)}});var Ed=ii("String").includes,Od=vd,Cd=Ed,Sd=Array.prototype,Td=String.prototype,Md=function(t){var e=t.includes;return t===Sd||t instanceof Array&&e===Sd.includes?Od:"string"==typeof t||t===Td||t instanceof String&&e===Td.includes?Cd:e},Pd=Z,Bd=io,Dd=$i;ce({target:"Object",stat:!0,forced:s((function(){Bd(1)})),sham:!Dd},{getPrototypeOf:function(t){return Bd(Pd(t))}});var Id=O.Object.getPrototypeOf,zd=Id,Fd=Yr.filter;ce({target:"Array",proto:!0,forced:!La("filter")},{filter:function(t){return Fd(this,t,arguments.length>1?arguments[1]:void 0)}});var Nd=ii("Array").filter,Ad=Array.prototype,Rd=function(t){var e=t.filter;return t===Ad||t instanceof Array&&e===Ad.filter?Nd:e},jd=a,Ld=Ne,Hd=x,Wd=h.f,Vd=function(t){return function(e){for(var i,o=Hd(e),n=Ld(o),r=n.length,s=0,a=[];r>s;)i=n[s++],jd&&!Wd.call(o,i)||a.push(t?[i,o[i]]:o[i]);return a}},qd={entries:Vd(!0),values:Vd(!1)}.values;ce({target:"Object",stat:!0},{values:function(t){return qd(t)}}),O.Object.values;var Ud="\t\n\v\f\r                 \u2028\u2029\ufeff",Yd=w,Xd=vi,Gd="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Kd=RegExp("^"+Gd+Gd+"*"),$d=RegExp(Gd+Gd+"*$"),Zd=function(t){return function(e){var i=Xd(Yd(e));return 1&t&&(i=i.replace(Kd,"")),2&t&&(i=i.replace($d,"")),i}},Qd={start:Zd(1),end:Zd(2),trim:Zd(3)},Jd=vi,tl=Qd.trim,el=n.parseInt,il=/^[+-]?0[Xx]/,ol=8!==el("\t\n\v\f\r                 \u2028\u2029\ufeff08")||22!==el("\t\n\v\f\r                 \u2028\u2029\ufeff0x16")?function(t,e){var i=tl(Jd(t));return el(i,e>>>0||(il.test(i)?16:10))}:el;ce({global:!0,forced:parseInt!=ol},{parseInt:ol});var nl=O.parseInt,rl=ce,sl=Ce.indexOf,al=Hh,hl=[].indexOf,dl=!!hl&&1/[1].indexOf(1,-0)<0,ll=al("indexOf");rl({target:"Array",proto:!0,forced:dl||!ll},{indexOf:function(t){return dl?hl.apply(this,arguments)||0:sl(this,t,arguments.length>1?arguments[1]:void 0)}});var cl=ii("Array").indexOf,ul=Array.prototype,fl=function(t){var e=t.indexOf;return t===ul||t instanceof Array&&e===ul.indexOf?cl:e},pl=s,vl=Ud,gl=Qd.trim;ce({target:"String",proto:!0,forced:function(t){return pl((function(){return!!vl[t]()||"​…᠎"!="​…᠎"[t]()||vl[t].name!==t}))}("trim")},{trim:function(){return gl(this)}}),ii("String").trim,ce({target:"Object",stat:!0,sham:!a},{create:Mo});var yl=O.Object,ml=function(t,e){return yl.create(t,e)},bl=ml,wl=ce,kl=s,_l=M("JSON","stringify"),xl=/[\uD800-\uDFFF]/g,El=/^[\uD800-\uDBFF]$/,Ol=/^[\uDC00-\uDFFF]$/,Cl=function(t,e,i){var o=i.charAt(e-1),n=i.charAt(e+1);return El.test(t)&&!Ol.test(n)||Ol.test(t)&&!El.test(o)?"\\u"+t.charCodeAt(0).toString(16):t},Sl=kl((function(){return'"\\udf06\\ud834"'!==_l("\udf06\ud834")||'"\\udead"'!==_l("\udead")}));_l&&wl({target:"JSON",stat:!0,forced:Sl},{stringify:function(t,e,i){var o=_l.apply(null,arguments);return"string"==typeof o?o.replace(xl,Cl):o}});var Tl=O;Tl.JSON||(Tl.JSON={stringify:JSON.stringify});var Ml=function(t,e,i){return Tl.JSON.stringify.apply(null,arguments)},Pl=n,Bl=[].slice,Dl=function(t){return function(e,i){var o=arguments.length>2,n=o?Bl.call(arguments,2):void 0;return t(o?function(){("function"==typeof e?e:Function(e)).apply(this,n)}:e,i)}};ce({global:!0,bind:!0,forced:/MSIE .\./.test(P)},{setTimeout:Dl(Pl.setTimeout),setInterval:Dl(Pl.setInterval)});var Il=O.setTimeout,zl=Z,Fl=ke,Nl=ye;ce({target:"Array",proto:!0},{fill:function(t){for(var e=zl(this),i=Nl(e.length),o=arguments.length,n=Fl(o>1?arguments[1]:void 0,i),r=o>2?arguments[2]:void 0,s=void 0===r?i:Fl(r,i);s>n;)e[n++]=t;return e}});var Al=ii("Array").fill,Rl=Array.prototype,jl=function(t){var e=t.fill;return t===Rl||t instanceof Array&&e===Rl.fill?Al:e}; /*! 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 Ll(){return(Ll=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}).apply(this,arguments)}function Hl(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wl(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Vl,ql="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 n in o)o.hasOwnProperty(n)&&(e[n]=o[n])}return e}:Object.assign,Ul=["","webkit","Moz","MS","ms","o"],Yl="undefined"==typeof document?{style:{}}:document.createElement("div"),Xl=Math.round,Gl=Math.abs,Kl=Date.now;function $l(t,e){for(var i,o,n=e[0].toUpperCase()+e.slice(1),r=0;r<Ul.length;){if((o=(i=Ul[r])?i+n:e)in t)return o;r++}}Vl="undefined"==typeof window?{}:window;var Zl=$l(Yl.style,"touchAction"),Ql=void 0!==Zl;var Jl=function(){if(!Ql)return!1;var t={},e=Vl.CSS&&Vl.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){return t[i]=!e||Vl.CSS.supports("touch-action",i)})),t}(),tc="ontouchstart"in Vl,ec=void 0!==$l(Vl,"PointerEvent"),ic=tc&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),oc=["x","y"],nc=["clientX","clientY"];function rc(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 sc(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function ac(t,e){return t.indexOf(e)>-1}var hc=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){"compute"===t&&(t=this.compute()),Ql&&this.manager.element.style&&Jl[t]&&(this.manager.element.style[Zl]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return rc(this.manager.recognizers,(function(e){sc(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(ac(t,"none"))return"none";var e=ac(t,"pan-x"),i=ac(t,"pan-y");return e&&i?"none":e||i?e?"pan-x":"pan-y":ac(t,"manipulation")?"manipulation":"auto"}(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,n=ac(o,"none")&&!Jl.none,r=ac(o,"pan-y")&&!Jl["pan-y"],s=ac(o,"pan-x")&&!Jl["pan-x"];if(n){var a=1===t.pointers.length,h=t.distance<2,d=t.deltaTime<250;if(a&&h&&d)return}if(!s||!r)return n||r&&6&i||s&&24&i?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function dc(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function lc(t){var e=t.length;if(1===e)return{x:Xl(t[0].clientX),y:Xl(t[0].clientY)};for(var i=0,o=0,n=0;n<e;)i+=t[n].clientX,o+=t[n].clientY,n++;return{x:Xl(i/e),y:Xl(o/e)}}function cc(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:Xl(t.pointers[i].clientX),clientY:Xl(t.pointers[i].clientY)},i++;return{timeStamp:Kl(),pointers:e,center:lc(e),deltaX:t.deltaX,deltaY:t.deltaY}}function uc(t,e,i){i||(i=oc);var o=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return Math.sqrt(o*o+n*n)}function fc(t,e,i){i||(i=oc);var o=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return 180*Math.atan2(n,o)/Math.PI}function pc(t,e){return t===e?1:Gl(t)>=Gl(e)?t<0?2:4:e<0?8:16}function vc(t,e,i){return{x:e/t||0,y:i/t||0}}function gc(t,e){var i=t.session,o=e.pointers,n=o.length;i.firstInput||(i.firstInput=cc(e)),n>1&&!i.firstMultiple?i.firstMultiple=cc(e):1===n&&(i.firstMultiple=!1);var r=i.firstInput,s=i.firstMultiple,a=s?s.center:r.center,h=e.center=lc(o);e.timeStamp=Kl(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=fc(a,h),e.distance=uc(a,h),function(t,e){var i=e.center,o=t.offsetDelta||{},n=t.prevDelta||{},r=t.prevInput||{};1!==e.eventType&&4!==r.eventType||(n=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},o=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=n.x+(i.x-o.x),e.deltaY=n.y+(i.y-o.y)}(i,e),e.offsetDirection=pc(e.deltaX,e.deltaY);var d,l,c=vc(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=Gl(c.x)>Gl(c.y)?c.x:c.y,e.scale=s?(d=s.pointers,uc((l=o)[0],l[1],nc)/uc(d[0],d[1],nc)):1,e.rotation=s?function(t,e){return fc(e[1],e[0],nc)+fc(t[1],t[0],nc)}(s.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,n,r,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(8!==e.eventType&&(a>25||void 0===s.velocity)){var h=e.deltaX-s.deltaX,d=e.deltaY-s.deltaY,l=vc(a,h,d);o=l.x,n=l.y,i=Gl(l.x)>Gl(l.y)?l.x:l.y,r=pc(h,d),t.lastInterval=e}else i=s.velocity,o=s.velocityX,n=s.velocityY,r=s.direction;e.velocity=i,e.velocityX=o,e.velocityY=n,e.direction=r}(i,e);var u,f=t.element,p=e.srcEvent;dc(u=p.composedPath?p.composedPath()[0]:p.path?p.path[0]:p.target,f)&&(f=u),e.target=f}function yc(t,e,i){var o=i.pointers.length,n=i.changedPointers.length,r=1&e&&o-n==0,s=12&e&&o-n==0;i.isFirst=!!r,i.isFinal=!!s,r&&(t.session={}),i.eventType=e,gc(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function mc(t){return t.trim().split(/\s+/g)}function bc(t,e,i){rc(mc(e),(function(e){t.addEventListener(e,i,!1)}))}function wc(t,e,i){rc(mc(e),(function(e){t.removeEventListener(e,i,!1)}))}function kc(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var _c=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){sc(t.options.enable,[t])&&i.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&bc(this.element,this.evEl,this.domHandler),this.evTarget&&bc(this.target,this.evTarget,this.domHandler),this.evWin&&bc(kc(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&wc(this.element,this.evEl,this.domHandler),this.evTarget&&wc(this.target,this.evTarget,this.domHandler),this.evWin&&wc(kc(this.element),this.evWin,this.domHandler)},t}();function xc(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 Ec={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Oc={2:"touch",3:"pen",4:"mouse",5:"kinect"},Cc="pointerdown",Sc="pointermove pointerup pointercancel";Vl.MSPointerEvent&&!Vl.PointerEvent&&(Cc="MSPointerDown",Sc="MSPointerMove MSPointerUp MSPointerCancel");var Tc=function(t){function e(){var i,o=e.prototype;return o.evEl=Cc,o.evWin=Sc,(i=t.apply(this,arguments)||this).store=i.manager.session.pointerEvents=[],i}return Hl(e,t),e.prototype.handler=function(t){var e=this.store,i=!1,o=t.type.toLowerCase().replace("ms",""),n=Ec[o],r=Oc[t.pointerType]||t.pointerType,s="touch"===r,a=xc(e,t.pointerId,"pointerId");1&n&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):12&n&&(i=!0),a<0||(e[a]=t,this.callback(this.manager,n,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),i&&e.splice(a,1))},e}(_c);function Mc(t){return Array.prototype.slice.call(t,0)}function Pc(t,e,i){for(var o=[],n=[],r=0;r<t.length;){var s=e?t[r][e]:t[r];xc(n,s)<0&&o.push(t[r]),n[r]=s,r++}return i&&(o=e?o.sort((function(t,i){return t[e]>i[e]})):o.sort()),o}var Bc={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Dc=function(t){function e(){var i;return e.prototype.evTarget="touchstart touchmove touchend touchcancel",(i=t.apply(this,arguments)||this).targetIds={},i}return Hl(e,t),e.prototype.handler=function(t){var e=Bc[t.type],i=Ic.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:"touch",srcEvent:t})},e}(_c);function Ic(t,e){var i,o,n=Mc(t.touches),r=this.targetIds;if(3&e&&1===n.length)return r[n[0].identifier]=!0,[n,n];var s=Mc(t.changedTouches),a=[],h=this.target;if(o=n.filter((function(t){return dc(t.target,h)})),1===e)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&a.push(s[i]),12&e&&delete r[s[i].identifier],i++;return a.length?[Pc(o.concat(a),"identifier",!0),a]:void 0}var zc={mousedown:1,mousemove:2,mouseup:4},Fc=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 Hl(e,t),e.prototype.handler=function(t){var e=zc[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))},e}(_c);function Nc(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)}),2500)}}function Ac(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,Nc.call(this,e)):12&t&&Nc.call(this,e)}function Rc(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,o=0;o<this.lastTouches.length;o++){var n=this.lastTouches[o],r=Math.abs(e-n.x),s=Math.abs(i-n.y);if(r<=25&&s<=25)return!0}return!1}var jc=function(){return function(t){function e(e,i){var o;return(o=t.call(this,e,i)||this).handler=function(t,e,i){var n="touch"===i.pointerType,r="mouse"===i.pointerType;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)Ac.call(Wl(Wl(o)),e,i);else if(r&&Rc.call(Wl(Wl(o)),i))return;o.callback(t,e,i)}},o.touch=new Dc(o.manager,o.handler),o.mouse=new Fc(o.manager,o.handler),o.primaryTouch=null,o.lastTouches=[],o}return Hl(e,t),e.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(_c)}();function Lc(t,e,i){return!!Array.isArray(t)&&(rc(t,i[e],i),!0)}var Hc=1;function Wc(t,e){var i=e.manager;return i?i.get(t):t}function Vc(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var qc=function(){function t(t){void 0===t&&(t={}),this.options=Ll({enable:!0},t),this.id=Hc++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(t){return ql(this.options,t),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(t){if(Lc(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Wc(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},e.dropRecognizeWith=function(t){return Lc(t,"dropRecognizeWith",this)||(t=Wc(t,this),delete this.simultaneous[t.id]),this},e.requireFailure=function(t){if(Lc(t,"requireFailure",this))return this;var e=this.requireFail;return-1===xc(e,t=Wc(t,this))&&(e.push(t),t.requireFailure(this)),this},e.dropRequireFailure=function(t){if(Lc(t,"dropRequireFailure",this))return this;t=Wc(t,this);var e=xc(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+Vc(i)),o(e.options.event),t.additionalEvent&&o(t.additionalEvent),i>=8&&o(e.options.event+Vc(i))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=32},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=ql({},t);if(!sc(this.options.enable,[this,e]))return this.reset(),void(this.state=32);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}(),Uc=function(t){function e(e){var i;return void 0===e&&(e={}),(i=t.call(this,Ll({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}Hl(e,t);var i=e.prototype;return i.getTouchAction=function(){return["manipulation"]},i.process=function(t){var e=this,i=this.options,o=t.pointers.length===i.pointers,n=t.distance<i.threshold,r=t.deltaTime<i.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(n&&r&&o){if(4!==t.eventType)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<i.interval,a=!this.pCenter||uc(this.pCenter,t.center)<i.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&s?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 32},i.failTimeout=function(){var t=this;return this._timer=setTimeout((function(){t.state=32}),this.options.interval),32},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}(qc),Yc=function(t){function e(e){return void 0===e&&(e={}),t.call(this,Ll({pointers:1},e))||this}Hl(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,n=this.attrTest(t);return o&&(8&i||!n)?16|e:o||n?4&i?8|e:2&e?4|e:2:32},e}(qc);function Xc(t){return 16===t?"down":8===t?"up":2===t?"left":4===t?"right":""}var Gc=function(t){function e(e){var i;return void 0===e&&(e={}),(i=t.call(this,Ll({event:"pan",threshold:10,pointers:1,d