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