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