tradingraph
Version:
Based on rpiontik chart https://github.com/rpiontik/crypto-chart
1 lines • 34.7 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"),c=e("32e9"),a=e("84f2"),u=e("41a0"),f=e("7f20"),s=e("38fd"),l=e("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",v="keys",d="values",y=function(){return this};t.exports=function(t,n,e,b,g,w,m){u(e,n,b);var x,_,S,O=function(t){if(!h&&t in j)return j[t];switch(t){case v:return function(){return new e(this,t)};case d:return function(){return new e(this,t)}}return function(){return new e(this,t)}},P=n+" Iterator",E=g==d,A=!1,j=t.prototype,T=j[l]||j[p]||g&&j[g],L=T||O(g),k=g?E?O("entries"):L:void 0,M="Array"==n&&j.entries||T;if(M&&(S=s(M.call(new t)),S!==Object.prototype&&S.next&&(f(S,P,!0),r||"function"==typeof S[l]||c(S,l,y))),E&&T&&T.name!==d&&(A=!0,L=function(){return T.call(this)}),r&&!m||!h&&!A&&j[l]||c(j,l,L),a[n]=L,a[P]=y,g)if(x={values:E?L:O(d),keys:w?L:O(v),entries:k},m)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"),c=e("ebd6"),a=e("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,i.Promise||o.Promise),e="function"==typeof t;return this.then(e?function(e){return a(n,t()).then(function(){return e})}:t,e?function(e){return a(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"),c=e("9def"),a=e("cd1c");t.exports=function(t,n){var e=1==t,u=2==t,f=3==t,s=4==t,l=6==t,h=5==t||l,p=n||a;return function(n,a,v){for(var d,y,b=o(n),g=i(b),w=r(a,v,3),m=c(g.length),x=0,_=e?p(n,m):u?p(n,0):void 0;m>x;x++)if((h||x in g)&&(d=g[x],y=w(d,x,b),t))if(e)_[x]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return x;case 2:_.push(d)}else if(s)return!1;return l?-1:f||s?s:_}}},"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"),c=e("ca5a"),a=c("typed_array"),u=c("view"),f=!(!i.ArrayBuffer||!i.DataView),s=f,l=0,h=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(l<h)(r=i[p[l++]])?(o(r.prototype,a,!0),o(r.prototype,u,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:a,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"),c=e("6a99"),a=e("69a8"),u=e("c69a"),f=Object.getOwnPropertyDescriptor;n.f=e("9e1e")?f:function(t,n){if(t=o(t),n=c(n,!0),u)try{return f(t,n)}catch(t){}if(a(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,c=o(n),a=c.length,u=0;while(a>u)r.f(t,e=c[u++],n[e]);return t}},1991:function(t,n,e){var r,i,o,c=e("9b43"),a=e("31f4"),u=e("fab2"),f=e("230e"),s=e("7726"),l=s.process,h=s.setImmediate,p=s.clearImmediate,v=s.MessageChannel,d=s.Dispatch,y=0,b={},g="onreadystatechange",w=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},m=function(t){w.call(t.data)};h&&p||(h=function(t){var n=[],e=1;while(arguments.length>e)n.push(arguments[e++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),n)},r(y),y},p=function(t){delete b[t]},"process"==e("2d95")(l)?r=function(t){l.nextTick(c(w,t,1))}:d&&d.now?r=function(t){d.now(c(w,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=m,r=c(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):r=g in f("script")?function(t){u.appendChild(f("script"))[g]=function(){u.removeChild(this),w.call(t)}}:function(t){setTimeout(c(w,t,1),0)}),t.exports={set:h,clear:p}},"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}()),c=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),i))?e:o?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},"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"),c=e("ca5a")("src"),a="toString",u=Function[a],f=(""+u).split(a);e("8378").inspectSource=function(t){return u.call(t)},(t.exports=function(t,n,e,a){var u="function"==typeof e;u&&(o(e,"name")||i(e,"name",n)),t[n]!==e&&(u&&(o(e,c)||i(e,c,t[n]?""+t[n]:f.join(String(n)))),t===r?t[n]=e:a?t[n]?t[n]=e:i(t,n,e):(delete t[n],i(t,n,e)))})(Function.prototype,a,function(){return"function"==typeof this&&this[c]||u.call(this)})},"2aeb":function(t,n,e){var r=e("cb7c"),i=e("1495"),o=e("e11e"),c=e("613b")("IE_PROTO"),a=function(){},u="prototype",f=function(){var t,n=e("230e")("iframe"),r=o.length,i="<",c=">";n.style.display="none",e("fab2").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+c+"document.F=Object"+i+"/script"+c),t.close(),f=t.F;while(r--)delete f[u][o[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[u]=r(t),e=new a,a[u]=null,e[c]=t):e=f(),void 0===n?e:i(e,n)}},"2b4c":function(t,n,e){var r=e("5537")("wks"),i=e("ca5a"),o=e("7726").Symbol,c="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=c&&o[t]||(c?o:i)("Symbol."+t))};a.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)}},"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),c=arguments.length,a=i(c>1?arguments[1]:void 0,e),u=c>2?arguments[2]:void 0,f=void 0===u?e:i(u,e);while(f>a)n[a++]=t;return n}},"38fd":function(t,n,e){var r=e("69a8"),i=e("4bf8"),o=e("613b")("IE_PROTO"),c=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?c:null}},"41a0":function(t,n,e){"use strict";var r=e("2aeb"),i=e("4630"),o=e("7f20"),c={};e("32e9")(c,e("2b4c")("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{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"),c=e("cb7c"),a=e("9def"),u=e("27ee"),f={},s={};n=t.exports=function(t,n,e,l,h){var p,v,d,y,b=h?function(){return t}:u(t),g=r(e,l,n?2:1),w=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(p=a(t.length);p>w;w++)if(y=n?g(c(v=t[w])[0],v[1]):g(t[w]),y===f||y===s)return y}else for(d=b.call(t);!(v=d.next()).done;)if(y=i(d,g,v.value,n),y===f||y===s)return y};n.BREAK=f,n.RETURN=s},"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,c,a=e("2d00"),u=e("7726"),f=e("9b43"),s=e("23c6"),l=e("5ca1"),h=e("d3f4"),p=e("d8e8"),v=e("f605"),d=e("4a59"),y=e("ebd6"),b=e("1991").set,g=e("8079")(),w=e("a5b8"),m=e("9c80"),x=e("a25f"),_=e("bcaa"),S="Promise",O=u.TypeError,P=u.process,E=P&&P.versions,A=E&&E.v8||"",j=u[S],T="process"==s(P),L=function(){},k=i=w.f,M=!!function(){try{var t=j.resolve(1),n=(t.constructor={})[e("2b4c")("species")]=function(t){t(L,L)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof n&&0!==A.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},F=function(t,n){if(!t._n){t._n=!0;var e=t._c;g(function(){var r=t._v,i=1==t._s,o=0,c=function(n){var e,o,c,a=i?n.ok:n.fail,u=n.resolve,f=n.reject,s=n.domain;try{a?(i||(2==t._h&&C(t),t._h=1),!0===a?e=r:(s&&s.enter(),e=a(r),s&&(s.exit(),c=!0)),e===n.promise?f(O("Promise-chain cycle")):(o=I(e))?o.call(e,u,f):u(e)):f(r)}catch(t){s&&!c&&s.exit(),f(t)}};while(e.length>o)c(e[o++]);t._c=[],t._n=!1,n&&!t._h&&R(t)})}},R=function(t){b.call(u,function(){var n,e,r,i=t._v,o=U(t);if(o&&(n=m(function(){T?P.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=T||U(t)?2:1),t._a=void 0,o&&n.e)throw n.v})},U=function(t){return 1!==t._h&&0===(t._a||t._c).length},C=function(t){b.call(u,function(){var n;T?P.emit("rejectionHandled",t):(n=u.onrejectionhandled)&&n({promise:t,reason:t._v})})},N=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()),F(n,!0))},B=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw O("Promise can't be resolved itself");(n=I(t))?g(function(){var r={_w:e,_d:!1};try{n.call(t,f(B,r,1),f(N,r,1))}catch(t){N.call(r,t)}}):(e._v=t,e._s=1,F(e,!1))}catch(t){N.call({_w:e,_d:!1},t)}}};M||(j=function(t){v(this,j,S,"_h"),p(t),r.call(this);try{t(f(B,this,1),f(N,this,1))}catch(t){N.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=k(y(this,j));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=T?P.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&F(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=f(B,t,1),this.reject=f(N,t,1)},w.f=k=function(t){return t===j||t===c?new o(t):i(t)}),l(l.G+l.W+l.F*!M,{Promise:j}),e("7f20")(j,S),e("7a56")(S),c=e("8378")[S],l(l.S+l.F*!M,S,{reject:function(t){var n=k(this),e=n.reject;return e(t),n.promise}}),l(l.S+l.F*(a||!M),S,{resolve:function(t){return _(a&&this===c?j:this,t)}}),l(l.S+l.F*!(M&&e("5cc5")(function(t){j.all(t)["catch"](L)})),S,{all:function(t){var n=this,e=k(n),r=e.resolve,i=e.reject,o=m(function(){var e=[],o=0,c=1;d(t,!1,function(t){var a=o++,u=!1;e.push(void 0),c++,n.resolve(t).then(function(t){u||(u=!0,e[a]=t,--c||r(e))},i)}),--c||r(e)});return o.e&&i(o.v),e.promise},race:function(t){var n=this,e=k(n),r=e.reject,i=m(function(){d(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__",c=i[o]||(i[o]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,n,e){var r=e("7726"),i=e("8378"),o=e("32e9"),c=e("2aba"),a=e("9b43"),u="prototype",f=function(t,n,e){var s,l,h,p,v=t&f.F,d=t&f.G,y=t&f.S,b=t&f.P,g=t&f.B,w=d?r:y?r[n]||(r[n]={}):(r[n]||{})[u],m=d?i:i[n]||(i[n]={}),x=m[u]||(m[u]={});for(s in d&&(e=n),e)l=!v&&w&&void 0!==w[s],h=(l?w:e)[s],p=g&&l?a(h,r):b&&"function"==typeof h?a(Function.call,h):h,w&&c(w,s,h,t&f.U),m[s]!=h&&o(m,s,p),b&&x[s]!=h&&(x[s]=h)};r.core=i,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},"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],c=o[r]();c.next=function(){return{done:e=!0}},o[r]=function(){return c},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],c={};c[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",c)}},"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")}},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"),c=e("2b4c")("species");t.exports=function(t){var n=r[t];o&&n&&!n[c]&&i.f(n,c,{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,c=r.process,a=r.Promise,u="process"==e("2d95")(c);t.exports=function(){var t,n,e,f=function(){var r,i;u&&(r=c.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(){c.nextTick(f)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var s=a.resolve(void 0);e=function(){s.then(f)}}else e=function(){i.call(r,f)};else{var l=!0,h=document.createTextNode("");new o(f).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"),c=Object.defineProperty;n.f=e("9e1e")?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return c(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"),c=e("7726"),a=e("32e9"),u=e("84f2"),f=e("2b4c"),s=f("iterator"),l=f("toStringTag"),h=u.Array,p={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(p),d=0;d<v.length;d++){var y,b=v[d],g=p[b],w=c[b],m=w&&w.prototype;if(m&&(m[s]||a(m,s,h),m[l]||a(m,l,b),u[b]=h,g))for(y in r)m[y]||o(m,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),c=o(e.length),a=i(t,c),u=i(n,c),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?c:i(f,c))-u,c-a),l=1;u<a&&a<u+s&&(l=-1,u+=s-1,a+=s-1);while(s-- >0)u in e?e[a]=e[u]:delete e[a],a+=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),c=e.resolve;return c(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,c){var a,u=r(n),f=i(u.length),s=o(c,f);if(t&&e!=e){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===e)return t||s||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"),c=e("6821");t.exports=e("01f9")(Array,"Array",function(t,n){this._t=c(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),c=e("613b")("IE_PROTO");t.exports=function(t,n){var e,a=i(t),u=0,f=[];for(e in a)e!=c&&r(a,e)&&f.push(e);while(n.length>u)r(a,e=n[u++])&&(~o(f,e)||f.push(e));return f}},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("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 c=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.rawBinary=t,this.data.rawParsed=this.parseChartData(this.data.rawBinary)}},{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:"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.data.rawBinary.length&&this.initialLoading(this.params.resolutions[this.params.resolutions.length-1]);break;case"APPEND":this.append(t.data.data);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}(),a=new c;onmessage=function(t){a.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,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[o])?n:i(e)}},ec30:function(t,n,e){"use strict";if(e("9e1e")){var r=e("2d00"),i=e("7726"),o=e("79e5"),c=e("5ca1"),a=e("0f88"),u=e("ed0b"),f=e("9b43"),s=e("f605"),l=e("4630"),h=e("32e9"),p=e("dcbc"),v=e("4588"),d=e("9def"),y=e("09fa"),b=e("77f1"),g=e("6a99"),w=e("69a8"),m=e("23c6"),x=e("d3f4"),_=e("4bf8"),S=e("33a4"),O=e("2aeb"),P=e("38fd"),E=e("9093").f,A=e("27ee"),j=e("ca5a"),T=e("2b4c"),L=e("0a49"),k=e("c366"),M=e("ebd6"),I=e("cadf"),F=e("84f2"),R=e("5cc5"),U=e("7a56"),C=e("36bd"),N=e("ba92"),B=e("86cc"),D=e("11e9"),W=B.f,V=D.f,z=i.RangeError,G=i.TypeError,H=i.Uint8Array,q="ArrayBuffer",Y="Shared"+q,K="BYTES_PER_ELEMENT",Q="prototype",J=Array[Q],X=u.ArrayBuffer,Z=u.DataView,$=L(0),tt=L(2),nt=L(3),et=L(4),rt=L(5),it=L(6),ot=k(!0),ct=k(!1),at=I.values,ut=I.keys,ft=I.entries,st=J.lastIndexOf,lt=J.reduce,ht=J.reduceRight,pt=J.join,vt=J.sort,dt=J.slice,yt=J.toString,bt=J.toLocaleString,gt=T("iterator"),wt=T("toStringTag"),mt=j("typed_constructor"),xt=j("def_constructor"),_t=a.CONSTR,St=a.TYPED,Ot=a.VIEW,Pt="Wrong length!",Et=L(1,function(t,n){return kt(M(t,t[xt]),n)}),At=o(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),jt=!!H&&!!H[Q].set&&o(function(){new H(1).set({})}),Tt=function(t,n){var e=v(t);if(e<0||e%n)throw z("Wrong offset!");return e},Lt=function(t){if(x(t)&&St in t)return t;throw G(t+" is not a typed array!")},kt=function(t,n){if(!(x(t)&&mt in t))throw G("It is not a typed array constructor!");return new t(n)},Mt=function(t,n){return It(M(t,t[xt]),n)},It=function(t,n){var e=0,r=n.length,i=kt(t,r);while(r>e)i[e]=n[e++];return i},Ft=function(t,n,e){W(t,n,{get:function(){return this._d[e]}})},Rt=function(t){var n,e,r,i,o,c,a=_(t),u=arguments.length,s=u>1?arguments[1]:void 0,l=void 0!==s,h=A(a);if(void 0!=h&&!S(h)){for(c=h.call(a),r=[],n=0;!(o=c.next()).done;n++)r.push(o.value);a=r}for(l&&u>2&&(s=f(s,arguments[2],2)),n=0,e=d(a.length),i=kt(this,e);e>n;n++)i[n]=l?s(a[n],n):a[n];return i},Ut=function(){var t=0,n=arguments.length,e=kt(this,n);while(n>t)e[t]=arguments[t++];return e},Ct=!!H&&o(function(){bt.call(new H(1))}),Nt=function(){return bt.apply(Ct?dt.call(Lt(this)):Lt(this),arguments)},Bt={copyWithin:function(t,n){return N.call(Lt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return et(Lt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Lt(this),arguments)},filter:function(t){return Mt(this,tt(Lt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Lt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Lt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(Lt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return ct(Lt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Lt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return pt.apply(Lt(this),arguments)},lastIndexOf:function(t){return st.apply(Lt(this),arguments)},map:function(t){return Et(Lt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return lt.apply(Lt(this),arguments)},reduceRight:function(t){return ht.apply(Lt(this),arguments)},reverse:function(){var t,n=this,e=Lt(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(Lt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return vt.call(Lt(this),t)},subarray:function(t,n){var e=Lt(this),r=e.length,i=b(t,r);return new(M(e,e[xt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,d((void 0===n?r:b(n,r))-i))}},Dt=function(t,n){return Mt(this,dt.call(Lt(this),t,n))},Wt=function(t){Lt(this);var n=Tt(arguments[1],1),e=this.length,r=_(t),i=d(r.length),o=0;if(i+n>e)throw z(Pt);while(o<i)this[n+o]=r[o++]},Vt={entries:function(){return ft.call(Lt(this))},keys:function(){return ut.call(Lt(this))},values:function(){return at.call(Lt(this))}},zt=function(t,n){return x(t)&&t[St]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},Gt=function(t,n){return zt(t,n=g(n,!0))?l(2,t[n]):V(t,n)},Ht=function(t,n,e){return!(zt(t,n=g(n,!0))&&x(e)&&w(e,"value"))||w(e,"get")||w(e,"set")||e.configurable||w(e,"writable")&&!e.writable||w(e,"enumerable")&&!e.enumerable?W(t,n,e):(t[n]=e.value,t)};_t||(D.f=Gt,B.f=Ht),c(c.S+c.F*!_t,"Object",{getOwnPropertyDescriptor:Gt,defineProperty:Ht}),o(function(){yt.call({})})&&(yt=bt=function(){return pt.call(this)});var qt=p({},Bt);p(qt,Vt),h(qt,gt,Vt.values),p(qt,{slice:Dt,set:Wt,constructor:function(){},toString:yt,toLocaleString:Nt}),Ft(qt,"buffer","b"),Ft(qt,"byteOffset","o"),Ft(qt,"byteLength","l"),Ft(qt,"length","e"),W(qt,wt,{get:function(){return this[St]}}),t.exports=function(t,n,e,u){u=!!u;var f=t+(u?"Clamped":"")+"Array",l="get"+t,p="set"+t,v=i[f],b=v||{},g=v&&P(v),w=!v||!a.ABV,_={},S=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[p](e*n+i.o,r,At)},T=function(t,n){W(t,n,{get:function(){return A(this,n)},set:function(t){return j(this,n,t)},enumerable:!0})};w?(v=e(function(t,e,r,i){s(t,v,f,"_d");var o,c,a,u,l=0,p=0;if(x(e)){if(!(e instanceof X||(u=m(e))==q||u==Y))return St in e?It(v,e):Rt.call(v,e);o=e,p=Tt(r,n);var b=e.byteLength;if(void 0===i){if(b%n)throw z(Pt);if(c=b-p,c<0)throw z(Pt)}else if(c=d(i)*n,c+p>b)throw z(Pt);a=c/n}else a=y(e),c=a*n,o=new X(c);h(t,"_d",{b:o,o:p,l:c,e:a,v:new Z(o)});while(l<a)T(t,l++)}),S=v[Q]=O(qt),h(S,"constructor",v)):o(function(){v(1)})&&o(function(){new v(-1)})&&R(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 s(t,v,f),x(e)?e instanceof X||(o=m(e))==q||o==Y?void 0!==i?new b(e,Tt(r,n),i):void 0!==r?new b(e,Tt(r,n)):new b(e):St in e?It(v,e):Rt.call(v,e):new b(y(e))}),$(g!==Function.prototype?E(b).concat(E(g)):E(b),function(t){t in v||h(v,t,b[t])}),v[Q]=S,r||(S.constructor=v));var L=S[gt],k=!!L&&("values"==L.name||void 0==L.name),M=Vt.values;h(v,mt,!0),h(S,St,f),h(S,Ot,!0),h(S,xt,v),(u?new v(1)[wt]==f:wt in S)||W(S,wt,{get:function(){return f}}),_[f]=v,c(c.G+c.W+c.F*(v!=b),_),c(c.S,f,{BYTES_PER_ELEMENT:n}),c(c.S+c.F*o(function(){b.of.call(v,1)}),f,{from:Rt,of:Ut}),K in S||h(S,K,n),c(c.P,f,Bt),U(f),c(c.P+c.F*jt,f,{set:Wt}),c(c.P+c.F*!k,f,Vt),r||S.toString==yt||(S.toString=yt),c(c.P+c.F*o(function(){new v(1).slice()}),f,{slice:Dt}),c(c.P+c.F*(o(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),f,{toLocaleString:Nt}),F[f]=k?L:M,r||k||h(S,gt,M)}}else t.exports=function(){}},ed0b:function(t,n,e){"use strict";var r=e("7726"),i=e("9e1e"),o=e("2d00"),c=e("0f88"),a=e("32e9"),u=e("dcbc"),f=e("79e5"),s=e("f605"),l=e("4588"),h=e("9def"),p=e("09fa"),v=e("9093").f,d=e("86cc").f,y=e("36bd"),b=e("7f20"),g="ArrayBuffer",w="DataView",m="prototype",x="Wrong length!",_="Wrong index!",S=r[g],O=r[w],P=r.Math,E=r.RangeError,A=r.Infinity,j=S,T=P.abs,L=P.pow,k=P.floor,M=P.log,I=P.LN2,F="buffer",R="byteLength",U="byteOffset",C=i?"_b":F,N=i?"_l":R,B=i?"_o":U;function D(t,n,e){var r,i,o,c=new Array(e),a=8*e-n-1,u=(1<<a)-1,f=u>>1,s=23===n?L(2,-24)-L(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=T(t),t!=t||t===A?(i=t!=t?1:0,r=u):(r=k(M(t)/I),t*(o=L(2,-r))<1&&(r--,o*=2),t+=r+f>=1?s/o:s*L(2,1-f),t*o>=2&&(r++,o/=2),r+f>=u?(i=0,r=u):r+f>=1?(i=(t*o-1)*L(2,n),r+=f):(i=t*L(2,f-1)*L(2,n),r=0));n>=8;c[l++]=255&i,i/=256,n-=8);for(r=r<<n|i,a+=n;a>0;c[l++]=255&r,r/=256,a-=8);return c[--l]|=128*h,c}function W(t,n,e){var r,i=8*e-n-1,o=(1<<i)-1,c=o>>1,a=i-7,u=e-1,f=t[u--],s=127&f;for(f>>=7;a>0;s=256*s+t[u],u--,a-=8);for(r=s&(1<<-a)-1,s>>=-a,a+=n;a>0;r=256*r+t[u],u--,a-=8);if(0===s)s=1-c;else{if(s===o)return r?NaN:f?-A:A;r+=L(2,n),s-=c}return(f?-1:1)*r*L(2,s-n)}function V(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 H(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function q(t){return D(t,52,8)}function Y(t){return D(t,23,4)}function K(t,n,e){d(t[m],n,{get:function(){return this[e]}})}function Q(t,n,e,r){var i=+e,o=p(i);if(o+n>t[N])throw E(_);var c=t[C]._b,a=o+t[B],u=c.slice(a,a+n);return r?u:u.reverse()}function J(t,n,e,r,i,o){var c=+e,a=p(c);if(a+n>t[N])throw E(_);for(var u=t[C]._b,f=a+t[B],s=r(+i),l=0;l<n;l++)u[f+l]=s[o?l:n-l-1]}if(c.ABV){if(!f(function(){S(1)})||!f(function(){new S(-1)})||f(function(){return new S,new S(1.5),new S(NaN),S.name!=g})){S=function(t){return s(this,S),new j(p(t))};for(var X,Z=S[m]=j[m],$=v(j),tt=0;$.length>tt;)(X=$[tt++])in S||a(S,X,j[X]);o||(Z.constructor=S)}var nt=new O(new S(2)),et=O[m].setInt8;nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||u(O[m],{setInt8:function(t,n){et.call(this,t,n<<24>>24)},setUint8:function(t,n){et.call(this,t,n<<24>>24)}},!0)}else S=function(t){s(this,S,g);var n=p(t);this._b=y.call(new Array(n),0),this[N]=n},O=function(t,n,e){s(this,O,w),s(t,S,w);var r=t[N],i=l(n);if(i<0||i>r)throw E("Wrong offset!");if(e=void 0===e?r-i:h(e),i+e>r)throw E(x);this[C]=t,this[B]=i,this[N]=e},i&&(K(S,R,"_l"),K(O,F,"_b"),K(O,R,"_l"),K(O,U,"_o")),u(O[m],{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 V(Q(this,4,t,arguments[1]))},getUint32:function(t){return V(Q(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return W(Q(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return W(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,H,n,arguments[2])},setUint32:function(t,n){J(this,4,t,H,n,arguments[2])},setFloat32:function(t,n){J(this,4,t,Y,n,arguments[2])},setFloat64:function(t,n){J(this,8,t,q,n,arguments[2])}});b(S,g),b(O,w),a(O[m],c.VIEW,!0),n[g]=S,n[w]=O},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}},fab2:function(t,n,e){var r=e("7726").document;t.exports=r&&r.documentElement}});