oda-framework
Version:
26 lines • 464 kB
JavaScript
/**
* vis-network
* https://visjs.github.io/vis-network/
*
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2021-12-07T10:56:19.435Z
*
* @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.
*/
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t,e){return t(e={exports:{}},e.exports),e.exports}var n,o,r=function(t){return t&&t.Math==Math&&t},s=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},h=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,c={f:d&&!l.call({1:2},1)?function(t){var e=d(this,t);return!!e&&e.enumerable}:l},u=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},f={}.toString,p=function(t){return f.call(t).slice(8,-1)},v="".split,g=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?v.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return g(y(t))},b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w={},k=function(t){return"function"==typeof t?t:void 0},_=function(t,e){return arguments.length<2?k(w[t])||k(s[t]):w[t]&&w[t][e]||s[t]&&s[t][e]},x=_("navigator","userAgent")||"",E=s.process,O=s.Deno,C=E&&E.versions||O&&O.version,S=C&&C.v8;S?o=(n=S.split("."))[0]<4?1:n[0]+n[1]:x&&(!(n=x.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=x.match(/Chrome\/(\d+)/))&&(o=n[1]);var T=o&&+o,M=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&T&&T<41})),P=M&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,D=P?function(t){return"symbol"==typeof t}:function(t){var e=_("Symbol");return"function"==typeof e&&Object(t)instanceof e},I=s["__core-js_shared__"]||function(t,e){try{Object.defineProperty(s,t,{value:e,configurable:!0,writable:!0})}catch(i){s[t]=e}return e}("__core-js_shared__",{}),B=i((function(t){(t.exports=function(t,e){return I[t]||(I[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.1",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),z=function(t){return Object(y(t))},A={}.hasOwnProperty,N=Object.hasOwn||function(t,e){return A.call(z(t),e)},F=0,j=Math.random(),R=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++F+j).toString(36)},L=B("wks"),H=s.Symbol,W=P?H:H&&H.withoutSetter||R,q=function(t){return N(L,t)&&(M||"string"==typeof L[t])||(M&&N(H,t)?L[t]=H[t]:L[t]=W("Symbol."+t)),L[t]},V=q("toPrimitive"),U=function(t,e){if(!b(t)||D(t))return t;var i,n=t[V];if(void 0!==n){if(void 0===e&&(e="default"),i=n.call(t,e),!b(i)||D(i))return i;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var i,n;if("string"===e&&"function"==typeof(i=t.toString)&&!b(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!b(n=i.call(t)))return n;if("string"!==e&&"function"==typeof(i=t.toString)&&!b(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}(t,e)},Y=function(t){var e=U(t,"string");return D(e)?e:String(e)},X=s.document,G=b(X)&&b(X.createElement),K=function(t){return G?X.createElement(t):{}},$=!h&&!a((function(){return 7!=Object.defineProperty(K("div"),"a",{get:function(){return 7}}).a})),Z=Object.getOwnPropertyDescriptor,Q={f:h?Z:function(t,e){if(t=m(t),e=Y(e),$)try{return Z(t,e)}catch(t){}if(N(t,e))return u(!c.f.call(t,e),t[e])}},J=/#|\.prototype\./,tt=function(t,e){var i=it[et(t)];return i==ot||i!=nt&&("function"==typeof e?a(e):!!e)},et=tt.normalize=function(t){return String(t).replace(J,".").toLowerCase()},it=tt.data={},nt=tt.NATIVE="N",ot=tt.POLYFILL="P",rt=tt,st=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},at=function(t,e,i){if(st(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,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}},ht=function(t){if(!b(t))throw TypeError(String(t)+" is not an object");return t},lt=Object.defineProperty,dt={f:h?lt:function(t,e,i){if(ht(t),e=Y(e),ht(i),$)try{return lt(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}},ct=h?function(t,e,i){return dt.f(t,e,u(1,i))}:function(t,e,i){return t[e]=i,t},ut=Q.f,ft=function(t){var e=function(e,i,n){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,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},pt=function(t,e){var i,n,o,r,a,h,l,d,c=t.target,u=t.global,f=t.stat,p=t.proto,v=u?s:f?s[c]:(s[c]||{}).prototype,g=u?w:w[c]||(w[c]={}),y=g.prototype;for(o in e)i=!rt(u?o:c+(f?".":"#")+o,t.forced)&&v&&N(v,o),a=g[o],i&&(h=t.noTargetGet?(d=ut(v,o))&&d.value:v[o]),r=i&&h?h:e[o],i&&typeof a==typeof r||(l=t.bind&&i?at(r,s):t.wrap&&i?ft(r):p&&"function"==typeof r?at(Function.call,r):r,(t.sham||r&&r.sham||a&&a.sham)&&ct(l,"sham",!0),g[o]=l,p&&(N(w,n=c+"Prototype")||ct(w,n,{}),w[n][o]=r,t.real&&y&&!y[o]&&ct(y,o,r)))},vt=Math.ceil,gt=Math.floor,yt=function(t){return isNaN(t=+t)?0:(t>0?gt:vt)(t)},mt=Math.min,bt=function(t){return t>0?mt(yt(t),9007199254740991):0},wt=Math.max,kt=Math.min,_t=function(t,e){var i=yt(t);return i<0?wt(i+e,0):kt(i,e)},xt=function(t){return function(e,i,n){var o,r=m(e),s=bt(r.length),a=_t(n,s);if(t&&i!=i){for(;s>a;)if((o=r[a++])!=o)return!0}else for(;s>a;a++)if((t||a in r)&&r[a]===i)return t||a||0;return!t&&-1}},Et={includes:xt(!0),indexOf:xt(!1)},Ot={},Ct=Et.indexOf,St=function(t,e){var i,n=m(t),o=0,r=[];for(i in n)!N(Ot,i)&&N(n,i)&&r.push(i);for(;e.length>o;)N(n,i=e[o++])&&(~Ct(r,i)||r.push(i));return r},Tt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mt=Object.keys||function(t){return St(t,Tt)},Pt={f:Object.getOwnPropertySymbols},Dt=Object.assign,It=Object.defineProperty,Bt=!Dt||a((function(){if(h&&1!==Dt({b:1},Dt(It({},"a",{enumerable:!0,get:function(){It(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach((function(t){e[t]=t})),7!=Dt({},t)[i]||Mt(Dt({},e)).join("")!=n}))?function(t,e){for(var i=z(t),n=arguments.length,o=1,r=Pt.f,s=c.f;n>o;)for(var a,l=g(arguments[o++]),d=r?Mt(l).concat(r(l)):Mt(l),u=d.length,f=0;u>f;)a=d[f++],h&&!s.call(l,a)||(i[a]=l[a]);return i}:Dt;pt({target:"Object",stat:!0,forced:Object.assign!==Bt},{assign:Bt});var zt=w.Object.assign,At=[].slice,Nt={},Ft=function(t,e,i){if(!(e in Nt)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Nt[e]=Function("C,a","return new C("+n.join(",")+")")}return Nt[e](t,i)},jt=Function.bind||function(t){var e=st(this),i=At.call(arguments,1),n=function(){var o=i.concat(At.call(arguments));return this instanceof n?Ft(e,o.length,o):e.apply(t,o)};return b(e.prototype)&&(n.prototype=e.prototype),n};pt({target:"Function",proto:!0},{bind:jt});var Rt=function(t){return w[t+"Prototype"]},Lt=Rt("Function").bind,Ht=Function.prototype,Wt=function(t){var e=t.bind;return t===Ht||t instanceof Function&&e===Ht.bind?Lt:e};function qt(t,e,i,n){t.beginPath(),t.arc(e,i,n,0,2*Math.PI,!1),t.closePath()}function Vt(t,e,i,n,o,r){var s=Math.PI/180;n-2*r<0&&(r=n/2),o-2*r<0&&(r=o/2),t.beginPath(),t.moveTo(e+r,i),t.lineTo(e+n-r,i),t.arc(e+n-r,i+r,r,270*s,360*s,!1),t.lineTo(e+n,i+o-r),t.arc(e+n-r,i+o-r,r,0,90*s,!1),t.lineTo(e+r,i+o),t.arc(e+r,i+o-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 Ut(t,e,i,n,o){var r=.5522848,s=n/2*r,a=o/2*r,h=e+n,l=i+o,d=e+n/2,c=i+o/2;t.beginPath(),t.moveTo(e,c),t.bezierCurveTo(e,c-a,d-s,i,d,i),t.bezierCurveTo(d+s,i,h,c-a,h,c),t.bezierCurveTo(h,c+a,d+s,l,d,l),t.bezierCurveTo(d-s,l,e,c+a,e,c),t.closePath()}function Yt(t,e,i,n,o){var r=o*(1/3),s=.5522848,a=n/2*s,h=r/2*s,l=e+n,d=i+r,c=e+n/2,u=i+r/2,f=i+(o-r/2),p=i+o;t.beginPath(),t.moveTo(l,u),t.bezierCurveTo(l,u+h,c+a,d,c,d),t.bezierCurveTo(c-a,d,e,u+h,e,u),t.bezierCurveTo(e,u-h,c-a,i,c,i),t.bezierCurveTo(c+a,i,l,u-h,l,u),t.lineTo(l,f),t.bezierCurveTo(l,f+h,c+a,p,c,p),t.bezierCurveTo(c-a,p,e,f+h,e,f),t.lineTo(e,u)}function Xt(t,e,i,n,o,r){t.beginPath(),t.moveTo(e,i);for(var s=r.length,a=n-e,h=o-i,l=h/a,d=Math.sqrt(a*a+h*h),c=0,u=!0,f=0,p=+r[0];d>=.1;)(p=+r[c++%s])>d&&(p=d),f=Math.sqrt(p*p/(1+l*l)),e+=f=a<0?-f:f,i+=l*f,!0===u?t.lineTo(e,i):t.moveTo(e,i),d-=p,u=!u}var Gt={circle:qt,dashedLine:Xt,database:Yt,diamond:function(t,e,i,n){t.beginPath(),t.lineTo(e,i+n),t.lineTo(e+n,i),t.lineTo(e,i-n),t.lineTo(e-n,i),t.closePath()},ellipse:Ut,ellipse_vis:Ut,hexagon:function(t,e,i,n){t.beginPath();var o=2*Math.PI/6;t.moveTo(e+n,i);for(var r=1;r<6;r++)t.lineTo(e+n*Math.cos(o*r),i+n*Math.sin(o*r));t.closePath()},roundRect:Vt,square:function(t,e,i,n){t.beginPath(),t.rect(e-n,i-n,2*n,2*n),t.closePath()},star:function(t,e,i,n){t.beginPath(),i+=.1*(n*=.82);for(var o=0;o<10;o++){var r=o%2==0?1.3*n:.5*n;t.lineTo(e+r*Math.sin(2*o*Math.PI/10),i-r*Math.cos(2*o*Math.PI/10))}t.closePath()},triangle:function(t,e,i,n){t.beginPath(),i+=.275*(n*=1.15);var o=2*n,r=o/2,s=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-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,n){t.beginPath(),i-=.275*(n*=1.15);var o=2*n,r=o/2,s=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-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 Kt=i((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,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o<n.length;o++)if((i=n[o])===e||i.fn===e){n.splice(o,1);break}return 0===n.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],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(i){n=0;for(var o=(i=i.slice(0)).length;n<o;++n)i[n].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}})),$t=function(t){if(D(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)},Zt=function(t){return function(e,i){var n,o,r=$t(y(e)),s=yt(i),a=r.length;return s<0||s>=a?t?"":void 0:(n=r.charCodeAt(s))<55296||n>56319||s+1===a||(o=r.charCodeAt(s+1))<56320||o>57343?t?r.charAt(s):n:t?r.slice(s,s+2):o-56320+(n-55296<<10)+65536}},Qt={codeAt:Zt(!1),charAt:Zt(!0)},Jt=Function.toString;"function"!=typeof I.inspectSource&&(I.inspectSource=function(t){return Jt.call(t)});var te,ee,ie,ne=I.inspectSource,oe=s.WeakMap,re="function"==typeof oe&&/native code/.test(ne(oe)),se=B("keys"),ae=function(t){return se[t]||(se[t]=R(t))},he=s.WeakMap;if(re||I.state){var le=I.state||(I.state=new he),de=le.get,ce=le.has,ue=le.set;te=function(t,e){if(ce.call(le,t))throw new TypeError("Object already initialized");return e.facade=t,ue.call(le,t,e),e},ee=function(t){return de.call(le,t)||{}},ie=function(t){return ce.call(le,t)}}else{var fe=ae("state");Ot[fe]=!0,te=function(t,e){if(N(t,fe))throw new TypeError("Object already initialized");return e.facade=t,ct(t,fe,e),e},ee=function(t){return N(t,fe)?t[fe]:{}},ie=function(t){return N(t,fe)}}var pe,ve,ge,ye={set:te,get:ee,has:ie,enforce:function(t){return ie(t)?ee(t):te(t,{})},getterFor:function(t){return function(e){var i;if(!b(e)||(i=ee(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},me=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),be=ae("IE_PROTO"),we=Object.prototype,ke=me?Object.getPrototypeOf:function(t){return t=z(t),N(t,be)?t[be]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?we:null},_e=q("iterator"),xe=!1;[].keys&&("next"in(ge=[].keys())?(ve=ke(ke(ge)))!==Object.prototype&&(pe=ve):xe=!0);var Ee=null==pe||a((function(){var t={};return pe[_e].call(t)!==t}));Ee&&(pe={}),Ee&&!N(pe,_e)&&ct(pe,_e,(function(){return this}));var Oe,Ce={IteratorPrototype:pe,BUGGY_SAFARI_ITERATORS:xe},Se=h?Object.defineProperties:function(t,e){ht(t);for(var i,n=Mt(e),o=n.length,r=0;o>r;)dt.f(t,i=n[r++],e[i]);return t},Te=_("document","documentElement"),Me=ae("IE_PROTO"),Pe=function(){},De=function(t){return"<script>"+t+"<\/script>"},Ie=function(t){t.write(De("")),t.close();var e=t.parentWindow.Object;return t=null,e},Be=function(){try{Oe=new ActiveXObject("htmlfile")}catch(t){}Be=document.domain&&Oe?Ie(Oe):function(){var t,e=K("iframe");if(e.style)return e.style.display="none",Te.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(De("document.F=Object")),t.close(),t.F}()||Ie(Oe);for(var t=Tt.length;t--;)delete Be.prototype[Tt[t]];return Be()};Ot[Me]=!0;var ze=Object.create||function(t,e){var i;return null!==t?(Pe.prototype=ht(t),i=new Pe,Pe.prototype=null,i[Me]=t):i=Be(),void 0===e?i:Se(i,e)},Ae={};Ae[q("toStringTag")]="z";var Ne="[object z]"===String(Ae),Fe=q("toStringTag"),je="Arguments"==p(function(){return arguments}()),Re=Ne?p:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Fe))?i:je?p(e):"Object"==(n=p(e))&&"function"==typeof e.callee?"Arguments":n},Le=Ne?{}.toString:function(){return"[object "+Re(this)+"]"},He=dt.f,We=q("toStringTag"),qe=function(t,e,i,n){if(t){var o=i?t:t.prototype;N(o,We)||He(o,We,{configurable:!0,value:e}),n&&!Ne&&ct(o,"toString",Le)}},Ve={},Ue=Ce.IteratorPrototype,Ye=function(){return this},Xe=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,n){return ht(i),function(t){if(!b(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(i,n):i.__proto__=n,i}}():void 0),Ge=function(t,e,i,n){n&&n.enumerable?t[e]=i:ct(t,e,i)},Ke=Ce.IteratorPrototype,$e=Ce.BUGGY_SAFARI_ITERATORS,Ze=q("iterator"),Qe=function(){return this},Je=function(t,e,i,n,o,r,s){!function(t,e,i){var n=e+" Iterator";t.prototype=ze(Ue,{next:u(1,i)}),qe(t,n,!1,!0),Ve[n]=Ye}(i,e,n);var a,h,l,d=function(t){if(t===o&&g)return g;if(!$e&&t in p)return p[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",f=!1,p=t.prototype,v=p[Ze]||p["@@iterator"]||o&&p[o],g=!$e&&v||d(o),y="Array"==e&&p.entries||v;if(y&&(a=ke(y.call(new t)),Ke!==Object.prototype&&a.next&&(qe(a,c,!0,!0),Ve[c]=Qe)),"values"==o&&v&&"values"!==v.name&&(f=!0,g=function(){return v.call(this)}),s&&p[Ze]!==g&&ct(p,Ze,g),Ve[e]=g,o)if(h={values:d("values"),keys:r?g:d("keys"),entries:d("entries")},s)for(l in h)($e||f||!(l in p))&&Ge(p,l,h[l]);else pt({target:e,proto:!0,forced:$e||f},h);return h},ti=Qt.charAt,ei=ye.set,ii=ye.getterFor("String Iterator");Je(String,"String",(function(t){ei(this,{type:"String Iterator",string:$t(t),index:0})}),(function(){var t,e=ii(this),i=e.string,n=e.index;return n>=i.length?{value:void 0,done:!0}:(t=ti(i,n),e.index+=t.length,{value:t,done:!1})}));var ni=function(t){var e=t.return;if(void 0!==e)return ht(e.call(t)).value},oi=function(t,e,i,n){try{return n?e(ht(i)[0],i[1]):e(i)}catch(e){throw ni(t),e}},ri=q("iterator"),si=Array.prototype,ai=function(t){return void 0!==t&&(Ve.Array===t||si[ri]===t)},hi=function(t,e,i){var n=Y(e);n in t?dt.f(t,n,u(0,i)):t[n]=i},li=q("iterator"),di=function(t){if(null!=t)return t[li]||t["@@iterator"]||Ve[Re(t)]},ci=q("iterator"),ui=!1;try{var fi=0,pi={next:function(){return{done:!!fi++}},return:function(){ui=!0}};pi[ci]=function(){return this},Array.from(pi,(function(){throw 2}))}catch(t){}var vi=!function(t,e){if(!e&&!ui)return!1;var i=!1;try{var n={};n[ci]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(t){}return i}((function(t){Array.from(t)}));pt({target:"Array",stat:!0,forced:vi},{from:function(t){var e,i,n,o,r,s,a=z(t),h="function"==typeof this?this:Array,l=arguments.length,d=l>1?arguments[1]:void 0,c=void 0!==d,u=di(a),f=0;if(c&&(d=at(d,l>2?arguments[2]:void 0,2)),null==u||h==Array&&ai(u))for(i=new h(e=bt(a.length));e>f;f++)s=c?d(a[f],f):a[f],hi(i,f,s);else for(r=(o=u.call(a)).next,i=new h;!(n=r.call(o)).done;f++)s=c?oi(o,d,[n.value,f],!0):n.value,hi(i,f,s);return i.length=f,i}});var gi=w.Array.from,yi=gi,mi=ye.set,bi=ye.getterFor("Array Iterator");Je(Array,"Array",(function(t,e){mi(this,{type:"Array Iterator",target:m(t),index:0,kind:e})}),(function(){var t=bi(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),Ve.Arguments=Ve.Array;var wi=di,ki=q("toStringTag");for(var _i in{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}){var xi=s[_i],Ei=xi&&xi.prototype;Ei&&Re(Ei)!==ki&&ct(Ei,ki,_i),Ve[_i]=Ve.Array}var Oi=wi,Ci=Array.isArray||function(t){return"Array"==p(t)},Si=Tt.concat("length","prototype"),Ti={f:Object.getOwnPropertyNames||function(t){return St(t,Si)}},Mi=Ti.f,Pi={}.toString,Di="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ii={f:function(t){return Di&&"[object Window]"==Pi.call(t)?function(t){try{return Mi(t)}catch(t){return Di.slice()}}(t):Mi(m(t))}},Bi={f:q},zi=dt.f,Ai=function(t){var e=w.Symbol||(w.Symbol={});N(e,t)||zi(e,t,{value:Bi.f(t)})},Ni=q("species"),Fi=function(t,e){return new(function(t){var e;return Ci(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!Ci(e.prototype)?b(e)&&null===(e=e[Ni])&&(e=void 0):e=void 0),void 0===e?Array:e}(t))(0===e?0:e)},ji=[].push,Ri=function(t){var e=1==t,i=2==t,n=3==t,o=4==t,r=6==t,s=7==t,a=5==t||r;return function(h,l,d,c){for(var u,f,p=z(h),v=g(p),y=at(l,d,3),m=bt(v.length),b=0,w=c||Fi,k=e?w(h,m):i||s?w(h,0):void 0;m>b;b++)if((a||b in v)&&(f=y(u=v[b],b,p),t))if(e)k[b]=f;else if(f)switch(t){case 3:return!0;case 5:return u;case 6:return b;case 2:ji.call(k,u)}else switch(t){case 4:return!1;case 7:ji.call(k,u)}return r?-1:n||o?o:k}},Li={forEach:Ri(0),map:Ri(1),filter:Ri(2),some:Ri(3),every:Ri(4),find:Ri(5),findIndex:Ri(6),filterReject:Ri(7)},Hi=Li.forEach,Wi=ae("hidden"),qi=q("toPrimitive"),Vi=ye.set,Ui=ye.getterFor("Symbol"),Yi=Object.prototype,Xi=s.Symbol,Gi=_("JSON","stringify"),Ki=Q.f,$i=dt.f,Zi=Ii.f,Qi=c.f,Ji=B("symbols"),tn=B("op-symbols"),en=B("string-to-symbol-registry"),nn=B("symbol-to-string-registry"),on=B("wks"),rn=s.QObject,sn=!rn||!rn.prototype||!rn.prototype.findChild,an=h&&a((function(){return 7!=ze($i({},"a",{get:function(){return $i(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=Ki(Yi,e);n&&delete Yi[e],$i(t,e,i),n&&t!==Yi&&$i(Yi,e,n)}:$i,hn=function(t,e){var i=Ji[t]=ze(Xi.prototype);return Vi(i,{type:"Symbol",tag:t,description:e}),h||(i.description=e),i},ln=function(t,e,i){t===Yi&&ln(tn,e,i),ht(t);var n=Y(e);return ht(i),N(Ji,n)?(i.enumerable?(N(t,Wi)&&t[Wi][n]&&(t[Wi][n]=!1),i=ze(i,{enumerable:u(0,!1)})):(N(t,Wi)||$i(t,Wi,u(1,{})),t[Wi][n]=!0),an(t,n,i)):$i(t,n,i)},dn=function(t,e){ht(t);var i=m(e),n=Mt(i).concat(pn(i));return Hi(n,(function(e){h&&!cn.call(i,e)||ln(t,e,i[e])})),t},cn=function(t){var e=Y(t),i=Qi.call(this,e);return!(this===Yi&&N(Ji,e)&&!N(tn,e))&&(!(i||!N(this,e)||!N(Ji,e)||N(this,Wi)&&this[Wi][e])||i)},un=function(t,e){var i=m(t),n=Y(e);if(i!==Yi||!N(Ji,n)||N(tn,n)){var o=Ki(i,n);return!o||!N(Ji,n)||N(i,Wi)&&i[Wi][n]||(o.enumerable=!0),o}},fn=function(t){var e=Zi(m(t)),i=[];return Hi(e,(function(t){N(Ji,t)||N(Ot,t)||i.push(t)})),i},pn=function(t){var e=t===Yi,i=Zi(e?tn:m(t)),n=[];return Hi(i,(function(t){!N(Ji,t)||e&&!N(Yi,t)||n.push(Ji[t])})),n};if(M||(Ge((Xi=function(){if(this instanceof Xi)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?$t(arguments[0]):void 0,e=R(t),i=function(t){this===Yi&&i.call(tn,t),N(this,Wi)&&N(this[Wi],e)&&(this[Wi][e]=!1),an(this,e,u(1,t))};return h&&sn&&an(Yi,e,{configurable:!0,set:i}),hn(e,t)}).prototype,"toString",(function(){return Ui(this).tag})),Ge(Xi,"withoutSetter",(function(t){return hn(R(t),t)})),c.f=cn,dt.f=ln,Q.f=un,Ti.f=Ii.f=fn,Pt.f=pn,Bi.f=function(t){return hn(q(t),t)},h&&$i(Xi.prototype,"description",{configurable:!0,get:function(){return Ui(this).description}})),pt({global:!0,wrap:!0,forced:!M,sham:!M},{Symbol:Xi}),Hi(Mt(on),(function(t){Ai(t)})),pt({target:"Symbol",stat:!0,forced:!M},{for:function(t){var e=$t(t);if(N(en,e))return en[e];var i=Xi(e);return en[e]=i,nn[i]=e,i},keyFor:function(t){if(!D(t))throw TypeError(t+" is not a symbol");if(N(nn,t))return nn[t]},useSetter:function(){sn=!0},useSimple:function(){sn=!1}}),pt({target:"Object",stat:!0,forced:!M,sham:!h},{create:function(t,e){return void 0===e?ze(t):dn(ze(t),e)},defineProperty:ln,defineProperties:dn,getOwnPropertyDescriptor:un}),pt({target:"Object",stat:!0,forced:!M},{getOwnPropertyNames:fn,getOwnPropertySymbols:pn}),pt({target:"Object",stat:!0,forced:a((function(){Pt.f(1)}))},{getOwnPropertySymbols:function(t){return Pt.f(z(t))}}),Gi){var vn=!M||a((function(){var t=Xi();return"[null]"!=Gi([t])||"{}"!=Gi({a:t})||"{}"!=Gi(Object(t))}));pt({target:"JSON",stat:!0,forced:vn},{stringify:function(t,e,i){for(var n,o=[t],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=e,(b(e)||void 0!==t)&&!D(t))return Ci(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!D(e))return e}),o[1]=e,Gi.apply(null,o)}})}Xi.prototype[qi]||ct(Xi.prototype,qi,Xi.prototype.valueOf),qe(Xi,"Symbol"),Ot[Wi]=!0;var gn=w.Object.getOwnPropertySymbols,yn=Q.f,mn=a((function(){yn(1)}));pt({target:"Object",stat:!0,forced:!h||mn,sham:!h},{getOwnPropertyDescriptor:function(t,e){return yn(m(t),e)}});var bn=i((function(t){var e=w.Object,i=t.exports=function(t,i){return e.getOwnPropertyDescriptor(t,i)};e.getOwnPropertyDescriptor.sham&&(i.sham=!0)})),wn=bn,kn=_("Reflect","ownKeys")||function(t){var e=Ti.f(ht(t)),i=Pt.f;return i?e.concat(i(t)):e};pt({target:"Object",stat:!0,sham:!h},{getOwnPropertyDescriptors:function(t){for(var e,i,n=m(t),o=Q.f,r=kn(n),s={},a=0;r.length>a;)void 0!==(i=o(n,e=r[a++]))&&hi(s,e,i);return s}});var _n=w.Object.getOwnPropertyDescriptors;pt({target:"Object",stat:!0,forced:!h,sham:!h},{defineProperties:Se});var xn=i((function(t){var e=w.Object,i=t.exports=function(t,i){return e.defineProperties(t,i)};e.defineProperties.sham&&(i.sham=!0)}));pt({target:"Object",stat:!0,forced:!h,sham:!h},{defineProperty:dt.f});var En=i((function(t){var e=w.Object,i=t.exports=function(t,i,n){return e.defineProperty(t,i,n)};e.defineProperty.sham&&(i.sham=!0)})),On=En,Cn=e(i((function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0}))),Sn=En,Tn=e(i((function(t){function e(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Sn(t,n.key,n)}}t.exports=function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0}))),Mn=e(i((function(t){t.exports=function(t,e,i){return e in t?Sn(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.default=t.exports,t.exports.__esModule=!0})));pt({target:"Array",stat:!0},{isArray:Ci});var Pn=w.Array.isArray,Dn=Pn,In=i((function(t){t.exports=function(t){if(Dn(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0}));e(In);var Bn=q("species"),zn=function(t){return T>=51||!a((function(){var e=[];return(e.constructor={})[Bn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},An=q("isConcatSpreadable"),Nn=T>=51||!a((function(){var t=[];return t[An]=!1,t.concat()[0]!==t})),Fn=zn("concat"),jn=function(t){if(!b(t))return!1;var e=t[An];return void 0!==e?!!e:Ci(t)};pt({target:"Array",proto:!0,forced:!Nn||!Fn},{concat:function(t){var e,i,n,o,r,s=z(this),a=Fi(s,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(jn(r=-1===e?s:arguments[e])){if(h+(o=bt(r.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(i=0;i<o;i++,h++)i in r&&hi(a,h,r[i])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");hi(a,h++,r)}return a.length=h,a}}),Ai("asyncIterator"),Ai("hasInstance"),Ai("isConcatSpreadable"),Ai("iterator"),Ai("match"),Ai("matchAll"),Ai("replace"),Ai("search"),Ai("species"),Ai("split"),Ai("toPrimitive"),Ai("toStringTag"),Ai("unscopables"),qe(s.JSON,"JSON",!0);var Rn=w.Symbol;Ai("asyncDispose"),Ai("dispose"),Ai("matcher"),Ai("metadata"),Ai("observable"),Ai("patternMatch"),Ai("replaceAll");var Ln=Rn,Hn=i((function(t){t.exports=function(t,e){var i=null==t?null:void 0!==Ln&&Oi(t)||t["@@iterator"];if(null!=i){var n,o,r=[],s=!0,a=!1;try{for(i=i.call(t);!(s=(n=i.next()).done)&&(r.push(n.value),!e||r.length!==e);s=!0);}catch(t){a=!0,o=t}finally{try{s||null==i.return||i.return()}finally{if(a)throw o}}return r}},t.exports.default=t.exports,t.exports.__esModule=!0}));e(Hn);var Wn=zn("slice"),qn=q("species"),Vn=[].slice,Un=Math.max;pt({target:"Array",proto:!0,forced:!Wn},{slice:function(t,e){var i,n,o,r=m(this),s=bt(r.length),a=_t(t,s),h=_t(void 0===e?s:e,s);if(Ci(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!Ci(i.prototype)?b(i)&&null===(i=i[qn])&&(i=void 0):i=void 0,i===Array||void 0===i))return Vn.call(r,a,h);for(n=new(void 0===i?Array:i)(Un(h-a,0)),o=0;a<h;a++,o++)a in r&&hi(n,o,r[a]);return n.length=o,n}});var Yn=Rt("Array").slice,Xn=Array.prototype,Gn=function(t){var e=t.slice;return t===Xn||t instanceof Array&&e===Xn.slice?Yn:e},Kn=Gn,$n=gi,Zn=i((function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.default=t.exports,t.exports.__esModule=!0}));e(Zn);var Qn=i((function(t){t.exports=function(t,e){var i;if(t){if("string"==typeof t)return Zn(t,e);var n=Kn(i=Object.prototype.toString.call(t)).call(i,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?$n(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zn(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0}));e(Qn);var Jn=i((function(t){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0}));e(Jn);var to=e(i((function(t){t.exports=function(t,e){return In(t)||Hn(t,e)||Qn(t,e)||Jn()},t.exports.default=t.exports,t.exports.__esModule=!0}))),eo=Bi.f("iterator"),io=eo,no=i((function(t){function e(i){return"function"==typeof Ln&&"symbol"==typeof io?(t.exports=e=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t){return t&&"function"==typeof Ln&&t.constructor===Ln&&t!==Ln.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),e(i)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),oo=e(no),ro=i((function(t){t.exports=function(t){if(Dn(t))return Zn(t)},t.exports.default=t.exports,t.exports.__esModule=!0}));e(ro);var so=i((function(t){t.exports=function(t){if(void 0!==Ln&&null!=Oi(t)||null!=t["@@iterator"])return $n(t)},t.exports.default=t.exports,t.exports.__esModule=!0}));e(so);var ao=i((function(t){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0}));e(ao);var ho=e(i((function(t){t.exports=function(t){return ro(t)||so(t)||Qn(t)||ao()},t.exports.default=t.exports,t.exports.__esModule=!0}))),lo=Rn,co=Rt("Array").concat,uo=Array.prototype,fo=function(t){var e=t.concat;return t===uo||t instanceof Array&&e===uo.concat?co:e},po=Gn;pt({target:"Reflect",stat:!0},{ownKeys:kn});var vo=w.Reflect.ownKeys,go=Pn,yo=Li.map,mo=zn("map");pt({target:"Array",proto:!0,forced:!mo},{map:function(t){return yo(this,t,arguments.length>1?arguments[1]:void 0)}});var bo=Rt("Array").map,wo=Array.prototype,ko=function(t){var e=t.map;return t===wo||t instanceof Array&&e===wo.map?bo:e},_o=a((function(){Mt(1)}));pt({target:"Object",stat:!0,forced:_o},{keys:function(t){return Mt(z(t))}});var xo=w.Object.keys;pt({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var Eo=w.Date.now,Oo=function(t,e){var i=[][t];return!!i&&a((function(){i.call(null,e||function(){throw 1},1)}))},Co=Li.forEach,So=Oo("forEach")?[].forEach:function(t){return Co(this,t,arguments.length>1?arguments[1]:void 0)};pt({target:"Array",proto:!0,forced:[].forEach!=So},{forEach:So});var To=Rt("Array").forEach,Mo=Array.prototype,Po={DOMTokenList:!0,NodeList:!0},Do=function(t){var e=t.forEach;return t===Mo||t instanceof Array&&e===Mo.forEach||Po.hasOwnProperty(Re(t))?To:e},Io=[].reverse,Bo=[1,2];pt({target:"Array",proto:!0,forced:String(Bo)===String(Bo.reverse())},{reverse:function(){return Ci(this)&&(this.length=this.length),Io.call(this)}});var zo=Rt("Array").reverse,Ao=Array.prototype,No=function(t){var e=t.reverse;return t===Ao||t instanceof Array&&e===Ao.reverse?zo:e},Fo=zn("splice"),jo=Math.max,Ro=Math.min;pt({target:"Array",proto:!0,forced:!Fo},{splice:function(t,e){var i,n,o,r,s,a,h=z(this),l=bt(h.length),d=_t(t,l),c=arguments.length;if(0===c?i=n=0:1===c?(i=0,n=l-d):(i=c-2,n=Ro(jo(yt(e),0),l-d)),l+i-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=Fi(h,n),r=0;r<n;r++)(s=d+r)in h&&hi(o,r,h[s]);if(o.length=n,i<n){for(r=d;r<l-n;r++)a=r+i,(s=r+n)in h?h[a]=h[s]:delete h[a];for(r=l;r>l-n+i;r--)delete h[r-1]}else if(i>n)for(r=l-n;r>d;r--)a=r+i-1,(s=r+n-1)in h?h[a]=h[s]:delete h[a];for(r=0;r<i;r++)h[r+d]=arguments[r+2];return h.length=l-n+i,o}});var Lo=Rt("Array").splice,Ho=Array.prototype,Wo=function(t){var e=t.splice;return t===Ho||t instanceof Array&&e===Ho.splice?Lo:e},qo=Et.includes;pt({target:"Array",proto:!0},{includes:function(t){return qo(this,t,arguments.length>1?arguments[1]:void 0)}});var Vo=Rt("Array").includes,Uo=q("match"),Yo=function(t){if(function(t){var e;return b(t)&&(void 0!==(e=t[Uo])?!!e:"RegExp"==p(t))}(t))throw TypeError("The method doesn't accept regular expressions");return t},Xo=q("match");pt({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[Xo]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~$t(y(this)).indexOf($t(Yo(t)),arguments.length>1?arguments[1]:void 0)}});var Go=Rt("String").includes,Ko=Array.prototype,$o=String.prototype,Zo=function(t){var e=t.includes;return t===Ko||t instanceof Array&&e===Ko.includes?Vo:"string"==typeof t||t===$o||t instanceof String&&e===$o.includes?Go:e},Qo=a((function(){ke(1)}));pt({target:"Object",stat:!0,forced:Qo,sham:!me},{getPrototypeOf:function(t){return ke(z(t))}});var Jo=w.Object.getPrototypeOf,tr=Jo,er=Li.filter,ir=zn("filter");pt({target:"Array",proto:!0,forced:!ir},{filter:function(t){return er(this,t,arguments.length>1?arguments[1]:void 0)}});var nr=Rt("Array").filter,or=Array.prototype,rr=function(t){var e=t.filter;return t===or||t instanceof Array&&e===or.filter?nr:e},sr=c.f,ar=function(t){return function(e){for(var i,n=m(e),o=Mt(n),r=o.length,s=0,a=[];r>s;)i=o[s++],h&&!sr.call(n,i)||a.push(t?[i,n[i]]:n[i]);return a}},hr={entries:ar(!0),values:ar(!1)}.values;pt({target:"Object",stat:!0},{values:function(t){return hr(t)}});var lr=w.Object.values,dr="\t\n\v\f\r \u2028\u2029\ufeff",cr="["+dr+"]",ur=RegExp("^"+cr+cr+"*"),fr=RegExp(cr+cr+"*$"),pr=function(t){return function(e){var i=$t(y(e));return 1&t&&(i=i.replace(ur,"")),2&t&&(i=i.replace(fr,"")),i}},vr={start:pr(1),end:pr(2),trim:pr(3)},gr=vr.trim,yr=s.parseInt,mr=/^[+-]?0[Xx]/,br=8!==yr(dr+"08")||22!==yr(dr+"0x16")?function(t,e){var i=gr($t(t));return yr(i,e>>>0||(mr.test(i)?16:10))}:yr;pt({global:!0,forced:parseInt!=br},{parseInt:br});var wr=w.parseInt,kr=Et.indexOf,_r=[].indexOf,xr=!!_r&&1/[1].indexOf(1,-0)<0,Er=Oo("indexOf");pt({target:"Array",proto:!0,forced:xr||!Er},{indexOf:function(t){return xr?_r.apply(this,arguments)||0:kr(this,t,arguments.length>1?arguments[1]:void 0)}});var Or,Cr=Rt("Array").indexOf,Sr=Array.prototype,Tr=function(t){var e=t.indexOf;return t===Sr||t instanceof Array&&e===Sr.indexOf?Cr:e},Mr=vr.trim;pt({target:"String",proto:!0,forced:(Or="trim",a((function(){return!!dr[Or]()||"
"!="
"[Or]()||dr[Or].name!==Or})))},{trim:function(){return Mr(this)}});var Pr=Rt("String").trim,Dr=String.prototype,Ir=function(t){var e=t.trim;return"string"==typeof t||t===Dr||t instanceof String&&e===Dr.trim?Pr:e};pt({target:"Object",stat:!0,sham:!h},{create:ze});var Br=w.Object,zr=function(t,e){return Br.create(t,e)},Ar=zr,Nr=_("JSON","stringify"),Fr=/[\uD800-\uDFFF]/g,jr=/^[\uD800-\uDBFF]$/,Rr=/^[\uDC00-\uDFFF]$/,Lr=function(t,e,i){var n=i.charAt(e-1),o=i.charAt(e+1);return jr.test(t)&&!Rr.test(o)||Rr.test(t)&&!jr.test(n)?"\\u"+t.charCodeAt(0).toString(16):t},Hr=a((function(){return'"\\udf06\\ud834"'!==Nr("\udf06\ud834")||'"\\udead"'!==Nr("\udead")}));Nr&&pt({target:"JSON",stat:!0,forced:Hr},{stringify:function(t,e,i){var n=Nr.apply(null,arguments);return"string"==typeof n?n.replace(Fr,Lr):n}}),w.JSON||(w.JSON={stringify:JSON.stringify});var Wr=function(t,e,i){return w.JSON.stringify.apply(null,arguments)},qr=[].slice,Vr=/MSIE .\./.test(x),Ur=function(t){return function(e,i){var n=arguments.length>2,o=n?qr.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,i)}};pt({global:!0,bind:!0,forced:Vr},{setTimeout:Ur(s.setTimeout),setInterval:Ur(s.setInterval)});var Yr=w.setTimeout;pt({target:"Array",proto:!0},{fill:function(t){for(var e=z(this),i=bt(e.length),n=arguments.length,o=_t(n>1?arguments[1]:void 0,i),r=n>2?arguments[2]:void 0,s=void 0===r?i:_t(r,i);s>o;)e[o++]=t;return e}});var Xr=Rt("Array").fill,Gr=Array.prototype,Kr=function(t){var e=t.fill;return t===Gr||t instanceof Array&&e===Gr.fill?Xr:e};function $r(){return($r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function Zr(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Jr,ts="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 n=arguments[i];if(null!=n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}:Object.assign,es=["","webkit","Moz","MS","ms","o"],is="undefined"==typeof document?{style:{}}:document.createElement("div"),ns=Math.round,os=Math.abs,rs=Date.now;function ss(t,e){for(var i,n,o=e[0].toUpperCase()+e.slice(1),r=0;r<es.length;){if((n=(i=es[r])?i+o:e)in t)return n;r++}}Jr="undefined"==typeof window?{}:window;var as=ss(is.style,"touchAction"),hs=void 0!==as;var ls=function(){if(!hs)return!1;var t={},e=Jr.CSS&&Jr.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){return t[i]=!e||Jr.CSS.supports("touch-action",i)})),t}(),ds="ontouchstart"in Jr,cs=void 0!==ss(Jr,"PointerEvent"),us=ds&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),fs=["x","y"],ps=["clientX","clientY"];function vs(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(void 0!==t.length)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function gs(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function ys(t,e){return t.indexOf(e)>-1}var ms=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()),hs&&this.manager.element.style&&ls[t]&&(this.manager.element.style[as]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return vs(this.manager.recognizers,(function(e){gs(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(ys(t,"none"))return"none";var e=ys(t,"pan-x"),i=ys(t,"pan-y");return e&&i?"none":e||i?e?"pan-x":"pan-y":ys(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 n=this.actions,o=ys(n,"none")&&!ls.none,r=ys(n,"pan-y")&&!ls["pan-y"],s=ys(n,"pan-x")&&!ls["pan-x"];if(o){var a=1===t.pointers.length,h=t.distance<2,l=t.deltaTime<250;if(a&&h&&l)return}if(!s||!r)return o||r&&6&i||s&&24&i?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function bs(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function ws(t){var e=t.length;if(1===e)return{x:ns(t[0].clientX),y:ns(t[0].clientY)};for(var i=0,n=0,o=0;o<e;)i+=t[o].clientX,n+=t[o].clientY,o++;return{x:ns(i/e),y:ns(n/e)}}function ks(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:ns(t.pointers[i].clientX),clientY:ns(t.pointers[i].clientY)},i++;return{timeStamp:rs(),pointers:e,center:ws(e),deltaX:t.deltaX,deltaY:t.deltaY}}function _s(t,e,i){i||(i=fs);var n=e[i[0]]-t[i[0]],o=e[i[1]]-t[i[1]];return Math.sqrt(n*n+o*o)}function xs(t,e,i){i||(i=fs);var n=e[i[0]]-t[i[0]],o=e[i[1]]-t[i[1]];return 180*Math.atan2(o,n)/Math.PI}function Es(t,e){return t===e?1:os(t)>=os(e)?t<0?2:4:e<0?8:16}function Os(t,e,i){return{x:e/t||0,y:i/t||0}}function Cs(t,e){var i=t.session,n=e.pointers,o=n.length;i.firstInput||(i.firstInput=ks(e)),o>1&&!i.firstMultiple?i.firstMultiple=ks(e):1===o&&(i.firstMultiple=!1);var r=i.firstInput,s=i.firstMultiple,a=s?s.center:r.center,h=e.center=ws(n);e.timeStamp=rs(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=xs(a,h),e.distance=_s(a,h),function(t,e){var i=e.center,n=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};1!==e.eventType&&4!==r.eventType||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=o.x+(i.x-n.x),e.deltaY=o.y+(i.y-n.y)}(i,e),e.offsetDirection=Es(e.deltaX,e.deltaY);var l,d,c=Os(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=os(c.x)>os(c.y)?c.x:c.y,e.scale=s?(l=s.pointers,_s((d=n)[0],d[1],ps)/_s(l[0],l[1],ps)):1,e.rotation=s?function(t,e){return xs(e[1],e[0],ps)+xs(t[1],t[0],ps)}(s.pointers,n):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,n,o,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,l=e.deltaY-s.deltaY,d=Os(a,h,l);n=d.x,o=d.y,i=os(d.x)>os(d.y)?d.x:d.y,r=Es(h,l),t.lastInterval=e}else i=s.velocity,n=s.velocityX,o=s.velocityY,r=s.direction;e.velocity=i,e.velocityX=n,e.velocityY=o,e.direction=r}(i,e);var u,f=t.element,p=e.srcEvent;bs(u=p.composedPath?p.composedPath()[0]:p.path?p.path[0]:p.target,f)&&(f=u),e.target=f}function Ss(t,e,i){var n=i.pointers.length,o=i.changedPointers.length,r=1&e&&n-o==0,s=12&e&&n-o==0;i.isFirst=!!r,i.isFinal=!!s,r&&(t.session={}),i.eventType=e,Cs(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function Ts(t){return t.trim().split(/\s+/g)}function Ms(t,e,i){vs(Ts(e),(function(e){t.addEventListener(e,i,!1)}))}function Ps(t,e,i){vs(Ts(e),(function(e){t.removeEventListener(e,i,!1)}))}function Ds(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var Is=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){gs(t.options.enable,[t])&&i.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&Ms(this.element,this.evEl,this.domHandler),this.evTarget&&Ms(this.target,this.evTarget,this.domHandler),this.evWin&&Ms(Ds(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&Ps(this.element,this.evEl,this.domHandler),this.evTarget&&Ps(this.target,this.evTarget,this.domHandler),this.evWin&&Ps(Ds(this.element),this.evWin,this.domHandler)},t}();function Bs(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}var zs={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},As={2:"touch",3:"pen",4:"mouse",5:"kinect"},Ns="pointerdown",Fs="pointermove pointerup pointercancel";Jr.MSPointerEvent&&!Jr.PointerEvent&&(Ns="MSPointerDown",Fs="MSPointerMove MSPointerUp MSPointerCancel");var js=function(t){function e(){var i,n=e.prototype;return n.evEl=Ns,n.evWin=Fs,(i=t.apply(this,arguments)||this).store=i.manager.session.pointerEvents=[],i}return Zr(e,t),e.prototype.handler=function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),o=zs[n],r=As[t.pointerType]||t.pointerType,s="touch"===r,a=Bs(e,t.pointerId,"pointerId");1&o&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):12&o&&(i=!0),a<0||(e[a]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),i&&e.splice(a,1))},e}(Is);function Rs(t){return Array.prototype.slice.call(t,0)}function Ls(t,e,i){for(var n=[],o=[],r=0;r<t.length;){var s=e?t[r][e]:t[r];Bs(o,s)<0&&n.push(t[r]),o[r]=s,r++}return i&&(n=e?n.sort((function(t,i){return t[e]>i[e]})):n.sort()),n}var Hs={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Ws=function(t){function e(){var i;return e.prototype.evTarget="touchstart touchmove touchend touchcancel",(i=t.apply(this,arguments)||this).targetIds={},i}return Zr(e,t),e.prototype.handler=function(t){var e=Hs[t.type],i=qs.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:"touch",srcEvent:t})},e}(Is);function qs(t,e){var i,n,o=Rs(t.touches),r=this.targetIds;if(3&e&&1===o.length)return r[o[0].identifier]=!0,[o,o];var s=Rs(t.changedTouches),a=[],h=this.target;if(n=o.filter((function(t){return bs(t.target,h)})),1===e)for(i=0;i<n.length;)r[n[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?[Ls(n.concat(a),"identifier",!0),a]:void 0}var Vs={mousedown:1,mousemove:2,mouseup:4},Us=function(t){function e(){var i,n=e.prototype;return n.evEl="mousedown",n.evWin="mousemove mouseup",(i=t.apply(this,arguments)||this).pressed=!1,i}return Zr(e,t),e.prototype.handler=function(t){var e=Vs[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}(Is);function Ys(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY},n=this.lastTouches;this.lastTouches.push(i);setTimeout((function(){var t=n.indexOf(i);t>-1&&n.splice(t,1)}),2500)}}function Xs(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,Ys.call(this,e)):12&t&&Ys.call(this,e)}function Gs(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var o=this.lastTouches[n],r=Math.abs(e-o.x),s=Math.abs(i-o.y);if(r<=25&&s<=25)return!0}return!1}var Ks=function(){return function(t){function e(e,i){var n;return(n=t.call(this,e,i)||this).handler=function(t,e,i){var o="touch"===i.pointerType,r="mouse"===i.pointerType;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(o)Xs.call(Qr(Qr(n)),e,i);else if(r&&Gs.call(Qr(Qr(n)),i))return;n.callback(t,e,i)}},n.touch=new Ws(n.manager,n.handler),n.mouse=new Us(n.manager,n.handler),n.primaryTouch=null,n.lastTouches=[],n}return Zr(e,t),e.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(Is)}();function $s(t,e,i){return!!Array.isArray(t)&&(vs(t,i[e],i),!0)}var Zs=1;function Qs(t,e){var i=e.manager;return i?i.get(t):t}function Js(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var ta=function(){function t(t){void 0===t&&(t={}),this.options=$r({enable:!0},t),this.id=Zs++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(t){return ts(this.options,t),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(t){if($s(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Qs(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},e.dropRecognizeWith=function(t){return $s(t,"dropRecognizeWith",this)||(t=Qs(t,this),delete this.simultaneous[t.id]),this},e.requireFailure=function(t){if($s(t,"requireFailure",this))return this;var e=this.requireFail;return-1===Bs(e,t=Qs(t,this))&&(e.push(t),t.requireFailure(this)),this},e.dropRequireFailure=function(t){if($s(t,"dropRequireFailure",this))return this;t=Qs(t,this);var e=Bs(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 n(i){e.manager.emit(i,t)}i<8&&n(e.options.event+Js(i)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),i>=8&&n(e.options.event+Js(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=ts({},t);if(!gs(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}(),ea=function(t){function e(e){var i;return void 0===e&&(e={}),(i=t.call(this,$r({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}Zr(e,t);var i=e.prototype;return i.getTouchAction=function(){return["manipulation"]},i.process=function(t){var e=this,i=this.options,n=t.pointers.length===i.pointers,o=t.distance<i.threshold,r=t.deltaTime<i.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(o&&r&&n){if(4!==t.eventType)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<i.interval,a=!this.pCenter||_s(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}(ta),ia=function(t){function e(e){return void 0===e&&(e={}),t.call(this,$r({pointers:1},e))||this}Zr(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,n=6&e,o=this.attrTest(t);return n&&(8&i||!o)?16|e:n||o?4&i?8|e:2&e?4|e:2:32},e}(ta);function na(t){return 16===t?"down":8===t?"up":2===t?"left":4===t?"right":""}var oa=function(t){function e(e){var i;return void 0===e&&(e={}),(i=t.call(this,$r({event:"pan",threshold:10,pointers:1,direction:30},e))||this).pX=null,i.pY=null,i}Zr(e,t);var i=e.prototype;return i.getTouchAction=function(){var t=this.options.direction,e=[];return 6&t&&e.push("pan-y"),24&t&&e.push("pan-x"),e},i.directionTest=function(t){var e=this.options,i=!0,n=t.distance,o=t.direction,r=t.deltaX,s=t.deltaY;return o&e.direction||(6&e.direction?(o=0===r?1:r<0?2:4,i=r!==this.pX,n=Math.abs(t.deltaX)):(o=0===s?1:s<0?8:16,i=s!==this.pY,n=Math.abs(t.deltaY))),t.direction=o,i&&n>e.threshold&&o&e.direction},i.attrTest=function(t){return ia.prototype.attrTest.call(thi