UNPKG

tradingraph

Version:

Based on rpiontik chart https://github.com/rpiontik/crypto-chart

1 lines 109 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["tradingraph"]=e():t["tradingraph"]=e()})("undefined"!==typeof self?self:this,function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),f=n("38fd"),h=n("2b4c")("iterator"),l=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",g=function(){return this};t.exports=function(t,e,n,m,y,b,x){c(n,e,m);var w,_,S,P=function(t){if(!l&&t in T)return T[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",k=y==v,O=!1,T=t.prototype,M=T[h]||T[d]||y&&T[y],L=M||P(y),j=y?k?P("entries"):L:void 0,A="Array"==e&&T.entries||M;if(A&&(S=f(A.call(new t)),S!==Object.prototype&&S.next&&(u(S,E,!0),i||"function"==typeof S[h]||o(S,h,g))),k&&M&&M.name!==v&&(O=!0,L=function(){return M.call(this)}),i&&!x||!l&&!O&&T[h]||o(T,h,L),s[e]=L,s[E]=g,y)if(w={values:k?L:P(v),keys:b?L:P(p),entries:j},x)for(_ in w)_ in T||a(T,_,w[_]);else r(r.P+r.F*(l||O),e,w);return w}},"0246":function(t,e,n){"use strict";var i=n("d047"),r=n.n(i);r.a},"097d":function(t,e,n){"use strict";var i=n("5ca1"),r=n("8378"),a=n("7726"),o=n("ebd6"),s=n("bcaa");i(i.P+i.R,"Promise",{finally:function(t){var e=o(this,r.Promise||a.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"11e9":function(t,e,n){var i=n("52a7"),r=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=a(t),e=o(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,o=a(e),s=o.length,c=0;while(s>c)i.f(t,n=o[c++],e[n]);return t}},1695:function(t,e,n){var i=n("939c");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("52e25f4c",i,!0,{sourceMap:!1,shadowMode:!1})},1991:function(t,e,n){var i,r,a,o=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),f=n("7726"),h=f.process,l=f.setImmediate,d=f.clearImmediate,p=f.MessageChannel,v=f.Dispatch,g=0,m={},y="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},x=function(t){b.call(t.data)};l&&d||(l=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},i(g),g},d=function(t){delete m[t]},"process"==n("2d95")(h)?i=function(t){h.nextTick(o(b,t,1))}:v&&v.now?i=function(t){v.now(o(b,t,1))}:p?(r=new p,a=r.port2,r.port1.onmessage=x,i=o(a.postMessage,a,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(i=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):i=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(o(b,t,1),0)}),t.exports={set:l,clear:d}},"1eb2":function(t,e,n){var i;"undefined"!==typeof window&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=i[1]))},"1fa8":function(t,e,n){var i=n("cb7c");t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var a=t["return"];throw void 0!==a&&i(a.call(t)),e}}},2113:function(t,e,n){var i=n("2bff");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("4386e9f3",i,!0,{sourceMap:!1,shadowMode:!1})},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},2350:function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"===typeof btoa){var a=i(r),o=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(o).concat([a]).join("\n")}return[n].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"===typeof a&&(i[a]=!0)}for(r=0;r<t.length;r++){var o=t[r];"number"===typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:a?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var i=n("23c6"),r=n("2b4c")("iterator"),a=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||a[i(t)]}},"2a64":function(t,e,n){"use strict";var i=n("2113"),r=n.n(i);r.a},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s="toString",c=Function[s],u=(""+c).split(s);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(a(n,o)||r(n,o,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||c.call(this)})},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),i=a.length,r="<",o=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),u=t.F;while(i--)delete u[c][a[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=i(t),n=new s,s[c]=null,n[o]=t):n=u(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a,s=t.exports=function(t){return i[t]||(i[t]=o&&a[t]||(o?a:r)("Symbol."+t))};s.store=i},"2bff":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"\n.axis-border[data-v-db8a1f44],.axis-x[data-v-db8a1f44],.axis-y[data-v-db8a1f44]{fill:none;shape-rendering:crispEdges;stroke:#000;stroke-width:1px\n}",""])},"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)}},"31f4":function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?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 i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"33a4":function(t,e,n){var i=n("84f2"),r=n("2b4c")("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[r]===t)}},"386b":function(t,e,n){var i=n("5ca1"),r=n("79e5"),a=n("be13"),o=/"/g,s=function(t,e,n,i){var r=String(a(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),s+">"+r+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),a(t,e+" Iterator")}},"451e":function(t,e,n){var i=n("4ffa");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("c841a90e",i,!0,{sourceMap:!1,shadowMode:!1})},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(t){return r(i(t))}})},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"499e":function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var a=e[r],o=a[0],s=a[1],c=a[2],u=a[3],f={id:t+":"+r,css:s,media:c,sourceMap:u};i[o]?i[o].parts.push(f):n.push(i[o]={id:o,parts:[f]})}return n}n.r(e),n.d(e,"default",function(){return p});var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,f=function(){},h=null,l="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,r){u=n,h=r||{};var o=i(t,e);return v(o),function(e){for(var n=[],r=0;r<o.length;r++){var s=o[r],c=a[s.id];c.refs--,n.push(c)}e?(o=i(t,e),v(o)):o=[];for(r=0;r<n.length;r++){c=n[r];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete a[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],i=a[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(m(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(m(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function m(t){var e,n,i=document.querySelector("style["+l+'~="'+t.id+'"]');if(i){if(u)return f;i.parentNode.removeChild(i)}if(d){var r=c++;i=s||(s=g()),e=b.bind(null,i,r,!1),n=b.bind(null,i,r,!0)}else i=g(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function b(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var a=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function x(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(l,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"49b6":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"\n.please-stop-center[data-v-571c60d0]{fill:rgba(192,11,101,.1)\n}\n.please-stop-handle[data-v-571c60d0]{fill:rgba(192,11,101,.8)\n}",""])},"4a59":function(t,e,n){var i=n("9b43"),r=n("1fa8"),a=n("33a4"),o=n("cb7c"),s=n("9def"),c=n("27ee"),u={},f={};e=t.exports=function(t,e,n,h,l){var d,p,v,g,m=l?function(){return t}:c(t),y=i(n,h,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(a(m)){for(d=s(t.length);d>b;b++)if(g=e?y(o(p=t[b])[0],p[1]):y(t[b]),g===u||g===f)return g}else for(v=m.call(t);!(p=v.next()).done;)if(g=r(v,y,p.value,e),g===u||g===f)return g};e.BREAK=u,e.RETURN=f},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},"4ffa":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"\n.cross[data-v-f1894466]{fill:none;stroke:#333;stroke-dasharray:1,3;stroke-width:1;visibility:visible\n}\n.price-label path[data-v-f1894466]{fill:#000;stroke:#000\n}\n.price-label text[data-v-f1894466]{fill:#fff;stroke:none;text-anchor:end\n}\n.moment-label path[data-v-f1894466]{fill:#000;stroke:#000\n}\n.moment-label text[data-v-f1894466]{fill:#fff;stroke:none;text-anchor:middle\n}",""])},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"551c":function(t,e,n){"use strict";var i,r,a,o,s=n("2d00"),c=n("7726"),u=n("9b43"),f=n("23c6"),h=n("5ca1"),l=n("d3f4"),d=n("d8e8"),p=n("f605"),v=n("4a59"),g=n("ebd6"),m=n("1991").set,y=n("8079")(),b=n("a5b8"),x=n("9c80"),w=n("a25f"),_=n("bcaa"),S="Promise",P=c.TypeError,E=c.process,k=E&&E.versions,O=k&&k.v8||"",T=c[S],M="process"==f(E),L=function(){},j=r=b.f,A=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(L,L)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==O.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),C=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){var i=t._v,r=1==t._s,a=0,o=function(e){var n,a,o,s=r?e.ok:e.fail,c=e.resolve,u=e.reject,f=e.domain;try{s?(r||(2==t._h&&W(t),t._h=1),!0===s?n=i:(f&&f.enter(),n=s(i),f&&(f.exit(),o=!0)),n===e.promise?u(P("Promise-chain cycle")):(a=C(n))?a.call(n,c,u):c(n)):u(i)}catch(t){f&&!o&&f.exit(),u(t)}};while(n.length>a)o(n[a++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})}},D=function(t){m.call(c,function(){var e,n,i,r=t._v,a=N(t);if(a&&(e=x(function(){M?E.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=M||N(t)?2:1),t._a=void 0,a&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},W=function(t){m.call(c,function(){var e;M?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},H=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()),R(e,!0))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw P("Promise can't be resolved itself");(e=C(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,u(I,i,1),u(H,i,1))}catch(t){H.call(i,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){H.call({_w:n,_d:!1},t)}}};A||(T=function(t){p(this,T,S,"_h"),d(t),i.call(this);try{t(u(I,this,1),u(H,this,1))}catch(t){H.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("dcbc")(T.prototype,{then:function(t,e){var n=j(g(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=M?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new i;this.promise=t,this.resolve=u(I,t,1),this.reject=u(H,t,1)},b.f=j=function(t){return t===T||t===o?new a(t):r(t)}),h(h.G+h.W+h.F*!A,{Promise:T}),n("7f20")(T,S),n("7a56")(S),o=n("8378")[S],h(h.S+h.F*!A,S,{reject:function(t){var e=j(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(s||!A),S,{resolve:function(t){return _(s&&this===o?T:this,t)}}),h(h.S+h.F*!(A&&n("5cc5")(function(t){T.all(t)["catch"](L)})),S,{all:function(t){var e=this,n=j(e),i=n.resolve,r=n.reject,a=x(function(){var n=[],a=0,o=1;v(t,!1,function(t){var s=a++,c=!1;n.push(void 0),o++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--o||i(n))},r)}),--o||i(n)});return a.e&&r(a.v),n.promise},race:function(t){var e=this,n=j(e),i=n.reject,r=x(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},5537:function(t,e,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",o=r[a]||(r[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5c0b":function(t,e,n){"use strict";var i=n("e45c"),r=n.n(i);r.a},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),c="prototype",u=function(t,e,n){var f,h,l,d,p=t&u.F,v=t&u.G,g=t&u.S,m=t&u.P,y=t&u.B,b=v?i:g?i[e]||(i[e]={}):(i[e]||{})[c],x=v?r:r[e]||(r[e]={}),w=x[c]||(x[c]={});for(f in v&&(n=e),n)h=!p&&b&&void 0!==b[f],l=(h?b:n)[f],d=y&&h?s(l,i):m&&"function"==typeof l?s(Function.call,l):l,b&&o(b,f,l,t&u.U),x[f]!=l&&a(x,f,d),m&&w[f]!=l&&(w[f]=l)};i.core=r,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 i=n("2b4c")("iterator"),r=!1;try{var a=[7][i]();a["return"]=function(){r=!0},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var a=[7],o=a[i]();o.next=function(){return{done:n=!0}},a[i]=function(){return o},t(a)}catch(t){}return n}},"5dbc":function(t,e,n){var i=n("d3f4"),r=n("8b97").set;t.exports=function(t,e,n){var a,o=e.constructor;return o!==n&&"function"==typeof o&&(a=o.prototype)!==n.prototype&&i(a)&&r&&r(t,a),t}},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*a(function(){n(1)}),"Object",o)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"65a4":function(t,e,n){"use strict";var i=n("1695"),r=n.n(i);r.a},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),r=n("2621"),a=n("52a7"),o=n("4bf8"),s=n("626a"),c=Object.assign;t.exports=!c||n("79e5")(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i})?function(t,e){var n=o(t),c=arguments.length,u=1,f=r.f,h=a.f;while(c>u){var l,d=s(arguments[u++]),p=f?i(d).concat(f(d)):i(d),v=p.length,g=0;while(v>g)h.call(d,l=p[g++])&&(n[l]=d[l])}return n}:c},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)},7785:function(t,e,n){"use strict";var i=window.URL||window.webkitURL;t.exports=function(t,e){try{try{var n;try{var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder;n=new r,n.append(t),n=n.getBlob()}catch(e){n=new Blob([t])}return new Worker(i.createObjectURL(n))}catch(e){return new Worker("data:application/javascript,"+encodeURIComponent(t))}}catch(t){if(!e)throw Error("Inline worker is not supported");return new Worker(e)}}},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,a=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):a(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 i=n("7726"),r=n("86cc"),a=n("9e1e"),o=n("2b4c")("species");t.exports=function(t){var e=i[t];a&&e&&!e[o]&&r.f(e,o,{configurable:!0,get:function(){return this}})}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,a)&&i(t,a,{configurable:!0,value:e})}},8079:function(t,e,n){var i=n("7726"),r=n("1991").set,a=i.MutationObserver||i.WebKitMutationObserver,o=i.process,s=i.Promise,c="process"==n("2d95")(o);t.exports=function(){var t,e,n,u=function(){var i,r;c&&(i=o.domain)&&i.exit();while(t){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){o.nextTick(u)};else if(!a||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(u)}}else n=function(){r.call(i,u)};else{var h=!0,l=document.createTextNode("");new a(u).observe(l,{characterData:!0}),n=function(){l.data=h=!h}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},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 i=n("cb7c"),r=n("c69a"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return o(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}},"8ac9":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"\n.crypto-chart .axis-border,.crypto-chart .axis-x,.crypto-chart .axis-y{fill:none;shape-rendering:crispEdges;stroke:#000;stroke-width:1px\n}\n.crypto-chart .candle{stroke-width:1px\n}\n.crypto-chart .candles-path-volume,.crypto-chart .candles-path-volume.hover{fill:rgba(21,101,192,.16);stroke:rgba(21,101,192,.16)\n}\n.crypto-chart .candles-path-positive{fill:#689f38;stroke:#689f38\n}\n.crypto-chart .candles-path-positive.hover{fill:rgba(104,230,56,.8);stroke:rgba(104,230,56,.8)\n}\n.crypto-chart .candles-path-negative{fill:#d32f2f;stroke:#d32f2f\n}\n.crypto-chart .candles-path-negative.hover{fill:#ff3c3c;stroke:#e62f2f\n}",""])},"8b97":function(t,e,n){var i=n("d3f4"),r=n("cb7c"),a=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:a}},9093:function(t,e,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},"939c":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"",""])},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c33":function(t,e,n){t.exports=function(){return n("7785")('(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"),a=n("2aba"),o=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),f=n("38fd"),l=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",g=function(){return this};t.exports=function(t,e,n,y,m,b,w){c(n,e,y);var P,S,x,E=function(t){if(!h&&t in A)return A[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",k=m==v,T=!1,A=t.prototype,L=A[l]||A[d]||m&&A[m],_=L||E(m),M=m?k?E("entries"):_:void 0,j="Array"==e&&A.entries||L;if(j&&(x=f(j.call(new t)),x!==Object.prototype&&x.next&&(u(x,O,!0),r||"function"==typeof x[l]||o(x,l,g))),k&&L&&L.name!==v&&(T=!0,_=function(){return L.call(this)}),r&&!w||!h&&!T&&A[l]||o(A,l,_),s[e]=_,s[O]=g,m)if(P={values:k?_:E(v),keys:b?_:E(p),entries:M},w)for(S in P)S in A||a(A,S,P[S]);else i(i.P+i.F*(h||T),e,P);return P}},"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"),a=n("4bf8"),o=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,f=4==t,l=6==t,h=5==t||l,d=e||s;return function(e,s,p){for(var v,g,y=a(e),m=i(y),b=r(s,p,3),w=o(m.length),P=0,S=n?d(e,w):c?d(e,0):void 0;w>P;P++)if((h||P in m)&&(v=m[P],g=b(v,P,y),t))if(n)S[P]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return P;case 2:S.push(v)}else if(f)return!1;return l?-1:u||f?f:S}}},"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"),a=n("32e9"),o=n("ca5a"),s=o("typed_array"),c=o("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++]])?(a(r.prototype,s,!0),a(r.prototype,c,!0)):f=!1;t.exports={ABV:u,CONSTR:f,TYPED:s,VIEW:c}},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"),a=n("6821"),o=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=a(t),e=o(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,o=a(e),s=o.length,c=0;while(s>c)r.f(t,n=o[c++],e[n]);return t}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),i))?n:a?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),a=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||a[r(t)]}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s="toString",c=Function[s],u=(""+c).split(s);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(a(n,o)||i(n,o,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||c.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=a.length,i="<",o=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+o+"document.F=Object"+i+"/script"+o),t.close(),u=t.F;while(r--)delete u[c][a[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[o]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a,s=t.exports=function(t){return r[t]||(r[t]=o&&a[t]||(o?a:i)("Symbol."+t))};s.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)})}},"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"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[i]===t)}},"36bd":function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),a=n("9def");t.exports=function(t){var e=r(this),n=a(e.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);while(u>s)e[s++]=t;return e}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(o,{next:i(1,n)}),a(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}}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),i=n("7726"),a="__core-js_shared__",o=i[a]||(i[a]={});(t.exports=function(t,e){return o[t]||(o[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"),a=n("4bf8"),o=n("79e5"),s=[].sort,c=[1,2,3];r(r.P+r.F*(o(function(){c.sort(void 0)})||!o(function(){c.sort(null)})||!n("2f21")(s)),"Array",{sort:function(t){return void 0===t?s.call(a(this)):s.call(a(this),i(t))}})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),c="prototype",u=function(t,e,n){var f,l,h,d,p=t&u.F,v=t&u.G,g=t&u.S,y=t&u.P,m=t&u.B,b=v?r:g?r[e]||(r[e]={}):(r[e]||{})[c],w=v?i:i[e]||(i[e]={}),P=w[c]||(w[c]={});for(f in v&&(n=e),n)l=!p&&b&&void 0!==b[f],h=(l?b:n)[f],d=m&&l?s(h,r):y&&"function"==typeof h?s(Function.call,h):h,b&&o(b,f,h,t&u.U),w[f]!=h&&a(w,f,d),y&&P[f]!=h&&(P[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 a=[7][r]();a["return"]=function(){i=!0},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},t(a)}catch(t){}return n}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),a=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],o={};o[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},"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"),a=n("52a7"),o=n("4bf8"),s=n("626a"),c=Object.assign;t.exports=!c||n("79e5")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){var n=o(t),c=arguments.length,u=1,f=i.f,l=a.f;while(c>u){var h,d=s(arguments[u++]),p=f?r(d).concat(f(d)):r(d),v=p.length,g=0;while(v>g)l.call(d,h=p[g++])&&(n[h]=d[h])}return n}:c},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,a=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):a(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"),a=n("9e1e"),o=n("2b4c")("species");t.exports=function(t){var e=r[t];a&&e&&!e[o]&&i.f(e,o,{configurable:!0,get:function(){return this}})}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),a=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},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"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(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}},"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})},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),f=u("iterator"),l=u("toStringTag"),h=c.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},p=i(d),v=0;v<p.length;v++){var g,y=p[v],m=d[y],b=o[y],w=b&&b.prototype;if(w&&(w[f]||s(w,f,h),w[l]||s(w,l,y),c[y]=h,m))for(g in r)w[g]||a(w,g,r[g],!0)}},ba92:function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),a=n("9def");t.exports=[].copyWithin||function(t,e){var n=r(this),o=a(n.length),s=i(t,o),c=i(e,o),u=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===u?o:i(u,o))-c,o-s),l=1;c<s&&s<c+f&&(l=-1,c+=f-1,s+=f-1);while(f-- >0)c in n?n[s]=n[c]:delete n[s],s+=l,c+=l;return n}},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"),a=n("77f1");t.exports=function(t){return function(e,n,o){var s,c=r(e),u=i(c.length),f=a(o,u);if(t&&n!=n){while(u>f)if(s=c[f++],s!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[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"),a=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=o(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"),a.Arguments=a.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"),a=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=o&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~a(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("63d9"),n("9c29"),n("55dd"),n("f751");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 a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}var o=3,s=.3,c=function(){function t(){r(this,t),this.data={treeReady:!1,candlesBinary:[],candlesParsed:[],averageBinary:[],averageParsed:[],firstEntry:0,lastResolution:0,start:null,end:null,width:null,last:{offset:0,end:0,resolution:0},tree:[]},this.params={empty:!1,candleWidths:[],defaultExposition:2592e3,fileSizes:{},firstPoints:{},resolutions:[],firstTimestamps:{},packetSize:0,dataRequestPending:!1,isInitialLoading:!0,needDropData:!1},this.requestInitialParams()}return a(t,[{key:"resetData",value:function(){Object.assign(this.data,{treeReady:!1,candlesBinary:[],candlesParsed:[],averageBinary:[],averageParsed:[],firstEntry:0,lastResolution:0,start:null,end:null,width:null,last:{offset:0,end:0,resolution:0},tree:[]}),Object.assign(this.params,{dataRequestPending:!1,isInitialLoading:!0,fileSizes:{},firstPoints:{},firstTimestamps:{},resolutions:[],empty:!1})}},{key:"requestInitialParams",value:function(){this.sendMessage("REQUEST_PARAMS",{inner:["candleWidths"],outer:["fileSizes","firstPoints","resolutions","packetSize"]})}},{key:"initialLoading",value:function(t){var e=this.params.fileSizes[t],n=0;this.params.isInitialLoading=!0,this.requestData(n,e-1,t)}},{key:"rebaseOffset",value:function(t,e){var n=this.params.fileSizes[e];return t<0||isNaN(t)?0:t>n-1?n-1:t}},{key:"rebaseEnd",value:function(t,e){return t>this.params.fileSizes[e]?this.params.fileSizes[e]:t}},{key:"append",value:function(t){this.data.treeReady=!1,this.params.dataRequestPending=!1,this.appendedData=["candleData"],this.data.candlesBinary=t.slice(0),this.data.candlesParsed.splice(0),this.params.needDropData&&(this.params.needDropData=!1),this.data.candlesParsed=this.data.candlesParsed.concat(this.parseChartData(this.data.candlesBinary)).sort(function(t,e){return t.timestamp-e.timestamp}),!0===this.params.isInitialLoading&&(this.appendedData.push("averageData"),this.data.averageBinary=t.slice(0),this.data.averageParsed=this.data.candlesParsed.slice(0),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.candlesParsed.length>0&&(this.data.start=this.data.candlesParsed[0].timestamp,this.data.end=this.data.candlesParsed[this.data.candlesParsed.length-1].timestamp,this.params.candleWidths.map(function(e){t.data.tree[e]=[];var n=null;t.data.candlesParsed.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/o,r=null,i=0;return this.params.candleWidths.map(function(e){if(r){var a=Math.abs(Math.round(n-t/e));a<i&&(i=a,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:"convertTimestampToPackage",value:function(t,e){return Math.ceil(t/e)*this.params.packetSize}},{key:"convertOffsetToPackage",value:function(t,e){var n=this.params.firstTimestamps[e]||(new Date).getTime()/1e3-this.params.fileSizes[e]/this.params.packetSize*e,r=t-n,i=this.convertTimestampToPackage(r,e);return this.rebaseOffset(i,e)}},{key:"convertEndToPackage",value:function(t,e){var n=this.params.fileSizes[e],r=this.params.firstTimestamps[e]+(n-this.params.packetSize)/this.params.packetSize*e||(new Date).getTime()/1e3,i=this.convertTimestampToPackage(r-t,e);return this.rebaseEnd(n-i,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:[]},a=this.findCandleWidthForUse(e,n),o=n/e;i.width=a*o;var c=this.data.tree[a],u=0;if(c&&this.data.lastResolution===a){var f=c.length;t>this.data.start&&(u=-Math.floor((t-this.data.start)/a));for(var l=-u;l<f;l++){var h=c[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=c.length);var d=0;d=i.high!==i.low?r/(i.high-i.low):r/(1.1*i.high-i.low);var p=0;i.maxVolume>0&&(p=r*s/i.maxVolume);for(var v=a*o*.25,g=u;g<f;g++){var y=c[g],m=(y.timestamp-t)*o,b="M".concat(m," ").concat((i.high-y.low)*d," L").concat(m," ").concat((i.high-y.high)*d," "),w="M".concat(m-v," ").concat((i.high-y.close)*d,"\\n L").concat(m+v," ").concat((i.high-y.close)*d,"\\n L").concat(m+v," ").concat((i.high-y.open)*d,"\\n L").concat(m-v," ").concat((i.high-y.open)*d),P=Object.assign({},y);y.open<=y.close?(P.class="positive",P.candlePathIndex=i.candlesPositivePath.push(b+w)-1):(P.class="negative",P.candlePathIndex=i.candlesNegativePath.push(b+w)-1),P.volumePathIndex=i.volumePath.push("M".concat(m-v," ").concat(r-y.volume*p,"\\n L").concat(m+v," ").concat(r-y.volume*p,"\\n L").concat(m+v," ").concat(r,"\\n L").concat(m-v," ").concat(r))-1,P.x=m,i.candles.push(P)}}if(!this.params.isInitialLoading&&t>1&&(this.data.start>t||this.data.end<t+e||!c||this.data.lastResolution!==a)){var S=this.findAvailableResolution(a);S&&this.requestData(this.convertOffsetToPackage(t,S),this.convertEndToPackage(t+e,S)-1,S)}this.data.lastResolution!==a&&(this.params.needDropData=!0),this.data.lastResolution=a,this.sendMessage("RENDERED",{type:"candles",data:i})}},{key:"returnEmptyData",value:function(){this.sendMessage("RENDERED",{type:"candles",data:{candles:[],candlesPositivePath:[],candlesNegativePath:[],volumePath:[]}}),this.sendMessage("RENDERED",{type:"average",data:{minTimestamp:0,path:[]}})}},{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-86400,maxTimestamp:this.data.averageParsed[n-1].timestamp,path:[]},a=this.data.averageParsed.slice(0).sort(function(t,e){return t.average-e.average}),o=a[n-1].average,s=a[0].average,c=0;o!==s&&(c=e/(o-s)),i.path.push("M0 ".concat(c*(o-this.data.averageParsed[0].average)));for(var u=1;u<n;u++)i.path.push("L".concat(r*u," ").concat(c*(o-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;!this.params.dataRequestPending&&e>0&&(this.data.last.offset!==t||this.data.last.end!==e||this.data.last.resolution!==n)&&(this.params.dataRequestPending=!0,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){t.candleWidths&&!this.isCandleWidthsTheSame(t.candleWidths)&&Object.assign(this.data,{treeReady:!1,candlesBinary:[],candlesParsed:[],firstEntry:0,lastResolution:0,start:null,width:null,tree:[],last:{offset:0,end:0,resolution:0}}),Object.assign(this.params,t)}},{key:"isCandleWidthsTheSame",value:function(t){for(var e=0,n=t.length;e<n;e++)if(-1===this.params.candleWidths.indexOf(t[e]))return!1;return!0}},{key:"messageHandler",value:function(t){switch(t.data.task){case"SET_PARAMS":if(this.setParams(t.data.params),t.data.params.fileSizes&&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){if(this.params.firstPoints&&Object.keys(this.params.firstPoints).length)for(var e in this.params.firstPoints)this.params.firstTimestamps[e]=this.parseEntity(this.params.firstPoints[e]).timestamp;this.initialLoading(this.params.resolutions[this.params.resolutions.length-1])}else!this.data.averageParsed.length&&Object.keys(this.params.fileSizes).length>0&&this.params.resolutions.length>0&&0===this.params.fileSizes[this.params.resolutions[this.params.resolutions.length-1]]&&this.sendMessage("EMPTY");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}break;case"RELOAD":this.returnEmptyData(),this.params.empty=!1,this.resetData(),this.requestInitialParams();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 c;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"),a=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[a],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),a=n("2b4c")(