tradingraph
Version:
Based on rpiontik chart https://github.com/rpiontik/crypto-chart
1 lines • 40.8 kB
JavaScript
(function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="da2a")})({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),c=n("84f2"),s=n("41a0"),u=n("7f20"),f=n("38fd"),l=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",p="values",g=function(){return this};t.exports=function(t,e,n,y,m,b,w){s(n,e,y);var x,P,_,S=function(t){if(!h&&t in k)return k[t];switch(t){case v:return function(){return new n(this,t)};case p:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",O=m==p,A=!1,k=t.prototype,j=k[l]||k[d]||m&&k[m],T=j||S(m),L=m?O?S("entries"):T:void 0,M="Array"==e&&k.entries||j;if(M&&(_=f(M.call(new t)),_!==Object.prototype&&_.next&&(u(_,E,!0),r||"function"==typeof _[l]||a(_,l,g))),O&&j&&j.name!==p&&(A=!0,T=function(){return j.call(this)}),r&&!w||!h&&!A&&k[l]||a(k,l,T),c[e]=T,c[E]=g,m)if(x={values:O?T:S(p),keys:b?T:S(v),entries:L},w)for(P in x)P in k||o(k,P,x[P]);else i(i.P+i.F*(h||A),e,x);return x}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),c=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return c(e,t()).then(function(){return n})}:t,n?function(n){return c(e,t()).then(function(){throw n})}:t)}})},"09fa":function(t,e,n){var r=n("4588"),i=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),c=n("cd1c");t.exports=function(t,e){var n=1==t,s=2==t,u=3==t,f=4==t,l=6==t,h=5==t||l,d=e||c;return function(e,c,v){for(var p,g,y=o(e),m=i(y),b=r(c,v,3),w=a(m.length),x=0,P=n?d(e,w):s?d(e,0):void 0;w>x;x++)if((h||x in m)&&(p=m[x],g=b(p,x,y),t))if(n)P[x]=g;else if(g)switch(t){case 3:return!0;case 5:return p;case 6:return x;case 2:P.push(p)}else if(f)return!1;return l?-1:u||f?f:P}}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0f88":function(t,e,n){var r,i=n("7726"),o=n("32e9"),a=n("ca5a"),c=a("typed_array"),s=a("view"),u=!(!i.ArrayBuffer||!i.DataView),f=u,l=0,h=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(l<h)(r=i[d[l++]])?(o(r.prototype,c,!0),o(r.prototype,s,!0)):f=!1;t.exports={ABV:u,CONSTR:f,TYPED:c,VIEW:s}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),c=n("69a8"),s=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=a(e,!0),s)try{return u(t,e)}catch(t){}if(c(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),c=a.length,s=0;while(c>s)r.f(t,n=a[s++],e[n]);return t}},1991:function(t,e,n){var r,i,o,a=n("9b43"),c=n("31f4"),s=n("fab2"),u=n("230e"),f=n("7726"),l=f.process,h=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,p=f.Dispatch,g=0,y={},m="onreadystatechange",b=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},w=function(t){b.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return y[++g]=function(){c("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete y[t]},"process"==n("2d95")(l)?r=function(t){l.nextTick(a(b,t,1))}:p&&p.now?r=function(t){p.now(a(b,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):r=m in u("script")?function(t){s.appendChild(u("script"))[m]=function(){s.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:d}},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t["return"];throw void 0!==o&&r(o.call(t)),e}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),c="toString",s=Function[c],u=(""+s).split(c);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(s&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,function(){return"function"==typeof this&&this[a]||s.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),c=function(){},s="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[s][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c[s]=r(t),n=new c,c[s]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,c=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};c.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2f21":function(t,e,n){"use strict";var r=n("79e5");t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"36bd":function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");t.exports=function(t){var e=r(this),n=o(e.length),a=arguments.length,c=i(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:i(s,n);while(u>c)e[c++]=t;return e}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",function(){return function(t){return i(r(t))}})},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),a=n("cb7c"),c=n("9def"),s=n("27ee"),u={},f={};e=t.exports=function(t,e,n,l,h){var d,v,p,g,y=h?function(){return t}:s(t),m=r(n,l,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=c(t.length);d>b;b++)if(g=e?m(a(v=t[b])[0],v[1]):m(t[b]),g===u||g===f)return g}else for(p=y.call(t);!(v=p.next()).done;)if(g=i(p,m,v.value,e),g===u||g===f)return g};e.BREAK=u,e.RETURN=f},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"551c":function(t,e,n){"use strict";var r,i,o,a,c=n("2d00"),s=n("7726"),u=n("9b43"),f=n("23c6"),l=n("5ca1"),h=n("d3f4"),d=n("d8e8"),v=n("f605"),p=n("4a59"),g=n("ebd6"),y=n("1991").set,m=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),P=n("bcaa"),_="Promise",S=s.TypeError,E=s.process,O=E&&E.versions,A=O&&O.v8||"",k=s[_],j="process"==f(E),T=function(){},L=i=b.f,M=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(T,T)};return(j||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e&&0!==A.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,c=i?e.ok:e.fail,s=e.resolve,u=e.reject,f=e.domain;try{c?(i||(2==t._h&&N(t),t._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),a=!0)),n===e.promise?u(S("Promise-chain cycle")):(o=R(n))?o.call(n,s,u):s(n)):u(r)}catch(t){f&&!a&&f.exit(),u(t)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&F(t)})}},F=function(t){y.call(s,function(){var e,n,r,i=t._v,o=D(t);if(o&&(e=w(function(){j?E.emit("unhandledRejection",i,t):(n=s.onunhandledrejection)?n({promise:t,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=j||D(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){y.call(s,function(){var e;j?E.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},C=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},W=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=R(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,u(W,r,1),u(C,r,1))}catch(t){C.call(r,t)}}):(n._v=t,n._s=1,I(n,!1))}catch(t){C.call({_w:n,_d:!1},t)}}};M||(k=function(t){v(this,k,_,"_h"),d(t),r.call(this);try{t(u(W,this,1),u(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(k.prototype,{then:function(t,e){var n=L(g(this,k));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=j?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(W,t,1),this.reject=u(C,t,1)},b.f=L=function(t){return t===k||t===a?new o(t):i(t)}),l(l.G+l.W+l.F*!M,{Promise:k}),n("7f20")(k,_),n("7a56")(_),a=n("8378")[_],l(l.S+l.F*!M,_,{reject:function(t){var e=L(this),n=e.reject;return n(t),e.promise}}),l(l.S+l.F*(c||!M),_,{resolve:function(t){return P(c&&this===a?k:this,t)}}),l(l.S+l.F*!(M&&n("5cc5")(function(t){k.all(t)["catch"](T)})),_,{all:function(t){var e=this,n=L(e),r=n.resolve,i=n.reject,o=w(function(){var n=[],o=0,a=1;p(t,!1,function(t){var c=o++,s=!1;n.push(void 0),a++,e.resolve(t).then(function(t){s||(s=!0,n[c]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,i=w(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"55dd":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("4bf8"),a=n("79e5"),c=[].sort,s=[1,2,3];r(r.P+r.F*(a(function(){s.sort(void 0)})||!a(function(){s.sort(null)})||!n("2f21")(c)),"Array",{sort:function(t){return void 0===t?c.call(o(this)):c.call(o(this),i(t))}})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),c=n("9b43"),s="prototype",u=function(t,e,n){var f,l,h,d,v=t&u.F,p=t&u.G,g=t&u.S,y=t&u.P,m=t&u.B,b=p?r:g?r[e]||(r[e]={}):(r[e]||{})[s],w=p?i:i[e]||(i[e]={}),x=w[s]||(w[s]={});for(f in p&&(n=e),n)l=!v&&b&&void 0!==b[f],h=(l?b:n)[f],d=m&&l?c(h,r):y&&"function"==typeof h?c(Function.call,h):h,b&&a(b,f,h,t&u.U),w[f]!=h&&o(w,f,d),y&&x[f]!=h&&(x[f]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"63d9":function(t,e,n){n("ec30")("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),a=n("4bf8"),c=n("626a"),s=Object.assign;t.exports=!s||n("79e5")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r})?function(t,e){var n=a(t),s=arguments.length,u=1,f=i.f,l=o.f;while(s>u){var h,d=c(arguments[u++]),v=f?r(d).concat(f(d)):r(d),p=v.length,g=0;while(p>g)l.call(d,h=v[g++])&&(n[h]=d[h])}return n}:s},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,s="process"==n("2d95")(a);t.exports=function(){var t,e,n,u=function(){var r,i;s&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(u)}}else n=function(){i.call(r,u)};else{var l=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c29":function(t,e,n){n("ec30")("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),c=n("32e9"),s=n("84f2"),u=n("2b4c"),f=u("iterator"),l=u("toStringTag"),h=s.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=i(d),p=0;p<v.length;p++){var g,y=v[p],m=d[y],b=a[y],w=b&&b.prototype;if(w&&(w[f]||c(w,f,h),w[l]||c(w,l,y),s[y]=h,m))for(g in r)w[g]||o(w,g,r[g],!0)}},ba92:function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),c=i(t,a),s=i(e,a),u=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===u?a:i(u,a))-s,a-c),l=1;s<c&&c<s+f&&(l=-1,s+=f-1,c+=f-1);while(f-- >0)s in n?n[c]=n[s]:delete n[c],c+=l,s+=l;return n}},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var c,s=r(e),u=i(s.length),f=o(a,u);if(t&&n!=n){while(u>f)if(c=s[f++],c!=c)return!0}else for(;u>f;f++)if((t||f in s)&&s[f]===n)return t||f||0;return!t&&-1}}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,c=i(t),s=0,u=[];for(n in c)n!=a&&r(c,n)&&u.push(n);while(e.length>s)r(c,n=e[s++])&&(~o(u,n)||u.push(n));return u}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},da2a:function(t,e,n){"use strict";n.r(e);n("ac6a"),n("456d"),n("55dd"),n("f751"),n("63d9"),n("9c29");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}n("cadf"),n("551c"),n("097d");var a=10,c=.3,s=function(){function t(){r(this,t),this.data={treeReady:!1,rawBinary:[],rawParsed:[],rawAverageBinary:[],rawAverageParsed:[],firstEntry:0,lastResolution:0,start:null,width:null,last:{offset:0,end:0,resolution:0},tree:[]},this.params={empty:!1,candleWidths:[],defaultExposition:30,fileSizes:{},resolutions:[],packetSize:0,dataRequestPending:!1,isInitialLoading:!0},this.requestInitialParams()}return o(t,[{key:"requestInitialParams",value:function(){this.sendMessage("REQUEST_PARAMS",{inner:["candleWidths"],outer:["fileSizes","resolutions","packetSize"]})}},{key:"initialLoading",value:function(t){var e=this.params.fileSizes[t],n=this.rebaseExposition(e,e),r=this.rebaseOffset(e-n,e);this.params.dataRequestPending=!0,this.params.isInitialLoading=!0,this.requestData(r,e-1,t)}},{key:"rebaseOffset",value:function(t,e){return t<0?0:t>e-1?e-1:t}},{key:"rebaseExposition",value:function(t,e){return t>e?e:t}},{key:"append",value:function(t){this.data.treeReady=!1,this.params.dataRequestPending=!1,this.appendedData=["candleData"],this.data.rawBinary=t.slice(),this.data.rawParsed=this.parseChartData(this.data.rawBinary),!0===this.params.isInitialLoading&&(this.appendedData.push("averageData"),this.data.averageBinary=t.slice(),this.data.averageParsed=this.data.rawParsed.slice(),this.params.isInitialLoading=!1),this.makeTree(),this.sendMessage("APPENDED",{type:this.appendedData})}},{key:"parseEntity",value:function(t){return{timestamp:new Uint32Array(t,0,1)[0],volume:new Float32Array(t,4,1)[0],open:new Float32Array(t,8,1)[0],high:new Float32Array(t,12,1)[0],low:new Float32Array(t,16,1)[0],close:new Float32Array(t,20,1)[0],average:new Float32Array(t,24,1)[0]}}},{key:"parseChartData",value:function(t){for(var e=[],n=0,r=0;n<t.byteLength;n+=this.params.packetSize,r++)e[r]=this.parseEntity(t.slice(n,n+this.params.packetSize));return e}},{key:"makeTree",value:function(){var t=this;this.data.rawParsed.length>0&&(this.data.start=this.data.rawParsed[0].timestamp,this.data.end=this.data.rawParsed[this.data.rawParsed.length-1].timestamp,this.params.candleWidths.map(function(e){t.data.tree[e]=[];var n=null;t.data.rawParsed.map(function(r){var i=r.timestamp-r.timestamp%e;n&&i===n.id?(n.low=r.low<n.low?r.low:n.low,n.high=r.high>n.high?r.high:n.high,n.close=r.close,n.volume+=r.volume):(n&&t.data.tree[e].push(n),n={id:i,timestamp:r.timestamp,open:r.open,low:r.low,high:r.high,close:r.close,volume:r.volume})}),n&&t.data.tree[e].push(n)}),this.data.treeReady=!0)}},{key:"findCandleWidthForUse",value:function(t,e){var n=e/a,r=null,i=0;return this.params.candleWidths.map(function(e){if(r){var o=Math.abs(Math.round(n-t/e));o<i&&(i=o,r=e)}else r=e,i=Math.abs(Math.round(n-t/e))}),r}},{key:"findAvailableResolution",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:86400,e=this.params.resolutions.length;if(t>this.params.resolutions[e-1])return this.params.resolutions[e-1];for(var n=0,r=e;n<r;n++){if(t===this.params.resolutions[n]||t<this.params.resolutions[n]&&0===n)return this.params.resolutions[n];if(t<this.params.resolutions[n]&&n>0)return this.params.resolutions[n-1]}}},{key:"convertExpositionToPackage",value:function(t,e){return this.rebaseExposition(Math.round(t/e)*this.params.packetSize,e)}},{key:"renderCandles",value:function(t,e,n,r){this.data.treeReady||this.makeTree();var i={low:null,high:null,maxVolume:null,width:null,candles:[],candlesPositivePath:[],candlesNegativePath:[],volumePath:[]},o=this.findCandleWidthForUse(e,n),a=n/e;i.width=o*a;var s=this.data.tree[o],u=0;if(console.log("RENDER",t,e,n,r),s){var f=s.length;t>this.data.start&&(u=-Math.floor((t-this.data.start)/o));for(var l=-u;l<f;l++){var h=s[l];if(!(h.timestamp<=t)){if(h.timestamp>t+e){f=l;break}u<0&&(u=l),(null==i.low||i.low>h.low)&&(i.low=h.low),(null==i.high||i.high<h.high)&&(i.high=h.high),(null==i.maxVolume||i.maxVolume<h.volume)&&(i.maxVolume=h.volume)}}u=Math.abs(u),null==f&&(f=s.length);for(var d=r/(i.high-i.low),v=r*c/i.maxVolume,p=o*a*.25,g=u;g<f;g++){var y=s[g],m=(y.timestamp-t)*a,b="M".concat(m," ").concat((i.high-y.low)*d," L").concat(m," ").concat((i.high-y.high)*d," "),w="M".concat(m-p," ").concat((i.high-y.close)*d," L").concat(m+p," ").concat((i.high-y.close)*d," ")+"L".concat(m+p," ").concat((i.high-y.open)*d," L").concat(m-p," ").concat((i.high-y.open)*d," "),x=Object.assign({},y);y.open<=y.close?(x.class="positive",x.candlePathIndex=i.candlesPositivePath.push(b+w)-1):(x.class="negative",x.candlePathIndex=i.candlesNegativePath.push(b+w)-1),x.volumePathIndex=i.volumePath.push("M".concat(m-p," ").concat(r-y.volume*v," L").concat(m+p," ").concat(r-y.volume*v," ")+"L".concat(m+p," ").concat(r," L").concat(m-p," ").concat(r," "))-1,x.x=m,i.candles.push(x)}}else this.params.dataRequestPending;if(this.data.start>0&&this.data.start<=t);else if(!this.params.dataRequestPending&&t>this.params.firstTimestamp){this.params.dataRequestPending=!0;var P=this.findAvailableResolution(o),_=this.convertExpositionToPackage(t,P);this.requestData(this.rebaseOffset(this.data.last.offset-_),this.params.resolutions[P],P)}this.data.lastResolution=o,this.sendMessage("RENDERED",{type:"candles",data:i})}},{key:"renderAverage",value:function(t,e){var n=this.data.averageParsed.length;if(n){var r=t/n,i={minTimestamp:this.data.averageParsed[0].timestamp,maxTimestamp:this.data.averageParsed[n-1].timestamp,path:[]},o=this.data.averageParsed.slice().sort(function(t,e){return t.average-e.average}),a=o[n-1].average,c=o[0].average,s=e/(a-c);i.path.push("M6 ".concat(s*(a-this.data.averageParsed[0].average)));for(var u=1;u<n;u++)i.path.push("L".concat(r*u," ").concat(s*(a-this.data.averageParsed[u].average)));this.sendMessage("RENDERED",{type:"average",data:i})}}},{key:"requestData",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.data.last.offset,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.data.last.end,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.data.last.resolution;Object.assign(this.data.last,{offset:t,end:e,resolution:n}),this.sendMessage("REQUEST_DATA",{offset:t,end:e,resolution:n})}},{key:"setParams",value:function(t){var e=this;Object.keys(t).map(function(n){"candlesWidth"===n&&e.params[n]!==t[n]&&Object.assign(data,{treeReady:!1,rawBinary:[],rawParsed:[],rawAverageBinary:[],rawAverageParsed:[],firstEntry:0,lastResolution:0,start:null,width:null,last:{offset:0,end:0,resolution:0},tree:[]}),e.params[n]=t[n]}),this.data.treeReady=!1}},{key:"messageHandler",value:function(t){switch(t.data.task){case"SET_PARAMS":this.setParams(t.data.params),!this.data.rawParsed.length&&Object.keys(this.params.fileSizes).length>0&&this.params.resolutions.length>0&&this.params.fileSizes[this.params.resolutions[this.params.resolutions.length-1]]>0&&this.params.packetSize&&!this.params.dataRequestPending&&this.initialLoading(this.params.resolutions[this.params.resolutions.length-1]);break;case"APPEND":this.append(t.data.data);break;case"RENDER":var e=t.data.params;switch(e.type){case"average":this.renderAverage(e.viewWidth,e.viewHeight);break;case"candles":this.renderCandles(e.offset,e.exposition,e.viewWidth,e.viewHeight);break;default:break}case"RELOAD":break;default:break}}},{key:"sendMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;postMessage({type:t,body:e})}}]),t}(),u=new s;onmessage=function(t){u.messageHandler(t)}},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},ec30:function(t,e,n){"use strict";if(n("9e1e")){var r=n("2d00"),i=n("7726"),o=n("79e5"),a=n("5ca1"),c=n("0f88"),s=n("ed0b"),u=n("9b43"),f=n("f605"),l=n("4630"),h=n("32e9"),d=n("dcbc"),v=n("4588"),p=n("9def"),g=n("09fa"),y=n("77f1"),m=n("6a99"),b=n("69a8"),w=n("23c6"),x=n("d3f4"),P=n("4bf8"),_=n("33a4"),S=n("2aeb"),E=n("38fd"),O=n("9093").f,A=n("27ee"),k=n("ca5a"),j=n("2b4c"),T=n("0a49"),L=n("c366"),M=n("ebd6"),R=n("cadf"),I=n("84f2"),F=n("5cc5"),D=n("7a56"),N=n("36bd"),C=n("ba92"),W=n("86cc"),U=n("11e9"),B=W.f,V=U.f,q=i.RangeError,z=i.TypeError,G=i.Uint8Array,H="ArrayBuffer",Y="Shared"+H,K="BYTES_PER_ELEMENT",Q="prototype",J=Array[Q],X=s.ArrayBuffer,Z=s.DataView,$=T(0),tt=T(2),et=T(3),nt=T(4),rt=T(5),it=T(6),ot=L(!0),at=L(!1),ct=R.values,st=R.keys,ut=R.entries,ft=J.lastIndexOf,lt=J.reduce,ht=J.reduceRight,dt=J.join,vt=J.sort,pt=J.slice,gt=J.toString,yt=J.toLocaleString,mt=j("iterator"),bt=j("toStringTag"),wt=k("typed_constructor"),xt=k("def_constructor"),Pt=c.CONSTR,_t=c.TYPED,St=c.VIEW,Et="Wrong length!",Ot=T(1,function(t,e){return Lt(M(t,t[xt]),e)}),At=o(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),kt=!!G&&!!G[Q].set&&o(function(){new G(1).set({})}),jt=function(t,e){var n=v(t);if(n<0||n%e)throw q("Wrong offset!");return n},Tt=function(t){if(x(t)&&_t in t)return t;throw z(t+" is not a typed array!")},Lt=function(t,e){if(!(x(t)&&wt in t))throw z("It is not a typed array constructor!");return new t(e)},Mt=function(t,e){return Rt(M(t,t[xt]),e)},Rt=function(t,e){var n=0,r=e.length,i=Lt(t,r);while(r>n)i[n]=e[n++];return i},It=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Ft=function(t){var e,n,r,i,o,a,c=P(t),s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,h=A(c);if(void 0!=h&&!_(h)){for(a=h.call(c),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);c=r}for(l&&s>2&&(f=u(f,arguments[2],2)),e=0,n=p(c.length),i=Lt(this,n);n>e;e++)i[e]=l?f(c[e],e):c[e];return i},Dt=function(){var t=0,e=arguments.length,n=Lt(this,e);while(e>t)n[t]=arguments[t++];return n},Nt=!!G&&o(function(){yt.call(new G(1))}),Ct=function(){return yt.apply(Nt?pt.call(Tt(this)):Tt(this),arguments)},Wt={copyWithin:function(t,e){return C.call(Tt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(Tt(this),arguments)},filter:function(t){return Mt(this,tt(Tt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Tt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(Tt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return at(Tt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Tt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(Tt(this),arguments)},lastIndexOf:function(t){return ft.apply(Tt(this),arguments)},map:function(t){return Ot(Tt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return lt.apply(Tt(this),arguments)},reduceRight:function(t){return ht.apply(Tt(this),arguments)},reverse:function(){var t,e=this,n=Tt(e).length,r=Math.floor(n/2),i=0;while(i<r)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return et(Tt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return vt.call(Tt(this),t)},subarray:function(t,e){var n=Tt(this),r=n.length,i=y(t,r);return new(M(n,n[xt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,p((void 0===e?r:y(e,r))-i))}},Ut=function(t,e){return Mt(this,pt.call(Tt(this),t,e))},Bt=function(t){Tt(this);var e=jt(arguments[1],1),n=this.length,r=P(t),i=p(r.length),o=0;if(i+e>n)throw q(Et);while(o<i)this[e+o]=r[o++]},Vt={entries:function(){return ut.call(Tt(this))},keys:function(){return st.call(Tt(this))},values:function(){return ct.call(Tt(this))}},qt=function(t,e){return x(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},zt=function(t,e){return qt(t,e=m(e,!0))?l(2,t[e]):V(t,e)},Gt=function(t,e,n){return!(qt(t,e=m(e,!0))&&x(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};Pt||(U.f=zt,W.f=Gt),a(a.S+a.F*!Pt,"Object",{getOwnPropertyDescriptor:zt,defineProperty:Gt}),o(function(){gt.call({})})&&(gt=yt=function(){return dt.call(this)});var Ht=d({},Wt);d(Ht,Vt),h(Ht,mt,Vt.values),d(Ht,{slice:Ut,set:Bt,constructor:function(){},toString:gt,toLocaleString:Ct}),It(Ht,"buffer","b"),It(Ht,"byteOffset","o"),It(Ht,"byteLength","l"),It(Ht,"length","e"),B(Ht,bt,{get:function(){return this[_t]}}),t.exports=function(t,e,n,s){s=!!s;var u=t+(s?"Clamped":"")+"Array",l="get"+t,d="set"+t,v=i[u],y=v||{},m=v&&E(v),b=!v||!c.ABV,P={},_=v&&v[Q],A=function(t,n){var r=t._d;return r.v[l](n*e+r.o,At)},k=function(t,n,r){var i=t._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,At)},j=function(t,e){B(t,e,{get:function(){return A(this,e)},set:function(t){return k(this,e,t)},enumerable:!0})};b?(v=n(function(t,n,r,i){f(t,v,u,"_d");var o,a,c,s,l=0,d=0;if(x(n)){if(!(n instanceof X||(s=w(n))==H||s==Y))return _t in n?Rt(v,n):Ft.call(v,n);o=n,d=jt(r,e);var y=n.byteLength;if(void 0===i){if(y%e)throw q(Et);if(a=y-d,a<0)throw q(Et)}else if(a=p(i)*e,a+d>y)throw q(Et);c=a/e}else c=g(n),a=c*e,o=new X(a);h(t,"_d",{b:o,o:d,l:a,e:c,v:new Z(o)});while(l<c)j(t,l++)}),_=v[Q]=S(Ht),h(_,"constructor",v)):o(function(){v(1)})&&o(function(){new v(-1)})&&F(function(t){new v,new v(null),new v(1.5),new v(t)},!0)||(v=n(function(t,n,r,i){var o;return f(t,v,u),x(n)?n instanceof X||(o=w(n))==H||o==Y?void 0!==i?new y(n,jt(r,e),i):void 0!==r?new y(n,jt(r,e)):new y(n):_t in n?Rt(v,n):Ft.call(v,n):new y(g(n))}),$(m!==Function.prototype?O(y).concat(O(m)):O(y),function(t){t in v||h(v,t,y[t])}),v[Q]=_,r||(_.constructor=v));var T=_[mt],L=!!T&&("values"==T.name||void 0==T.name),M=Vt.values;h(v,wt,!0),h(_,_t,u),h(_,St,!0),h(_,xt,v),(s?new v(1)[bt]==u:bt in _)||B(_,bt,{get:function(){return u}}),P[u]=v,a(a.G+a.W+a.F*(v!=y),P),a(a.S,u,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*o(function(){y.of.call(v,1)}),u,{from:Ft,of:Dt}),K in _||h(_,K,e),a(a.P,u,Wt),D(u),a(a.P+a.F*kt,u,{set:Bt}),a(a.P+a.F*!L,u,Vt),r||_.toString==gt||(_.toString=gt),a(a.P+a.F*o(function(){new v(1).slice()}),u,{slice:Ut}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!o(function(){_.toLocaleString.call([1,2])})),u,{toLocaleString:Ct}),I[u]=L?T:M,r||L||h(_,mt,M)}}else t.exports=function(){}},ed0b:function(t,e,n){"use strict";var r=n("7726"),i=n("9e1e"),o=n("2d00"),a=n("0f88"),c=n("32e9"),s=n("dcbc"),u=n("79e5"),f=n("f605"),l=n("4588"),h=n("9def"),d=n("09fa"),v=n("9093").f,p=n("86cc").f,g=n("36bd"),y=n("7f20"),m="ArrayBuffer",b="DataView",w="prototype",x="Wrong length!",P="Wrong index!",_=r[m],S=r[b],E=r.Math,O=r.RangeError,A=r.Infinity,k=_,j=E.abs,T=E.pow,L=E.floor,M=E.log,R=E.LN2,I="buffer",F="byteLength",D="byteOffset",N=i?"_b":I,C=i?"_l":F,W=i?"_o":D;function U(t,e,n){var r,i,o,a=new Array(n),c=8*n-e-1,s=(1<<c)-1,u=s>>1,f=23===e?T(2,-24)-T(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=j(t),t!=t||t===A?(i=t!=t?1:0,r=s):(r=L(M(t)/R),t*(o=T(2,-r))<1&&(r--,o*=2),t+=r+u>=1?f/o:f*T(2,1-u),t*o>=2&&(r++,o/=2),r+u>=s?(i=0,r=s):r+u>=1?(i=(t*o-1)*T(2,e),r+=u):(i=t*T(2,u-1)*T(2,e),r=0));e>=8;a[l++]=255&i,i/=256,e-=8);for(r=r<<e|i,c+=e;c>0;a[l++]=255&r,r/=256,c-=8);return a[--l]|=128*h,a}function B(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,a=o>>1,c=i-7,s=n-1,u=t[s--],f=127&u;for(u>>=7;c>0;f=256*f+t[s],s--,c-=8);for(r=f&(1<<-c)-1,f>>=-c,c+=e;c>0;r=256*r+t[s],s--,c-=8);if(0===f)f=1-a;else{if(f===o)return r?NaN:u?-A:A;r+=T(2,e),f-=a}return(u?-1:1)*r*T(2,f-e)}function V(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function q(t){return[255&t]}function z(t){return[255&t,t>>8&255]}function G(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return U(t,52,8)}function Y(t){return U(t,23,4)}function K(t,e,n){p(t[w],e,{get:function(){return this[n]}})}function Q(t,e,n,r){var i=+n,o=d(i);if(o+e>t[C])throw O(P);var a=t[N]._b,c=o+t[W],s=a.slice(c,c+e);return r?s:s.reverse()}function J(t,e,n,r,i,o){var a=+n,c=d(a);if(c+e>t[C])throw O(P);for(var s=t[N]._b,u=c+t[W],f=r(+i),l=0;l<e;l++)s[u+l]=f[o?l:e-l-1]}if(a.ABV){if(!u(function(){_(1)})||!u(function(){new _(-1)})||u(function(){return new _,new _(1.5),new _(NaN),_.name!=m})){_=function(t){return f(this,_),new k(d(t))};for(var X,Z=_[w]=k[w],$=v(k),tt=0;$.length>tt;)(X=$[tt++])in _||c(_,X,k[X]);o||(Z.constructor=_)}var et=new S(new _(2)),nt=S[w].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||s(S[w],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else _=function(t){f(this,_,m);var e=d(t);this._b=g.call(new Array(e),0),this[C]=e},S=function(t,e,n){f(this,S,b),f(t,_,b);var r=t[C],i=l(e);if(i<0||i>r)throw O("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw O(x);this[N]=t,this[W]=i,this[C]=n},i&&(K(_,F,"_l"),K(S,I,"_b"),K(S,F,"_l"),K(S,D,"_o")),s(S[w],{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return V(Q(this,4,t,arguments[1]))},getUint32:function(t){return V(Q(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(Q(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(Q(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){J(this,1,t,q,e)},setUint8:function(t,e){J(this,1,t,q,e)},setInt16:function(t,e){J(this,2,t,z,e,arguments[2])},setUint16:function(t,e){J(this,2,t,z,e,arguments[2])},setInt32:function(t,e){J(this,4,t,G,e,arguments[2])},setUint32:function(t,e){J(this,4,t,G,e,arguments[2])},setFloat32:function(t,e){J(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){J(this,8,t,H,e,arguments[2])}});y(_,m),y(S,b),c(S[w],a.VIEW,!0),e[m]=_,e[b]=S},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement}});