forked from bombastictranz/bitcoin
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathf398e793b4d39dfc22b9.js.download
1 lines (1 loc) · 363 KB
/
f398e793b4d39dfc22b9.js.download
1
/*!For license information please see ../LICENSES*/(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{1001:function(t,e,r){},1003:function(t,e,r){},1008:function(t,e,r){},1011:function(t,e,r){},1012:function(t,e,r){},1053:function(t,e,r){},1054:function(t,e,r){},1055:function(t,e,r){},1058:function(t,e,r){},1063:function(t,e,r){},1066:function(t,e,r){},1068:function(t,e,r){},1070:function(t,e,r){},1072:function(t,e,r){},1073:function(t,e,r){},1074:function(t,e,r){},1106:function(t,e,r){},1107:function(t,e,r){},111:function(t,e,r){"use strict";r.d(e,"e",(function(){return o})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return l})),r.d(e,"d",(function(){return h})),r.d(e,"c",(function(){return f}));var n=1;r(40).a.hasGlobalWindow&&(n=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=n,c=.4,l="#333",h="#ccc",f="#eee"},1125:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(63),o=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,r){return this._doTrack(t,e,r),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,r){var o=t.touches;if(o){for(var c={points:[],touches:[],target:e,event:t},i=0,l=o.length;i<l;i++){var h=o[i],f=n.b(r,h,{});c.points.push([f.zrX,f.zrY]),c.touches.push(h)}this._track.push(c)}},t.prototype._recognize=function(t){for(var e in l)if(l.hasOwnProperty(e)){var r=l[e](this._track,t);if(r)return r}},t}();function c(t){var e=t[1][0]-t[0][0],r=t[1][1]-t[0][1];return Math.sqrt(e*e+r*r)}var l={pinch:function(t,e){var r=t.length;if(r){var n,o=(t[r-1]||{}).points,l=(t[r-2]||{}).points||o;if(l&&l.length>1&&o&&o.length>1){var h=c(o)/c(l);!isFinite(h)&&(h=1),e.pinchScale=h;var f=[((n=o)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=f[0],e.pinchY=f[1],{type:"pinch",target:t[0].target,event:e}}}}}},1133:function(t,e,r){"use strict";var n=Math.round(9*Math.random()),o="function"==typeof Object.defineProperty,c=function(){function t(){this._id="__ec_inner_"+n++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var r=this._guard(t);return o?Object.defineProperty(r,this._id,{value:e,enumerable:!1,configurable:!0}):r[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}();e.a=c},114:function(t,e,r){"use strict";var n=r(29),o=r(45),c=r(111),l=r(215),h=r(41),f={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},d=[],v=[],m=[],y=[],_=[],w=[],x=Math.min,O=Math.max,C=Math.cos,S=Math.sin,k=Math.abs,j=Math.PI,P=2*j,T="undefined"!=typeof Float32Array,D=[];function L(t){return Math.round(t/j*1e8)/1e8%2*j}var $=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,r){(r=r||0)>0&&(this._ux=k(r/c.e/t)||0,this._uy=k(r/c.e/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(f.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var r=k(t-this._xi),n=k(e-this._yi),o=r>this._ux||n>this._uy;if(this.addData(f.L,t,e),this._ctx&&o&&this._ctx.lineTo(t,e),o)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var c=r*r+n*n;c>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=c)}return this},t.prototype.bezierCurveTo=function(t,e,r,n,o,c){return this._drawPendingPt(),this.addData(f.C,t,e,r,n,o,c),this._ctx&&this._ctx.bezierCurveTo(t,e,r,n,o,c),this._xi=o,this._yi=c,this},t.prototype.quadraticCurveTo=function(t,e,r,n){return this._drawPendingPt(),this.addData(f.Q,t,e,r,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,n),this._xi=r,this._yi=n,this},t.prototype.arc=function(t,e,r,n,o,c){this._drawPendingPt(),D[0]=n,D[1]=o,function(t,e){var r=L(t[0]);r<0&&(r+=P);var n=r-t[0],o=t[1];o+=n,!e&&o-r>=P?o=r+P:e&&r-o>=P?o=r-P:!e&&r>o?o=r+(P-L(r-o)):e&&r<o&&(o=r-(P-L(o-r))),t[0]=r,t[1]=o}(D,c),n=D[0];var l=(o=D[1])-n;return this.addData(f.A,t,e,r,r,n,l,0,c?0:1),this._ctx&&this._ctx.arc(t,e,r,n,o,c),this._xi=C(o)*r+t,this._yi=S(o)*r+e,this},t.prototype.arcTo=function(t,e,r,n,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,n,o),this},t.prototype.rect=function(t,e,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,n),this.addData(f.R,t,e,r,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(f.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(data){var t=data.length;this.data&&this.data.length===t||!T||(this.data=new Float32Array(t));for(var i=0;i<t;i++)this.data[i]=data[i];this._len=t},t.prototype.appendPath=function(path){path instanceof Array||(path=[path]);for(var t=path.length,e=0,r=this._len,i=0;i<t;i++)e+=path[i].len();T&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+e));for(i=0;i<t;i++)for(var n=path[i].data,o=0;o<n.length;o++)this.data[r++]=n[o];this._len=r},t.prototype.addData=function(t,a,b,e,r,n,o,g,c){if(this._saveData){var data=this.data;this._len+arguments.length>data.length&&(this._expandData(),data=this.data);for(var i=0;i<arguments.length;i++)data[this._len++]=arguments[i]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],i=0;i<this._len;i++)t[i]=this.data[i];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var data=this.data;data instanceof Array&&(data.length=this._len,T&&this._len>11&&(this.data=new Float32Array(data)))}},t.prototype.getBoundingRect=function(){m[0]=m[1]=_[0]=_[1]=Number.MAX_VALUE,y[0]=y[1]=w[0]=w[1]=-Number.MAX_VALUE;var i,data=this.data,t=0,e=0,r=0,c=0;for(i=0;i<this._len;){var h=data[i++],d=1===i;switch(d&&(r=t=data[i],c=e=data[i+1]),h){case f.M:t=r=data[i++],e=c=data[i++],_[0]=r,_[1]=c,w[0]=r,w[1]=c;break;case f.L:Object(l.c)(t,e,data[i],data[i+1],_,w),t=data[i++],e=data[i++];break;case f.C:Object(l.b)(t,e,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],_,w),t=data[i++],e=data[i++];break;case f.Q:Object(l.e)(t,e,data[i++],data[i++],data[i],data[i+1],_,w),t=data[i++],e=data[i++];break;case f.A:var v=data[i++],x=data[i++],O=data[i++],k=data[i++],j=data[i++],P=data[i++]+j;i+=1;var T=!data[i++];d&&(r=C(j)*O+v,c=S(j)*k+x),Object(l.a)(v,x,O,k,j,P,T,_,w),t=C(P)*O+v,e=S(P)*k+x;break;case f.R:r=t=data[i++],c=e=data[i++];var D=data[i++],L=data[i++];Object(l.c)(r,c,r+D,c+L,_,w);break;case f.Z:t=r,e=c}n.min(m,m,_),n.max(y,y,w)}return 0===i&&(m[0]=m[1]=y[0]=y[1]=0),new o.a(m[0],m[1],y[0]-m[0],y[1]-m[1])},t.prototype._calculateLength=function(){var data=this.data,t=this._len,e=this._ux,r=this._uy,n=0,o=0,c=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var d=this._pathSegLen,v=0,m=0,i=0;i<t;){var y=data[i++],_=1===i;_&&(c=n=data[i],l=o=data[i+1]);var w=-1;switch(y){case f.M:n=c=data[i++],o=l=data[i++];break;case f.L:var j=data[i++],T=($=data[i++])-o;(k(Y=j-n)>e||k(T)>r||i===t-1)&&(w=Math.sqrt(Y*Y+T*T),n=j,o=$);break;case f.C:var D=data[i++],L=data[i++],$=(j=data[i++],data[i++]),M=data[i++],E=data[i++];w=Object(h.d)(n,o,D,L,j,$,M,E,10),n=M,o=E;break;case f.Q:D=data[i++],L=data[i++],j=data[i++],$=data[i++];w=Object(h.k)(n,o,D,L,j,$,10),n=j,o=$;break;case f.A:var R=data[i++],A=data[i++],I=data[i++],N=data[i++],z=data[i++],B=data[i++],F=B+z;i+=1;data[i++];_&&(c=C(z)*I+R,l=S(z)*N+A),w=O(I,N)*x(P,Math.abs(B)),n=C(F)*I+R,o=S(F)*N+A;break;case f.R:c=n=data[i++],l=o=data[i++],w=2*data[i++]+2*data[i++];break;case f.Z:var Y=c-n;T=l-o;w=Math.sqrt(Y*Y+T*T),n=c,o=l}w>=0&&(d[m++]=w,v+=w)}return this._pathLen=v,v},t.prototype.rebuildPath=function(t,e){var r,n,o,c,l,m,y,_,w,j,P=this.data,T=this._ux,D=this._uy,L=this._len,$=e<1,M=0,E=0,R=0;if(!$||(this._pathSegLen||this._calculateLength(),y=this._pathSegLen,_=e*this._pathLen))t:for(var i=0;i<L;){var A=P[i++],I=1===i;switch(I&&(r=o=P[i],n=c=P[i+1]),A!==f.L&&R>0&&(t.lineTo(w,j),R=0),A){case f.M:r=o=P[i++],n=c=P[i++],t.moveTo(o,c);break;case f.L:l=P[i++],m=P[i++];var N=k(l-o),z=k(m-c);if(N>T||z>D){if($){if(M+(pt=y[E++])>_){var B=(_-M)/pt;t.lineTo(o*(1-B)+l*B,c*(1-B)+m*B);break t}M+=pt}t.lineTo(l,m),o=l,c=m,R=0}else{var F=N*N+z*z;F>R&&(w=l,j=m,R=F)}break;case f.C:var Y=P[i++],U=P[i++],H=P[i++],W=P[i++],V=P[i++],G=P[i++];if($){if(M+(pt=y[E++])>_){B=(_-M)/pt;Object(h.g)(o,Y,H,V,B,d),Object(h.g)(c,U,W,G,B,v),t.bezierCurveTo(d[1],v[1],d[2],v[2],d[3],v[3]);break t}M+=pt}t.bezierCurveTo(Y,U,H,W,V,G),o=V,c=G;break;case f.Q:Y=P[i++],U=P[i++],H=P[i++],W=P[i++];if($){if(M+(pt=y[E++])>_){B=(_-M)/pt;Object(h.n)(o,Y,H,B,d),Object(h.n)(c,U,W,B,v),t.quadraticCurveTo(d[1],v[1],d[2],v[2]);break t}M+=pt}t.quadraticCurveTo(Y,U,H,W),o=H,c=W;break;case f.A:var X=P[i++],K=P[i++],J=P[i++],Q=P[i++],Z=P[i++],tt=P[i++],et=P[i++],nt=!P[i++],it=J>Q?J:Q,at=k(J-Q)>.001,ot=Z+tt,st=!1;if($)M+(pt=y[E++])>_&&(ot=Z+tt*(_-M)/pt,st=!0),M+=pt;if(at&&t.ellipse?t.ellipse(X,K,J,Q,et,Z,ot,nt):t.arc(X,K,it,Z,ot,nt),st)break t;I&&(r=C(Z)*J+X,n=S(Z)*Q+K),o=C(ot)*J+X,c=S(ot)*Q+K;break;case f.R:r=o=P[i],n=c=P[i+1],l=P[i++],m=P[i++];var ct=P[i++],lt=P[i++];if($){if(M+(pt=y[E++])>_){var ut=_-M;t.moveTo(l,m),t.lineTo(l+x(ut,ct),m),(ut-=ct)>0&&t.lineTo(l+ct,m+x(ut,lt)),(ut-=lt)>0&&t.lineTo(l+O(ct-ut,0),m+lt),(ut-=ct)>0&&t.lineTo(l,m+O(lt-ut,0));break t}M+=pt}t.rect(l,m,ct,lt);break;case f.Z:if($){var pt;if(M+(pt=y[E++])>_){B=(_-M)/pt;t.lineTo(o*(1-B)+r*B,c*(1-B)+n*B);break t}M+=pt}t.closePath(),o=r,c=n}}},t.prototype.clone=function(){var e=new t,data=this.data;return e.data=data.slice?data.slice():Array.prototype.slice.call(data),e._len=this._len,e},t.CMD=f,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();e.a=$},1147:function(t,e,r){"use strict";var n=r(6),o=r(0),c=r(89),l=r(112),h=r(104),f=r(28),d=r(321),v=r(259),m=r(325),y=r(209),_=!0,w=Math.min,x=Math.max,O=Math.pow,C="globalPan",S={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},k={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},j={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},P=0,T=function(t){function e(e){var r=t.call(this)||this;return r._track=[],r._covers=[],r._handlers={},r._zr=e,r.group=new l.a,r._uid="brushController_"+P++,Object(o.each)(it,(function(t,e){this._handlers[e]=Object(o.bind)(t,this)}),r),r}return Object(n.c)(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||m.c(e,C,this._uid),Object(o.each)(this._handlers,(function(t,r){e.on(r,t)})),this._brushType=t.brushType,this._brushOption=Object(o.merge)(Object(o.clone)(j),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;m.b(t,C,this._uid),Object(o.each)(this._handlers,(function(e,r){t.off(r,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};Object(o.each)(t,(function(t){e[t.panelId]=Object(o.clone)(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=Object(o.map)(t,(function(t){return Object(o.merge)(Object(o.clone)(j),t,!0)}));var e=this._covers,r=this._covers=[],n=this,c=this._creatingCover;return new y.a(e,t,(function(t,e){return l(t.__brushOption,e)}),l).add(h).update(h).remove((function(t){e[t]!==c&&n.group.remove(e[t])})).execute(),this;function l(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function h(o,l){var h=t[o];if(null!=l&&e[l]===c)r[o]=e[l];else{var f=r[o]=null!=l?(e[l].__brushOption=h,e[l]):L(n,D(n,h));E(n,f)}}},e.prototype.unmount=function(){return this.enableBrush(!1),N(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(c.a);function D(t,e){var r=ot[e.brushType].createCover(t,e);return r.__brushOption=e,M(r,e),t.group.add(r),r}function L(t,e){var r=R(e);return r.endCreating&&(r.endCreating(t,e),M(e,e.__brushOption)),e}function $(t,e){var r=e.__brushOption;R(e).updateCoverShape(t,e,r.range,r)}function M(t,e){var r=e.z;null==r&&(r=1e4),t.traverse((function(t){t.z=r,t.z2=r}))}function E(t,e){R(e).updateCommon(t,e),$(t,e)}function R(t){return ot[t.__brushOption.brushType]}function A(t,e,r){var n,c=t._panels;if(!c)return _;var l=t._transform;return Object(o.each)(c,(function(t){t.isTargetByCursor(e,r,l)&&(n=t)})),n}function I(t,e){var r=t._panels;if(!r)return _;var n=e.__brushOption.panelId;return null!=n?r[n]:_}function N(t){var e=t._covers,r=e.length;return Object(o.each)(e,(function(e){t.group.remove(e)}),t),e.length=0,!!r}function z(t,e){var r=Object(o.map)(t._covers,(function(t){var e=t.__brushOption,r=Object(o.clone)(e.range);return{brushType:e.brushType,panelId:e.panelId,range:r}}));t.trigger("brush",{areas:r,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function B(track){var t=track.length-1;return t<0&&(t=0),[track[0],track[t]]}function F(t,e,r,n){var c=new l.a;return c.add(new h.a({name:"main",style:W(r),silent:!0,draggable:!0,cursor:"move",drift:Object(o.curry)(X,t,e,c,["n","s","w","e"]),ondragend:Object(o.curry)(z,e,{isEnd:!0})})),Object(o.each)(n,(function(r){c.add(new h.a({name:r.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(o.curry)(X,t,e,c,r),ondragend:Object(o.curry)(z,e,{isEnd:!0})}))})),c}function Y(t,e,r,n){var o=n.brushStyle.lineWidth||0,c=x(o,6),l=r[0][0],h=r[1][0],f=l-o/2,d=h-o/2,v=r[0][1],m=r[1][1],y=v-c+o/2,_=m-c+o/2,w=v-l,O=m-h,C=w+o,S=O+o;H(t,e,"main",l,h,w,O),n.transformable&&(H(t,e,"w",f,d,c,S),H(t,e,"e",y,d,c,S),H(t,e,"n",f,d,C,c),H(t,e,"s",f,_,C,c),H(t,e,"nw",f,d,c,c),H(t,e,"ne",y,d,c,c),H(t,e,"sw",f,_,c,c),H(t,e,"se",y,_,c,c))}function U(t,e){var r=e.__brushOption,n=r.transformable,c=e.childAt(0);c.useStyle(W(r)),c.attr({silent:!n,cursor:n?"move":"default"}),Object(o.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(r){var o=e.childOfName(r.join("")),c=1===r.length?G(t,r[0]):function(t,e){var r=[G(t,e[0]),G(t,e[1])];return("e"===r[0]||"w"===r[0])&&r.reverse(),r.join("")}(t,r);o&&o.attr({silent:!n,invisible:!n,cursor:n?k[c]+"-resize":null})}))}function H(t,e,r,n,o,c,l){var h,f,d,v,m,y=e.childOfName(r);y&&y.setShape((h=Q(t,e,[[n,o],[n+c,o+l]]),f=w(h[0][0],h[1][0]),d=w(h[0][1],h[1][1]),v=x(h[0][0],h[1][0]),m=x(h[0][1],h[1][1]),{x:f,y:d,width:v-f,height:m-d}))}function W(t){return Object(o.defaults)({strokeNoScale:!0},t.brushStyle)}function V(t,e,r,n){var o=[w(t,r),w(e,n)],c=[x(t,r),x(e,n)];return[[o[0],c[0]],[o[1],c[1]]]}function G(t,e){var r=f.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return f.getTransform(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[r]}function X(t,e,r,n,c,l){var h=r.__brushOption,f=t.toRectRange(h.range),d=J(e,c,l);Object(o.each)(n,(function(t){var e=S[t];f[e[0]][e[1]]+=d[e[0]]})),h.range=t.fromRectRange(V(f[0][0],f[1][0],f[0][1],f[1][1])),E(e,r),z(e,{isEnd:!1})}function K(t,e,r,n){var c=e.__brushOption.range,l=J(t,r,n);Object(o.each)(c,(function(t){t[0]+=l[0],t[1]+=l[1]})),E(t,e),z(t,{isEnd:!1})}function J(t,e,r){var n=t.group,o=n.transformCoordToLocal(e,r),c=n.transformCoordToLocal(0,0);return[o[0]-c[0],o[1]-c[1]]}function Q(t,e,data){var r=I(t,e);return r&&r!==_?r.clipPath(data,t._transform):Object(o.clone)(data)}function Z(t){var e=t.event;e.preventDefault&&e.preventDefault()}function tt(t,e,r){return t.childOfName("main").contain(e,r)}function et(t,e,r,n){var c,l=t._creatingCover,h=t._creatingPanel,f=t._brushOption;if(t._track.push(r.slice()),function(t){var track=t._track;if(!track.length)return!1;var e=track[track.length-1],r=track[0],n=e[0]-r[0],o=e[1]-r[1];return O(n*n+o*o,.5)>6}(t)||l){if(h&&!l){"single"===f.brushMode&&N(t);var d=Object(o.clone)(f);d.brushType=nt(d.brushType,h),d.panelId=h===_?null:h.panelId,l=t._creatingCover=D(t,d),t._covers.push(l)}if(l){var v=ot[nt(t._brushType,h)];l.__brushOption.range=v.getCreatingRange(Q(t,l,t._track)),n&&(L(t,l),v.updateCommon(t,l)),$(t,l),c={isEnd:n}}}else n&&"single"===f.brushMode&&f.removeOnClick&&A(t,e,r)&&N(t)&&(c={isEnd:n,removeOnClick:!0});return c}function nt(t,e){return"auto"===t?e.defaultBrushType:t}var it={mousedown:function(t){if(this._dragging)at(this,t);else if(!t.target||!t.target.draggable){Z(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=A(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,r=t.offsetY,n=this.group.transformCoordToLocal(e,r);if(function(t,e,r){if(t._brushType&&!function(t,e,r){var n=t._zr;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}(t,e.offsetX,e.offsetY)){var n=t._zr,o=t._covers,c=A(t,e,r);if(!t._dragging)for(var i=0;i<o.length;i++){var l=o[i].__brushOption;if(c&&(c===_||l.panelId===c.panelId)&&ot[l.brushType].contain(o[i],r[0],r[1]))return}c&&n.setCursorStyle("crosshair")}}(this,t,n),this._dragging){Z(t);var o=et(this,t,n,!1);o&&z(this,o)}},mouseup:function(t){at(this,t)}};function at(t,e){if(t._dragging){Z(e);var r=e.offsetX,n=e.offsetY,o=t.group.transformCoordToLocal(r,n),c=et(t,e,o,!0);t._dragging=!1,t._track=[],t._creatingCover=null,c&&z(t,c)}}var ot={lineX:st(0),lineY:st(1),rect:{createCover:function(t,e){function r(t){return t}return F({toRectRange:r,fromRectRange:r},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=B(t);return V(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,r,n){Y(t,e,r,n)},updateCommon:U,contain:tt},polygon:{createCover:function(t,e){var r=new l.a;return r.add(new d.a({name:"main",style:W(e),silent:!0})),r},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new v.a({name:"main",draggable:!0,drift:Object(o.curry)(K,t,e),ondragend:Object(o.curry)(z,t,{isEnd:!0})}))},updateCoverShape:function(t,e,r,n){e.childAt(0).setShape({points:Q(t,e,r)})},updateCommon:U,contain:tt}};function st(t){return{createCover:function(e,r){return F({toRectRange:function(e){var r=[e,[0,100]];return t&&r.reverse(),r},fromRectRange:function(e){return e[t]}},e,r,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var r=B(e);return[w(r[0][t],r[1][t]),x(r[0][t],r[1][t])]},updateCoverShape:function(e,r,n,o){var c,l=I(e,r);if(l!==_&&l.getLinearBrushOtherExtent)c=l.getLinearBrushOtherExtent(t);else{var h=e._zr;c=[0,[h.getWidth(),h.getHeight()][1-t]]}var f=[n,c];t&&f.reverse(),Y(e,r,f,o)},updateCommon:U,contain:tt}}e.a=T},1154:function(t,e,r){"use strict";var n=r(6),o=r(89),c=r(63),l=r(325),h=r(0),f=function(t){function e(e){var r=t.call(this)||this;r._zr=e;var n=Object(h.bind)(r._mousedownHandler,r),o=Object(h.bind)(r._mousemoveHandler,r),c=Object(h.bind)(r._mouseupHandler,r),l=Object(h.bind)(r._mousewheelHandler,r),f=Object(h.bind)(r._pinchHandler,r);return r.enable=function(t,r){this.disable(),this._opt=Object(h.defaults)(Object(h.clone)(r)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",o),e.on("mouseup",c)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",l),e.on("pinch",f))},r.disable=function(){e.off("mousedown",n),e.off("mousemove",o),e.off("mouseup",c),e.off("mousewheel",l),e.off("pinch",f)},r}return Object(n.c)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(c.d(t)||t.target&&t.target.draggable)){var e=t.offsetX,r=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,r)&&(this._x=e,this._y=r,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&m("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!l.a(this._zr,"globalPan")){var e=t.offsetX,r=t.offsetY,n=this._x,o=this._y,h=e-n,f=r-o;this._x=e,this._y=r,this._opt.preventDefaultMouseMove&&c.g(t.event),v(this,"pan","moveOnMouseMove",t,{dx:h,dy:f,oldX:n,oldY:o,newX:e,newY:r,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){c.d(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=m("zoomOnMouseWheel",t,this._opt),r=m("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,o=Math.abs(n),c=t.offsetX,l=t.offsetY;if(0!==n&&(e||r)){if(e){var h=o>3?1.4:o>1?1.2:1.1;d(this,"zoom","zoomOnMouseWheel",t,{scale:n>0?h:1/h,originX:c,originY:l,isAvailableBehavior:null})}if(r){var f=Math.abs(n);d(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(n>0?1:-1)*(f>3?.4:f>1?.15:.05),originX:c,originY:l,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){l.a(this._zr,"globalPan")||d(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(o.a);function d(t,e,r,n,o){t.pointerChecker&&t.pointerChecker(n,o.originX,o.originY)&&(c.g(n.event),v(t,e,r,n,o))}function v(t,e,r,n,o){o.isAvailableBehavior=Object(h.bind)(m,null,r,n),t.trigger(e,o)}function m(t,e,r){var n=r[t];return!t||n&&(!Object(h.isString)(n)||e.event[n+"Key"])}e.a=f},1200:function(t,e,r){"use strict";r.r(e);var n=r(4),o=r(2),c=(r(14),r(47),r(54),r(8),r(121),r(49),r(51),r(17),r(11),r(13),r(12),r(15),r(10),r(16),r(1201)),l=r(311),h=r(233),f=r(1202),d=r(463),v=r(1203),m=r(204);function y(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?y(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w={name:"CryptoCurrencies",components:{CurrencyRecommend:l.default,CurrencyDescribe:c.default,TiTag:h.default,TiExchange:f.default,TiEcosystem:d.default,TiLargerSmaller:v.default,Tabs:m.default},middleware:function(t){var e=t.from,r=t.store;e&&e.path&&(e.path.includes("coin")||r.dispatch("cyptocurrebcies/initCureent"))},asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var r,n,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.store,n=t.i18n,o=n.locale,c=r.dispatch,e.next=5,Promise.allSettled([c("getBanner",o),c("getExchanges",o)]);case 5:case"end":return e.stop()}}),e)})))()},data:function(){return{columns:[{name:this.$t("currencyColumns.portfolios"),link:"/cryptocurrencies/portfolios"},{name:this.$t("currencyColumns.watchlist"),link:"/cryptocurrencies/watchlist"},{name:this.$t("currencyColumns.all"),link:"/cryptocurrencies"},{name:this.$t("currencyColumns.newlyList"),link:"/cryptocurrencies/newly-listed"},{name:this.$t("currencyColumns.gainersLosers"),link:"/cryptocurrencies/gainers-losers",hideOther:!0}],hideRecommend:!1}},computed:{showFilters:function(){return this.$route.path!==this.localePath("/cryptocurrencies/portfolios")&&this.$route.path!==this.localePath("/cryptocurrencies/portfolios")+"/"&&this.$route.path!==this.localePath("/cryptocurrencies/gainers-losers")&&this.$route.path!==this.localePath("/cryptocurrencies/gainers-losers")+"/"}},watch:{$route:{immediate:!0,handler:function(t){"cryptocurrencies-portfolios"===t.name.split("__")[0]?this.hideRecommend=!0:this.hideRecommend=!1}}},methods:{handleVolChange:function(t,e){this.addVolQuery(t,e)},handleMarketCapChange:function(t,e){this.addmktCapQuery(t,e)},addVolQuery:function(t,e){if(t&&!e){var r=JSON.parse(JSON.stringify(this.$route.query));r.page&&(r=_(_({},r),{},{page:1})),this.$router.push({query:_(_({},r),{},{vol:t+","})})}else if(!t&&e){var n=JSON.parse(JSON.stringify(this.$route.query));n.page&&(n=_(_({},n),{},{page:1})),this.$router.push({query:_(_({},n),{},{vol:","+e})})}else if(t&&e){var o=JSON.parse(JSON.stringify(this.$route.query));o.page&&(o=_(_({},o),{},{page:1})),this.$router.push({query:_(_({},o),{},{vol:t+","+e})})}else{var c=JSON.parse(JSON.stringify(this.$route.query));delete c.vol,c.page&&(c=_(_({},c),{},{page:1})),this.$router.push({query:c})}},addmktCapQuery:function(t,e){if(t&&!e){var r=JSON.parse(JSON.stringify(this.$route.query));r.page&&(r=_(_({},r),{},{page:1})),this.$router.push({query:_(_({},r),{},{mktCap:t+","})})}else if(!t&&e){var n=JSON.parse(JSON.stringify(this.$route.query));n.page&&(n=_(_({},n),{},{page:1})),this.$router.push({query:_(_({},n),{},{mktCap:","+e})})}else if(t&&e){var o=JSON.parse(JSON.stringify(this.$route.query));o.page&&(o=_(_({},o),{},{page:1})),this.$router.push({query:_(_({},o),{},{mktCap:t+","+e})})}else{var c=JSON.parse(JSON.stringify(this.$route.query));delete c.mktCap,c.page&&(c=_(_({},c),{},{page:1})),this.$router.push({query:c})}}}},x=(r(1572),r(1)),component=Object(x.a)(w,(function(){var t=this,e=t._self._c;return e("div",{staticStyle:{"padding-top":"20px"}},[e("currency-recommend",{directives:[{name:"show",rawName:"v-show",value:!t.hideRecommend,expression:"!hideRecommend"}]}),t._v(" "),e("currency-describe"),t._v(" "),e("Tabs",{attrs:{columns:t.columns}}),t._v(" "),t.showFilters?e("div",{staticClass:"filter-wrapper"},[e("div",{staticClass:"inner-wrapper"},[e("TiEcosystem"),t._v(" "),e("TiTag",{attrs:{name:"currencyTagsList"}}),t._v(" "),e("TiExchange"),t._v(" "),e("TiLargerSmaller",{attrs:{value:t.$route.query.vol,text:t.$t("cryptocurrencies.volume24")},on:{change:t.handleVolChange}}),t._v(" "),e("TiLargerSmaller",{attrs:{value:t.$route.query.mktCap,text:t.$t("coinDetail.marketCap")},on:{change:t.handleMarketCapChange}})],1)]):t._e(),t._v(" "),e("nuxt-child")],1)}),[],!1,null,"af7b937c",null);e.default=component.exports;installComponents(component,{Tabs:r(204).default})},1208:function(t,e,r){"use strict";r.r(e);r(26),r(194),r(17),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(122),r(11),r(5)),l=r(125),h=r.n(l),f=r(113),d=r.n(f),v=r(327),m=r.n(v),y=r(162),_=r(57);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function x(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var O={name:"AddCoin",components:{popup:y.default},props:{value:{type:Boolean,default:!1}},data:function(){return{visible:!1,search:"",list:[],timeQueue:{},isEmpty:!1,loading:!1}},computed:x({},Object(c.c)({portfolioId:"portfolio/portfolioId"})),watch:{visible:function(t){t||(this.search="",this.getCoins())}},mounted:function(){this.getCoins()},methods:x(x({},Object(c.b)({getProtfolioTable:"portfolio/getProtfolioTable"})),{},{changeSearch:d()((function(t){this.getCoins()}),300),getCoins:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,data,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,r=(new Date).getTime(),t.isEmpty=!1,e.prev=3,n={keyWord:t.search,portfolioId:t.portfolioId},e.next=7,t.$request.post(_.a.search,n);case 7:0===(o=e.sent).code&&(data=o.data,t.timeQueue[r]={list:m()(data)},(c=Object.keys(t.timeQueue).sort((function(a,b){return b-a}))).length>1&&!h()(t.timeQueue[c[0]])?(t.list=t.timeQueue[c[0]].list,t.timeQueue={}):t.list=m()(data),h()(t.list)&&(t.isEmpty=!0)),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),console.log(e.t0);case 14:t.loading=!1;case 15:case"end":return e.stop()}}),e,null,[[3,11]])})))()},addCoin:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,e.$request.post(_.a.addCoin,{cids:t.cid,portfolioId:e.portfolioId});case 3:30===r.sent.code&&(t.exist=!0,e.getProtfolioTable()),r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),console.log(r.t0);case 10:case"end":return r.stop()}}),r,null,[[0,7]])})))()},showAddCoin:function(){this.visible=!0},close:function(){this.visible=!1}})},C=(r(1685),r(1)),component=Object(C.a)(O,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"add-coin-container",on:{click:t.showAddCoin}},[e("img",{attrs:{src:r(838),alt:""}}),t._v(" "),e("span",[t._v(t._s(t.$t("portfolios.addCoin")))])]),t._v(" "),e("popup",{model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("div",{staticClass:"add-coin-wrapper"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("portfolios.searchTitle")))]),t._v(" "),e("img",{staticClass:"close",attrs:{src:r(228),alt:""},on:{click:t.close}}),t._v(" "),e("el-input",{attrs:{placeholder:"Search","prefix-icon":"iconfont icon-search"},on:{input:t.changeSearch},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),t._v(" "),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[t.isEmpty?[e("div",{staticClass:"empty-wrapper"},[e("img",{attrs:{src:r(172),alt:""}})])]:e("ul",{staticClass:"coin-list"},t._l(t.list,(function(n,o){return e("li",{key:o,staticClass:"coin-item"},[e("div",{staticClass:"coin-detail"},[e("img",{staticClass:"logo",attrs:{src:n.imgUrl,alt:""}}),t._v(" "),e("div",{staticClass:"coins"},[e("span",{staticClass:"name"},[t._v(t._s(n.name))]),t._v(" "),e("span",{staticClass:"abbreviate"},[t._v("("+t._s(n.abbreviate)+")")])])]),t._v(" "),e("div",{staticClass:"add-coin-btn"},[e("span",{staticClass:"rank"},[t._v("#"+t._s(n.rank))]),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:!n.exist,expression:"!item.exist"}],staticClass:"icon",attrs:{src:r(836),alt:""},on:{click:function(e){return t.addCoin(n)}}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:n.exist,expression:"item.exist"}],staticClass:"icon",attrs:{src:r(837),alt:""}})])])})),0)],2)],1)])],1)}),[],!1,null,"c8e06878",null);e.default=component.exports},1209:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=(r(30),r(5)),c=r(461);function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function h(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var f={name:"PortfolioCards",data:function(){return{cardColor:c.a,isAct:!0}},computed:h({},Object(o.c)({portfolios:"portfolio/portfolios",portfolioId:"portfolio/portfolioId",desensitization:"portfolio/desensitization"})),methods:h(h(h({},Object(o.d)({setPortfolioId:"portfolio/setPortfolioId",setDesensitization:"portfolio/setDesensitization",setPortfolioItemDesensitization:"portfolio/setPortfolioItemDesensitization",setPortfolios:"portfolio/setPortfolios",setPortfolioName:"portfolio/setPortfolioName",setDetailVisible:"portfolio/setDetailVisible"})),Object(o.b)({getPortfolioDetail:"portfolio/getPortfolioDetail"})),{},{handleDesensitization:function(t){t.id===this.portfolioId&&(this.setPortfolioItemDesensitization(t.id),this.setDesensitization(t.desensitization))},selectCard:function(t){t.id!==this.portfolioId&&(this.isAct=!0,this.setPortfolioId(t.id),this.setPortfolioName(t.name),this.setDesensitization(!0),this.setPortfolios(this.portfolios.map((function(t){return h(h({},t),{},{desensitization:!0})}))))},openDetail:function(t){this.setDetailVisible(!0),t.id!==this.portfolioId&&(this.setPortfolios(this.portfolios.map((function(t){return h(h({},t),{},{desensitization:!0})}))),this.setDesensitization(!0)),this.setPortfolioName(t.name),this.setPortfolioId(t.id),this.getPortfolioDetail()}})},d=(r(1688),r(1)),component=Object(d.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"portfolio-wrapper"},t._l(t.portfolios,(function(n,o){return e("div",{key:o,staticClass:"portfolio-card",class:t.portfolioId===n.id?"w365":t.isAct?"w218":"",style:{background:t.cardColor[o]},on:{click:function(e){return t.selectCard(n)}}},[e("div",{staticClass:"portfolio-title"},[e("span",[t._v(t._s(n.name))]),t._v(" "),e("img",{attrs:{src:n.desensitization?r(545):r(546),alt:""},on:{click:function(e){return e.stopPropagation(),t.handleDesensitization(n)}}})]),t._v(" "),e("div",{staticClass:"portfolio-content"},[n.desensitization?e("span",{staticClass:"portfolio-value"},[t._v("***")]):e("span",{staticClass:"portfolio-value"},[t._v("\n "+t._s(t._f("priceFormat")(n.assets))+"\n ")]),t._v(" "),n.desensitization?e("span",{staticClass:"portfolio-value"},[t._v("***")]):e("span",{staticClass:"portfolio-change",class:n.assetsChange24h>0?"green":"red"},[t._v("\n "+t._s(t._f("percentageFormat")(n.assetsChange24h))+"\n ")])]),t._v(" "),e("div",{staticClass:"portfolio-pnl"},[e("span",{staticClass:"portfolio-pnl-title"},[t._v("PNL")]),t._v(" "),n.desensitization?e("span",{staticClass:"portfolio-pnl-value-desensitization"},[t._v("***")]):e("span",{staticClass:"portfolio-pnl-value",class:n.pnl>0?"green":"red"},[t._v("\n "+t._s(t._f("priceFormat")(n.pnl))+"\n ")])]),t._v(" "),e("img",{staticClass:"logo",attrs:{src:r(842),alt:""}}),t._v(" "),e("img",{staticClass:"arrow",attrs:{src:r(544),alt:""},on:{click:function(e){return t.openDetail(n)}}})])})),0)}),[],!1,null,"6e09db14",null);e.default=component.exports},1210:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=r(1689),c=r.n(o),l=r(642),h=r.n(l),f=r(1194),d=r.n(f),v=r(5),m=r(467),y=r(39),_=r(1211);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function x(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var O={name:"PortfolioTable",components:{Empty:y.default,EditHolding:_.default,DelHolding:m.default},filters:{fiveDecimals:function(t){return c()(h()(t))?d()(t).toLocaleString("en-US",{minimumFractionDigits:"0"}):d()(t,5).toLocaleString("en-US",{minimumFractionDigits:"5"})},isInfinity:function(t){return t===1/0||isNaN(t)?"-":t}},data:function(){return{currentRow:{},visible:!1,delVisible:!1}},computed:x({},Object(v.c)({list:"portfolio/list",tableLoading:"portfolio/tableLoading",desensitization:"portfolio/desensitization"})),methods:x(x({},Object(v.b)({getPortfolios:"portfolio/getPortfolios",getProtfolioTable:"portfolio/getProtfolioTable"})),{},{getPortfoliolUrl:function(t){return this.localePath("/coins/".concat(t.tid,"/overview"))},priceSort:function(a,b){var t=0,e=0;return a.price&&(t=a.price),b.price&&(e=b.price),parseFloat(t)-parseFloat(e)},pnlSort:function(a,b){var t=0,e=0;return a.pnl&&(t=a.pnl),b.pnl&&(e=b.pnl),parseFloat(t)-parseFloat(e)},h24Sort:function(a,b){var t=0,e=0;return a.change24h&&(t=a.change24h),b.change24h&&(e=b.change24h),parseFloat(t)-parseFloat(e)},d7Sort:function(a,b){var t=0,e=0;return a.changeSevend&&(t=a.changeSevend),b.changeSevend&&(e=b.changeSevend),parseFloat(t)-parseFloat(e)},assetsSort:function(a,b){var t=0,e=0;return a.assets&&(t=a.assets),b.assets&&(e=b.assets),parseFloat(t)-parseFloat(e)},edit:function(t){this.currentRow=t,this.visible=!0},del:function(t){this.currentRow=t,this.delVisible=!0},success:function(){this.getPortfolios(),this.getProtfolioTable()}})},C=(r(1694),r(1)),component=Object(C.a)(O,(function(){var t=this,e=t._self._c;return e("div",[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],attrs:{data:t.list,"header-cell-style":{background:"rgba(79, 38, 191, 0.06)"}}},[e("template",{slot:"empty"},[e("empty",{directives:[{name:"show",rawName:"v-show",value:!t.tableLoading&&0===t.list.length,expression:"!tableLoading && list.length === 0"}]})],1),t._v(" "),e("el-table-column",{attrs:{align:"center",label:"#",prop:"serial",width:"57"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(n.serial))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("portfolios.token"),width:"186"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("nuxt-link",{staticStyle:{"vertical-align":"middle"},attrs:{to:t.getPortfoliolUrl(n)}},[e("div",{staticClass:"token-cell"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:n.imgUrl,expression:"row.imgUrl"}],attrs:{src:n.imgUrl,alt:t._f("logoName")(n.name,n.abbreviate),title:t._f("logoName")(n.name,n.abbreviate)}}),t._v(" "),e("div",{staticClass:"token-cell-name"},[e("span",[t._v(t._s(n.name))]),t._v(" "),e("span",[t._v(t._s(n.abbreviate))])])])])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"currentPrice",label:"Price",sortable:"","sort-method":t.priceSort,align:"right",width:"148"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("nuxt-link",{staticStyle:{"vertical-align":"middle"},attrs:{to:t.getPortfoliolUrl(n)}},[e("span",{staticStyle:{color:"#171717"}},[t._v(t._s(t._f("priceFormat")(n.price)))])])]}}])},[e("template",{slot:"header"},[e("span",[t._v(t._s(t.$t("portfolios.price")))])])],2),t._v(" "),e("el-table-column",{attrs:{prop:"change24h",label:"24H",sortable:"","sort-method":t.h24Sort,align:"right",width:"94"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",{class:n.change24h>0?"green":"red"},[t._v(t._s(t._f("percentageFormat")(n.change24h)))])]}}])},[e("template",{slot:"header"},[e("span",[t._v("24H")])])],2),t._v(" "),e("el-table-column",{attrs:{prop:"changeSevend",label:"7D",sortable:"","sort-method":t.d7Sort,align:"right",width:"97"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",{class:n.changeSevend>0?"green":"red"},[t._v(t._s(t._f("percentageFormat")(n.changeSevend)))])]}}])},[e("template",{slot:"header"},[e("span",[t._v("7D")])])],2),t._v(" "),e("el-table-column",{attrs:{align:"center",label:t.$t("portfolios.pricePerCoin"),prop:"serial",width:"160"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(t._f("textDesensitization")(t._f("priceFormat")(n.pricePerCoin),t.desensitization)))])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"changeSevend",label:t.$t("portfolios.pnl"),sortable:"","sort-method":t.pnlSort,align:"right",width:"157"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",{class:n.pnl>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("priceFormat")(n.pnl),t.desensitization)))])]}}])},[e("template",{slot:"header"},[e("span",[t._v(t._s(t.$t("portfolios.pnl")))])])],2),t._v(" "),e("el-table-column",{attrs:{label:t.$t("portfolios.holdings"),sortable:"","sort-method":t.assetsSort,align:"right",width:"196"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.desensitization,expression:"!desensitization"}]},["0"!==n.numbers?[e("div",[e("span",[t._v(t._s(t._f("priceFormat")(n.assets)))]),t._v(" "),e("span",[t._v("("+t._s(t._f("constPercentageFormat")(t._f("isInfinity")(n.assetsProportion)))+")")])]),t._v(" "),e("span",[t._v(t._s(t._f("fiveDecimals")(n.numbers))+" "+t._s(n.abbreviate))])]:e("div",[t._v("-")])],2),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:t.desensitization,expression:"desensitization"}]},[t._v("***")])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right",label:t.$t("portfolios.edit"),width:"129"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("i",{staticClass:"iconfont icon-edit",on:{click:function(e){return e.stopPropagation(),t.edit(n)}}})]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"center",width:"86"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.row;return[e("img",{staticClass:"img-delate",attrs:{src:r(840),alt:"del"},on:{click:function(e){return e.stopPropagation(),t.del(o)}}})]}}])})],2),t._v(" "),e("edit-holding",{attrs:{row:t.currentRow},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}}),t._v(" "),e("del-holding",{attrs:{row:t.currentRow},on:{success:t.success},model:{value:t.delVisible,callback:function(e){t.delVisible=e},expression:"delVisible"}})],1)}),[],!1,null,"4f1ef14b",null);e.default=component.exports},1211:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(26),r(43),r(5)),l=r(72),h=r.n(l),f=r(162),d=r(57);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={name:"EditHoldings",components:{popup:f.default},props:{value:{type:Boolean,default:!1},row:{type:Object,default:function(){}}},data:function(){return{visible:!0,switchHolding:!0,form:{quantity:0,price:0},loading:!1,total:0}},computed:m({},Object(c.c)({portfolioId:"portfolio/portfolioId"})),watch:{row:{immediate:!0,handler:function(){this.form.quantity=this.row.numbers||0,this.form.price=this.row.pricePerCoin||0,this.total=h()(this.form.price).multiply(this.form.quantity).value}},"form.quantity":function(){this.switchHolding?this.total=h()(this.form.price).multiply(this.form.quantity).value:this.form.price=h()(this.total).divide(this.form.quantity).value,this.form.quantity=this.form.quantity.replace(/[^\d^\\.]+/g,"")},"form.price":function(){this.switchHolding&&(this.total=h()(this.form.price).multiply(this.form.quantity).value),(this.form.price===1/0||isNaN(this.form.price))&&(this.form.price="")},total:function(){this.switchHolding||(this.form.price=h()(this.total).divide(this.form.quantity).value),(this.total===1/0||isNaN(this.total))&&(this.total="")}},methods:m(m({},Object(c.b)({getPortfolios:"portfolio/getPortfolios",getProtfolioTable:"portfolio/getProtfolioTable"})),{},{setHolding:function(){this.switchHolding=!this.switchHolding},hide:function(){this.$emit("input",!1)},cancel:function(){this.hide()},onSubmit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,t.$request.post(d.a.addHolding,{cid:t.row.cid,numbers:t.form.quantity,portfolioId:t.portfolioId,pricePerCoin:t.form.price||0});case 4:30===e.sent.code&&(t.getPortfolios(),t.getProtfolioTable(),t.cancel()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.log(e.t0);case 11:t.loading=!1;case 12:case"end":return e.stop()}}),e,null,[[1,8]])})))()}})},_=(r(1693),r(1)),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("popup",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],on:{hide:t.hide},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("div",{staticClass:"editor-holdings-container"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("portfolios.editMoke"))+" "+t._s(t.row.name)+" "+t._s(t.$t("portfolios.editMokeHoding")))]),t._v(" "),e("p",{staticClass:"des"},[t._v(t._s(t.$t("portfolios.editorHoldingsDes")))]),t._v(" "),e("div",{staticClass:"switch-holding"},[e("img",{attrs:{src:r(843),alt:""}}),t._v(" "),e("span",{on:{click:t.setHolding}},[t._v(t._s(t.switchHolding?t.$t("portfolios.switchTotal"):t.$t("portfolios.switchPrice")))])]),t._v(" "),e("el-form",{ref:"myForm",attrs:{model:t.form,"label-position":"right","label-width":"108px"}},[e("el-form-item",{attrs:{label:t.$t("portfoliosForm.quantity"),prop:"numbers"}},[e("div",{staticClass:"form-col"},[e("el-input",{attrs:{maxlength:"32"},model:{value:t.form.quantity,callback:function(e){t.$set(t.form,"quantity",e)},expression:"form.quantity"}}),t._v(" "),e("p",{staticClass:"form-des"},[t._v(t._s(t.$t("portfoliosForm.quantityDes")))])],1)]),t._v(" "),e("el-form-item",{attrs:{label:t.$t("portfoliosForm.price"),prop:"numbers"}},[e("div",{staticClass:"form-col"},[e("el-input",{attrs:{disabled:!t.switchHolding,maxlength:"32"},model:{value:t.form.price,callback:function(e){t.$set(t.form,"price",e)},expression:"form.price"}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.switchHolding,expression:"switchHolding"}],staticClass:"form-des"},[t._v(t._s(t.$t("portfoliosForm.priceDes")))])],1)]),t._v(" "),e("el-form-item",{attrs:{label:t.$t("portfoliosForm.total"),prop:"numbers"}},[e("div",{staticClass:"form-col"},[e("el-input",{attrs:{disabled:t.switchHolding,maxlength:"32"},model:{value:t.total,callback:function(e){t.total=e},expression:"total"}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:!t.switchHolding,expression:"!switchHolding"}],staticClass:"form-des"},[t._v(t._s(t.$t("portfoliosForm.priceDes")))])],1)])],1),t._v(" "),e("div",{staticClass:"btns"},[e("el-button",{staticClass:"cancel",attrs:{type:"info"},on:{click:t.cancel}},[t._v(t._s(t.$t("portfoliosForm.cancel")))]),t._v(" "),e("el-button",{staticClass:"submit",attrs:{loading:t.loading,type:"primary"},on:{click:t.onSubmit}},[t._v(t._s(t.$t("portfoliosForm.confirm")))])],1)],1)])}),[],!1,null,"2cd16a08",null);e.default=component.exports},1212:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=r(5),c=r(1213),l=r(1214),h=r(1215),f=r(1216),d=r(1217);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={name:"PortfolioDetail",components:{popup:r(162).default,PortfolioDetailCard:c.default,PortfolioAssets:l.default,PortfolioAssetsChanges:h.default,PortfolioDaily:f.default,PortfolioAllocation:d.default},props:{value:{type:Boolean,default:!1}},data:function(){return{visible:!1,timeType:24,btns:[{type:24,label:"24H"},{type:7,label:"7D"},{type:30,label:"30D"},{type:90,label:"90D"},{type:180,label:"180D"},{type:0,label:"YTD"},{type:null,label:"ALL"}]}},watch:{value:function(){this.visible=this.value}},methods:m(m({},Object(o.d)({setDetailVisible:"portfolio/setDetailVisible"})),{},{hide:function(){this.setDetailVisible(!1)},timeTypeClick:function(time){this.timeType!==time&&(this.timeType=time)}})},_=(r(1701),r(1)),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("popup",{on:{hide:t.hide},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[t.visible?e("div",{staticClass:"portfolio-detail-container"},[e("portfolio-detail-card",{on:{close:t.hide}}),t._v(" "),e("div",{staticClass:"time_btn"},t._l(t.btns,(function(r,n){return e("span",{key:n,staticClass:"time_block",class:{time_act:t.timeType==r.type},on:{click:function(e){return t.timeTypeClick(r.type)}}},[t._v(t._s(r.label))])})),0),t._v(" "),e("portfolio-assets",{attrs:{"time-type":t.timeType}}),t._v(" "),e("portfolio-assets-changes",{attrs:{"time-type":t.timeType}}),t._v(" "),e("portfolio-daily",{attrs:{"time-type":t.timeType}}),t._v(" "),e("portfolio-allocation")],1):t._e()])}),[],!1,null,"0038f072",null);e.default=component.exports},1213:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=(r(430),r(5)),c=r(466),l=r(467),h=r(461);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var v={name:"PortfolioDetailCard",components:{createProtfolio:c.default,DelHolding:l.default},data:function(){return{visible:!1,editVisible:!1,delVisible:!1}},computed:d(d({},Object(o.c)({portfolioId:"portfolio/portfolioId",portfolioDetail:"portfolio/portfolioDetail",desensitization:"portfolio/desensitization",portfolios:"portfolio/portfolios"})),{},{styles:function(){var t=this,e=this.portfolios.findIndex((function(e){return e.id===t.portfolioId}));return{background:h.a[e]}}}),mounted:function(){this.visible=this.desensitization},methods:d(d(d({},Object(o.d)({setPortfolioName:"portfolio/setPortfolioName",setPortfolioId:"portfolio/setPortfolioId"})),Object(o.b)({getPortfolioDetail:"portfolio/getPortfolioDetail",getPortfolios:"portfolio/getPortfolios",getProtfolioTable:"portfolio/getProtfolioTable"})),{},{handleDesensitization:function(){this.visible=!this.visible},edit:function(){this.editVisible=!0},close:function(){this.editVisible=!1,this.getPortfolioDetail()},del:function(){this.delVisible=!0},success:function(){var t,e;this.delVisible=!1,this.$emit("close"),this.setPortfolioName(null===(t=this.portfolios[0])||void 0===t?void 0:t.name),this.setPortfolioId(null===(e=this.portfolios[0])||void 0===e?void 0:e.id),this.getPortfolios(),this.getProtfolioTable()}})},m=(r(1695),r(1)),component=Object(m.a)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"portfolio-detail-card-container",style:t.styles},[e("div",{staticClass:"portfolio-detail-wrapper"},[e("div",{staticClass:"portfolio-detail-wrapper-left"},[e("span",{staticClass:"title"},[t._v(t._s(t.portfolioDetail.name))]),t._v(" "),e("img",{attrs:{src:r(841),alt:""},on:{click:t.edit}})]),t._v(" "),e("div",{staticClass:"portfolio-detail-wrapper-right"},[e("img",{staticClass:"eye",attrs:{src:t.visible?r(545):r(546),alt:""},on:{click:t.handleDesensitization}}),t._v(" "),e("img",{attrs:{src:r(839),alt:""},on:{click:t.del}})])]),t._v(" "),e("div",{staticClass:"portfolio-assets"},[e("span",{staticClass:"assets"},[t._v(t._s(t._f("textDesensitization")(t._f("priceFormat")(t.portfolioDetail.assets),t.visible)))]),t._v(" "),e("div",{staticClass:"changes"},[e("span",{class:t.portfolioDetail.assetsChange24h>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("percentageFormat")(t.portfolioDetail.assetsChange24h),t.visible)))]),t._v(" "),e("span",{class:t.portfolioDetail.assetsChanged>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("priceFormat")(t.portfolioDetail.assetsChanged),t.visible)))])])]),t._v(" "),e("div",{staticClass:"portfolio-changes"},[e("div",[e("span",{staticClass:"date"},[t._v("7D")]),t._v(" "),e("span",{class:t.portfolioDetail.assetsChange7d>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("percentageFormat")(t.portfolioDetail.assetsChange7d),t.visible)))]),t._v(" "),e("span",{class:t.portfolioDetail.assetsChangedVolume7d>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("priceFormat")(t.portfolioDetail.assetsChangedVolume7d),t.visible)))])]),t._v(" "),e("div",[e("span",{staticClass:"date"},[t._v("30D")]),t._v(" "),e("span",{class:t.portfolioDetail.assetsChange30d>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("percentageFormat")(t.portfolioDetail.assetsChange30d),t.visible)))]),t._v(" "),e("span",{class:t.portfolioDetail.assetsChangedVolume30d>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("priceFormat")(t.portfolioDetail.assetsChangedVolume30d),t.visible)))])]),t._v(" "),e("div",[e("span",{staticClass:"date"},[t._v("90D")]),t._v(" "),e("span",{class:t.portfolioDetail.assetsChange90d>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("percentageFormat")(t.portfolioDetail.assetsChange90d),t.visible)))]),t._v(" "),e("span",{class:t.portfolioDetail.assetsChangedVolume90d>0?"green":"red"},[t._v(t._s(t._f("textDesensitization")(t._f("priceFormat")(t.portfolioDetail.assetsChangedVolume90d),t.visible)))])])]),t._v(" "),e("create-protfolio",{directives:[{name:"show",rawName:"v-show",value:t.editVisible,expression:"editVisible"}],attrs:{"portfolio-id":t.portfolioId,name:t.portfolioDetail.name},on:{close:t.close}}),t._v(" "),e("del-holding",{on:{success:t.success},model:{value:t.delVisible,callback:function(e){t.delVisible=e},expression:"delVisible"}})],1)}),[],!1,null,"5f70ec65",null);e.default=component.exports},1214:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(34),r(25),r(5)),l=r(19),h=r(39),f=r(31),filter=r(3),d=r(57);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={color:"#6C7293",fontSize:12},_={name:"PortfolioAssets",components:{empty:h.default,cssLoading:f.default},props:{timeType:{type:Number,default:24}},data:function(){return{charts:null,history:[],loading:!1,nodataShow:!1}},computed:m(m({},Object(c.c)({portfolioId:"portfolio/portfolioId"})),{},{axisColor:function(){return this.$store.state.isDark?"#2f2f2f":"#f5f5f5"}}),watch:{timeType:function(){this.getCharts()},"$store.state.isDark":function(){this.createChart()}},mounted:function(){this.getCharts()},methods:{getCharts:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.nodataShow=!1,e.prev=2,e.next=5,t.$request.post(d.a.assetsHistory,{portfolioId:t.portfolioId,queryType:t.timeType});case 5:30===(r=e.sent).code&&r.data.length>0?(t.history=r.data,t.createChart()):(t.history=[],t.nodataShow=!0),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),t.history=[],t.nodataShow=!0,console.log(e.t0);case 14:t.loading=!1;case 15:case"end":return e.stop()}}),e,null,[[2,9]])})))()},createChart:function(){this.charts&&(this.charts.clear(),this.charts=null);for(var t=[],data=[],e=this,i=0,r=this.history.length;i<r;i++)t.push(this.history[i].sourceTime),data.push(m(m({},this.history[i]),{},{value:this.history[i].assets}));var option={textStyle:y,grid:{left:0,top:20,bottom:0,right:40,containLabel:!0},tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.6)",borderColor:"rgba(34,37,49,0.20)",borderWidth:1,borderRadius:4,className:"tooltip",padding:12,formatter:function(t){var html="\n <div style='font-size: 12px;'>\n <div style='color: #6E717B;'>".concat(Object(filter.c)(Number(t[0].axisValue),"MMM D YYYY, HH:mm"),' UTC+8</div>\n <div style="font-size: 12px;color: #222531;font-weight:bold;"><div> ').concat(Object(filter.n)(t[0].value,2,"$",!0)," </div>");return html+="</div>"},axisPointer:{type:"line",lineStyle:{type:"dashed",color:"#222531"},label:{show:!1}}},xAxis:{type:"category",boundaryGap:!1,axisLine:{lineStyle:{color:this.axisColor}},axisTick:{show:!1},data:t,axisLabel:{showMinLabel:!0,showMaxLabel:!0,interval:Math.ceil(288/7),formatter:function(t){var r=Number(t);return 24===e.timeType?l(r).format("HH:mm"):l(r).format("M.DD")},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}},yAxis:{position:"left",type:"value",splitNumber:4,scale:!0,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{color:this.axisColor}},axisLabel:{formatter:function(t){return Object(filter.n)(t,"0","",!0)},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}},series:[{type:"line",data:data,color:"#4421A5",lineStyle:{width:2},areaStyle:{opacity:.2,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(68,33,165,0.8)"},{offset:1,color:"rgba(68,33,165,0.00)"}],global:!1}},symbol:"none",showSymbol:!1}]};this.charts=this.$echarts.init(document.getElementById("assets-chart"),null,{renderer:"svg",devicePixelRatio:2}),this.charts.setOption(option)}}},w=(r(1697),r(1)),component=Object(w.a)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"portfolio-assets-container"},[e("div",{staticClass:"assets-chart-container"},[e("div",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("portfolioDetail.assetNetWorth")))]),t._v(" "),e("el-popover",{attrs:{placement:"bottom",title:t.$t("portfolioDetail.assetNetWorthDesTitle"),width:"300",trigger:"hover"}},[e("div",{staticClass:"tip-des"},[e("p",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthDes1")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthDes2")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthDes3")))])]),t._v(" "),e("img",{staticClass:"tip",attrs:{slot:"reference",src:r(197),alt:""},slot:"reference"})])],1),t._v(" "),e("cssLoading",{staticClass:"flex-col",attrs:{loading:t.loading,center:""}},[e("div",{attrs:{id:"assets-chart"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.nodataShow,expression:"nodataShow"}],staticClass:"chartsnodata"},[e("empty")],1)])],1)])}),[],!1,null,"31f7292c",null);e.default=component.exports},1215:function(t,e,r){"use strict";r.r(e);r(13),r(12),r(15),r(16);var n=r(2),o=r(4),c=(r(14),r(99),r(34),r(30),r(8),r(10),r(11),r(25),r(5)),l=r(19),h=r(125),f=r.n(h),d=r(31),v=r(39),filter=r(3),m=r(57);function y(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?y(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w=["#3CB8B8","#5334AB"],x={name:"PortfolioAssetsChanges",components:{empty:v.default,cssLoading:d.default},filters:{fixed2:function(t){return t?parseFloat(100*t).toFixed(2):0}},props:{timeType:{type:Number,default:24}},data:function(){return{loading:!1,nodataShow:!1,chartList:[],charts:null,max:"",pnlChange:0,btcChange:0}},computed:_(_({},Object(c.c)({portfolioId:"portfolio/portfolioId",portfolioName:"portfolio/portfolioName"})),{},{axisColor:function(){return this.$store.state.isDark?"#2f2f2f":"#f5f5f5"}}),watch:{timeType:function(){this.getCharts()},"$store.state.isDark":function(){this.createChart()}},mounted:function(){this.getCharts(),this.charts=this.$echarts.init(document.getElementById("assets-chart-changes"),null,{renderer:"svg",devicePixelRatio:2})},methods:{getCharts:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.nodataShow=!1,e.prev=2,r="",r=24===t.timeType?7:t.timeType,e.next=7,t.$request.post(m.a.yieldRatingHistory,{portfolioId:t.portfolioId,queryType:r});case 7:n=e.sent,t.chartList=[],30!==n.code||f()(n.data.bitcoinYieldRatingList)||f()(n.data.pnlYieldRatingList)?(t.history=[],t.nodataShow=!0):(o=n.data.bitcoinYieldRatingList.length,c=n.data.pnlYieldRatingList.length,t.max=o>c?o:c,t.xAxis=o>c?n.data.bitcoinYieldRatingList.map((function(t){return l(t.sourceTime).format("YYYY-MM-DD")})):n.data.pnlYieldRatingList.map((function(t){return l(t.sourceTime).format("YYYY-MM-DD")})),Object.keys(n.data).forEach((function(e,r){t.chartList.push({type:"line",symbol:"none",color:w[r],data:n.data[e].map((function(t){var e=parseFloat(t.yieldRating)||0;return _(_({},t),{},{value:e})}))})})),t.btcChange=n.data.bitcoinYieldRatingList[o-1].yieldRating,t.pnlChange=n.data.pnlYieldRatingList[c-1].yieldRating,t.createChart()),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),console.log(e.t0);case 15:t.loading=!1;case 16:case"end":return e.stop()}}),e,null,[[2,12]])})))()},createChart:function(){this.charts&&this.charts.clear();var t=this,e={tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.6)",borderColor:"rgba(34,37,49,0.20)",borderWidth:1,borderRadius:4,className:"tooltip",padding:[12,16,12,16],formatter:function(e){var r="red",n="red";e[1].value>0&&(r="green"),e[0].value>0&&(n="green");var html="\n <div style='font-size: 12px;'>\n <div style='color: #6E717B;'>".concat(Object(filter.c)(e[0].data.sourceTime,"MMM D YYYY, HH:mm")," UTC+8</div>\n <div>").concat(t.portfolioName,": <span class='").concat(r,"'>").concat(Object(filter.j)(e[1].value),"</span></div>\n <div>BTC: <span class='").concat(n,"'>").concat(Object(filter.j)(e[0].value),"</span></div>");return html+="</div>"}},grid:{left:0,top:20,bottom:0,right:40,containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:this.xAxis,axisLabel:{showMinLabel:!0,showMaxLabel:!0,interval:Math.ceil(this.max/8),formatter:function(t){return l(t).format("M.DD")},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}},yAxis:{position:"left",type:"value",splitNumber:4,scale:!0,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{color:this.axisColor}},axisLabel:{formatter:function(t){return(100*t).toFixed(2)+"%"},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}},series:this.chartList};this.charts.setOption(e,!0)}}},O=(r(1698),r(1)),component=Object(O.a)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"portfolio-assets-changes-container"},[e("div",{staticClass:"title"},[e("div",{staticClass:"title-box"},[e("span",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthChange")))]),t._v(" "),e("el-popover",{attrs:{placement:"bottom",title:t.$t("portfolioDetail.assetNetWorthChangeDesTitle"),width:"400",trigger:"hover"}},[e("div",{staticClass:"tip-des"},[e("p",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthChangeDes1")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthChangeDes2")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthChangeDes3")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.assetNetWorthChangeDes4")))])]),t._v(" "),e("img",{staticClass:"tip",attrs:{slot:"reference",src:r(197),alt:""},slot:"reference"})])],1),t._v(" "),e("div",{staticClass:"changes-converter"},[e("span",{class:t.pnlChange>0?"green":"red"},[t._v(t._s(t._f("fixed2")(t.pnlChange))+"%")]),t._v(" "),e("span",[t._v("v.s")]),t._v(" "),e("span",{class:t.btcChange>0?"green":"red"},[t._v(t._s(t._f("fixed2")(t.btcChange))+"%")]),t._v(" "),e("span",{staticClass:"gray"},[t._v("(BTC)")])])]),t._v(" "),e("cssLoading",{staticClass:"flex-col",attrs:{loading:t.loading,center:""}},[e("div",{attrs:{id:"assets-chart-changes"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.nodataShow,expression:"nodataShow"}],staticClass:"chartsnodata"},[e("empty")],1)])],1)}),[],!1,null,"2af29b2c",null);e.default=component.exports},1216:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(34),r(25),r(30),r(99),r(5)),l=r(19),h=r(39),f=r(31),filter=r(3),d=r(57);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={color:"#6C7293",fontSize:12},_={name:"PortfolioDaily",components:{empty:h.default,cssLoading:f.default},props:{timeType:{type:Number,default:24}},data:function(){return{loading:!1,nodataShow:!1,charts:null,chartList:[],dailyPrice:0}},computed:m(m({},Object(c.c)({portfolioId:"portfolio/portfolioId"})),{},{axisColor:function(){return this.$store.state.isDark?"#2f2f2f":"#f5f5f5"}}),watch:{timeType:function(){this.getCharts()},"$store.state.isDark":function(){this.createChart()}},mounted:function(){this.getCharts(),this.charts=this.$echarts.init(document.getElementById("daily-assets"),null,{renderer:"svg",devicePixelRatio:2})},methods:{getCharts:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.nodataShow=!1,e.prev=2,r="",r=24===t.timeType?7:t.timeType,e.next=7,t.$request.post(d.a.dailyHistory,{portfolioId:t.portfolioId,queryType:r});case 7:30===(n=e.sent).code&&n.data&&n.data.length>0?(t.chartList=n.data,t.createChart(),t.dailyPrice=n.data[n.data.length-1].yield):(t.chartList=[],t.nodataShow=!0),e.next=16;break;case 11:e.prev=11,e.t0=e.catch(2),t.chartList=[],t.nodataShow=!0,console.log(e.t0);case 16:t.loading=!1;case 17:case"end":return e.stop()}}),e,null,[[2,11]])})))()},createChart:function(){var option={textStyle:y,color:"#5334AB",tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.6)",borderColor:"rgba(34,37,49,0.20)",borderWidth:1,borderRadius:4,className:"tooltip",padding:12,formatter:function(t){var e="red";t[0].value>0&&(e="green");var html="\n <div style='font-size: 12px;'>\n <div style='color: #6E717B;'>".concat(Object(filter.c)(t[0].data.sourceTime,"MMM D YYYY, HH:mm"),' UTC+8</div>\n <div style="font-size: 12px;font-weight:bold;" class=\'').concat(e,"'><div> ").concat(Object(filter.n)(t[0].value,2,"$",!0)," </div>");return html+="</div>"},axisPointer:{type:"line",lineStyle:{type:"dashed",color:"#222531"},label:{show:!1}}},grid:{left:0,top:20,bottom:0,right:40,containLabel:!0},xAxis:{type:"category",data:this.chartList.map((function(t){return l(t.sourceTime).format("YYYY-MM-DD")})),axisLabel:{showMinLabel:!0,showMaxLabel:!0,interval:Math.ceil(this.chartList.length/8),formatter:function(t){return l(t).format("M.DD")},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}},yAxis:{position:"left",type:"value",splitNumber:4,scale:!0,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{color:this.axisColor}},axisLabel:{formatter:function(t){return Object(filter.n)(t,"0","",!0)},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}},series:[{data:this.chartList.map((function(t){return m({value:parseFloat(t.yield).toFixed(2),itemStyle:{color:t.yield>0?"#0AB27D":"#F53E33"}},t)})),type:"bar",smooth:!0}]};this.charts.setOption(option)}}},w=(r(1699),r(1)),component=Object(w.a)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"portfolio-daily-container"},[e("div",{staticClass:"title"},[e("div",{staticClass:"title-box"},[e("span",[t._v(t._s(t.$t("portfolioDetail.dailyTitle")))]),t._v(" "),e("el-popover",{attrs:{placement:"bottom",title:t.$t("portfolioDetail.dailyDesTitle"),width:"400",trigger:"hover"}},[e("div",{staticClass:"tip-des"},[e("p",[t._v(t._s(t.$t("portfolioDetail.dailyDes1")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.dailyDes2")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.dailyDes3")))])]),t._v(" "),e("img",{staticClass:"tip",attrs:{slot:"reference",src:r(197),alt:""},slot:"reference"})])],1),t._v(" "),e("div",{staticClass:"changes-converter"},[e("span",{class:t.dailyPrice>0?"green":"red"},[t._v(t._s(t._f("priceFormat")(t.dailyPrice)))])])]),t._v(" "),e("cssLoading",{staticClass:"flex-col",attrs:{loading:t.loading,center:""}},[e("div",{attrs:{id:"daily-assets"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.nodataShow,expression:"nodataShow"}],staticClass:"chartsnodata"},[e("empty")],1)])],1)}),[],!1,null,"20897270",null);e.default=component.exports},1217:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(30),r(5)),l=r(125),h=r.n(l),f=r(39),d=r(31),v=r(57),m=r(153);function y(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?y(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w={name:"PortfolioAllocation",components:{empty:f.default,cssLoading:d.default},data:function(){return{loading:!1,nodataShow:!1,charts:null,chartList:[],selectItem:{},isEmpty:h.a}},computed:_({},Object(c.c)({portfolioId:"portfolio/portfolioId",portfolioName:"portfolio/portfolioName"})),mounted:function(){this.getCharts()},methods:{getCharts:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.nodataShow=!1,e.prev=2,e.next=5,t.$request.post(v.a.allocationHistory,{portfolioId:t.portfolioId});case 5:30===(r=e.sent).code&&r.data.length>0?(t.chartList=r.data.map((function(t,e){return _(_({},t),{},{value:t.proportion/100,proportion:t.proportion/100,color:m.a[e]})})),r.data.length>0&&t.$nextTick((function(){t.createChart(t.chartList)}))):(t.chartList=[],t.nodataShow=!0),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),console.log(e.t0);case 12:t.loading=!1;case 13:case"end":return e.stop()}}),e,null,[[2,9]])})))()},createChart:function(data){var t=this,option={tooltip:{show:!1},color:m.a,legend:{show:!1},grid:{left:0,top:20,bottom:0,right:40,containLabel:!0},series:[{type:"pie",radius:["66%","93%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:3,borderColor:"#fff"},label:{show:!1,position:"outside"},emphasis:{label:{show:!1,fontSize:"40",fontWeight:"bold"}},labelLine:{show:!0},data:data}]};this.charts=this.$echarts.init(document.getElementById("allocation-assets"),null,{renderer:"svg",devicePixelRatio:2}),this.charts.setOption(option),this.charts.on("mouseover",(function(e){t.selectItem=e.data})),this.charts.on("mouseout",(function(e){t.selectItem={}}))}}},x=(r(1700),r(1)),component=Object(x.a)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"portfolio-allocation-container"},[e("div",{staticClass:"title"},[e("div",{staticClass:"title-box"},[e("span",[t._v(t._s(t.$t("portfolioDetail.allocationTitle")))]),t._v(" "),e("el-popover",{attrs:{placement:"bottom",title:t.$t("portfolioDetail.allocationDesTitle"),width:"en"===t.$i18n.locale?350:250,trigger:"hover"}},[e("div",{staticClass:"tip-des"},[e("p",[t._v(t._s(t.$t("portfolioDetail.allocationDes1")))]),t._v(" "),e("p",[t._v(t._s(t.$t("portfolioDetail.allocationDes2")))])]),t._v(" "),e("img",{staticClass:"tip",attrs:{slot:"reference",src:r(197),alt:""},slot:"reference"})])],1)]),t._v(" "),e("cssLoading",{staticClass:"flex",attrs:{loading:t.loading,center:""}},[e("div",{staticClass:"chart-container"},[e("div",{attrs:{id:"allocation-assets"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isEmpty(t.selectItem),expression:"!isEmpty(selectItem)"}],staticClass:"select"},[e("span",[t._v(t._s(t.selectItem.abbreviate))]),t._v(" "),e("span",[t._v(" "+t._s(t._f("constPercentageFormat")(t.selectItem.proportion)))])])]),t._v(" "),e("div",{staticClass:"labels"},t._l(t.chartList,(function(r,n){return e("div",{key:n,staticClass:"label-item"},[e("span",{staticClass:"circle",style:{background:r.color}}),t._v(" "),e("span",{staticClass:"percent"},[t._v(t._s(r.abbreviate)+": "+t._s(t._f("constPercentageFormat")(r.proportion)))])])})),0)])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.nodataShow,expression:"nodataShow"}],staticClass:"chartsnodata"},[e("empty")],1)],1)}),[],!1,null,"6a0c053a",null);e.default=component.exports},1220:function(t,e,r){"use strict";r.r(e);var n=r(2),o=(r(14),r(70)),c=r(212),l=r(21),h={components:{},data:function(){return{events:[]}},created:function(){this.getNewsList()},computed:{RecommendState:function(){return c.b},RecommendColor:function(){return c.a},clipImg:function(){return l.a}},methods:{getNewsList:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r={language:t.$i18n.locale},e.next=4,t.$request.post(o.a.events,r);case 4:0===(n=e.sent).code&&(t.events=n.data),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()}}},f=(r(1740),r(1)),component=Object(f.a)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"events-box-wrapper"},t._l(t.events,(function(n,o){return e("div",{key:o,staticClass:"event"},[e("nuxt-link",{attrs:{to:t.localePath("/news/events/".concat(n.articleLink))}},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.clipImg(n.imgUrl,880,320,"cover"),expression:"clipImg(item.imgUrl, 880, 320, 'cover')"}],attrs:{alt:""}}),t._v(" "),e("img",{staticClass:"mask",attrs:{src:r(832),alt:""}}),t._v(" "),e("h3",[t._v(t._s(n.title))]),t._v(" "),"9999-01-01"!==n.exploreTime?e("span",{staticClass:"start-end"},[t._v(t._s(t._f("tzFormat")(n.startTime,t.$i18n.locale,"M.DD HH:mm"))+" - "+t._s(t._f("tzFormat")(n.endTime,t.$i18n.locale,"M.DD HH:mm")))]):e("span",{staticClass:"start-end"},[t._v("TBD")]),t._v(" "),e("div",{staticClass:"line-status-wrapper"},[e("span",{staticClass:"status",style:{background:t.RecommendColor[n.type]}}),t._v(" "),e("span",{staticClass:"status-text"},[t._v(t._s(t.$t("banner.".concat(t.RecommendState[n.type]))))])])])],1)})),0)}),[],!1,null,"34ccbf18",null);e.default=component.exports},1221:function(t,e,r){"use strict";r.r(e);var n=r(2),o=(r(14),r(75),r(26),r(43),r(27)),c=r(81),l={name:"SubscribePurple",data:function(){return{subscribeEmail:"",errorTips:"",isSuccess:!1}},methods:{subscribe:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=function(){var e=setTimeout((function(){t.errorTips="",clearTimeout(e)}),2500)},t.subscribeEmail.replace(/\s*/g,"")){e.next=5;break}return t.errorTips=t.$t("subscribe.emailPlaceholder"),r(),e.abrupt("return",!1);case 5:if(!t.subscribeEmail||Object(o.i)(t.subscribeEmail)){e.next=9;break}return t.errorTips=t.$t("subscribe.emailFormat"),r(),e.abrupt("return",!1);case 9:return e.prev=9,n={email:t.subscribeEmail},e.next=13,t.$request.post(c.a.email,n);case 13:0===e.sent.code&&(t.isSuccess=!0,t.errorTips="zh"===t.$i18n.locale?"恭喜您已成功订阅!":"Congrats! you're in!",l=setTimeout((function(){t.errorTips="",t.isSuccess=!1,clearTimeout(l)}),2500)),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(9),console.log(e.t0);case 20:case"end":return e.stop()}}),e,null,[[9,17]])})))()}}},h=(r(1741),r(1)),component=Object(h.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"subscribe-purple"},[e("div",{staticClass:"discrible"},[e("div",{staticClass:"inner-text"},[t._v(t._s(t.$t("subscribe.notice")))])]),t._v(" "),e("div",{staticClass:"input-wrapper"},[e("div",[e("el-input",{staticClass:"subscribe-input",attrs:{placeholder:t.$t("subscribe.placeholder")},model:{value:t.subscribeEmail,callback:function(e){t.subscribeEmail=e},expression:"subscribeEmail"}}),t._v(" "),e("div",{staticClass:"error-tips",class:t.isSuccess?"success":""},[t._v(t._s(t.errorTips))])],1),t._v(" "),e("div",{staticClass:"subscribe-btn",on:{click:t.subscribe}},[t._v(t._s(t.$t("subscribe.button")))])])])}),[],!1,null,"72fb5743",null);e.default=component.exports},1222:function(t,e,r){"use strict";r.r(e);var n={name:"EventPanel",props:{title:{type:String,default:""},height:{type:String,default:"850"},type:{type:String,default:"1"}}},o=(r(1743),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"drop-down-container",style:{height:t.height+"px"}},[e("div",{staticClass:"drop-down-title"},[e("span",[t._v(t._s(t.title))]),t._v(" "),0==t.type?e("img",{attrs:{src:r(833),alt:""}}):t._e(),t._v(" "),1==t.type?e("img",{attrs:{src:r(834),alt:""}}):t._e(),t._v(" "),2==t.type?e("img",{attrs:{src:r(835),alt:""}}):t._e()]),t._v(" "),t._t("default")],2)}),[],!1,null,"d27afada",null);e.default=component.exports},1227:function(t,e,r){"use strict";r.r(e);r(34);var n={name:"LastedPoular",props:{latestArr:{type:Array,default:function(){return[]}},popularArr:{type:Array,default:function(){return[]}}}},o=(r(1761),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"lastedPopular"},[e("div",{staticClass:"lasted"},[e("div",{staticClass:"title"},[e("div",{staticClass:"icon-area"},[e("i",{staticClass:"iconfont icon-zuixin"}),e("span",[t._v(t._s(t.$t("learn.Latest")))])]),t._v(" "),e("a",{staticClass:"more",attrs:{href:t.localePath("/tokenwiki/all/latest"),rel:"noopener noreferrer"}},[t._v(t._s(t.$t("learn.More"))+" "),e("i",{staticClass:"iconfont icon-right"})])]),t._v(" "),e("div",{staticClass:"content"},[t._l(t.latestArr,(function(r,n){return e("div",{key:n,staticClass:"link"},[e("a",{staticClass:"url",attrs:{href:t.localePath("/tokenwiki/all/".concat(r.articleLink)),target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(r.title))]),t._v(" "),e("span",{staticClass:"time"},[t._v(t._s(t._f("newTimeFormat")(r.onlineTime,t.$i18n.locale)))])])})),t._v(" "),e("img",{staticClass:"bgZuiXin",attrs:{src:r(794),alt:"zuixin"}})],2)]),t._v(" "),e("div",{staticClass:"popular"},[e("div",{staticClass:"title"},[e("div",{staticClass:"icon-area"},[e("img",{attrs:{src:r(797),alt:"popular"}}),e("span",[t._v(t._s(t.$t("learn.Popular")))])]),t._v(" "),e("a",{staticClass:"more",attrs:{href:t.localePath("/tokenwiki/all/most-popular"),rel:"noopener noreferrer"}},[t._v(t._s(t.$t("learn.More"))+" "),e("i",{staticClass:"iconfont icon-right"})])]),t._v(" "),e("div",{staticClass:"content"},[t._l(t.popularArr,(function(r,n){return e("div",{key:n,staticClass:"link"},[e("a",{staticClass:"url",attrs:{href:t.localePath("/tokenwiki/all/".concat(r.articleLink)),target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(r.title))]),t._v(" "),e("span",{staticClass:"time"},[e("i",{staticClass:"iconfont icon-yuedu1"}),t._v(" "+t._s(Number(r.readNumbers).toLocaleString()))])])})),t._v(" "),e("div",{staticClass:"bgPopular"})],2)])])}),[],!1,null,"7632c4b6",null);e.default=component.exports},1236:function(t,e,r){"use strict";r.r(e);var n={name:"RelatedWikis",props:{list:{type:Array,default:function(){return[]}}},data:function(){return{swiperOptions:{slidesPerView:3,spaceBetween:20,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}}}},o=(r(1809),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"article-more-container"},[e("h4",{staticClass:"article-more-titile"},[t._v("Related Wiki")]),t._v(" "),e("div",{staticClass:"more-wrapper"},t._l(t.list,(function(n,o){return e("div",{key:o,staticClass:"more-item"},[e("nuxt-link",{attrs:{to:t.localePath("/tokenwiki/all/".concat(n.articleLink))}},[e("img",{attrs:{src:t._f("clipImg")(n.imgUrl,345,230,"cover"),alt:""}}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(n.title))]),t._v(" "),e("div",{staticClass:"item-bottom"},[e("span",{staticClass:"date"},[t._v(t._s(t._f("tzFormat")(n.onlineTime,"UTC","LL")))]),t._v(" "),e("span",{staticClass:"read-time"},[e("img",{attrs:{src:r(429),alt:""}}),t._v(t._s(n.readTime)+"m")]),t._v(" "),e("span",{staticClass:"read-count"},[e("img",{attrs:{src:r(847),alt:""}}),t._v(t._s(n.readNumbers))])])])],1)})),0)])}),[],!1,null,"dcf6b19e",null);e.default=component.exports},1237:function(t,e,r){"use strict";r.r(e);var n=r(2),o=(r(14),r(75),r(110)),c={name:"Statment",data:function(){return{loading:!1,input:""}},methods:{postFeedback:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.input){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,t.loading=!0,e.next=6,t.$request.post(o.a.saveWikiFeedBack,{feedback:t.input});case 6:0===e.sent.code&&setTimeout((function(){t.loading=!1}),2e3),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),t.loading=!1;case 13:case"end":return e.stop()}}),e,null,[[2,10]])})))()}}},l=(r(1810),r(1)),component=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"to-learn-container"},[e("p",[t._v("What else do you want to learn?")]),t._v(" "),e("div",{staticClass:"send-to"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],attrs:{type:"text",placeholder:"Tell us the topics you wanna learn"},domProps:{value:t.input},on:{input:function(e){e.target.composing||(t.input=e.target.value)}}}),t._v(" "),e("div",{staticClass:"btn"},[t.loading?e("div",{staticClass:"push-pop"},[e("div"),t._v(" "),e("div")]):t._e(),t._v(" "),t.loading?t._e():e("span",{on:{click:t.postFeedback}},[t._v("Send")])])])])}),[],!1,null,"21ff3aae",null);e.default=component.exports},1238:function(t,e,r){"use strict";r.r(e);r(37),r(34);var n={name:"OtherCourse",components:{},props:{otherCourseList:{type:Array,default:function(){return[]}}},mounted:function(){},methods:{}},o=(r(1814),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"otherCourseBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("learn.OtherCourses")))]),t._v(" "),e("div",{staticClass:"list-block"},t._l(t.otherCourseList,(function(r){return e("div",{key:r.tagId,staticClass:"courseList"},[e("nuxt-link",{attrs:{to:t.localePath("/tokenwiki/course/".concat(r.articleLink))}},[e("div",{staticClass:"cover"},[e("img",{attrs:{src:t._f("clipImg")(r.imgUrl,420,280,"cover"),alt:"cover"}})]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(r.title))]),t._v(" "),e("div",{staticClass:"tag"},t._l(r.tagList.slice(0,2),(function(r,n){return e("div",{key:n,staticClass:"learning"},[t._v(t._s(r.mark))])})),0),t._v(" "),e("div",{staticClass:"learn-box-info"},[e("span",{staticClass:"data"},[t._v(t._s(t._f("tzFormat")(r.onlineTime,"UTC","LL")))]),t._v(" "),e("span",{staticClass:"time"},[e("span",{staticClass:"iconfont icon-time"}),t._v(" "+t._s(r.readTime)+"m")]),t._v(" "),e("span",{staticClass:"read"},[e("span",{staticClass:"iconfont icon-yuedu"}),t._v(" "+t._s(r.readNumbers))]),t._v(" "),e("div",{class:{beginner:0===Number(r.readLevel),intermediate:1===Number(r.readLevel),advanced:2===Number(r.readLevel)}},[t._v("\n "+t._s(r.readLevelString)+"\n ")])])])],1)})),0)])}),[],!1,null,"793d0ed4",null);e.default=component.exports},1242:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(37),r(5)),l=r(1243),h=r(1244),f=r(1245),d=r(1287),v=r(471),m=r(31),y=r(126),_=r(116),w=r(315);function x(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function O(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?x(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):x(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var C={components:{feedback:l.default,shareLearn:h.default,community:f.default,downloadApp:d.default,Popup:v.default,cssLoading:m.default,ConnectWallet:w.default},props:{badgeResponse:{type:Object,default:function(){}},articleLink:{type:String,default:function(){return""}}},data:function(){return{isShowSahuaGif:!0,isShowPop:!1,isClaimReward:!1,hasBadgeShowPopup:!1,hasBadgeText:"",hasBadgeBtnText:"",loading:!0,showConnect:!1}},mounted:function(){var t=this,video=document.getElementById("video");video.play(),video.addEventListener("ended",(function(e){console.log("视频播放完了"),t.isShowSahuaGif=!1})),video.addEventListener("canplay",(function(e){console.log("=========视频开始播放"),t.loading=!1}))},computed:O(O({},Object(c.c)({userInfo:"userInfo"})),{},{userWalletAddressEllipsis:function(){return this.userInfo?this.userInfo.walletAddress.slice(0,5)+"..."+this.userInfo.walletAddress.slice(-5):""}}),methods:O(O({},Object(c.d)({setShowLogin:"login/setShowLogin",setShowClose:"login/setShowClose",setNoRefresh:"login/setNoRefresh",setWallet:"setWallet"})),{},{updateWallet:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n={walletAddress:t},r.next=3,e.$request.post(_.a.updateWalletAddress,n);case 3:case"end":return r.stop()}}),r)})))()},handleConnected:function(address){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.updateWallet(address);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.log(e.t0);case 8:t.setWallet(address),t.showConnect=!1;case 10:case"end":return e.stop()}}),e,null,[[0,5]])})))()},disConnect:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.updateWallet("");case 2:t.setWallet(""),t.$message({message:t.$t("learn.disconnected"),type:"success"});case 4:case"end":return e.stop()}}),e)})))()},handleConnectWallet:function(){this.userInfo?this.showConnect=!0:this.$message({message:this.$t("learn.firstLogin"),type:"warning"})},login:function(){this.setShowClose(!0),this.setShowLogin(!0),this.setNoRefresh(!0)},colse:function(){this.isShowPop=!1},hasBadgeHandleCloseBtn:function(){this.hasBadgeShowPopup=!1},hasBadgeHandleClickBtn:function(){window.location.href="/user/".concat(this.userInfo.id,"/badges")},getReward:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.userInfo&&(!t.userInfo||t.userInfo.walletAddress)){e.next=3;break}return t.$message({message:t.$t("learn.above"),type:"warning"}),e.abrupt("return");case 3:if(!t.isClaimReward){e.next=8;break}return t.hasBadgeBtnText=t.$t("learn.hasBadgeText"),t.hasBadgeText=t.$t("learn.hasBadgeBtnText"),t.hasBadgeShowPopup=!0,e.abrupt("return");case 8:return r={id:t.badgeResponse.id},e.next=11,t.$request.post(y.a.saveUserBadge,r,"sessionId=".concat(t.$store.state.sessionId||""));case 11:0===e.sent.code&&(t.isClaimReward=!0,t.isShowPop=!0);case 13:case"end":return e.stop()}}),e)})))()}})},S=(r(1828),r(1)),component=Object(S.a)(C,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"reward"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowSahuaGif,expression:"isShowSahuaGif"}],staticClass:"sahuaGif"},[e("video",{attrs:{id:"video",preload:"auto",autoplay:"",src:"https://s2.tokeninsight.com/frontend/token.mp4"}})]),t._v(" "),e("cssLoading",{staticClass:"flex",attrs:{loading:t.loading,center:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isShowSahuaGif,expression:"!isShowSahuaGif"}],staticClass:"left animate__animated animate__fadeIn animate__fast"},[e("div",{staticClass:"title one"},[t._v(t._s(t.$t("learn.Congratulations"))+" 🎉")]),t._v(" "),e("div",{staticClass:"text"},[e("span",{staticClass:"two"},[t._v(t._s(t.$t("learn.earned"))+" "+t._s(t.badgeResponse.name)+" "+t._s(t.$t("learn.forThisCourse")))]),t._v(" "),e("span",{staticClass:"three"},[t._v(t._s(t.$t("learn.orderToClaim"))+" ")]),t._v(" "),e("span",{staticClass:"four"},[t._v(t._s(t.$t("learn.needToComplete")))])]),t._v(" "),e("div",{staticClass:"funtionArea"},[e("div",{staticClass:"login"},[t.userInfo?e("img",{attrs:{src:r(1819),alt:"login"}}):e("img",{attrs:{src:r(1818),alt:"login"}}),t._v(" "),e("div",{staticClass:"accont"},[e("span",[t._v(t._s(t.$t("learn.step1")))]),t._v(" "),t.userInfo?e("div",{staticClass:"loginBtn"},[t._v(t._s(t.userInfo.email))]):e("div",{staticClass:"loginBtn",on:{click:t.login}},[t._v(t._s(t.$t("learn.Login")))])])]),t._v(" "),e("div",{staticClass:"wallet"},[!t.userInfo||t.userInfo&&!t.userInfo.walletAddress?e("img",{attrs:{src:r(1820),alt:"wallet"}}):e("img",{attrs:{src:r(1821),alt:"wallet"}}),t._v(" "),e("div",{staticClass:"accont"},[e("span",[t._v(t._s(t.$t("learn.step2")))]),t._v(" "),!t.userInfo||t.userInfo&&!t.userInfo.walletAddress?e("div",{class:[{disabled:!t.userInfo},"loginBtn"],on:{click:t.handleConnectWallet}},[t._v("\n "+t._s(t.$t("learn.ConnectWallet"))+"\n ")]):e("div",{staticClass:"loginBtn"},[t._v(t._s(t.userWalletAddressEllipsis))])])]),t._v(" "),e("div",{staticClass:"badge"},[!t.userInfo||t.userInfo&&!t.userInfo.walletAddress||!t.isClaimReward?e("img",{attrs:{src:r(1822),alt:"gift"}}):e("img",{attrs:{src:r(1823),alt:"gift-success"}}),t._v(" "),e("div",{staticClass:"accont"},[e("span",[t._v(t._s(t.$t("learn.step3")))]),t._v(" "),e("div",{class:[{disabled:!t.userInfo||t.userInfo&&!t.userInfo.walletAddress||t.isClaimReward},"loginBtn"],on:{click:t.getReward}},[t._v("\n "+t._s(t.$t("learn.ClaimBadge"))+"\n ")])])])]),t._v(" "),e("feedback",{attrs:{"article-link":t.articleLink}})],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isShowSahuaGif,expression:"!isShowSahuaGif"}],staticClass:"right left animate__animated animate__fadeIn animate__fast"},[e("div",{staticClass:"coinImg"},[e("div",{staticClass:"flash-bar"}),t._v(" "),e("img",{staticClass:"rewardGif",attrs:{src:t.badgeResponse.badgeImage,alt:"reward"}})]),t._v(" "),e("div",{staticClass:"share-downloads"},[e("share-learn",{attrs:{"badge-response":t.badgeResponse}}),t._v(" "),e("community"),t._v(" "),e("download-app")],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPop,expression:"isShowPop"}],staticClass:"pop animate__animated animate__fadeIn animate__fast"},[e("div",{staticClass:"popContent"},[e("div",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("learn.Congratulations")))]),t._v(" "),e("span",{staticClass:"colse",on:{click:t.colse}},[e("i",{staticClass:"iconfont icon-guanbi"})])]),t._v(" "),e("div",{staticClass:"coinImg"},[e("div",{staticClass:"flash-bar"}),t._v(" "),e("img",{attrs:{src:t.badgeResponse.badgeImage,alt:"congratulations-img"}})]),t._v(" "),e("div",{staticClass:"text"},[t._v(t._s(t.$t("learn.getedBuage")))])]),t._v(" "),e("div",{staticClass:"popMask"})]),t._v(" "),e("Popup",{attrs:{visible:t.hasBadgeShowPopup,text:t.hasBadgeText,"btn-text":t.hasBadgeBtnText,"is-show-close":!0},on:{close:t.hasBadgeHandleCloseBtn,clickBtn:t.hasBadgeHandleClickBtn}})],1),t._v(" "),e("ConnectWallet",{on:{connected:t.handleConnected,disconnect:t.disConnect},model:{value:t.showConnect,callback:function(e){t.showConnect=e},expression:"showConnect"}})],1)}),[],!1,null,"dd4333f4",null);e.default=component.exports},1243:function(t,e,r){"use strict";r.r(e);var n=r(2),o=(r(14),r(34),r(75),r(25),r(30),r(126)),c={props:{articleLink:{type:String,default:""},type:{type:String,default:""},count:{type:Number,default:0}},data:function(){return{showThanks:!1,total:this.count,select:"",selectTwo:"",selectThree:"",emolArr:[]}},created:function(){},methods:{getUsdcPrice:function(t,e){var r=this;return Object(n.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.$request.post(o.a.courseFeedBack,{articleLink:r.articleLink,courseFeedBackList:r.emolArr});case 3:0===t.sent.code&&(r.showThanks=!0,r.total+=1,setTimeout((function(){r.showThanks=!1}),2e3)),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},handleClick:function(t,e){"1"===t?(this.select="".concat(t,"-").concat(e),this.emolArr.push({likeType:e,type:t})):"2"===t?(this.selectTwo="".concat(t,"-").concat(e),this.emolArr.push({likeType:e,type:t})):(this.selectThree="".concat(t,"-").concat(e),this.emolArr.push({likeType:e,type:t}));var r=0,n=0,o=0;this.emolArr.map((function(t){return"1"===t.type?r++:"2"===t.type?n++:"3"===t.type&&o++,t})),this.emolArr.length>2&&r&&n&&o&&this.getUsdcPrice(t,e)}}},l=(r(1824),r(1)),component=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"feedback-wrapper"},[t.showThanks?t._e():[e("p",{staticClass:"title"},[t._v(t._s(t.$t("learn.SatisfactionSurvey")))]),t._v(" "),e("div",{staticClass:"face"},[e("div",{staticClass:"selected-wrapper"},[e("p",[t._v(t._s(t.$t("learn.CourseDuration")))]),t._v(" "),e("img",{class:{isGrey:t.select&&"1-1"==t.select},attrs:{src:r(357),alt:""},on:{click:function(e){return t.handleClick("1","1")}}}),t._v(" "),e("img",{class:{isGrey:t.select&&"1-2"==t.select},attrs:{src:r(358),alt:""},on:{click:function(e){return t.handleClick("1","2")}}}),t._v(" "),e("img",{class:{isGrey:t.select&&"1-3"==t.select},attrs:{src:r(359),alt:""},on:{click:function(e){return t.handleClick("1","3")}}})]),t._v(" "),e("div",{staticClass:"selected-wrapper"},[e("p",[t._v(t._s(t.$t("learn.CourseQuality")))]),t._v(" "),e("img",{class:{isGrey:t.selectTwo&&"2-1"==t.selectTwo},attrs:{src:r(357),alt:""},on:{click:function(e){return t.handleClick("2","1")}}}),t._v(" "),e("img",{class:{isGrey:t.selectTwo&&"2-2"==t.selectTwo},attrs:{src:r(358),alt:""},on:{click:function(e){return t.handleClick("2","2")}}}),t._v(" "),e("img",{class:{isGrey:t.selectTwo&&"2-3"==t.selectTwo},attrs:{src:r(359),alt:""},on:{click:function(e){return t.handleClick("2","3")}}})]),t._v(" "),e("div",{staticClass:"selected-wrapper"},[e("p",[t._v(t._s(t.$t("learn.CourseEnjoyment")))]),t._v(" "),e("img",{class:{isGrey:t.selectThree&&"3-1"==t.selectThree},attrs:{src:r(357),alt:""},on:{click:function(e){return t.handleClick("3","1")}}}),t._v(" "),e("img",{class:{isGrey:t.selectThree&&"3-2"==t.selectThree},attrs:{src:r(358),alt:""},on:{click:function(e){return t.handleClick("3","2")}}}),t._v(" "),e("img",{class:{isGrey:t.selectThree&&"3-3"==t.selectThree},attrs:{src:r(359),alt:""},on:{click:function(e){return t.handleClick("3","3")}}})])])],t._v(" "),t.showThanks?e("div",{staticClass:"thanks animated fadeIn"},[e("svg",{staticClass:"suc-anim-icon has-anim",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80"}},[e("circle",{staticClass:"suc-anim-icon_stroke",attrs:{cx:"40",cy:"40",r:"21",fill:"none"}}),t._v(" "),e("path",{staticClass:"suc-anim-icon_tick",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49.0411 35.9823C49.7233 35.3 49.7233 34.1939 49.0411 33.5117C48.3589 32.8294 47.2527 32.8294 46.5705 33.5117L37.4603 42.6219L32.9823 38.1439C32.3 37.4617 31.1939 37.4617 30.5117 38.1439C29.8294 38.8261 29.8294 39.9322 30.5117 40.6145L36.2119 46.3147C36.2162 46.3191 36.2205 46.3235 36.2249 46.3279C36.9072 47.0101 38.0133 47.0101 38.6955 46.3279L49.0411 35.9823Z",fill:"white"}})]),t._v("\n "+t._s(t.$t("research.feedback"))+"\n ")]):t._e()],2)}),[],!1,null,"6003bf32",null);e.default=component.exports},1244:function(t,e,r){"use strict";r.r(e);r(25);var n=r(2),o=(r(14),r(231)),c=r.n(o),l={name:"ShareLearn",props:{badgeResponse:{type:Object,default:function(){}}},data:function(){return{text:this.$t("learn.shareeTwitterText"),wxShareText:"快来加入TokenWiki吧",weoboShareText:"我从 TokenWiki 中获得了一枚徽章。别犹豫,快和我一起加入 #TokenWiki 中来吧,在 @TokenInsight 你可以体会到“边学边赚”的快感🎉!获取早鸟资格以及解锁更多福利🪂,戳这里👉 ",imageUrl:"",qrcodeImgUrl:""}},head:function(){return{meta:[{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:"website"},{name:"twitter:title",content:this.text},{name:"twitter:url",content:"https://tokeninsight.com".concat(this.url)},{name:"twitter:description",content:this.text},{name:"twitter:image",content:this.imageUrl}]}},computed:{url:function(){return window.location.href}},mounted:function(){this.creatQrCode(),this.imageUrl=this.badgeResponse.startImage||"http://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/weibo_share_logo.png"},methods:{creatQrCode:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.a.toDataURL(window.location.href);case 2:r=e.sent,t.qrcodeImgUrl=r;case 4:case"end":return e.stop()}}),e)})))()}}},h=(r(1825),r(1)),component=Object(h.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"our-community"},[e("span",[t._v(t._s(t.$t("learn.ShareTo")))]),t._v(" "),e("div",{staticClass:"our-community-box"},[e("span",{directives:[{name:"show",rawName:"v-show",value:"zh"===t.$i18n.locale,expression:"$i18n.locale === 'zh'"}]},[e("img",{staticClass:"Wechat",attrs:{src:r(360),target:"_blank",alt:""}}),t._v(" "),e("div",{staticClass:"wechat-share"},[e("div",{staticClass:"wechat-img"},[e("span",[t._v("扫码分享到微信")]),t._v(" "),e("img",{attrs:{src:t.qrcodeImgUrl,alt:"group"}})])])]),t._v(" "),"zh"===t.$i18n.locale?e("a",{attrs:{href:"https://service.weibo.com/share/share.php?url=".concat(t.url,"&title=快来加入TokenWiki吧,边学边赚,加入Web3学习的新浪潮&pic=").concat(encodeURI(t.imageUrl)),target:"_blank"}},[e("img",{attrs:{src:r(361),target:"_blank",alt:""}})]):t._e(),t._v(" "),e("a",{attrs:{href:"https://twitter.com/intent/tweet?url=".concat(t.url,"&text=").concat(encodeURI(t.$t("learn.twitterShareText"))),target:"_blank"}},[e("img",{attrs:{src:r(290),alt:""}})])])])}),[],!1,null,"4baa7f12",null);e.default=component.exports},1251:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=r(2),c=(r(14),r(34),r(122),r(30),r(47),r(39)),l=r(475),h=r(57),f=r(46),filter=r(3);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={name:"BitcoinTradingMarkets",components:{Empty:c.default,TiTabsUnderline:l.default},props:{cid:{type:Number,default:null},tid:{type:String,default:""},name:{type:String,default:""},tags:{type:Array,default:function(){return[{label:this.$t("coinDetail.SPOT"),value:"SPOT"},{label:this.$t("coinDetail.PERPETUALS"),value:"PERPETUALS"},{label:this.$t("coinDetail.FUTURES"),value:"FUTURES"}]}}},data:function(){return{loading:!0,tableData:[],sortKey:{volume24hSort:null,scoreSort:null,volumeChanged24hSort:null,priceChanged24hSort:null},currentTag:"SPOT",total:0,sort:-f.b.level,page:1,pageSize:5,options:[{value:5,label:"5"},{value:10,label:"10"},{value:20,label:"20"},{value:50,label:"50"}],value:5}},created:function(){this.getMarketsList()},computed:{localTime:function(){return filter.g}},methods:{sortChange:function(t){t.column;var e=t.prop,r=t.order;this.sortKey={},this.sortKey["".concat(e,"Sort")]=r,this.sort="descending"===r?-f.b[e]:"ascending"===r?f.b[e]:-f.b.level,this.page=1,this.getMarketsList("sort")},getMarketsList:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var r,n,o,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,r=null,n=null,"SPOT"===e.currentTag&&(n=7),"PERPETUALS"===e.currentTag&&(r=1),"FUTURES"===e.currentTag&&(r=2),o={current:e.page,pageSize:e.pageSize,sort:e.sort,contractType:r,exchangeType:n,cid:e.cid},t.next=10,e.$request.post(h.a.markets,o);case 10:0===(c=t.sent).code?(e.tableData=c.data.list.map((function(t,r){return v(v({},t),{},{serial:r+1+e.pageSize*(e.page-1)})})),e.page=c.data.pageNum,e.total=c.data.total):1===e.page?e.page=1:e.page--,t.next=17;break;case 14:t.prev=14,t.t0=t.catch(1),console.log(t.t0);case 17:e.loading=!1;case 18:case"end":return t.stop()}}),t,null,[[1,14]])})))()},symbolClass:function(t){var e=t.row;if("FUTURES"!==this.currentTag)return[2,3,4].includes(e.symbolType)?"symbolGrayRow":""},handleCurrentPage:function(t){this.page=t,this.getMarketsList()},handSizeChange:function(t){this.page=1,this.pageSize=t,this.getMarketsList()},getExchangeDetailUrl:function(t){return this.localePath("/exchanges/".concat(t.exid))}},watch:{currentTag:function(){this.tableData=[],this.page=1,this.getMarketsList()}}},y=(r(1873),r(1)),component=Object(y.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"markets-container"},[e("div",{staticClass:"markets-title"},[e("div",[e("span",[t._v(t._s(t.$t("coinDetail.tradingMarkets",{coin:t.name})))]),t._v(" "),e("nuxt-link",{staticClass:"underline-link",attrs:{to:t.localePath("/coins/".concat(t.tid,"/markets"))}},[t._v(t._s(t.$t("coinDetail.viewAll")))])],1),t._v(" "),e("ti-tabs-underline",{attrs:{tags:t.tags},model:{value:t.currentTag,callback:function(e){t.currentTag=e},expression:"currentTag"}})],1),t._v(" "),e("div",{staticClass:"markets-table"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData,"row-class-name":t.symbolClass,"header-cell-style":{background:"rgba(79, 38, 191, 0.06)"}},on:{"sort-change":t.sortChange}},[e("template",{slot:"empty"},[e("empty",{directives:[{name:"show",rawName:"v-show",value:!t.loading&&0===t.tableData.length,expression:"!loading && tableData.length === 0"}]})],1),t._v(" "),e("el-table-column",{attrs:{align:"center",label:"#",prop:"serial",width:"50"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(n.serial))])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"left",label:t.$t("coinDetail.exchange"),prop:"exchangeName",width:180},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("nuxt-link",{staticStyle:{"vertical-align":"middle"},attrs:{to:t.getExchangeDetailUrl(n)}},[e("div",{staticClass:"exchange-wrapper"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:n.exchangeLogo,expression:"row.exchangeLogo"}],attrs:{src:n.exchangeLogo,alt:t._f("exchangeLogoName")(n.exchangeName),title:t._f("exchangeLogoName")(n.exchangeName)}}),t._v(" "),e("div",{staticClass:"exchange-right"},[e("span",{staticStyle:{color:"#171717"}},[t._v(t._s(n.exchangeName)+"\n "),"FUTURES"!==t.currentTag?[2===n.symbolType?e("i",[t._v("*")]):t._e(),t._v(" "),3===n.symbolType?e("i",[t._v("**")]):t._e(),t._v(" "),4===n.symbolType?e("i",[t._v("***")]):t._e()]:t._e()],2),t._v(" "),n.symbol?e("span",{staticClass:"pair"},[t._v("\n "+t._s(n.symbol.toLocaleUpperCase())+"\n "),t.cid||"FUTURES"===t.currentTag?t._e():[2===n.symbolType?e("i",[t._v("*")]):t._e(),t._v(" "),3===n.symbolType?e("i",[t._v("**")]):t._e(),t._v(" "),4===n.symbolType?e("i",[t._v("***")]):t._e()]],2):e("span",{staticClass:"pair"},[t._v("-")])])])])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.price"),prop:"price",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(t._f("priceFormat")(n.price)))]),t._v(" "),e("br"),t._v(" "),e("span",{class:n.priceChanged24h>0?"green":"red"},[t._v(t._s(t._f("percentageFormat")(n.priceChanged24h)))])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"volume24h",label:"24H Volume",sortable:"custom",align:"right",width:"180"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(t._f("priceFormat")(n.volume24h,"0")))]),t._v(" "),e("br"),t._v(" "),e("span",{class:n.volumeChanged24h>0?"green":"red"},[t._v(t._s(t._f("percentageFormat")(n.volumeChanged24h)))])]}}])},[e("template",{slot:"header"},[e("span",{class:{purple:t.sortKey.volume24hSort}},[t._v(t._s(t.$t("exchanges.volume24h")))])])],2),t._v(" "),"SPOT"===t.currentTag?e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.share"),prop:"share",width:110},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.share?e("span",[t._v(t._s(t._f("constPercentageFormat")(n.share)))]):e("span",[t._v("-")])]}}],null,!1,1135915133)}):e("el-table-column",{attrs:{align:"right",label:t.$t("exchanges.openInterest"),prop:"openInterest",width:150},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.openInterest?e("span",[t._v(t._s(t._f("priceFormat")(n.openInterest,"0")))]):e("span",[t._v("-")])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.updateTm"),prop:"updateTime",width:150},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.updateTime?e("span",[t._v(t._s(t.localTime(n.updateTime,"YYYY-MM-DD HH:mm:ss")))]):e("span",[t._v("-")])]}}])})],2),t._v(" "),e("div",{staticClass:"tip"},[e("p",[t._v(t._s(t.$t("exchanges.inactive")))]),t._v(" "),e("p",[t._v(t._s(t.$t("exchanges.anomaly")))]),t._v(" "),e("p",[t._v(t._s(t.$t("exchanges.outdated")))])]),t._v(" "),t.tableData.length?e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{"hide-on-single-page":!1,layout:"prev, pager, next",total:t.total,"current-page":t.page,"page-size":t.pageSize},on:{"current-change":t.handleCurrentPage}}),t._v(" "),e("div",{staticClass:"pageSize"},[e("span",[t._v(t._s(t.$t("dashboard.global.ShowRows")))]),t._v(" "),e("el-select",{attrs:{size:"mini"},on:{change:function(e){return t.handSizeChange(t.value)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1):t._e()],1)])}),[],!1,null,"23964ec5",null);e.default=component.exports},1252:function(t,e,r){"use strict";r.r(e);r(17),r(37),r(99),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=r(2),c=(r(14),r(34),r(122),r(30),r(39)),l=r(475),h=r(57),f=r(46),filter=r(3);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m=r(138),y={name:"BitcoinTradingMarkets",components:{Empty:c.default,TiTabsUnderline:l.default},props:{cid:{type:Number,default:null},coin:{type:String},tags:{type:Array,default:function(){return[{label:"ETH",value:"ETH"},{label:"ARB",value:"ARB"},{label:"BNB",value:"BNB"},{label:"AVAX",value:"AVAX"},{label:"SOL",value:"SOL"},{label:"OP",value:"OP"}]}}},data:function(){return{loading:!0,tableData:[],sortKey:{volume24hSort:null,scoreSort:null,volumeChanged24hSort:null,priceChanged24hSort:null},currentTag:0,total:0,sort:-f.b.level,page:1,pageSize:10,options:[{value:10,label:"10"},{value:20,label:"20"},{value:50,label:"50"}],value:10}},created:function(){this.getHoldersList()},methods:{sortChange:function(t){t.column;var e=t.prop,r=t.order;this.sortKey={},this.sortKey["".concat(e,"Sort")]=r,this.sort="descending"===r?-f.b[e]:"ascending"===r?f.b[e]:-f.b.level,this.page=1,this.getHoldersList("sort")},getHoldersList:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var r,address,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,r={current:e.page,pageSize:e.pageSize,chainName:e.tags[e.currentTag].label},(address=e.tags[e.currentTag].addr)?r.address=address:r.cid=e.cid,t.next=7,e.$request.post(h.a.holdersList,r);case 7:0===(n=t.sent).code?(e.tableData=n.data.list.map((function(t,r){return v(v({},t),{},{serial:r+1+e.pageSize*(e.page-1)})})),e.page=n.data.pageNum,e.total=n.data.total):1===e.page?e.page=1:e.page--,t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),console.log(t.t0);case 14:e.loading=!1;case 15:case"end":return t.stop()}}),t,null,[[1,11]])})))()},handleCurrentPage:function(t){this.page=t,this.getHoldersList()},handSizeChange:function(t){this.page=1,this.pageSize=t,this.getHoldersList()},getExchangeDetailUrl:function(t){return this.localePath("/exchanges/".concat(t.exid))},displayPercentage:function(t){var e=parseFloat(t).toFixed(2);return"".concat(e>0?"+".concat(e):e,"%")}},watch:{currentTag:function(){this.tableData=[],this.page=1,this.getHoldersList()}},computed:{priceAbbreviationNew:function(){return filter.m},BigNumber:function(){return m}}},_=(r(1874),r(1)),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"markets-container"},[e("div",{staticClass:"markets-title"},[e("div",[e("span",{staticClass:"title"},[t._v("Top Holders")]),t._v(" "),e("span",{staticClass:"powered-by"},[t._v("Powered by")]),t._v(" "),e("a",{attrs:{href:"https://platform.arkhamintelligence.com/",target:"__blank",rel:"nofollow"}},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r(776),expression:"require('@/assets/images/coins/arkham.svg')"}],staticClass:"arkham",attrs:{alt:"arkham"}})])]),t._v(" "),e("ti-tabs-underline",{attrs:{tags:t.tags},model:{value:t.currentTag,callback:function(e){t.currentTag=e},expression:"currentTag"}})],1),t._v(" "),e("div",{staticClass:"markets-table"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData,"header-cell-style":{background:"rgba(79, 38, 191, 0.06)"}},on:{"sort-change":t.sortChange}},[e("template",{slot:"empty"},[e("empty",{directives:[{name:"show",rawName:"v-show",value:!t.loading&&0===t.tableData.length,expression:"!loading && tableData.length === 0"}]})],1),t._v(" "),e("el-table-column",{attrs:{align:"center",label:"#",prop:"serial",width:"50"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(n.serial))])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"left",label:t.$t("coinDetail.holders"),prop:"exchangeName"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.row;return[t._v("\n "+t._s(o.name)+"\n "),e("br"),t._v(" "),e("span",{staticClass:"addr-abbr"},[t._v(t._s(o.holderAddress.slice(0,2)+"..."+o.holderAddress.slice(-4)))]),t._v(" "),e("a",{attrs:{href:o.addressWebsite,target:"__blank"}},[e("img",{staticClass:"addr-jump",attrs:{src:r(777),alt:""}})])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.balance"),prop:"price",width:190},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(parseInt(n.balance).toLocaleString())+" ")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"balance-bottom"},[t._v("~"+t._s(t.priceAbbreviationNew(n.usd,"$","2"))+" ("+t._s(new t.BigNumber(n.pctOfCap).multipliedBy(100).toNumber().toFixed(2))+"% of\n MCap)")])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"change24h",align:"right",width:"140"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.change24h&&0!=n.change24h?e("span",{class:n.change24h>0?"green":"red"},[t._v(t._s(n.change24h>0?"+":"")+t._s(t._f("priceFormat")(n.change24h,"0","")))]):e("span",[t._v("-")]),t._v(" "),e("br"),t._v(" "),n.change24hRatio&&0!=n.change24hRatio?e("span",{class:n.change24hRatio>0?"green":"red"},[t._v(t._s(t.displayPercentage(n.change24hRatio)))]):e("span",[t._v("-")])]}}])},[e("template",{slot:"header"},[e("span",[t._v(t._s(t.$t("coinDetail.change24h")))])])],2),t._v(" "),e("el-table-column",{attrs:{prop:"change7d",align:"right",width:"130"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.change7d&&0!=n.change7d?e("span",{class:n.change7d>0?"green":"red"},[t._v(t._s(n.change7d>0?"+":"")+t._s(t._f("priceFormat")(n.change7d,"0",""))+"\n ")]):e("span",[t._v("-")]),t._v(" "),e("br"),t._v(" "),n.change7dRatio&&0!=n.change7dRatio?e("span",{class:n.change7dRatio>0?"green":"red"},[t._v(t._s(t.displayPercentage(n.change7dRatio)))]):e("span",[t._v("-")])]}}])},[e("template",{slot:"header"},[e("span",[t._v(t._s(t.$t("coinDetail.change7d")))])])],2),t._v(" "),e("el-table-column",{attrs:{prop:"change30d",align:"right",width:"135"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.change30d&&0!=n.change30d?e("span",{class:n.change30d>0?"green":"red"},[t._v(t._s(n.change30d>0?"+":"")+t._s(t._f("priceFormat")(n.change30d,"0","")))]):e("span",[t._v("-")]),t._v(" "),e("br"),t._v(" "),n.change30dRatio&&0!=n.change30dRatio?e("span",{class:n.change30dRatio>0?"green":"red"},[t._v(t._s(t.displayPercentage(n.change30dRatio)))]):e("span",[t._v("-")])]}}])},[e("template",{slot:"header"},[e("span",[t._v(t._s(t.$t("coinDetail.change30d")))])])],2)],2),t._v(" "),t.tableData.length?e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{"hide-on-single-page":!1,layout:"prev, pager, next",total:t.total,"current-page":t.page,"page-size":t.pageSize},on:{"current-change":t.handleCurrentPage}}),t._v(" "),e("div",{staticClass:"pageSize"},[e("span",[t._v(t._s(t.$t("dashboard.global.ShowRows")))]),t._v(" "),e("el-select",{attrs:{size:"mini"},on:{change:function(e){return t.handSizeChange(t.value)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1):t._e()],1)])}),[],!1,null,"44048322",null);e.default=component.exports},1273:function(t,e,r){"use strict";r.r(e);var n={name:"GoTop"},o=(r(1928),r(1)),component=Object(o.a)(n,(function(){var t=this._self._c;return t("el-backtop",{staticStyle:{width:"38px",height:"38px"},attrs:{target:".content","visibility-height":500,bottom:100}},[t("img",{staticClass:"go-top",attrs:{src:r(788),alt:""}})])}),[],!1,null,"18444a36",null);e.default=component.exports},1276:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(26),r(43),r(25),r(75),r(5)),l=r(182),h=r(115),f=r(211),d=r(27);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={name:"Login",data:function(){return{form:{email:"",code:""},codeText:this.$t("login.sendCode"),timer:null,time:60,error:"",supplementLoading:!1}},computed:m(m({},Object(c.c)({supplementAccount:"login/supplementAccount"})),{},{disabled:function(){return!(this.form.email&&this.form.code)}}),watch:{"form.code":function(t){this.form.code=t.replace(/\D/g,"")}},destroyed:function(){clearInterval(this.timer),this.timer=null},methods:m(m({},Object(c.d)({setShowClose:"login/setShowClose",setShowSupplement:"login/setShowSupplement",setSupplementEmail:"login/setSupplementEmail",setShowSupplementEmail:"login/setShowSupplementEmail",setSessionId:"setSessionId"})),{},{onSubmit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.supplementLoading=!0,e.prev=1,r=m(m({},t.form),{},{language:t.$i18n.locale,phone:t.supplementAccount.phone,password:t.supplementAccount.password}),e.next=5,t.$request.post(h.a.supplement,r);case 5:n=e.sent,t.supplementLoading=!1,0===n.code?(t.error="",t.setSessionId(n.data.sessionId),t.$Cookies.set("sessionId",n.data.sessionId),t.setSupplementEmail(t.form.email),t.setShowSupplementEmail(!0),t.setShowSupplement(!1)):t.error=n.msg,e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})))()},countDown:function(){var t=this;this.time--,this.codeText="".concat(this.$t("login.resend")," (").concat(this.time,"s)"),this.timer=setInterval((function(){t.time--,0===t.time?(t.codeText="".concat(t.$t("login.sendCode")),clearInterval(t.timer),t.time=60):t.codeText="".concat(t.$t("login.resend")," (").concat(t.time,"s)")}),1e3)},sendCode:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.form.email){e.next=2;break}return e.abrupt("return");case 2:if(Object(d.i)(t.form.email)){e.next=4;break}return e.abrupt("return");case 4:if(60===t.time){e.next=6;break}return e.abrupt("return");case 6:return e.prev=6,r={language:t.$i18n.locale,type:l.a.supplement,email:t.form.email},e.next=10,t.$request.post(f.a.code,r);case 10:0===(n=e.sent).code?t.countDown():t.error=n.msg,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(6),console.log(e.t0);case 17:case"end":return e.stop()}}),e,null,[[6,14]])})))()},blur:function(){if(this.form.email){var t=this.$i18n.locale;if(Object(d.i)(this.form.email))this.error="";else{var e="zh"===t?"邮箱格式错误":"Invalid email address.";this.error=e}}else this.error=""},close:function(){this.setShowClose(!1),this.setShowSupplement(!1)}})},_=(r(1931),r(1)),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"login-container"},[e("p",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("supplement.title")))]),t._v(" "),e("img",{attrs:{src:r(228),alt:""},on:{click:t.close}})]),t._v(" "),e("p",{staticClass:"des"},[t._v(t._s(t.$t("supplement.des")))]),t._v(" "),"en"===t.$i18n.locale?e("p",{staticClass:"des"},[t._v("Log in with your email address next time!")]):t._e(),t._v(" "),e("el-form",{ref:"myForm",attrs:{model:t.form,"label-position":"top","label-width":"80px"}},[e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{placeholder:t.$t("forget.emailPlaceholder")},on:{blur:t.blur},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("el-form-item",{staticClass:"password",attrs:{prop:"code"}},[e("el-input",{attrs:{maxlength:"6",placeholder:t.$t("forget.codePlaceholder")},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}}),t._v(" "),e("span",{staticClass:"send-code",on:{click:t.sendCode}},[t._v(t._s(t.codeText))]),t._v(" "),e("p",{staticClass:"notice"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticClass:"error"},[t._v(t._s(t.error))])])],1),t._v(" "),e("el-form-item",[e("el-button",{staticClass:"submit",class:{"submit-act":!t.disabled},attrs:{loading:t.supplementLoading,disabled:t.disabled,type:"primary"},on:{click:t.onSubmit}},[t._v(t._s(t.$t("supplement.submit")))])],1)],1)],1)}),[],!1,null,"6413b628",null);e.default=component.exports},1279:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(75),r(8),r(66),r(5)),l=r(115);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var d={name:"PasswordLogin",data:function(){return{form:{email:"",password:""},error:"",passwordType:"password",loginLoading:!1,token:""}},computed:f(f({},Object(c.c)({noRefresh:"login/noRefresh"})),{},{disabled:function(){return!(this.form.email&&this.form.password)}}),head:function(){return{script:[{defer:"defer",type:"text/javascript",src:"https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallback&="+Math.floor(10*Math.random())}]}},mounted:function(){var t=this;this.$nextTick((function(){window.onloadTurnstileCallback=function(){setTimeout((function(){window.turnstile.render(".cf-turnstile",{sitekey:"0x4AAAAAAAIm4YsG01sMMfr6",callback:function(e){console.log("Challenge Success ".concat(e)),t.token=e}})}),0)}}))},methods:f(f({},Object(c.d)({setShowLogin:"login/setShowLogin",setShowClose:"login/setShowClose",setForget:"login/setForget",setSessionId:"setSessionId",setShowSupplement:"login/setShowSupplement",setSupplementAccout:"login/setSupplementAccout"})),{},{onSubmit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loginLoading=!0,e.prev=1,r=f(f({},t.form),{},{language:t.$i18n.locale,password:t.$md5(t.form.password).toString(),token:t.token}),e.next=5,t.$request.post(l.a.login,r);case 5:if(n=e.sent,t.loginLoading=!1,0!==n.code){e.next=23;break}if(t.error="",t.setSessionId(n.data.sessionId),t.$Cookies.set("sessionId",n.data.sessionId),!t.noRefresh){e.next=20;break}return e.next=14,t.$request.post(l.a.getUser,{},"sessionId=".concat(n.data.sessionId));case 14:0===(o=e.sent).code?t.$store.commit("setUser",o.data):t.$store.commit("resetuser"),t.setShowLogin(!1),t.setShowClose(!1),e.next=21;break;case 20:window.location.reload();case 21:e.next=24;break;case 23:105===n.code?(t.setShowLogin(!1),t.setShowSupplement({showSupplement:!0}),t.setSupplementAccout({phone:t.form.email,password:t.$md5(t.form.password).toString()})):t.error=n.msg;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(1),console.log(e.t0);case 29:case"end":return e.stop()}}),e,null,[[1,26]])})))()},showForgetPassword:function(){this.setShowLogin(!1),this.setForget(!0)},showPwd:function(){"password"===this.passwordType?this.passwordType="":this.passwordType="password"}})},v=(r(1933),r(1)),component=Object(v.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"password-login-container"},[e("el-form",{ref:"myForm",attrs:{model:t.form,"label-position":"top","label-width":"80px"}},[e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{placeholder:t.$t("login.emailPlaceholder")},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("el-form-item",{staticClass:"password",attrs:{prop:"password"}},[e("div",{staticClass:"custom-password"},[e("el-input",{attrs:{type:t.passwordType,placeholder:t.$t("login.passwordPlaceholder")},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"===t.passwordType,expression:"passwordType === 'password'"}],attrs:{src:r(199),alt:""},on:{click:t.showPwd}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"!==t.passwordType,expression:"passwordType !== 'password'"}],attrs:{src:r(202),alt:""},on:{click:t.showPwd}})],1),t._v(" "),e("p",{staticClass:"notice"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticClass:"error"},[t._v(t._s(t.error))]),t._v(" "),e("span",{staticClass:"forgetPassword",on:{click:t.showForgetPassword}},[t._v(t._s(t.$t("login.forgetPassword")))])])]),t._v(" "),e("div",{staticClass:"cf-turnstile",attrs:{"data-sitekey":"0x4AAAAAAAIm4YsG01sMMfr6"}}),t._v(" "),e("el-form-item",[e("el-button",{staticClass:"submit",class:{"submit-act":!t.disabled},attrs:{loading:t.loginLoading,disabled:t.disabled,type:"primary"},on:{click:t.onSubmit}},[t._v(t._s(t.$t("login.submit")))])],1)],1)],1)}),[],!1,null,"13fea69c",null);e.default=component.exports},1281:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(8),r(66),r(5)),l=r(27),h=r(115),f=r(182);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={name:"SetPassword",data:function(){return{form:{password1:"",password2:""},codeText:this.$t("login.sendCode"),timer:null,time:60,passwordError:!1,error:"",passwordType:"password",passwordType1:"password",setLoading:!1}},computed:v(v({},Object(c.c)({restPassword:"login/restPassword"})),{},{disabled:function(){return!(this.form.password1&&this.form.password2)}}),watch:{"form.password1":function(t){Object(l.j)(t)?this.passwordError=!1:this.passwordError=!0}},destroyed:function(){clearInterval(this.timer),this.timer=null,this.setShowSetPassword(!1)},methods:v(v({},Object(c.d)({setForget:"login/setForget",setShowClose:"login/setShowClose",setShowSetPassword:"login/setShowSetPassword",setShowSuccess:"login/setShowSuccess"})),{},{onSubmit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.form.password1===t.form.password2){e.next=3;break}return t.error="zh"===t.$i18n.locale?"两次输入密码不一致":"Wrong code. Try again.",e.abrupt("return");case 3:return t.setLoading=!0,e.prev=4,r=v(v({},t.restPassword),{},{password:t.$md5(t.form.password1).toString(),language:t.$i18n.locale,type:f.a.restPassword}),e.next=8,t.$request.post(h.a.restPassword,r);case 8:n=e.sent,t.setLoading=!1,0===n.code?(t.error="",t.setShowSetPassword(!1),t.setShowSuccess(!0)):t.error=n.data.msg,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(4),console.log(e.t0);case 16:case"end":return e.stop()}}),e,null,[[4,13]])})))()},showForget:function(){this.setShowSetPassword(!1),this.setForget(!0)},close:function(){this.setShowClose(!1)},showPwd:function(){"password"===this.passwordType?this.passwordType="":this.passwordType="password"},showPwd1:function(){"password"===this.passwordType1?this.passwordType1="":this.passwordType1="password"}})},y=(r(1937),r(1)),component=Object(y.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"forget-password-container"},[e("div",{staticClass:"icons"},[e("img",{attrs:{src:r(533),alt:""},on:{click:t.showForget}}),t._v(" "),e("img",{attrs:{src:r(228),alt:""},on:{click:t.close}})]),t._v(" "),e("p",{staticClass:"title"},[t._v(t._s(t.$t("forget.setPasswordTitle")))]),t._v(" "),e("el-form",{ref:"myForm",attrs:{model:t.form,"label-position":"top","label-width":"80px"}},[e("el-form-item",{staticClass:"password",attrs:{prop:"password1"}},[e("div",{staticClass:"custom-password"},[e("el-input",{class:{"password-error-bg":t.passwordError},attrs:{type:t.passwordType,placeholder:t.$t("forget.password1")},model:{value:t.form.password1,callback:function(e){t.$set(t.form,"password1",e)},expression:"form.password1"}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"===t.passwordType,expression:"passwordType === 'password'"}],attrs:{src:r(199),alt:""},on:{click:t.showPwd}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"!==t.passwordType,expression:"passwordType !== 'password'"}],attrs:{src:r(202),alt:""},on:{click:t.showPwd}})],1),t._v(" "),e("p",{staticClass:"password-des",class:{"password-error-color":t.passwordError}},[t._v(t._s(t.$t("signup.passwordDes")))])]),t._v(" "),e("el-form-item",{staticClass:"password",attrs:{prop:"password2"}},[e("div",{staticClass:"custom-password"},[e("el-input",{attrs:{type:t.passwordType1,placeholder:t.$t("forget.password2")},model:{value:t.form.password2,callback:function(e){t.$set(t.form,"password2",e)},expression:"form.password2"}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"===t.passwordType1,expression:"passwordType1 === 'password'"}],attrs:{src:r(199),alt:""},on:{click:t.showPwd1}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"!==t.passwordType1,expression:"passwordType1 !== 'password'"}],attrs:{src:r(202),alt:""},on:{click:t.showPwd1}})],1),t._v(" "),e("p",{staticClass:"notice"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticClass:"error"},[t._v(t._s(t.error))])])]),t._v(" "),e("el-form-item",[e("el-button",{staticClass:"submit",class:{"submit-act":!t.disabled},attrs:{loading:t.setLoading,disabled:t.disabled,type:"primary"},on:{click:t.onSubmit}},[t._v(t._s("zh"===t.$i18n.locale?"完成":"Done"))])],1)],1)],1)}),[],!1,null,"2a5f9169",null);e.default=component.exports},1282:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=r(5);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var h={name:"Success",destroyed:function(){this.setShowSuccess(!1)},methods:l(l({},Object(o.d)({setShowClose:"login/setShowClose",setShowSuccess:"login/setShowSuccess"})),{},{close:function(){this.setShowClose(!1)}})},f=(r(1938),r(1)),component=Object(f.a)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"success-container"},[e("img",{staticClass:"success",attrs:{src:r(855),alt:""}}),t._v(" "),e("p",[t._v(t._s(t.$t("forget.success")))]),t._v(" "),e("span",{on:{click:t.close}},[t._v(t._s("zh"===t.$i18n.locale?"好的":"Ok"))])])}),[],!1,null,"ac1e5c54",null);e.default=component.exports},1283:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=r(5);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var h={name:"SupplementSuccess",computed:l({},Object(o.c)({supplementEmail:"login/supplementEmail"})),methods:l(l({},Object(o.d)({setShowClose:"login/setShowClose",setShowSupplementEmail:"login/setShowSupplementEmail"})),{},{close:function(){this.setShowClose(!1),this.setShowSupplementEmail(!1),window.location.reload()}})},f=(r(1939),r(1)),component=Object(f.a)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"success-container"},["zh"===t.$i18n.locale?e("p",{staticClass:"success-title"},[t._v("邮箱绑定成功!")]):e("p",{staticClass:"success-title"},[e("span",[t._v("Congratulations!")]),t._v(" "),e("span",[t._v("Your email was added successfully!")])]),t._v(" "),"zh"===t.$i18n.locale?e("p",{staticClass:"des"},[t._v("恭喜您,邮箱绑定成功,下次登录请使用"+t._s(t.supplementEmail)+"登录,谢谢~")]):e("p",{staticClass:"des"},[e("span",[t._v("Please use "+t._s(t.supplementEmail)+" to log in.")]),t._v(" "),e("span",[t._v("Thank you!")])]),t._v(" "),e("span",{on:{click:t.close}},[t._v(t._s("zh"===t.$i18n.locale?"好的":"OK"))])])}),[],!1,null,"06f18bdc",null);e.default=component.exports},1285:function(t,e,r){"use strict";r(11),r(13),r(12),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(26),r(43),r(75),r(8),r(66),r(25),r(5)),l=r(211),h=r(182),f=r(27);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={name:"SignUp",data:function(){return{form:{email:"",password:"",code:""},codeText:this.$t("login.sendCode"),timer:null,time:60,error:"",passwordError:!1,passwordType:"password",signLoading:!1,isAgree:!0,token:""}},computed:{disabled:function(){return!(this.form.email&&this.form.password&&this.form.code&&!this.passwordError)}},watch:{"form.password":function(t){Object(f.j)(t)?this.passwordError=!1:this.passwordError=!0},"form.code":function(t){this.form.code=t.replace(/\D/g,"")}},destroyed:function(){clearInterval(this.timer),this.timer=null,this.setShowSignup(!1)},head:function(){return{script:[{defer:"defer",type:"text/javascript",src:"https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallback&="+Math.floor(10*Math.random())}]}},mounted:function(){var t=this;t.$nextTick((function(){window.onloadTurnstileCallback=function(){setTimeout((function(){window.turnstile.render(".cf-turnstile",{sitekey:"0x4AAAAAAAIm4YsG01sMMfr6",callback:function(e){console.log("Challenge Success ".concat(e)),t.token=e}})}),0)}}))},methods:v(v({},Object(c.d)({setShowLogin:"login/setShowLogin",setShowSignup:"login/setShowSignup",setShowClose:"login/setShowClose",setSessionId:"setSessionId"})),{},{onSubmit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.signLoading=!0,e.prev=1,r=v(v({},t.form),{},{password:t.$md5(t.form.password).toString(),type:h.a.register,subscribe:t.isAgree,token:t.token}),e.next=5,t.$request.post(l.a.register,r);case 5:n=e.sent,t.signLoading=!1,0===n.code?(t.error="",t.setShowSignup(!1),t.setShowClose(!1),t.setSessionId(n.data.sessionId),t.$Cookies.set("seesionId",n.data.sessionId),window.location.reload()):t.error=n.msg,e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})))()},countDown:function(){var t=this;this.time--,this.codeText="".concat(this.$t("login.resend")," (").concat(this.time,"s)"),this.timer=setInterval((function(){t.time--,0===t.time?(t.codeText="".concat(t.$t("login.sendCode")),clearInterval(t.timer),t.time=60):t.codeText="".concat(t.$t("login.resend")," (").concat(t.time,"s)")}),1e3)},sendCode:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.form.email){e.next=2;break}return e.abrupt("return");case 2:if(Object(f.i)(t.form.email)){e.next=4;break}return e.abrupt("return");case 4:if(60===t.time){e.next=6;break}return e.abrupt("return");case 6:return e.prev=6,r={language:t.$i18n.locale,type:1,email:t.form.email},e.next=10,t.$request.post(l.a.code,r);case 10:0===(n=e.sent).code?t.countDown():t.error=n.msg,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(6),console.log(e.t0);case 17:case"end":return e.stop()}}),e,null,[[6,14]])})))()},close:function(){this.setShowClose(!1)},showLogin:function(){this.setShowSignup(!1),this.setShowLogin(!0)},blur:function(){if(this.form.email){var t=this.$i18n.locale;if(Object(f.i)(this.form.email))this.error="";else{var e="zh"===t?"邮箱格式错误":"Invalid email address.";this.error=e}}else this.error=""},showPwd:function(){"password"===this.passwordType?this.passwordType="":this.passwordType="password"}})},y=(r(1935),r(1)),component=Object(y.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"signup-container"},[e("p",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("signup.title")))]),t._v(" "),e("img",{attrs:{src:r(228),alt:""},on:{click:t.close}})]),t._v(" "),e("p",{staticClass:"des"},[t._v(t._s(t.$t("signup.des")))]),t._v(" "),e("p",{staticClass:"sub-des"},[t._v(t._s(t.$t("signup.subDes")))]),t._v(" "),e("p",{staticClass:"has-account"},[e("span",[t._v(" "+t._s(t.$t("signup.hasAccount"))+" ")]),t._v(" "),e("span",{staticClass:"login",on:{click:t.showLogin}},[t._v(t._s(t.$t("signup.login")))])]),t._v(" "),e("el-form",{ref:"myForm",attrs:{model:t.form,"label-position":"top","label-width":"80px"}},[e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{placeholder:t.$t("login.emailPlaceholder")},on:{blur:t.blur},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),e("el-form-item",{staticClass:"password",attrs:{prop:"code"}},[e("el-input",{attrs:{maxlength:"6",placeholder:t.$t("login.codePlaceholder")},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}}),t._v(" "),e("span",{staticClass:"send-code",on:{click:t.sendCode}},[t._v(t._s(t.codeText))])],1),t._v(" "),e("el-form-item",{staticClass:"password",attrs:{prop:"password"}},[e("div",{staticClass:"custom-password"},[e("el-input",{class:{"password-error-bg":t.passwordError},attrs:{"auto-complete":"new-password",type:t.passwordType,placeholder:t.$t("login.passwordPlaceholder")},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"===t.passwordType,expression:"passwordType === 'password'"}],attrs:{src:r(199),alt:""},on:{click:t.showPwd}}),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:"password"!==t.passwordType,expression:"passwordType !== 'password'"}],attrs:{src:r(202),alt:""},on:{click:t.showPwd}})],1),t._v(" "),e("p",{staticClass:"password-des",class:{"password-error-color":t.passwordError}},[t._v(t._s(t.$t("signup.passwordDes")))]),t._v(" "),e("p",{staticClass:"notice"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticClass:"error"},[t._v(t._s(t.error))])]),t._v(" "),e("p",{staticClass:"agree",class:{isAgree:t.isAgree}},[e("el-checkbox",{model:{value:t.isAgree,callback:function(e){t.isAgree=e},expression:"isAgree"}},[t._v(t._s(t.$t("signup.agree")))])],1)]),t._v(" "),e("div",{staticClass:"cf-turnstile",attrs:{"data-sitekey":"0x4AAAAAAAIm4YsG01sMMfr6"}}),t._v(" "),e("el-form-item",{staticClass:"sub"},[e("el-button",{staticClass:"submit",class:{"submit-act":!t.disabled},attrs:{loading:t.signLoading,disabled:t.disabled,type:"primary"},on:{click:t.onSubmit}},[t._v(t._s(t.$t("signup.submit")))]),t._v(" "),e("p",{staticClass:"signup-continue"},[e("span",[t._v(t._s(t.$t("signup.continue")))]),t._v(" "),e("a",{attrs:{href:"https://tokeninsight-support.gitbook.io/support/extras/privacy-policy",target:"_blank"}},[t._v("TokenInsight’s Terms of Service & Privacy Policy.")])])],1)],1)],1)}),[],!1,null,"1376a122",null);e.a=component.exports},1288:function(t,e,r){"use strict";r.d(e,"a",(function(){return C}));var n=r(1146),o=r(6),c=r(0),l=r(305),h=r(447),f=r(553),d=r(321),v=r(259),m=r(28),y=r(76),_=["axisLine","axisTickLabel","axisName"],w=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return Object(o.c)(e,t),e.prototype.render=function(t,e,r){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,r=e.getIndicatorAxes(),n=c.map(r,(function(t){var r=t.model.get("showName")?t.name:"";return new l.a(t.model,{axisName:r,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));c.each(n,(function(t){c.each(_,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,r=e.getIndicatorAxes();if(r.length){var n=t.get("shape"),o=t.getModel("splitLine"),l=t.getModel("splitArea"),y=o.getModel("lineStyle"),_=l.getModel("areaStyle"),w=o.get("show"),x=l.get("show"),O=y.get("color"),C=_.get("color"),S=c.isArray(O)?O:[O],k=c.isArray(C)?C:[C],j=[],P=[];if("circle"===n)for(var T=r[0].getTicksCoords(),D=e.cx,L=e.cy,i=0;i<T.length;i++){if(w)j[z(j,S,i)].push(new h.a({shape:{cx:D,cy:L,r:T[i].coord}}));if(x&&i<T.length-1)P[z(P,k,i)].push(new f.a({shape:{cx:D,cy:L,r0:T[i].coord,r:T[i+1].coord}}))}else{var $,M=c.map(r,(function(t,r){var n=t.getTicksCoords();return $=null==$?n.length-1:Math.min(n.length-1,$),c.map(n,(function(t){return e.coordToPoint(t.coord,r)}))})),E=[];for(i=0;i<=$;i++){for(var R=[],A=0;A<r.length;A++)R.push(M[A][i]);if(R[0]&&R.push(R[0].slice()),w)j[z(j,S,i)].push(new d.a({shape:{points:R}}));if(x&&E)P[z(P,k,i-1)].push(new v.a({shape:{points:R.concat(E)}}));E=R.slice().reverse()}}var I=y.getLineStyle(),N=_.getAreaStyle();c.each(P,(function(t,e){this.group.add(m.mergePath(t,{style:c.defaults({stroke:"none",fill:k[e%k.length]},N),silent:!0}))}),this),c.each(j,(function(t,e){this.group.add(m.mergePath(t,{style:c.defaults({fill:"none",stroke:S[e%S.length]},I),silent:!0}))}),this)}function z(t,e,r){var n=r%e.length;return t[n]=t[n]||[],n}},e.type="radar",e}(y.a),x=w,O=r(1290);function C(t){t.registerCoordinateSystem("radar",O.a),t.registerComponentModel(n.a),t.registerComponentView(x),t.registerVisual({seriesType:"radar",reset:function(t){var data=t.getData();data.each((function(t){data.setItemVisual(t,"legendIcon","roundRect")})),data.setVisual("legendIcon","roundRect")}})}},1399:function(t,e){e.read=function(t,e,r,n,o){var c,l,h=8*o-n-1,f=(1<<h)-1,d=f>>1,v=-7,i=r?o-1:0,m=r?-1:1,s=t[e+i];for(i+=m,c=s&(1<<-v)-1,s>>=-v,v+=h;v>0;c=256*c+t[e+i],i+=m,v-=8);for(l=c&(1<<-v)-1,c>>=-v,v+=n;v>0;l=256*l+t[e+i],i+=m,v-=8);if(0===c)c=1-d;else{if(c===f)return l?NaN:1/0*(s?-1:1);l+=Math.pow(2,n),c-=d}return(s?-1:1)*l*Math.pow(2,c-n)},e.write=function(t,e,r,n,o,c){var l,h,f,d=8*c-o-1,v=(1<<d)-1,m=v>>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=n?0:c-1,y=n?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(h=isNaN(e)?1:0,l=v):(l=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-l))<1&&(l--,f*=2),(e+=l+m>=1?rt/f:rt*Math.pow(2,1-m))*f>=2&&(l++,f/=2),l+m>=v?(h=0,l=v):l+m>=1?(h=(e*f-1)*Math.pow(2,o),l+=m):(h=e*Math.pow(2,m-1)*Math.pow(2,o),l=0));o>=8;t[r+i]=255&h,i+=y,h/=256,o-=8);for(l=l<<o|h,d+=o;d>0;t[r+i]=255&l,i+=y,l/=256,d-=8);t[r+i-y]|=128*s}},1400:function(t,e){},1401:function(t,e,r){"use strict";var n=r(384).Buffer,o=r(1402);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(s){if(0===this.length)return"";for(var p=this.head,t=""+p.data;p=p.next;)t+=s+p.data;return t},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,o,c=n.allocUnsafe(t>>>0),p=this.head,i=0;p;)e=p.data,r=c,o=i,e.copy(r,o),i+=p.data.length,p=p.next;return c},t}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var t=o.inspect({length:this.length});return this.constructor.name+" "+t})},1402:function(t,e){},1403:function(t,e,r){"use strict";t.exports=c;var n=r(708),o=Object.create(r(345));function c(t){if(!(this instanceof c))return new c(t);n.call(this,t)}o.inherits=r(242),o.inherits(c,n),c.prototype._transform=function(t,e,r){r(null,t)}},1406:function(t,e,r){(function(t,n){var o;!function(c){e&&e.nodeType,t&&t.nodeType;var l="object"==typeof n&&n;l.global!==l&&l.window!==l&&l.self;var h,f=2147483647,base=36,d=/^xn--/,v=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=Math.floor,w=String.fromCharCode;function x(t){throw new RangeError(y[t])}function map(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function O(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+map((t=t.replace(m,".")).split("."),e).join(".")}function C(t){for(var e,r,output=[],n=0,o=t.length;n<o;)(e=t.charCodeAt(n++))>=55296&&e<=56319&&n<o?56320==(64512&(r=t.charCodeAt(n++)))?output.push(((1023&e)<<10)+(1023&r)+65536):(output.push(e),n--):output.push(e);return output}function S(t){return map(t,(function(t){var output="";return t>65535&&(output+=w((t-=65536)>>>10&1023|55296),t=56320|1023&t),output+=w(t)})).join("")}function k(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function j(t,e,r){var n=0;for(t=r?_(t/700):t>>1,t+=_(t/e);t>455;n+=base)t=_(t/35);return _(n+36*t/(t+38))}function P(input){var t,e,r,n,o,c,l,h,d,v,m,output=[],y=input.length,i=0,w=128,O=72;for((e=input.lastIndexOf("-"))<0&&(e=0),r=0;r<e;++r)input.charCodeAt(r)>=128&&x("not-basic"),output.push(input.charCodeAt(r));for(n=e>0?e+1:0;n<y;){for(o=i,c=1,l=base;n>=y&&x("invalid-input"),((h=(m=input.charCodeAt(n++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:base)>=base||h>_((f-i)/c))&&x("overflow"),i+=h*c,!(h<(d=l<=O?1:l>=O+26?26:l-O));l+=base)c>_(f/(v=base-d))&&x("overflow"),c*=v;O=j(i-o,t=output.length+1,0==o),_(i/t)>f-w&&x("overflow"),w+=_(i/t),i%=t,output.splice(i++,0,w)}return S(output)}function T(input){var t,e,r,n,o,c,l,q,h,d,v,m,y,O,S,output=[];for(m=(input=C(input)).length,t=128,e=0,o=72,c=0;c<m;++c)(v=input[c])<128&&output.push(w(v));for(r=n=output.length,n&&output.push("-");r<m;){for(l=f,c=0;c<m;++c)(v=input[c])>=t&&v<l&&(l=v);for(l-t>_((f-e)/(y=r+1))&&x("overflow"),e+=(l-t)*y,t=l,c=0;c<m;++c)if((v=input[c])<t&&++e>f&&x("overflow"),v==t){for(q=e,h=base;!(q<(d=h<=o?1:h>=o+26?26:h-o));h+=base)S=q-d,O=base-d,output.push(w(k(d+S%O,0))),q=_(S/O);output.push(w(k(q,0))),o=j(e,y,r==n),e=0,++r}++e,++t}return output.join("")}h={version:"1.4.1",ucs2:{decode:C,encode:S},decode:P,encode:T,toASCII:function(input){return O(input,(function(t){return v.test(t)?"xn--"+T(t):t}))},toUnicode:function(input){return O(input,(function(t){return d.test(t)?P(t.slice(4).toLowerCase()):t}))}},void 0===(o=function(){return h}.call(e,r,e,t))||(t.exports=o)}()}).call(this,r(1293)(t),r(105))},1417:function(t,e){},144:function(t,e,r){"use strict";r.d(e,"a",(function(){return _})),r.d(e,"b",(function(){return w}));var n=r(61),o=r(29),c=n.identity,l=5e-5;function h(t){return t>l||t<-5e-5}var f=[],d=[],v=n.create(),m=Math.abs,y=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return h(this.rotation)||h(this.x)||h(this.y)||h(this.scaleX-1)||h(this.scaleY-1)||h(this.skewX)||h(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;e||t?(r=r||n.create(),e?this.getLocalTransform(r):c(r),t&&(e?n.mul(r,t,r):n.copy(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)):r&&c(r)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(f);var r=f[0]<0?-1:1,o=f[1]<0?-1:1,c=((f[0]-r)*e+r)/f[0]||0,l=((f[1]-o)*e+o)/f[1]||0;t[0]*=c,t[1]*=c,t[2]*=l,t[3]*=l}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),o=Math.PI/2+n-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),e=Math.sqrt(e),this.skewX=o,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(d,t.invTransform,e),e=d);var r=this.originX,o=this.originY;(r||o)&&(v[4]=r,v[5]=o,n.mul(d,e,v),d[4]-=r,d[5]-=o,e=d),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var r=[t,e],n=this.invTransform;return n&&o.applyTransform(r,r,n),r},t.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&o.applyTransform(r,r,n),r},t.prototype.getLineScale=function(){var t=this.transform;return t&&m(t[0]-1)>1e-10&&m(t[3]-1)>1e-10?Math.sqrt(m(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(source){w(this,source)},t.getLocalTransform=function(t,e){e=e||[];var r=t.originX||0,o=t.originY||0,c=t.scaleX,l=t.scaleY,h=t.anchorX,f=t.anchorY,d=t.rotation||0,v=t.x,m=t.y,y=t.skewX?Math.tan(t.skewX):0,_=t.skewY?Math.tan(-t.skewY):0;if(r||o||h||f){var w=r+h,x=o+f;e[4]=-w*c-y*x*l,e[5]=-x*l-_*w*c}else e[4]=e[5]=0;return e[0]=c,e[3]=l,e[1]=_*c,e[2]=y*l,d&&n.rotate(e,e,d),e[4]+=r+v,e[5]+=o+m,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),_=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function w(t,source){for(var i=0;i<_.length;i++){var e=_[i];t[e]=source[e]}}e.c=y},1458:function(t,e){},1463:function(t,e,r){},1468:function(t,e,r){},1476:function(t,e,r){},1478:function(t,e,r){},1481:function(t,e,r){},1482:function(t,e,r){},1494:function(t,e,r){},1527:function(t,e,r){},1528:function(t,e,r){},1530:function(t,e,r){},1531:function(t,e,r){},1566:function(t,e,r){"use strict";r(743)},1572:function(t,e,r){"use strict";r(749)},167:function(t,e,r){"use strict";var n=new(r(89).a);e.a=n},1682:function(t,e,r){"use strict";r(866)},1685:function(t,e,r){"use strict";r(869)},1687:function(t,e,r){"use strict";r(871)},1688:function(t,e,r){"use strict";r(872)},1692:function(t,e,r){"use strict";r(873)},1693:function(t,e,r){"use strict";r(874)},1694:function(t,e,r){"use strict";r(875)},1695:function(t,e,r){"use strict";r(876)},1696:function(t,e,r){"use strict";r(877)},1697:function(t,e,r){"use strict";r(878)},1698:function(t,e,r){"use strict";r(879)},1699:function(t,e,r){"use strict";r(880)},1700:function(t,e,r){"use strict";r(881)},1701:function(t,e,r){"use strict";r(882)},1702:function(t,e,r){"use strict";r(883)},1705:function(t,e,r){"use strict";r(885)},1709:function(t,e,r){"use strict";r(889)},1710:function(t,e,r){"use strict";r(890)},1714:function(t,e,r){"use strict";r(893)},1740:function(t,e,r){"use strict";r(906)},1741:function(t,e,r){"use strict";r(907)},1743:function(t,e,r){"use strict";r(909)},175:function(t,e,r){"use strict";function n(t,e,r,n,o,c){if(c>e&&c>n||c<e&&c<n)return 0;if(n===e)return 0;var l=(c-e)/(n-e),h=n<e?1:-1;1!==l&&0!==l||(h=n<e?.5:-.5);var f=l*(r-t)+t;return f===o?1/0:f>o?h:0}r.d(e,"a",(function(){return n}))},1761:function(t,e,r){"use strict";r(927)},1765:function(t,e,r){"use strict";r(931)},1809:function(t,e,r){"use strict";r(961)},181:function(t,e,r){"use strict";var n=function(t){this.value=t},o=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,r=t.next;e?e.next=r:this.head=r,r?r.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),c=function(){function t(t){this._list=new o,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var r=this._list,map=this._map,o=null;if(null==map[t]){var c=r.len(),l=this._lastRemovedEntry;if(c>=this._maxSize&&c>0){var h=r.head;r.remove(h),delete map[h.key],o=h.value,this._lastRemovedEntry=h}l?l.value=e:l=new n(e),l.key=t,r.insertEntry(l),map[t]=l}return o},t.prototype.get=function(t){var e=this._map[t],r=this._list;if(null!=e)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e.a=c},1810:function(t,e,r){"use strict";r(962)},1811:function(t,e,r){"use strict";r(963)},1814:function(t,e,r){"use strict";r(966)},1824:function(t,e,r){"use strict";r(970)},1825:function(t,e,r){"use strict";r(971)},1828:function(t,e,r){"use strict";r(975)},1832:function(t,e,r){"use strict";r(979)},184:function(t,e,r){"use strict";r.r(e);r(25);var n=r(79),o={name:"ArticleMore",props:{list:{type:Array,default:function(){return[]}}},data:function(){return{swiperOptions:{slidesPerView:3,spaceBetween:20,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}},ResearchTypeNumber:n.b}}},c=(r(1705),r(1)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"article-more-container"},[e("h4",{staticClass:"article-more-titile"},[t._v(t._s(t.$t("newsDetail.more")))]),t._v(" "),e("div",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img"},expression:"{ selector: 'img' }"}],staticClass:"more-wrapper"},t._l(t.list,(function(r,n){return e("div",{key:n,staticClass:"more-item"},[e("nuxt-link",{attrs:{to:t.localePath("/research/".concat(t.ResearchTypeNumber[r.dataType],"/").concat(r.articleLink))}},[e("img",{attrs:{"data-src":t._f("clipImg")(r.imgUrl,420,280,"cover",80),alt:"cover"}}),t._v(" "),e("span",[t._v(t._s(r.title))])])],1)})),0)])}),[],!1,null,"6120aa1e",null);e.default=component.exports},1841:function(t,e,r){"use strict";r(988)},1857:function(t,e,r){"use strict";r(1001)},1859:function(t,e,r){"use strict";r(1003)},1870:function(t,e,r){"use strict";r(1008)},1873:function(t,e,r){"use strict";r(1011)},1874:function(t,e,r){"use strict";r(1012)},190:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=2*Math.PI;function o(t){return(t%=n)<0&&(t+=n),t}},1915:function(t,e,r){"use strict";r(1053)},1917:function(t,e,r){"use strict";r(1054)},1918:function(t,e,r){"use strict";r(1055)},1923:function(t,e,r){"use strict";r(1058)},1928:function(t,e,r){"use strict";r(1063)},1931:function(t,e,r){"use strict";r(1066)},1933:function(t,e,r){"use strict";r(1068)},1935:function(t,e,r){"use strict";r(1070)},1937:function(t,e,r){"use strict";r(1072)},1938:function(t,e,r){"use strict";r(1073)},1939:function(t,e,r){"use strict";r(1074)},1973:function(t,e,r){"use strict";r(1106)},1975:function(t,e,r){"use strict";r(1107)},1984:function(t,e,r){"use strict";r.d(e,"a",(function(){return x}));var n=r(6),o=r(0),c=r(96),l=r(104),h=r(53),f=r(60),d=r(52),v=r(50),m=r(76),y=r(44),_=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.layoutMode={type:"box",ignoreSize:!0},r}return Object(n.c)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(v.a),w=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return Object(n.c)(e,t),e.prototype.render=function(t,e,r){if(this.group.removeAll(),t.get("show")){var n=this.group,v=t.getModel("textStyle"),m=t.getModel("subtextStyle"),_=t.get("textAlign"),w=o.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),x=new c.a({style:Object(f.b)(v,{text:t.get("text"),fill:v.getTextColor()},{disableBox:!0}),z2:10}),O=x.getBoundingRect(),C=t.get("subtext"),S=new c.a({style:Object(f.b)(m,{text:C,fill:m.getTextColor(),y:O.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),link=t.get("link"),k=t.get("sublink"),j=t.get("triggerEvent",!0);x.silent=!link&&!j,S.silent=!k&&!j,link&&x.on("click",(function(){Object(y.k)(link,"_"+t.get("target"))})),k&&S.on("click",(function(){Object(y.k)(k,"_"+t.get("subtarget"))})),Object(h.a)(x).eventData=Object(h.a)(S).eventData=j?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(x),C&&n.add(S);var P=n.getBoundingRect(),T=t.getBoxLayoutParams();T.width=P.width,T.height=P.height;var D=Object(d.d)(T,{width:r.getWidth(),height:r.getHeight()},t.get("padding"));_||("middle"===(_=t.get("left")||t.get("right"))&&(_="center"),"right"===_?D.x+=D.width:"center"===_&&(D.x+=D.width/2)),w||("center"===(w=t.get("top")||t.get("bottom"))&&(w="middle"),"bottom"===w?D.y+=D.height:"middle"===w&&(D.y+=D.height/2),w=w||"top"),n.x=D.x,n.y=D.y,n.markRedraw();var L={align:_,verticalAlign:w};x.setStyle(L),S.setStyle(L),P=n.getBoundingRect();var $=D.margin,style=t.getItemStyle(["color","opacity"]);style.fill=t.get("backgroundColor");var rect=new l.a({shape:{x:P.x-$[3],y:P.y-$[0],width:P.width+$[1]+$[3],height:P.height+$[0]+$[2],r:t.get("borderRadius")},style:style,subPixelOptimize:!0,silent:!0});n.add(rect)}},e.type="title",e}(m.a);function x(t){t.registerComponentModel(_),t.registerComponentView(w)}},1991:function(t,e,r){"use strict";r.d(e,"a",(function(){return ut}));var n=r(6),o=r(230),c=r(90),l=r(91),h=r(112),f=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return Object(n.c)(e,t),e.prototype.getInitialData=function(option){return Object(o.a)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new h.a,line=Object(l.a)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(line),line.setStyle(t.lineStyle);var r=this.getData().getVisual("symbol"),n=this.getData().getVisual("symbolRotate"),o="none"===r?"circle":r,c=.8*t.itemHeight,symbol=Object(l.a)(o,(t.itemWidth-c)/2,(t.itemHeight-c)/2,c,c,t.itemStyle.fill);e.add(symbol),symbol.setStyle(t.itemStyle);var f="inherit"===t.iconRotate?n:t.iconRotate||0;return symbol.rotation=f*Math.PI/180,symbol.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(symbol.style.stroke=symbol.style.fill,symbol.style.fill="#fff",symbol.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(c.b),d=f,v=r(0),m=r(1143),y=r(378),_=r(136);function w(t,data,e){var r=t.getBaseAxis(),n=t.getOtherAxis(r),o=function(t,e){var r=0,n=t.scale.getExtent();"start"===e?r=n[0]:"end"===e?r=n[1]:Object(v.isNumber)(e)&&!isNaN(e)?r=e:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]);return r}(n,e),c=r.dim,l=n.dim,h=data.mapDimension(l),f=data.mapDimension(c),d="x"===l||"radius"===l?1:0,m=Object(v.map)(t.dimensions,(function(t){return data.mapDimension(t)})),y=!1,w=data.getCalculationInfo("stackResultDimension");return Object(_.c)(data,m[0])&&(y=!0,m[0]=w),Object(_.c)(data,m[1])&&(y=!0,m[1]=w),{dataDimsForPoint:m,valueStart:o,valueAxisDim:l,baseAxisDim:c,stacked:!!y,valueDim:h,baseDim:f,baseDataOffset:d,stackedOverDimension:data.getCalculationInfo("stackedOverDimension")}}function x(t,e,data,r){var n=NaN;t.stacked&&(n=data.get(data.getCalculationInfo("stackedOverDimension"),r)),isNaN(n)&&(n=t.valueStart);var o=t.baseDataOffset,c=[];return c[o]=data.get(t.baseDim,r),c[1-o]=n,e.dataToPoint(c)}var O=r(157);var C=r(716),S=r(69),k=r(96),j=r(9),P=r(38),T=r(114),D=r(41),L=Math.min,$=Math.max;function M(t,e){return isNaN(t)||isNaN(e)}function E(t,e,r,n,o,c,l,h,f){for(var d,v,m,y,_,w,x=r,O=0;O<n;O++){var C=e[2*x],S=e[2*x+1];if(x>=o||x<0)break;if(M(C,S)){if(f){x+=c;continue}break}if(x===r)t[c>0?"moveTo":"lineTo"](C,S),m=C,y=S;else{var k=C-d,j=S-v;if(k*k+j*j<.5){x+=c;continue}if(l>0){for(var P=x+c,T=e[2*P],D=e[2*P+1];T===C&&D===S&&O<n;)O++,x+=c,T=e[2*(P+=c)],D=e[2*P+1],k=(C=e[2*x])-d,j=(S=e[2*x+1])-v;var E=O+1;if(f)for(;M(T,D)&&E<n;)E++,T=e[2*(P+=c)],D=e[2*P+1];var R=.5,A=0,I=0,N=void 0,z=void 0;if(E>=n||M(T,D))_=C,w=S;else{A=T-d,I=D-v;var B=C-d,F=T-C,Y=S-v,U=D-S,H=void 0,W=void 0;if("x"===h){var V=A>0?1:-1;_=C-V*(H=Math.abs(B))*l,w=S,N=C+V*(W=Math.abs(F))*l,z=S}else if("y"===h){var G=I>0?1:-1;_=C,w=S-G*(H=Math.abs(Y))*l,N=C,z=S+G*(W=Math.abs(U))*l}else H=Math.sqrt(B*B+Y*Y),_=C-A*l*(1-(R=(W=Math.sqrt(F*F+U*U))/(W+H))),w=S-I*l*(1-R),z=S+I*l*R,N=L(N=C+A*l*R,$(T,C)),z=L(z,$(D,S)),N=$(N,L(T,C)),w=S-(I=(z=$(z,L(D,S)))-S)*H/W,_=L(_=C-(A=N-C)*H/W,$(d,C)),w=L(w,$(v,S)),N=C+(A=C-(_=$(_,L(d,C))))*W/H,z=S+(I=S-(w=$(w,L(v,S))))*W/H}t.bezierCurveTo(m,y,_,w,C,S),m=N,y=z}else t.lineTo(C,S)}d=C,v=S,x+=c}return O}var R=function(){this.smooth=0,this.smoothConstraint=!0},A=function(t){function e(e){var r=t.call(this,e)||this;return r.type="ec-polyline",r}return Object(n.c)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new R},e.prototype.buildPath=function(t,e){var r=e.points,i=0,n=r.length/2;if(e.connectNulls){for(;n>0&&M(r[2*n-2],r[2*n-1]);n--);for(;i<n&&M(r[2*i],r[2*i+1]);i++);}for(;i<n;)i+=E(t,r,i,n,n,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var r,n,data=this.path.data,o=T.a.CMD,c="x"===e,l=[],i=0;i<data.length;){var h=void 0,f=void 0,d=void 0,v=void 0,m=void 0,y=void 0,_=void 0;switch(data[i++]){case o.M:r=data[i++],n=data[i++];break;case o.L:if(h=data[i++],f=data[i++],(_=c?(t-r)/(h-r):(t-n)/(f-n))<=1&&_>=0){var w=c?(f-n)*_+n:(h-r)*_+r;return c?[t,w]:[w,t]}r=h,n=f;break;case o.C:h=data[i++],f=data[i++],d=data[i++],v=data[i++],m=data[i++],y=data[i++];var x=c?Object(D.f)(r,h,d,m,t,l):Object(D.f)(n,f,v,y,t,l);if(x>0)for(var O=0;O<x;O++){var C=l[O];if(C<=1&&C>=0){w=c?Object(D.a)(n,f,v,y,C):Object(D.a)(r,h,d,m,C);return c?[t,w]:[w,t]}}r=m,n=y}}},e}(P.b),I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n.c)(e,t),e}(R),N=function(t){function e(e){var r=t.call(this,e)||this;return r.type="ec-polygon",r}return Object(n.c)(e,t),e.prototype.getDefaultShape=function(){return new I},e.prototype.buildPath=function(t,e){var r=e.points,n=e.stackedOnPoints,i=0,o=r.length/2,c=e.smoothMonotone;if(e.connectNulls){for(;o>0&&M(r[2*o-2],r[2*o-1]);o--);for(;i<o&&M(r[2*i],r[2*i+1]);i++);}for(;i<o;){var l=E(t,r,i,o,o,1,e.smooth,c,e.connectNulls);E(t,n,i+l-1,l,o,-1,e.stackedOnSmooth,c,e.connectNulls),i+=l+1,t.closePath()}},e}(P.b),z=r(100),B=r(377),F=r(376),Y=r(20),U=r(60),H=r(237),W=r(53),V=r(44),G=r(86);function X(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++)if(t[i]!==e[i])return;return!0}}function K(t){for(var e=1/0,r=1/0,n=-1/0,o=-1/0,i=0;i<t.length;){var c=t[i++],l=t[i++];isNaN(c)||(e=Math.min(c,e),n=Math.max(c,n)),isNaN(l)||(r=Math.min(l,r),o=Math.max(l,o))}return[[e,r],[n,o]]}function J(t,e){var r=K(t),n=r[0],o=r[1],c=K(e),l=c[0],h=c[1];return Math.max(Math.abs(n[0]-l[0]),Math.abs(n[1]-l[1]),Math.abs(o[0]-h[0]),Math.abs(o[1]-h[1]))}function Q(t){return v.isNumber(t)?t:t?.5:0}function Z(t,e,r,n){var o=e.getBaseAxis(),c="x"===o.dim||"radius"===o.dim?0:1,l=[],i=0,h=[],f=[],d=[],v=[];if(n){for(i=0;i<t.length;i+=2)isNaN(t[i])||isNaN(t[i+1])||v.push(t[i],t[i+1]);t=v}for(i=0;i<t.length-2;i+=2)switch(d[0]=t[i+2],d[1]=t[i+3],f[0]=t[i],f[1]=t[i+1],l.push(f[0],f[1]),r){case"end":h[c]=d[c],h[1-c]=f[1-c],l.push(h[0],h[1]);break;case"middle":var m=(f[c]+d[c])/2,y=[];h[c]=y[c]=m,h[1-c]=f[1-c],y[1-c]=d[1-c],l.push(h[0],h[1]),l.push(y[0],y[1]);break;default:h[c]=f[c],h[1-c]=d[1-c],l.push(h[0],h[1])}return l.push(t[i++],t[i++]),l}function tt(data,t,e){var r=data.getVisual("visualMeta");if(r&&r.length&&data.count()&&"cartesian2d"===t.type){for(var n,o,i=r.length-1;i>=0;i--){var c=data.getDimensionInfo(r[i].dimension);if("x"===(n=c&&c.coordDim)||"y"===n){o=r[i];break}}if(o){var l=t.getAxis(n),h=v.map(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),f=h.length,d=o.outerColors.slice();f&&h[0].coord>h[f-1].coord&&(h.reverse(),d.reverse());var m=function(t,e){var r,n,o=[],c=t.length;function l(t,e,r){var n=t.coord,p=(r-n)/(e.coord-n);return{coord:r,color:Object(G.lerp)(p,[t.color,e.color])}}for(var i=0;i<c;i++){var h=t[i],f=h.coord;if(f<0)r=h;else{if(f>e){n?o.push(l(n,h,e)):r&&o.push(l(r,h,0),l(r,h,e));break}r&&(o.push(l(r,h,0)),r=null),o.push(h),n=h}}return o}(h,"x"===n?e.getWidth():e.getHeight()),y=m.length;if(!y&&f)return h[0].coord<0?d[1]?d[1]:h[f-1].color:d[0]?d[0]:h[0].color;var _=m[0].coord-10,w=m[y-1].coord+10,x=w-_;if(x<.001)return"transparent";v.each(m,(function(t){t.offset=(t.coord-_)/x})),m.push({offset:y?m[y-1].offset:.5,color:d[1]||"transparent"}),m.unshift({offset:y?m[0].offset:.5,color:d[0]||"transparent"});var O=new C.a(0,0,0,0,m,!0);return O[n]=_,O[n+"2"]=w,O}}}function et(t,data,e){var r=t.get("showAllSymbol"),n="auto"===r;if(!r||n){var o=e.getAxesByScale("ordinal")[0];if(o&&(!n||!function(t,data){var e=t.getExtent(),r=Math.abs(e[1]-e[0])/t.scale.count();isNaN(r)&&(r=0);for(var n=data.count(),o=Math.max(1,Math.round(n/5)),c=0;c<n;c+=o)if(1.5*y.a.getSymbolSize(data,c)[t.isHorizontal()?1:0]>r)return!1;return!0}(o,data))){var c=data.mapDimension(o.dim),l={};return v.each(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(data.get(c,t))}}}}function nt(t,e){return[t[2*e],t[2*e+1]]}function it(t){if(t.get(["endLabel","show"]))return!0;for(var i=0;i<Y.g.length;i++)if(t.get([Y.g[i],"endLabel","show"]))return!0;return!1}function at(t,e,r,n){if(Object(F.a)(e,"cartesian2d")){var o=n.getModel("endLabel"),c=o.get("valueAnimation"),l=n.getData(),h={lastFrameIndex:0},f=it(n)?function(r,n){t._endLabelOnDuring(r,n,l,h,c,o,e)}:null,d=e.getBaseAxis().isHorizontal(),v=Object(B.b)(e,r,n,(function(){var e=t._endLabel;e&&r&&null!=h.originalX&&e.attr({x:h.originalX,y:h.originalY})}),f);if(!n.get("clip",!0)){var m=v.shape,y=Math.max(m.width,m.height);d?(m.y-=y,m.height+=2*y):(m.x-=y,m.width+=2*y)}return f&&f(1,v),v}return Object(B.c)(e,r,n)}var ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n.c)(e,t),e.prototype.init=function(){var t=new h.a,e=new m.a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,r){var n=this,o=t.coordinateSystem,c=this.group,data=t.getData(),l=t.getModel("lineStyle"),h=t.getModel("areaStyle"),f=data.getLayout("points")||[],d="polar"===o.type,m=this._coordSys,y=this._symbolDraw,polyline=this._polyline,polygon=this._polygon,_=this._lineGroup,C=t.get("animation"),k=!h.isEmpty(),j=h.get("origin"),P=w(o,data,j),T=k&&function(t,data,e){if(!e.valueDim)return[];for(var r=data.count(),n=Object(O.a)(2*r),o=0;o<r;o++){var c=x(e,t,data,o);n[2*o]=c[0],n[2*o+1]=c[1]}return n}(o,data,P),D=t.get("showSymbol"),L=t.get("connectNulls"),$=D&&!d&&et(t,data,o),M=this._data;M&&M.eachItemGraphicEl((function(t,e){t.__temp&&(c.remove(t),M.setItemGraphicEl(e,null))})),D||y.remove(),c.add(_);var E,R=!d&&t.get("step");o&&o.getArea&&t.get("clip",!0)&&(null!=(E=o.getArea()).width?(E.x-=.1,E.y-=.1,E.width+=.2,E.height+=.2):E.r0&&(E.r0-=.5,E.r+=.5)),this._clipShapeForSymbol=E;var A=tt(data,o,r)||data.getVisual("style")[data.getVisual("drawType")];if(polyline&&m.type===o.type&&R===this._step){k&&!polygon?polygon=this._newPolygon(f,T):polygon&&!k&&(_.remove(polygon),polygon=this._polygon=null),d||this._initOrUpdateEndLabel(t,o,Object(V.c)(A));var I=_.getClipPath();if(I){var N=at(this,o,!1,t);S.c(I,{shape:N.shape},t)}else _.setClipPath(at(this,o,!0,t));D&&y.updateData(data,{isIgnore:$,clipShape:E,disableAnimation:!0,getSymbolPoint:function(t){return[f[2*t],f[2*t+1]]}}),X(this._stackedOnPoints,T)&&X(this._points,f)||(C?this._doUpdateAnimation(data,T,o,r,R,j,L):(R&&(f=Z(f,o,R,L),T&&(T=Z(T,o,R,L))),polyline.setShape({points:f}),polygon&&polygon.setShape({points:f,stackedOnPoints:T})))}else D&&y.updateData(data,{isIgnore:$,clipShape:E,disableAnimation:!0,getSymbolPoint:function(t){return[f[2*t],f[2*t+1]]}}),C&&this._initSymbolLabelAnimation(data,o,E),R&&(f=Z(f,o,R,L),T&&(T=Z(T,o,R,L))),polyline=this._newPolyline(f),k?polygon=this._newPolygon(f,T):polygon&&(_.remove(polygon),polygon=this._polygon=null),d||this._initOrUpdateEndLabel(t,o,Object(V.c)(A)),_.setClipPath(at(this,o,!0,t));var z=t.getModel("emphasis"),B=z.get("focus"),F=z.get("blurScope"),U=z.get("disabled");(polyline.useStyle(v.defaults(l.getLineStyle(),{fill:"none",stroke:A,lineJoin:"bevel"})),Object(Y.D)(polyline,t,"lineStyle"),polyline.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(polyline.getState("emphasis").style.lineWidth=+polyline.style.lineWidth+1);Object(W.a)(polyline).seriesIndex=t.seriesIndex,Object(Y.E)(polyline,B,F,U);var H=Q(t.get("smooth")),G=t.get("smoothMonotone");if(polyline.setShape({smooth:H,smoothMonotone:G,connectNulls:L}),polygon){var K=data.getCalculationInfo("stackedOnSeries"),J=0;polygon.useStyle(v.defaults(h.getAreaStyle(),{fill:A,opacity:.7,lineJoin:"bevel",decal:data.getVisual("style").decal})),K&&(J=Q(K.get("smooth"))),polygon.setShape({smooth:H,stackedOnSmooth:J,smoothMonotone:G,connectNulls:L}),Object(Y.D)(polygon,t,"areaStyle"),Object(W.a)(polygon).seriesIndex=t.seriesIndex,Object(Y.E)(polygon,B,F,U)}var nt=function(t){n._changePolyState(t)};data.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=nt)})),this._polyline.onHoverStateChange=nt,this._data=data,this._coordSys=o,this._stackedOnPoints=T,this._points=f,this._step=R,this._valueOrigin=j,t.get("triggerLineEvent")&&(this.packEventData(t,polyline),polygon&&this.packEventData(t,polygon))},e.prototype.packEventData=function(t,e){Object(W.a)(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,r,n){var data=t.getData(),o=j.s(data,n);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var c=data.getLayout("points"),symbol=data.getItemGraphicEl(o);if(!symbol){var l=c[2*o],h=c[2*o+1];if(isNaN(l)||isNaN(h))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,h))return;var f=t.get("zlevel"),d=t.get("z");(symbol=new y.a(data,o)).x=l,symbol.y=h,symbol.setZ(f,d);var v=symbol.getSymbolPath().getTextContent();v&&(v.zlevel=f,v.z=d,v.z2=this._polyline.z2+1),symbol.__temp=!0,data.setItemGraphicEl(o,symbol),symbol.stopSymbolAnimation(!0),this.group.add(symbol)}symbol.highlight()}else z.a.prototype.highlight.call(this,t,e,r,n)},e.prototype.downplay=function(t,e,r,n){var data=t.getData(),o=j.s(data,n);if(this._changePolyState("normal"),null!=o&&o>=0){var symbol=data.getItemGraphicEl(o);symbol&&(symbol.__temp?(data.setItemGraphicEl(o,null),this.group.remove(symbol)):symbol.downplay())}else z.a.prototype.downplay.call(this,t,e,r,n)},e.prototype._changePolyState=function(t){var polygon=this._polygon;Object(Y.C)(this._polyline,t),polygon&&Object(Y.C)(polygon,t)},e.prototype._newPolyline=function(t){var polyline=this._polyline;return polyline&&this._lineGroup.remove(polyline),polyline=new A({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(polyline),this._polyline=polyline,polyline},e.prototype._newPolygon=function(t,e){var polygon=this._polygon;return polygon&&this._lineGroup.remove(polygon),polygon=new N({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(polygon),this._polygon=polygon,polygon},e.prototype._initSymbolLabelAnimation=function(data,t,e){var r,n,o=t.getBaseAxis(),c=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),n=!1):"polar"===t.type&&(r="angle"===o.dim,n=!0);var l=data.hostModel,h=l.get("animationDuration");v.isFunction(h)&&(h=h(null));var f=l.get("animationDelay")||0,d=v.isFunction(f)?f(null):f;data.eachItemGraphicEl((function(symbol,o){var l=symbol;if(l){var m=[symbol.x,symbol.y],y=void 0,_=void 0,w=void 0;if(e)if(n){var x=e,O=t.pointToCoord(m);r?(y=x.startAngle,_=x.endAngle,w=-O[1]/180*Math.PI):(y=x.r0,_=x.r,w=O[0])}else{var C=e;r?(y=C.x,_=C.x+C.width,w=symbol.x):(y=C.y+C.height,_=C.y,w=symbol.y)}var S=_===y?0:(w-y)/(_-y);c&&(S=1-S);var k=v.isFunction(f)?f(o):h*S+d,j=l.getSymbolPath(),text=j.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:k}),text&&text.animateFrom({style:{opacity:0}},{duration:300,delay:k}),j.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,r){var n=t.getModel("endLabel");if(it(t)){var o=t.getData(),polyline=this._polyline,c=o.getLayout("points");if(!c)return polyline.removeTextContent(),void(this._endLabel=null);var l=this._endLabel;l||((l=this._endLabel=new k.a({z2:200})).ignoreClip=!0,polyline.setTextContent(this._endLabel),polyline.disableLabelAnimation=!0);var h=function(t){for(var e,r,n=t.length/2;n>0&&(e=t[2*n-2],r=t[2*n-1],isNaN(e)||isNaN(r));n--);return n-1}(c);h>=0&&(Object(U.f)(polyline,Object(U.d)(t,"endLabel"),{inheritColor:r,labelFetcher:t,labelDataIndex:h,defaultText:function(t,e,r){return null!=r?Object(H.a)(o,r):Object(H.b)(o,t)},enableTextSetter:!0},function(t,e){var r=e.getBaseAxis(),n=r.isHorizontal(),o=r.inverse,c=n?o?"right":"left":"center",l=n?"middle":o?"top":"bottom";return{normal:{align:t.get("align")||c,verticalAlign:t.get("verticalAlign")||l}}}(n,e)),polyline.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,data,r,n,o,c){var l=this._endLabel,polyline=this._polyline;if(l){t<1&&null==r.originalX&&(r.originalX=l.x,r.originalY=l.y);var h=data.getLayout("points"),f=data.hostModel,d=f.get("connectNulls"),v=o.get("precision"),m=o.get("distance")||0,y=c.getBaseAxis(),_=y.isHorizontal(),w=y.inverse,x=e.shape,O=w?_?x.x:x.y+x.height:_?x.x+x.width:x.y,C=(_?m:0)*(w?-1:1),S=(_?0:-m)*(w?-1:1),k=_?"x":"y",P=function(t,e,r){for(var a,b,n=t.length/2,o="x"===r?0:1,c=0,l=-1,i=0;i<n;i++)if(b=t[2*i+o],!isNaN(b)&&!isNaN(t[2*i+1-o]))if(0!==i){if(a<=e&&b>=e||a>=e&&b<=e){l=i;break}c=i,a=b}else a=b;return{range:[c,l],t:(e-a)/(b-a)}}(h,O,k),T=P.range,D=T[1]-T[0],L=void 0;if(D>=1){if(D>1&&!d){var $=nt(h,T[0]);l.attr({x:$[0]+C,y:$[1]+S}),n&&(L=f.getRawValue(T[0]))}else{($=polyline.getPointOn(O,k))&&l.attr({x:$[0]+C,y:$[1]+S});var M=f.getRawValue(T[0]),E=f.getRawValue(T[1]);n&&(L=j.i(data,v,M,E,P.t))}r.lastFrameIndex=T[0]}else{var R=1===t||r.lastFrameIndex>0?T[0]:0;$=nt(h,R);n&&(L=f.getRawValue(R)),l.attr({x:$[0]+C,y:$[1]+S})}n&&Object(U.e)(l).setLabelText(L)}},e.prototype._doUpdateAnimation=function(data,t,e,r,n,o,c){var polyline=this._polyline,polygon=this._polygon,l=data.hostModel,h=function(t,e,r,n,o,c,l,h){for(var f=function(t,e){var r=[];return e.diff(t).add((function(t){r.push({cmd:"+",idx:t})})).update((function(t,e){r.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){r.push({cmd:"-",idx:t})})).execute(),r}(t,e),d=[],v=[],m=[],y=[],_=[],C=[],S=[],k=w(o,e,l),j=t.getLayout("points")||[],P=e.getLayout("points")||[],i=0;i<f.length;i++){var T=f[i],D=!0,L=void 0,$=void 0;switch(T.cmd){case"=":L=2*T.idx,$=2*T.idx1;var M=j[L],E=j[L+1],R=P[$],A=P[$+1];(isNaN(M)||isNaN(E))&&(M=R,E=A),d.push(M,E),v.push(R,A),m.push(r[L],r[L+1]),y.push(n[$],n[$+1]),S.push(e.getRawIndex(T.idx1));break;case"+":var I=T.idx,N=k.dataDimsForPoint,z=o.dataToPoint([e.get(N[0],I),e.get(N[1],I)]);$=2*I,d.push(z[0],z[1]),v.push(P[$],P[$+1]);var B=x(k,o,e,I);m.push(B[0],B[1]),y.push(n[$],n[$+1]),S.push(e.getRawIndex(I));break;case"-":D=!1}D&&(_.push(T),C.push(C.length))}C.sort((function(a,b){return S[a]-S[b]}));var F=d.length,Y=Object(O.a)(F),U=Object(O.a)(F),H=Object(O.a)(F),W=Object(O.a)(F),V=[];for(i=0;i<C.length;i++){var G=C[i],X=2*i,K=2*G;Y[X]=d[K],Y[X+1]=d[K+1],U[X]=v[K],U[X+1]=v[K+1],H[X]=m[K],H[X+1]=m[K+1],W[X]=y[K],W[X+1]=y[K+1],V[i]=_[G]}return{current:Y,next:U,stackedOnCurrent:H,stackedOnNext:W,status:V}}(this._data,data,this._stackedOnPoints,t,this._coordSys,0,this._valueOrigin),f=h.current,d=h.stackedOnCurrent,v=h.next,m=h.stackedOnNext;if(n&&(f=Z(h.current,e,n,c),d=Z(h.stackedOnCurrent,e,n,c),v=Z(h.next,e,n,c),m=Z(h.stackedOnNext,e,n,c)),J(f,v)>3e3||polygon&&J(d,m)>3e3)return polyline.stopAnimation(),polyline.setShape({points:v}),void(polygon&&(polygon.stopAnimation(),polygon.setShape({points:v,stackedOnPoints:m})));polyline.shape.__points=h.current,polyline.shape.points=f;var y={shape:{points:v}};h.current!==f&&(y.shape.__points=h.next),polyline.stopAnimation(),S.h(polyline,y,l),polygon&&(polygon.setShape({points:f,stackedOnPoints:d}),polygon.stopAnimation(),S.h(polygon,{shape:{stackedOnPoints:m}},l),polyline.shape.points!==polygon.shape.points&&(polygon.shape.points=polyline.shape.points));for(var _=[],C=h.status,i=0;i<C.length;i++){if("="===C[i].cmd){var k=data.getItemGraphicEl(C[i].idx1);k&&_.push({el:k,ptIdx:i})}}polyline.animators&&polyline.animators.length&&polyline.animators[0].during((function(){polygon&&polygon.dirtyShape();for(var t=polyline.shape.__points,i=0;i<_.length;i++){var e=_[i].el,r=2*_[i].ptIdx;e.x=t[r],e.y=t[r+1],e.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,r=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),r&&r.eachItemGraphicEl((function(t,n){t.__temp&&(e.remove(t),r.setItemGraphicEl(n,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(z.a),st=ot,ct=r(1144),lt=r(457);function ut(t){t.registerChartView(st),t.registerSeriesModel(d),t.registerLayout(Object(ct.a)("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var data=t.getData(),e=t.getModel("lineStyle").getLineStyle();e&&!e.stroke&&(e.stroke=data.getVisual("style").fill),data.setVisual("legendLineStyle",e)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Object(lt.a)("line"))}},1998:function(t,e,r){"use strict";r.d(e,"a",(function(){return C}));var n=r(6),o=r(76),c=r(1140),l=r(104),h=r(0),f=r(609),d=r(632),v=r(1286),m=r(633),y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return Object(n.c)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new l.a({shape:t.coordinateSystem.getRect(),style:Object(h.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(o.a),_={offset:0};function w(t){t.registerComponentView(y),t.registerComponentModel(c.a),t.registerCoordinateSystem("cartesian2d",v.a),Object(d.a)(t,"x",f.a,_),Object(d.a)(t,"y",f.a,_),t.registerComponentView(m.a),t.registerComponentView(m.b),t.registerPreprocessor((function(option){option.xAxis&&option.yAxis&&!option.grid&&(option.grid={})}))}var x=r(462),O=r(94);function C(t){Object(O.a)(w),Object(O.a)(x.a)}},206:function(t,e,r){"use strict";r.d(e,"a",(function(){return _})),r.d(e,"e",(function(){return w})),r.d(e,"b",(function(){return x})),r.d(e,"d",(function(){return O})),r.d(e,"c",(function(){return C}));var n=r(62),o=r(40),c=r(1128),l=r(1129),h=r(0),f="ZH",d="EN",v=d,m={},y={},_=o.a.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(f)>-1?f:v;function w(t,e){t=t.toUpperCase(),y[t]=new n.a(e),m[t]=e}function x(t){if(Object(h.isString)(t)){var e=m[t.toUpperCase()]||{};return t===f||t===d?Object(h.clone)(e):Object(h.merge)(Object(h.clone)(e),Object(h.clone)(m.EN),!1)}return Object(h.merge)(Object(h.clone)(t),Object(h.clone)(m.EN),!1)}function O(t){return y[t]}function C(){return y.EN}w(d,c.a),w(f,l.a)},2071:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(15),r(10),r(16);var n=r(4),o=r(36),c=r(2),l=(r(14),r(8),r(121),r(49),r(51),r(30),r(26),r(43),r(122),r(123)),h=r(313),f=r(57),d=r(46),v=r(27);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var _={name:"All",components:{currencyAllTable:h.default,TiPagination:l.default},asyncData:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var r,n,c,l,h,m,_,w,x,O,C,S,k,j,P,T,D,L,$,M;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$request,n=t.store,c=t.i18n,l=t.query,t.route,h=Object(v.f)(n.state.currencyTagsList,l.tag),m=Object(v.d)(n.state.exchangeList,l.exchange),_=Object(v.c)(n.state.ecosystemList,l.ecosystem),w=c.locale,x=[],O={filterType:"volume",left:l.vol?l.vol.split(",")[0]:"",right:l.vol?l.vol.split(",")[1]:""},C={filterType:"marketCap",left:l.mktCap?l.mktCap.split(",")[0]:"",right:l.mktCap?l.mktCap.split(",")[1]:""},O&&!Object(v.b)(O)&&x.push(O),C&&!Object(v.b)(C)&&x.push(C),S=l&&l.page?+l.page:1,k=50,j=[],P=0,e.prev=14,T={current:S,pageSize:k,sort:-d.c.marketCap,tags:h,exchangeId:m,ecosystemId:_,language:w,filterList:x},e.next=18,Promise.allSettled([r.post(f.a.allList,T,"sessionId=".concat(n.state.sessionId))]);case 18:D=e.sent,L=Object(o.a)(D,1),$=L[0],0===(M=$.value).code?(j=M.data.list.map((function(t,e){return y(y({},t),{},{serial:e+1+k*(S-1)})})),P=M.data.total):j=[],e.next=28;break;case 25:e.prev=25,e.t0=e.catch(14),console.log(e.t0);case 28:return e.abrupt("return",{list:j,total:P,current:S,pageSize:k});case 29:case"end":return e.stop()}}),e,null,[[14,25]])})))()},data:function(){return{sort:-d.c.marketCap,cids:[]}},head:function(){return{link:[{rel:"canonical",href:"https://tokeninsight.com/".concat(this.$i18n.locale,"/cryptocurrencies")},{rel:"alternate",hrefLang:"x-default",href:"https://tokeninsight.com/en/cryptocurrencies"},{rel:"alternate",hrefLang:"en",href:"https://tokeninsight.com/en/cryptocurrencies"},{rel:"alternate",hrefLang:"zh",href:"https://tokeninsight.com/zh/cryptocurrencies"}],title:this.$t("titleDesc.cryptocurrenciesDesc.title"),meta:[{name:"description",content:this.$t("titleDesc.cryptocurrenciesDesc.desc")},{property:"og:type",content:"website"},{property:"og:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"og:title",content:this.$t("titleDesc.cryptocurrenciesDesc.title")},{property:"og:description",content:this.$t("titleDesc.cryptocurrenciesDesc.desc")},{property:"og:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"},{property:"twitter:type",content:"summary_large_image"},{property:"twitter:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"twitter:title",content:this.$t("titleDesc.cryptocurrenciesDesc.title")},{property:"twitter:description",content:this.$t("titleDesc.cryptocurrenciesDesc.desc")},{property:"twitter:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"}],script:[{type:"application/ld+json",json:{"@context":"https://schema.org","@type":"Organization",url:"https://tokeninsight.com",logo:"https://s2.tokeninsight.com/static/marketing/Logo-Assets/logo-square.png"}},{type:"application/ld+json",json:{"@context":"https://schema.org","@type":"WebSite",url:"https://tokeninsight.com",potentialAction:[{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"https://tokeninsight.com/zh/cryptocurrencies?q={search_term_string}"},"query-input":"required name=search_term_string"}]}}]}},computed:{tagName:function(){var t=this.$route.query.tag;return t&&(t=t.indexOf("-")>0?t.replace("-"," ").toLowerCase().replace(/( |^)[a-z]/g,(function(t){return t.toUpperCase()})):t.toLowerCase().replace(/( |^)[a-z]/g,(function(t){return t.toUpperCase()}))),t}},watch:{"$route.query.page":{handler:function(t){this.current=t?+t:1,this.getList()}},"$route.query.ecosystem":{handler:function(t){this.getList()}},"$route.query.tag":{handler:function(t){this.getList()}},"$route.query.exchange":{handler:function(t){this.getList()}},"$route.query.vol":{handler:function(t){this.getList()}},"$route.query.mktCap":{handler:function(t){this.getList()}}},methods:{getList:function(){var t=this;return Object(c.a)(regeneratorRuntime.mark((function e(){var r,n,o,c,l,h,d,m,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$refs.myTable.loading=!0,t.$store.commit("goTop"),r=Object(v.f)(t.$store.state.currencyTagsList,t.$route.query.tag),n=Object(v.d)(t.$store.state.exchangeList,t.$route.query.exchange),o=Object(v.c)(t.$store.state.ecosystemList,t.$route.query.ecosystem),c=t.$i18n.locale,l=[],h={filterType:"volume",left:t.$route.query.vol?t.$route.query.vol.split(",")[0]:"",right:t.$route.query.vol?t.$route.query.vol.split(",")[1]:""},d={filterType:"marketCap",left:t.$route.query.mktCap?t.$route.query.mktCap.split(",")[0]:"",right:t.$route.query.mktCap?t.$route.query.mktCap.split(",")[1]:""},h&&!Object(v.b)(h)&&l.push(h),d&&!Object(v.b)(d)&&l.push(d),e.prev=11,m={current:t.current||1,pageSize:t.pageSize,sort:t.sort,tags:r,exchangeId:n,ecosystemId:o,language:c,filterList:l},e.next=15,t.$request.post(f.a.allList,m);case 15:0===(_=e.sent).code?(t.list=_.data.list.map((function(e,r){return y(y({},e),{},{serial:r+1+t.pageSize*(t.current-1)})})),t.cids=_.data.list.map((function(t){return t.cid})),t.total=_.data.total):t.list=[],t.$refs.myTable.loading=!1,e.next=22;break;case 20:e.prev=20,e.t0=e.catch(11);case 22:case"end":return e.stop()}}),e,null,[[11,20]])})))()},handleSortChange:function(t,e){this.sort="ascending"===e?d.c[t]:"descending"===e?-d.c[t]:-d.c.marketCap,this.getList()}}},w=r(1),component=Object(w.a)(_,(function(){var t=this,e=t._self._c;return e("div",[e("currency-all-table",{ref:"myTable",attrs:{list:t.list},on:{"sort-change":t.handleSortChange}}),t._v(" "),e("div",{staticClass:"pagination"},[e("client-only",[e("TiPagination",{attrs:{length:t.pageSize,total:t.total,current:t.current,link:"/cryptocurrencies","page-length":27}})],1)],1)],1)}),[],!1,null,"49f6b2a9",null);e.default=component.exports},2072:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(122),r(30),r(5)),l=r(1205),h=r(57),f=r(1206),d=r(46);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={name:"GainersLosers",components:{CurrencyTopTable:f.default,TiTop:l.default},data:function(){return{gainProjectLibraryListVoList:[],loseProjectLibraryListVoList:[],total:0,sort:d.c.changeOned,current:1,pageSize:50,top:[{name:"All",top:null},{name:"Top 100",top:100},{name:"Top 200",top:200},{name:"Top 500",top:500},{name:"Top 1000",top:1e3}],currentTop:null}},head:function(){return{link:[{rel:"canonical",href:"https://tokeninsight.com/en/cryptocurrencies/gainers-losers"},{rel:"alternate",hrefLang:"x-default",href:"https://tokeninsight.com/en/cryptocurrencies/gainers-losers"},{rel:"alternate",hrefLang:"en",href:"https://tokeninsight.com/en/cryptocurrencies/gainers-losers"},{rel:"alternate",hrefLang:"zh",href:"https://tokeninsight.com/zh/cryptocurrencies/gainers-losers"}],title:this.$t("titleDesc.gainersLosersDesc.title"),meta:[{name:"description",content:this.$t("titleDesc.gainersLosersDesc.desc")},{name:"og:type",content:"website"},{name:"og:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{name:"og:title",content:this.$t("titleDesc.gainersLosersDesc.title")},{name:"og:description",content:this.$t("titleDesc.gainersLosersDesc.desc")},{name:"og:image",content:"http://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:this.$t("titleDesc.gainersLosersDesc.title")},{name:"twitter:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{name:"twitter:description",content:this.$t("titleDesc.gainersLosersDesc.desc")},{name:"twitter:image",content:"http://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"}]}},computed:m({},Object(c.c)({currentGainer:"cyptocurrebcies/currentGainer"})),watch:{},mounted:function(){this.getGainLoseList()},methods:m(m({},Object(c.d)({setCurrentGainer:"cyptocurrebcies/setCurrentGainer"})),{},{getGainLoseList:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$refs.gainers.loading=!0,t.$refs.losers.loading=!0,r=t.$i18n.locale,e.prev=3,n={current:t.currentGainer||t.current,pageSize:t.pageSize,sort:t.sort,top:t.currentTop,language:r},e.next=7,t.$request.post(h.a.gainLoseList,n);case 7:0===(o=e.sent).code?(t.loseProjectLibraryListVoList=o.data.loseProjectLibraryListVoList.map((function(e,r){return m(m({},e),{},{serial:r+1+t.pageSize*((t.currentGainer||t.current)-1)})})),t.gainProjectLibraryListVoList=o.data.gainProjectLibraryListVoList.map((function(e,r){return m(m({},e),{},{serial:r+1+t.pageSize*((t.currentGainer||t.current)-1)})})),t.total=o.data.total):(t.gainProjectLibraryListVoList=[],t.loseProjectLibraryListVoList=[]),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(3);case 13:t.$refs.gainers.loading=!1,t.$refs.losers.loading=!1;case 15:case"end":return e.stop()}}),e,null,[[3,11]])})))()},sortGinersChange:function(t){this.$refs.losers.sortKey={changeOnehSort:null,changeOnedSort:null,volumeOneDaySort:null},this.sort=d.c[t],this.getGainLoseList()},sortLosersChange:function(t){this.$refs.gainers.sortKey={changeOnehSort:null,changeOnedSort:null,volumeOneDaySort:null},this.sort=-d.c[t],this.getGainLoseList()},currentPage:function(t){this.setCurrentGainer(t),this.current=t,this.getGainLoseList(),this.$store.commit("goTop")},change:function(t){this.currentTop=t.top,this.setCurrentGainer(1),this.getGainLoseList()}})},_=(r(1682),r(1)),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("div",[e("ti-top",{attrs:{top:t.top},on:{change:t.change}}),t._v(" "),e("div",{staticClass:"top-table-container"},[e("currency-top-table",{ref:"gainers",attrs:{list:t.gainProjectLibraryListVoList,title:"Top Gainers","th-color":"rgba(10, 178, 125, 0.06)"},on:{sort:t.sortGinersChange}}),t._v(" "),e("currency-top-table",{ref:"losers",attrs:{list:t.loseProjectLibraryListVoList,title:"Top Losers","th-color":"rgba(255, 50, 38, 0.06)"},on:{sort:t.sortLosersChange}})],1),t._v(" "),e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{layout:"prev, pager, next",total:t.total,"current-page":t.currentGainer||t.current,"page-size":t.pageSize},on:{"current-change":t.currentPage}})],1)],1)}),[],!1,null,"57faf1c5",null);e.default=component.exports},2073:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(122),r(5)),l=r(57),h=r(1207),f=r(46),d=r(27);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={name:"NewlyListed",components:{currencyTable:h.default},data:function(){return{list:[],total:0,sort:-f.c.publishTime,current:1,pageSize:50,verified:null}},head:function(){return{link:[{rel:"canonical",href:"https://tokeninsight.com/en/cryptocurrencies/newly-listed"},{rel:"alternate",hrefLang:"x-default",href:"https://tokeninsight.com/en/cryptocurrencies/newly-listed"},{rel:"alternate",hrefLang:"en",href:"https://tokeninsight.com/en/cryptocurrencies/newly-listed"},{rel:"alternate",hrefLang:"zh",href:"https://tokeninsight.com/zh/cryptocurrencies/newly-listed"}],title:this.$t("titleDesc.newlyListedDesc.title"),meta:[{name:"description",content:this.$t("titleDesc.newlyListedDesc.desc")},{name:"og:type",content:"website"},{name:"og:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{name:"og:title",content:this.$t("titleDesc.newlyListedDesc.title")},{name:"og:description",content:this.$t("titleDesc.newlyListedDesc.desc")},{name:"og:image",content:"http://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:this.$t("titleDesc.newlyListedDesc.title")},{name:"twitter:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{name:"twitter:description",content:this.$t("titleDesc.newlyListedDesc.desc")},{name:"twitter:image",content:"http://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"}]}},computed:m({},Object(c.c)({currentNewly:"cyptocurrebcies/currentNewly"})),watch:{"$route.query.tag":{handler:function(t){this.setCurrentNewly(1),this.getList()}},"$route.query.exchange":{handler:function(t){this.setCurrentNewly(1),this.getList()}},"$route.query.vol":{handler:function(t){this.setCurrentNewly(1),this.getList()}},"$route.query.mktCap":{handler:function(t){this.setCurrentNewly(1),this.getList()}}},mounted:function(){var t=this;this.$nextTick((function(){t.getList()}))},methods:m(m({},Object(c.d)({setCurrentNewly:"cyptocurrebcies/setCurrentNewly"})),{},{fieldEmpty:function(t){if(!t.left&&!t.right)return!0},getList:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,c,h,f,v,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$refs.myTable.loading=!0,r=Object(d.f)(t.$store.state.currencyTagsList,t.$route.query.tag),n=Object(d.d)(t.$store.state.exchangeList,t.$route.query.exchange),o=t.$i18n.locale,c=[],h={filterType:"volume",left:t.$route.query.vol?t.$route.query.vol.split(",")[0]:"",right:t.$route.query.vol?t.$route.query.vol.split(",")[1]:""},f={filterType:"marketCap",left:t.$route.query.mktCap?t.$route.query.mktCap.split(",")[0]:"",right:t.$route.query.mktCap?t.$route.query.mktCap.split(",")[1]:""},h&&!t.fieldEmpty(h)&&c.push(h),f&&!t.fieldEmpty(f)&&c.push(f),e.prev=9,v={current:t.currentNewly||t.current,pageSize:t.pageSize,sort:t.sort,tags:r,exchangeId:n,language:o,verified:t.verified,filterList:c},e.next=13,t.$request.post(l.a.newList,v);case 13:0===(m=e.sent).code?(t.list=m.data.list,t.total=m.data.total):t.list=[],e.next=20;break;case 17:e.prev=17,e.t0=e.catch(9),console.log(e.t0);case 20:t.$refs.myTable.loading=!1;case 21:case"end":return e.stop()}}),e,null,[[9,17]])})))()},sortChange:function(t){var e=t.prop,r=t.order,n=t.verified;if(null===n||!0===n)return this.verified=n,void this.getList();this.sort="descending"===r?-f.c[e]:"ascending"===r?f.c[e]:-f.c.publishTime,this.getList()},currentPage:function(t){this.setCurrentNewly(t),this.current=t,this.getList(),this.$store.commit("goTop")}})},_=r(1),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("div",[e("currency-table",{ref:"myTable",attrs:{list:t.list},on:{sort:t.sortChange}}),t._v(" "),e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{"hide-on-single-page":!0,layout:"prev, pager, next",total:t.total,"current-page":t.currentNewly||t.current,"page-size":t.pageSize},on:{"current-change":t.currentPage}})],1)],1)}),[],!1,null,null,null);e.default=component.exports},2074:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(4),o=r(5),c=r(1208),l=r(465),h=r(466),f=r(1209),d=r(1210),v=r(1212);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var _={name:"Portfolios",components:{portfolioCards:f.default,createProtfolio:h.default,NotLogin:l.default,PortfolioTable:d.default,AddCoin:c.default,PortfolioDetail:v.default},data:function(){return{visible:!1,visibleCoin:!1}},head:function(){return{link:[{rel:"canonical",href:"https://tokeninsight.com/en/cryptocurrencies/portfolios"},{rel:"alternate",hrefLang:"x-default",href:"https://tokeninsight.com/en/cryptocurrencies/portfolios"},{rel:"alternate",hrefLang:"en",href:"https://tokeninsight.com/en/cryptocurrencies/portfolios"},{rel:"alternate",hrefLang:"zh",href:"https://tokeninsight.com/zh/cryptocurrencies/portfolios"}],title:this.$t("titleDesc.portfoliosDesc.title"),meta:[{name:"description",content:this.$t("titleDesc.portfoliosDesc.desc")},{property:"og:type",content:"website"},{property:"og:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"og:title",content:this.$t("titleDesc.portfoliosDesc.title")},{property:"og:description",content:this.$t("titleDesc.portfoliosDesc.desc")},{property:"og:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"},{property:"twitter:type",content:"summary_large_image"},{property:"twitter:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"twitter:title",content:this.$t("titleDesc.portfoliosDesc.title")},{property:"twitter:description",content:this.$t("titleDesc.portfoliosDesc.desc")},{property:"twitter:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"}]}},computed:y({},Object(o.c)({userInfo:"userInfo",portfolioId:"portfolio/portfolioId",portfolios:"portfolio/portfolios",loading:"portfolio/loading",list:"portfolio/list",detailVisible:"portfolio/detailVisible"})),watch:{portfolioId:function(t){t&&this.getProtfolioTable()}},mounted:function(){this.userInfo&&this.getPortfolios()},destroyed:function(){this.init()},methods:y(y(y({},Object(o.d)({setPortfolioId:"portfolio/setPortfolioId",init:"portfolio/init"})),Object(o.b)({getPortfolios:"portfolio/getPortfolios",getProtfolioTable:"portfolio/getProtfolioTable"})),{},{create:function(){this.visible=!0},close:function(){this.visible=!1}})},w=(r(1702),r(1)),component=Object(w.a)(_,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[t.userInfo?e("div",{staticClass:"portfolio-container"},[t.portfolios.length>0?e("div",{staticClass:"portfolio-cards"},[e("portfolio-cards"),t._v(" "),t.portfolios.length<5?e("div",{staticClass:"create-portfolio"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("portfolios.createPortfolioTitle")))]),t._v(" "),e("span",{staticClass:"btn",on:{click:t.create}},[t._v(t._s(t.$t("portfolios.create")))])]):t._e()],1):t._e(),t._v(" "),t.portfolios.length>0?[e("portfolio-table",{ref:"myTable"}),t._v(" "),e("add-coin"),t._v(" "),e("portfolio-detail",{model:{value:t.detailVisible,callback:function(e){t.detailVisible=e},expression:"detailVisible"}})]:t._e(),t._v(" "),0===t.portfolios.length&&!1===t.loading?e("div",{staticClass:"noting-portfolio"},[e("img",{attrs:{src:r(172),alt:""}}),t._v(" "),e("span",{on:{click:t.create}},[t._v(t._s("zh"===t.$i18n.locale?"创建":"Create A New Portfolio"))])]):t._e(),t._v(" "),e("create-protfolio",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],on:{close:t.close}})],2):e("not-login")],1)}),[],!1,null,"7857beee",null);e.default=component.exports},2075:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(122),r(30),r(5)),l=r(465),h=r(57),f=r(1218),d=r(27);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={name:"WatchList",components:{CurrencyWatchlistTable:f.default,NotLogin:l.default},data:function(){return{list:[],total:0,sort:0,current:1,pageSize:50,cids:[],charts:null}},head:function(){return{link:[{rel:"canonical",href:"https://tokeninsight.com/en/cryptocurrencies/watchlist"},{rel:"alternate",hrefLang:"x-default",href:"https://tokeninsight.com/en/cryptocurrencies/watchlist"},{rel:"alternate",hrefLang:"en",href:"https://tokeninsight.com/en/cryptocurrencies/watchlist"},{rel:"alternate",hrefLang:"zh",href:"https://tokeninsight.com/zh/cryptocurrencies/watchlist"}],title:this.$t("titleDesc.watchListDesc.title"),meta:[{name:"description",content:this.$t("titleDesc.watchListDesc.desc")},{property:"og:type",content:"website"},{property:"og:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"og:title",content:this.$t("titleDesc.watchListDesc.title")},{property:"og:description",content:this.$t("titleDesc.watchListDesc.desc")},{property:"og:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"},{property:"twitter:type",content:"summary_large_image"},{property:"twitter:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"twitter:title",content:this.$t("titleDesc.watchListDesc.title")},{property:"twitter:description",content:this.$t("titleDesc.watchListDesc.desc")},{property:"twitter:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"}]}},computed:m({},Object(c.c)({userInfo:"userInfo",currentWatchlist:"cyptocurrebcies/currentWatchlist"})),watch:{"$route.query.tag":{handler:function(t){this.userInfo&&(this.setCurrentWatchlist(1),this.getList())}},"$route.query.exchange":{handler:function(t){this.userInfo&&(this.setCurrentWatchlist(1),this.getList())}},"$route.query.vol":{handler:function(t){this.userInfo&&(this.setCurrentWatchlist(1),this.getList())}},"$route.query.mktCap":{handler:function(t){this.userInfo&&(this.setCurrentWatchlist(1),this.getList())}}},mounted:function(){this.userInfo&&this.getList()},methods:m(m({},Object(c.d)({setCurrentWatchlist:"cyptocurrebcies/setCurrentWatchlist"})),{},{fieldEmpty:function(t){if(!t.left&&!t.right)return!0},getList:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,c,l,f,v,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$refs.myTable.loading=!0,r=[],n={filterType:"volume",left:t.$route.query.vol?t.$route.query.vol.split(",")[0]:"",right:t.$route.query.vol?t.$route.query.vol.split(",")[1]:""},o={filterType:"marketCap",left:t.$route.query.mktCap?t.$route.query.mktCap.split(",")[0]:"",right:t.$route.query.mktCap?t.$route.query.mktCap.split(",")[1]:""},n&&!t.fieldEmpty(n)&&r.push(n),o&&!t.fieldEmpty(o)&&r.push(o),e.prev=6,c=t.$i18n.locale,l=Object(d.f)(t.$store.state.currencyTagsList,t.$route.query.tag),f=Object(d.d)(t.$store.state.exchangeList,t.$route.query.exchange),v={language:c,sort:t.sort,current:t.currentWatchlist||t.current,pageSize:t.pageSize,tags:l,exchangeId:f,filterList:r},e.next=13,t.$request.post(h.a.watchList,v);case 13:0===(y=e.sent).code&&y.data.list.length>0?(t.list=y.data.list.map((function(e,r){return m(m({},e),{},{serial:r+1+t.pageSize*((t.currentWatchlist||t.current)-1)})})),t.cids=y.data.list.map((function(t){return t.cid})),t.total=y.data.total):t.list=[],e.next=20;break;case 17:e.prev=17,e.t0=e.catch(6),console.log(e.t0);case 20:t.$refs.myTable.loading=!1;case 21:case"end":return e.stop()}}),e,null,[[6,17]])})))()},currentPage:function(t){this.setCurrentWatchlist(t),this.current=t,this.getList(),this.$store.commit("goTop")}})},_=r(1),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("div",[t.userInfo?[e("currency-watchlist-table",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],ref:"myTable",attrs:{list:t.list,rest:t.getList}}),t._v(" "),e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{layout:"prev, pager, next","hide-on-single-page":!0,total:t.total,"current-page":t.currentWatchlist||t.current,"page-size":t.pageSize},on:{"current-change":t.currentPage}})],1)]:e("not-login")],2)}),[],!1,null,null,null);e.default=component.exports},21:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r(47),r(54),r(25);var n=function(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:100;if(t)return t.includes("image.tokeninsight.com")?"".concat(t,"?x-oss-process=image/resize,w_").concat(e,",h_").concat(r,",m_fill"):"https://tokeninsight.com/cdn-cgi/image/width=".concat(e,",height=").concat(r,",format=webp,quality=").concat(o,",fit=").concat(n,"/").concat(t)}},210:function(t,e,r){"use strict";function n(t,e,r,n,l,h){t=t||0;var f=r[1]-r[0];if(null!=l&&(l=c(l,[0,f])),null!=h&&(h=Math.max(h,null!=l?l:0)),"all"===n){var d=Math.abs(e[1]-e[0]);d=c(d,[0,f]),l=h=c(d,[l,h]),n=0}e[0]=c(e[0],r),e[1]=c(e[1],r);var v=o(e,n);e[n]+=t;var m,y=l||0,_=r.slice();return v.sign<0?_[0]+=y:_[1]-=y,e[n]=c(e[n],_),m=o(e,n),null!=l&&(m.sign!==v.sign||m.span<l)&&(e[1-n]=e[n]+v.sign*l),m=o(e,n),null!=h&&m.span>h&&(e[1-n]=e[n]+m.sign*h),e}function o(t,e){var r=t[e]-t[1-e];return{span:Math.abs(r),sign:r>0?-1:r<0?1:e?-1:1}}function c(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}r.d(e,"a",(function(){return n}))},212:function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return o}));var n={0:"upComing",1:"onGoing",2:"finished"},o={0:"#FBE200",1:"#3ABA84",2:"#EE6855"}},2129:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(15),r(16);var n=r(4),o=r(2),c=(r(30),r(37),r(8),r(10),r(66),r(25),r(49),r(51),r(160),r(148),r(26),r(14),r(83)),l=r.n(c),h=r(88),f=r.n(h),d=r(5),v=r(106),m=r(1270),y=r(77),_=r(31),filter=r(3);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function x(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var O=r(138),C={components:{SelectTime:v.default,cssLoading:_.default,totalVolumeTable:m.default},head:function(){return{title:this.$t("dashboard.TotalTrading.title"),meta:[{name:"description",content:this.$t("dashboard.TotalTrading.SEODesc")},{property:"og:type",content:"website"},{property:"og:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"og:title",content:this.$t("dashboard.TotalTrading.title")},{property:"og:description",content:this.$t("dashboard.TotalTrading.SEODesc")},{property:"og:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"},{property:"twitter:type",content:"summary_large_image"},{property:"twitter:url",content:"https://tokeninsight.com".concat(this.$route.fullPath)},{property:"twitter:title",content:this.$t("dashboard.TotalTrading.title")},{property:"twitter:description",content:this.$t("dashboard.TotalTrading.SEODesc")},{property:"twitter:image",content:"https://tokeninsight-static.s3.ap-northeast-1.amazonaws.com/static/marketing/meta-description-assets/1200x628-MetaCard-2.jpg"}]}},data:function(){return{time:90,isPercent:!1,chart:"",loading:!1,nodataShow:!1,spotList:[],derivativeList:[],totalList:[],btcPriceList:[],selectedSpot:!0,selectedDerivatives:!0,timeLabels:[],checkedBTC:!1,tableData:[],totalData:[],total:0,currentPage:1,pageSize:20,options:[{value:20,label:"20"},{value:50,label:"50"},{value:100,label:"100"}],value:"20",accuracyOptions:[{value:"day",label:this.$t("dashboard.TotalTrading.day")},{value:"week",label:this.$t("dashboard.TotalTrading.week")},{value:"month",label:this.$t("dashboard.TotalTrading.month")},{value:"quarter",label:this.$t("dashboard.TotalTrading.quarter")}],accuracy:"day",btns:[{type:30,label:"30D"},{type:90,label:"90D"},{type:180,label:"180D"},{type:1,label:"1Y"},{type:2,label:"2Y"},{type:0,label:"YTD"}]}},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.chart=t.$echarts.init(document.getElementById("total-volume")),t.chart.on("legendselectchanged",(function(e){t.selectedSpot=e.selected[t.$t("dashboard.TotalTrading.spot")],t.selectedDerivatives=e.selected[t.$t("dashboard.TotalTrading.derivatives")]})),e.next=4,t.getHistoryData();case 4:t.setOption();case 5:case"end":return e.stop()}}),e)})))()},methods:x(x({},Object(d.d)({setShowLogin:"login/setShowLogin",setShowClose:"login/setShowClose"})),{},{getHistoryData:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r,i,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.nodataShow=!1,e.prev=2,e.next=5,t.$request.post(y.a.totalTradingVolumeList,{type:t.time,accuracy:t.accuracy});case 5:if(0===(r=e.sent).code){for(t.spotList=r.data.spotList,t.derivativeList=r.data.derivativeList,t.totalList=r.data.totalList,t.btcPriceList=r.data.btcPriceList,t.timeLabels=t.derivativeList.map((function(t){return t.date})),t.totalData=[],i=t.spotList.length-1;i>=0;i--)n={TotalVolume:Object(filter.n)(t.totalList[i].value,"0")||"-",SpotVolume:Object(filter.n)(t.spotList[i].value,"0")||"-",DerivativesVolume:Object(filter.n)(t.derivativeList[i].value,"0")||"-",BTCPrice:t.btcPriceList&&Object(filter.n)(t.btcPriceList[i].value,"2")||"-",time:t.spotList[i].date},t.totalData.push(n);t.currentPage=1,t.total=t.totalData.length,t.tableData=t.totalData.slice(0,t.pageSize)}else t.nodataShow=!0;e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),t.nodataShow=!0;case 12:t.loading=!1;case 13:case"end":return e.stop()}}),e,null,[[2,9]])})))()},setOption:function(){var t;this.chart.clear();var e=this,option={textStyle:{color:"#6C7293",fontSize:12},legend:{left:60,bottom:0,itemWidth:8,itemGap:40,textStyle:{color:this.$store.state.isDark?"#fff":"#333"},inactiveColor:this.$store.state.isDark?"#2f2f2f":"#ccc",data:[{name:this.$t("dashboard.TotalTrading.spot"),icon:"circle"},{name:this.$t("dashboard.TotalTrading.derivatives"),icon:"circle"}],selected:(t={},Object(n.a)(t,this.$t("dashboard.TotalTrading.spot"),this.selectedSpot),Object(n.a)(t,this.$t("dashboard.TotalTrading.derivatives"),this.selectedDerivatives),t)},dataZoom:[{type:"inside",xAxisIndex:0},{type:"slider",xAxisIndex:0,bottom:34,textStyle:{color:this.$store.state.isDark?"#ffffff":null},labelFormatter:function(t){return Object(filter.g)(e.timeLabels[t],"MMMM D, YYYY")}}],grid:[{left:60,bottom:90,top:30,right:55}],tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.8)",borderColor:"rgba(34,37,49,0.20)",borderWidth:1,borderRadius:10,padding:[10,16,10,16],formatter:function(t){var r="",time=Object(filter.g)(t[0].axisValue,"MMMM D, YYYY");return r+='<div style="font-size: 12px;color: #222531;"><div>'+time+"</div>",t.forEach((function(param,n){r+='<div style="font-weight: 600;font-size: 14px;color:#000;">'+"".concat(param.seriesName,": ")+Object(filter.n)(param.value,e.checkedBTC&&n===t.length-1?"2":"0")+"</div></div>"})),r},axisPointer:{type:"shadow"}},xAxis:[{type:"category",data:this.timeLabels,axisLine:{lineStyle:{color:this.axisColor}},splitLine:{show:!1},axisLabel:{showMinLabel:!0,showMaxLabel:!0,interval:Math.ceil(this.timeLabels.length/6),formatter:function(t,r){switch(e.accuracy){case"day":return Object(filter.g)(t,"MMMM D, YYYY");case"week":return Object(filter.f)(t);case"month":return Object(filter.g)(t,"YYYY MMM");case"quarter":return Object(filter.e)(t)}},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}}],yAxis:[{position:"left",type:"value",splitNumber:5,min:0,scale:!0,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{color:this.axisColor}},axisLabel:{formatter:function(t){return 0===t&&(t="0"),Object(filter.m)(t,"$","2")},textStyle:{color:this.$store.state.isDark?"#ffffff":null},padding:[0,5,0,0]}}],series:[{name:this.$t("dashboard.TotalTrading.spot"),type:"bar",data:this.spotList,color:"#5334AB",stack:"Total",symbol:"none",showSymbol:!1},{name:this.$t("dashboard.TotalTrading.derivatives"),type:"bar",data:this.derivativeList,stack:"Total",color:"#00BCB9",symbol:"none",showSymbol:!1}]};this.checkedBTC&&(option.yAxis.push({position:"right",type:"value",splitNumber:5,scale:!0,alignTicks:!0,axisTick:{show:!1},axisLine:{show:!1},splitLine:{lineStyle:{color:this.axisColor}},axisLabel:{formatter:function(t){return 0===t&&(t="0"),Object(filter.m)(t,"$","0")},textStyle:{color:this.$store.state.isDark?"#ffffff":null}}}),option.series.push({name:this.$t("dashboard.global.BTCPrice"),type:"line",xAxisIndex:0,yAxisIndex:1,color:"#FF9B00",data:this.btcPriceList,symbol:"none",showSymbol:!1})),this.isPercent&&(option.legend.left=75,option.grid[0].left=75,this.checkedBTC&&option.yAxis.pop(),option.series.forEach((function(t){t.type="line",t.stack=null,t.yAxisIndex=0,t.xAxisIndex=0,t.data=t.data.map((function(t){return new O(t.ratio).multipliedBy(100).toString()}))})),option.yAxis[0].min=null,option.yAxis[0].axisLabel.formatter=function(t){return t+"%"},option.tooltip.formatter=function(t){for(var html="\n <div style='font-size: 12px;'>\n <div style='color: #6E717B;'>".concat(Object(filter.g)(t[0].axisValue,"MMMM D, YYYY HH:mm"),"</div>"),i=0;i<t.length;i++){var r=t[i].value,n=t[i].seriesName,o=r>0?"#32be88":"#e96975";"NaN"===r?(r="-",o="#202020"):r+="%";var c=e.$store.state.isDark?"invert(1)":"none";html+="\n <div>\n <span style='color:#202020;'>".concat(n,"</span>\n <span style='filter:").concat(c,";color:").concat(o,";'>").concat(r,"</span>\n <div>")}return html+="</div>"},option.tooltip.axisPointer={type:"line",lineStyle:{type:"dashed",color:"#222531"},label:{show:!1}}),this.chart.setOption(option)},handlePercent:function(t){t.currentTarget.classList.toggle("active"),this.isPercent=!this.isPercent},handleCurrentPage:function(t){var e=(t-1)*this.pageSize,r=e+this.pageSize;this.tableData=this.totalData.slice(e,r),this.currentPage=t},handSizeChange:function(t){this.currentPage=1,this.pageSize=t;var e=(this.currentPage-1)*this.pageSize,r=e+this.pageSize;this.tableData=this.totalData.slice(e,r)},getExcel:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function r(){var n,o,c,a,h;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.userInfo){r.next=4;break}return e.setShowClose(!0),e.setShowLogin(!0),r.abrupt("return");case 4:return r.prev=4,n={type:e.time,accuracy:e.accuracy,topic:e.$route.path.split("/")[4],format:t},e.exportLoading=!0,r.next=9,l.a.post(y.a.exportExcel,n,{responseType:"blob"});case 9:o=r.sent,c=new Blob([o.data]),(a=document.createElement("a")).href=URL.createObjectURL(c),h=/filename=(.+)/.exec(o.headers["content-disposition"])[1],a.download=h,a.style.display="none",document.body.appendChild(a),a.click(),a.remove(),e.exportLoading=!1,r.next=25;break;case 22:r.prev=22,r.t0=r.catch(4),console.log(r.t0);case 25:case"end":return r.stop()}}),r,null,[[4,22]])})))()},downloadChart:function(){f()(this.$refs.shot,{backgroundColor:"#ffffff",useCORS:!0}).then((function(canvas){var t=canvas.toDataURL("image/png"),e=document.createElement("a");document.body.appendChild(e),e.href=t,e.download="total-volume-chart",e.click()}))}}),computed:x(x({},Object(d.c)({userInfo:"userInfo"})),{},{axisColor:function(){return this.$store.state.isDark?"#2f2f2f":"#f5f5f5"}}),watch:{time:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getHistoryData();case 2:t.setOption();case 3:case"end":return e.stop()}}),e)})))()},accuracy:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return"month"===t||"quarter"===t?(e.btns=[{type:1,label:"1Y"},{type:2,label:"2Y"}],e.time=1):(e.btns=[{type:30,label:"30D"},{type:90,label:"90D"},{type:180,label:"180D"},{type:1,label:"1Y"},{type:2,label:"2Y"},{type:0,label:"YTD"}],e.time=1),r.next=3,e.getHistoryData();case 3:e.setOption();case 4:case"end":return r.stop()}}),r)})))()},isPercent:function(){this.setOption()},checkedBTC:function(){this.setOption()},"$store.state.isDark":function(){this.setOption()}}},S=(r(1915),r(1)),component=Object(S.a)(C,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"total-volume-wrapper"},[e("div",{ref:"shot",staticClass:"screen-shot"},[e("h1",[t._v(t._s(t.$t("dashboard.TotalTrading.titleText")))]),t._v(" "),e("p",{staticClass:"chart-desc",attrs:{"data-html2canvas-ignore":""}},[e("span",{domProps:{innerHTML:t._s(t.$t("dashboard.TotalTrading.desc"))}}),e("a",{staticClass:"underline-link",attrs:{href:"https://tokeninsight.com/".concat(t.$i18n.locale,"/exchanges"),target:"__blank"}},[t._v(t._s(t.$t("dashboard.global.LearnMore")))])]),t._v(" "),e("div",{staticClass:"top-btn"},[e("SelectTime",{attrs:{btns:t.btns},model:{value:t.time,callback:function(e){t.time=e},expression:"time"}}),t._v(" "),e("div",[e("el-popover",{attrs:{"popper-class":"dashboard-chart-popover",placement:"left",trigger:"hover"}},[e("span",{domProps:{innerHTML:t._s(t.$t("dashboard.global.timeRange"))}}),t._v(" "),e("el-select",{attrs:{slot:"reference",placeholder:"",size:"small"},slot:"reference",model:{value:t.accuracy,callback:function(e){t.accuracy=e},expression:"accuracy"}},t._l(t.accuracyOptions,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),e("el-popover",{attrs:{"popper-class":"dashboard-chart-popover",placement:"top-start",trigger:"hover"}},[e("span",{domProps:{innerHTML:t._s(t.$t("dashboard.global.percent"))}}),t._v(" "),e("span",{staticClass:"percent-chart",attrs:{slot:"reference"},on:{click:t.handlePercent},slot:"reference"},[e("i",{staticClass:"iconfont icon-percent"})])]),t._v(" "),e("el-popover",{attrs:{"popper-class":"dashboard-chart-popover",placement:"top-start",trigger:"hover"}},[e("span",{domProps:{innerHTML:t._s(t.$t("dashboard.global.download"))}}),t._v(" "),e("span",{staticClass:"download-chart",attrs:{slot:"reference"},on:{click:t.downloadChart},slot:"reference"},[e("i",{staticClass:"iconfont icon-download"})])])],1)],1),t._v(" "),e("cssLoading",{attrs:{loading:t.loading,center:""}},[e("div",{staticClass:"chart-wrapper"},[e("div",{attrs:{id:"total-volume"}}),t._v(" "),e("el-checkbox",{staticClass:"btc-checked",attrs:{size:"small"},model:{value:t.checkedBTC,callback:function(e){t.checkedBTC=e},expression:"checkedBTC"}},[t._v(t._s(t.$t("dashboard.global.BTCPrice")))]),t._v(" "),e("div",{staticClass:"chart_others"},[t.$store.state.isDark?e("img",{staticStyle:{opacity:"0.5"},attrs:{src:r(142),width:"150",height:"27",alt:"logo"}}):e("img",{attrs:{src:r(143),alt:""}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.nodataShow,expression:"nodataShow"}],staticClass:"chartsnodata"},[e("span")])],1)])],1),t._v(" "),e("div",{staticClass:"table"},[e("div",{staticClass:"text"},[e("h2",{staticClass:"title"},[t._v(t._s(t.$t("dashboard.TotalTrading.TradingVolume")))]),t._v(" "),e("span",{staticClass:"downLoadBtn"},[e("i",{staticClass:"iconfont icon-download"}),t._v(" "),t.loading?t._e():e("div",{staticClass:"select-items"},[e("ul",[e("li",{on:{click:function(e){return t.getExcel("csv")}}},[t._v(".csv")]),t._v(" "),e("li",{on:{click:function(e){return t.getExcel("xls")}}},[t._v(".xls")]),t._v(" "),e("li",{on:{click:function(e){return t.getExcel("xlsx")}}},[t._v(".xlsx")])])])])]),t._v(" "),e("totalVolumeTable",{ref:"table",attrs:{"table-data":t.tableData,loading:t.loading}}),t._v(" "),e("div",{staticClass:"pagination"},[e("el-pagination",{attrs:{"hide-on-single-page":!1,layout:"prev, pager, next",total:t.total,"current-page":t.currentPage,"page-size":t.pageSize},on:{"current-change":t.handleCurrentPage}}),t._v(" "),e("div",{staticClass:"pageSize"},[e("span",[t._v(t._s(t.$t("dashboard.global.ShowRows")))]),t._v(" "),e("el-select",{attrs:{size:"mini"},on:{change:function(e){return t.handSizeChange(t.value)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1)],1)])}),[],!1,null,"62282d0f",null);e.default=component.exports},2141:function(t,e,r){"use strict";r.r(e);var n=r(2),o=(r(14),r(34),r(75),r(81)),c={props:{articleLink:{type:String,default:""},type:{type:String,default:""},count:{type:Number,default:0}},data:function(){return{showThanks:!1,total:this.count,select:""}},created:function(){},methods:{getUsdcPrice:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,e.$request.post(o.a.judge,{articleLink:e.articleLink,judgeType:t,type:e.type});case 3:0===r.sent.code&&(e.showThanks=!0,e.total+=1,setTimeout((function(){e.showThanks=!1}),2e3)),r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),console.log(r.t0);case 10:case"end":return r.stop()}}),r,null,[[0,7]])})))()},handleClick:function(t){this.select=t,this.getUsdcPrice(t)}}},l=(r(1973),r(1)),component=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"feedback-wrapper"},[t.showThanks?t._e():[e("p",[t._v(t._s(t.$t("research.help")))]),t._v(" "),e("div",{staticClass:"selected-wrapper"},[e("img",{class:{isGrey:t.select&&"3"!=t.select},attrs:{src:r(357),alt:""},on:{click:function(e){return t.handleClick("3")}}}),t._v(" "),e("img",{class:{isGrey:t.select&&"2"!=t.select},attrs:{src:r(358),alt:""},on:{click:function(e){return t.handleClick("2")}}}),t._v(" "),e("img",{class:{isGrey:t.select&&"1"!=t.select},attrs:{src:r(359),alt:""},on:{click:function(e){return t.handleClick("1")}}})]),t._v(" "),e("p",[t._v(t._s(t.$t("research.count"))+" "+t._s(t.total))])],t._v(" "),t.showThanks?e("div",{staticClass:"thanks animated fadeIn"},[e("svg",{staticClass:"suc-anim-icon has-anim",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80"}},[e("circle",{staticClass:"suc-anim-icon_stroke",attrs:{cx:"40",cy:"40",r:"21",fill:"none"}}),t._v(" "),e("path",{staticClass:"suc-anim-icon_tick",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49.0411 35.9823C49.7233 35.3 49.7233 34.1939 49.0411 33.5117C48.3589 32.8294 47.2527 32.8294 46.5705 33.5117L37.4603 42.6219L32.9823 38.1439C32.3 37.4617 31.1939 37.4617 30.5117 38.1439C29.8294 38.8261 29.8294 39.9322 30.5117 40.6145L36.2119 46.3147C36.2162 46.3191 36.2205 46.3235 36.2249 46.3279C36.9072 47.0101 38.0133 47.0101 38.6955 46.3279L49.0411 35.9823Z",fill:"white"}})]),t._v("\n "+t._s(t.$t("research.feedback"))+"\n ")]):t._e()],2)}),[],!1,null,"376415b6",null);e.default=component.exports},2142:function(t,e,r){"use strict";r.r(e);r(34);var n={name:"PopupBox",props:{value:{type:Boolean,default:!1},width:{type:Number,default:360}},methods:{}},o=(r(1975),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return t.value?e("div",[e("div",{staticClass:"popup-box-wrapper",style:"width:".concat(t.width,"px")},[t._t("default"),t._v(" "),e("img",{staticClass:"remove",attrs:{src:r(1974),alt:""},on:{click:function(e){return t.$emit("input",!1)}}})],2),t._v(" "),e("div",{staticClass:"overlay"})]):t._e()}),[],!1,null,"0797ff4f",null);e.default=component.exports},215:function(t,e,r){"use strict";r.d(e,"d",(function(){return _})),r.d(e,"c",(function(){return w})),r.d(e,"b",(function(){return C})),r.d(e,"e",(function(){return S})),r.d(e,"a",(function(){return k}));var n=r(29),o=r(41),c=Math.min,l=Math.max,h=Math.sin,f=Math.cos,d=2*Math.PI,v=n.create(),m=n.create(),y=n.create();function _(t,e,r){if(0!==t.length){for(var p=t[0],n=p[0],o=p[0],h=p[1],f=p[1],i=1;i<t.length;i++)p=t[i],n=c(n,p[0]),o=l(o,p[0]),h=c(h,p[1]),f=l(f,p[1]);e[0]=n,e[1]=h,r[0]=o,r[1]=f}}function w(t,e,r,n,o,h){o[0]=c(t,r),o[1]=c(e,n),h[0]=l(t,r),h[1]=l(e,n)}var x=[],O=[];function C(t,e,r,n,h,f,d,v,m,y){var _=o.c,w=o.a,C=_(t,r,h,d,x);m[0]=1/0,m[1]=1/0,y[0]=-1/0,y[1]=-1/0;for(var i=0;i<C;i++){var S=w(t,r,h,d,x[i]);m[0]=c(S,m[0]),y[0]=l(S,y[0])}C=_(e,n,f,v,O);for(i=0;i<C;i++){var k=w(e,n,f,v,O[i]);m[1]=c(k,m[1]),y[1]=l(k,y[1])}m[0]=c(t,m[0]),y[0]=l(t,y[0]),m[0]=c(d,m[0]),y[0]=l(d,y[0]),m[1]=c(e,m[1]),y[1]=l(e,y[1]),m[1]=c(v,m[1]),y[1]=l(v,y[1])}function S(t,e,r,n,h,f,d,v){var m=o.j,y=o.h,_=l(c(m(t,r,h),1),0),w=l(c(m(e,n,f),1),0),x=y(t,r,h,_),O=y(e,n,f,w);d[0]=c(t,h,x),d[1]=c(e,f,O),v[0]=l(t,h,x),v[1]=l(e,f,O)}function k(t,e,r,o,c,l,_,w,x){var O=n.min,C=n.max,S=Math.abs(c-l);if(S%d<1e-4&&S>1e-4)return w[0]=t-r,w[1]=e-o,x[0]=t+r,void(x[1]=e+o);if(v[0]=f(c)*r+t,v[1]=h(c)*o+e,m[0]=f(l)*r+t,m[1]=h(l)*o+e,O(w,v,m),C(x,v,m),(c%=d)<0&&(c+=d),(l%=d)<0&&(l+=d),c>l&&!_?l+=d:c<l&&_&&(c+=d),_){var k=l;l=c,c=k}for(var j=0;j<l;j+=Math.PI/2)j>c&&(y[0]=f(j)*r+t,y[1]=h(j)*o+e,O(w,y,w),C(x,y,x))}},234:function(t,e,r){"use strict";r.r(e);var n={name:"DowApp",components:{}},o=(r(1714),r(1)),component=Object(o.a)(n,(function(){var t=this._self._c;return t("div",{staticClass:"down-app"},[t("nuxt-link",{staticClass:"go-app",attrs:{to:this.localePath("/products/app")}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r(1713),expression:"require('@/assets/images/down-load.png')"}],attrs:{alt:""}})])],1)}),[],!1,null,"4a670af4",null);e.default=component.exports},236:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0);function o(t){return new c(t)}var c=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,r=this._upstream,o=t&&t.skip;if(this._dirty&&r){var c=this.context;c.data=c.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!o&&(e=this._plan(this.context));var l,h=m(this._modBy),f=this._modDataCount||0,d=m(t&&t.modBy),v=t&&t.modDataCount||0;function m(t){return!(t>=1)&&(t=1),t}h===d&&f===v||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,l=this._doReset(o)),this._modBy=d,this._modDataCount=v;var y=t&&t.step;if(this._dueEnd=r?r._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var _=this._dueIndex,w=Math.min(null!=y?this._dueIndex+y:1/0,this._dueEnd);if(!o&&(l||_<w)){var progress=this._progress;if(Object(n.isArray)(progress))for(var i=0;i<progress.length;i++)this._doProgress(progress[i],_,w,d,v);else this._doProgress(progress,_,w,d,v)}this._dueIndex=w;var x=null!=this._settedOutputEnd?this._settedOutputEnd:w;0,this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(progress,t,e,r,n){l.reset(t,e,r,n),this._callingProgress=progress,this._callingProgress({start:t,end:e,count:e-t,next:l.next},this.context)},t.prototype._doReset=function(t){var progress,e;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((progress=this._reset(this.context))&&progress.progress&&(e=progress.forceFirstProgress,progress=progress.progress),Object(n.isArray)(progress)&&!progress.length&&(progress=null)),this._progress=progress,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),e},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),l=function(){var t,e,r,n,o,c={reset:function(s,f,d,v){e=s,t=f,r=d,n=v,o=Math.ceil(n/r),c.next=r>1&&n>0?h:l}};return c;function l(){return e<t?e++:null}function h(){var c=e%o*r+Math.ceil(e/o),l=e>=t?null:c<n?c:e;return e++,l}}()},242:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},268:function(t,e,r){"use strict";(function(t){var n=r(1398),o=r(1399),c=r(702);function l(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(t,e){if(l()<e)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=f.prototype:(null===t&&(t=new f(e)),t.length=e),t}function f(t,e,r){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return m(this,t)}return d(this,t,e,r)}function d(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);f.TYPED_ARRAY_SUPPORT?(t=e).__proto__=f.prototype:t=y(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!f.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|w(e,r),o=(t=h(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(f.isBuffer(e)){var r=0|_(e.length);return 0===(t=h(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?h(t,0):y(t,e);if("Buffer"===e.type&&c(e.data))return y(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function v(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function m(t,e){if(v(e),t=h(t,e<0?0:0|_(e)),!f.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function y(t,e){var r=e.length<0?0:0|_(e.length);t=h(t,r);for(var i=0;i<r;i+=1)t[i]=255&e[i];return t}function _(t){if(t>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function w(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(t).length;default:if(n)return X(t).length;e=(""+e).toLowerCase(),n=!0}}function x(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,r);case"utf8":case"utf-8":return M(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return A(this,e,r);case"base64":return $(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function O(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function C(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:S(t,e,r,n,o);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):S(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function S(t,e,r,n,o){var i,c=1,l=t.length,h=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;c=2,l/=2,h/=2,r/=2}function f(t,i){return 1===c?t[i]:t.readUInt16BE(i*c)}if(o){var d=-1;for(i=r;i<l;i++)if(f(t,i)===f(e,-1===d?0:i-d)){if(-1===d&&(d=i),i-d+1===h)return d*c}else-1!==d&&(i-=i-d),d=-1}else for(r+h>l&&(r=l-h),i=r;i>=0;i--){for(var v=!0,m=0;m<h;m++)if(f(t,i+m)!==f(e,m)){v=!1;break}if(v)return i}return-1}function k(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var c=e.length;if(c%2!=0)throw new TypeError("Invalid hex string");n>c/2&&(n=c/2);for(var i=0;i<n;++i){var l=parseInt(e.substr(2*i,2),16);if(isNaN(l))return i;t[r+i]=l}return i}function j(t,e,r,n){return J(X(e,t.length-r),t,r,n)}function P(t,e,r,n){return J(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,r,n)}function T(t,e,r,n){return P(t,e,r,n)}function D(t,e,r,n){return J(K(e),t,r,n)}function L(t,e,r,n){return J(function(t,e){for(var r,n,o,c=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o=r%256,c.push(o),c.push(n);return c}(e,t.length-r),t,r,n)}function $(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function M(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,c,l,h,f=t[i],d=null,v=f>239?4:f>223?3:f>191?2:1;if(i+v<=r)switch(v){case 1:f<128&&(d=f);break;case 2:128==(192&(o=t[i+1]))&&(h=(31&f)<<6|63&o)>127&&(d=h);break;case 3:o=t[i+1],c=t[i+2],128==(192&o)&&128==(192&c)&&(h=(15&f)<<12|(63&o)<<6|63&c)>2047&&(h<55296||h>57343)&&(d=h);break;case 4:o=t[i+1],c=t[i+2],l=t[i+3],128==(192&o)&&128==(192&c)&&128==(192&l)&&(h=(15&f)<<18|(63&o)<<12|(63&c)<<6|63&l)>65535&&h<1114112&&(d=h)}null===d?(d=65533,v=1):d>65535&&(d-=65536,n.push(d>>>10&1023|55296),d=56320|1023&d),n.push(d),i+=v}return function(t){var e=t.length;if(e<=E)return String.fromCharCode.apply(String,t);var r="",i=0;for(;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=E));return r}(n)}e.Buffer=f,e.SlowBuffer=function(t){+t!=t&&(t=0);return f.alloc(+t)},e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=l(),f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t},f.from=function(t,e,r){return d(null,t,e,r)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(t,e,r){return function(t,e,r,n){return v(e),e<=0?h(t,e):void 0!==r?"string"==typeof n?h(t,e).fill(r,n):h(t,e).fill(r):h(t,e)}(null,t,e,r)},f.allocUnsafe=function(t){return m(null,t)},f.allocUnsafeSlow=function(t){return m(null,t)},f.isBuffer=function(b){return!(null==b||!b._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var t=a.length,e=b.length,i=0,r=Math.min(t,e);i<r;++i)if(a[i]!==b[i]){t=a[i],e=b[i];break}return t<e?-1:e<t?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!c(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var r=f.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var o=t[i];if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},f.byteLength=w,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)O(this,i,i+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)O(this,i,i+3),O(this,i+1,i+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;i+=8)O(this,i,i+7),O(this,i+1,i+6),O(this,i+2,i+5),O(this,i+3,i+4);return this},f.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?M(this,0,t):x.apply(this,arguments)},f.prototype.equals=function(b){if(!f.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===f.compare(this,b)},f.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},f.prototype.compare=function(t,e,r,n,o){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var c=(o>>>=0)-(n>>>=0),l=(r>>>=0)-(e>>>=0),h=Math.min(c,l),d=this.slice(n,o),v=t.slice(e,r),i=0;i<h;++i)if(d[i]!==v[i]){c=d[i],l=v[i];break}return c<l?-1:l<c?1:0},f.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return C(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return C(this,t,e,r,!1)},f.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var c=!1;;)switch(n){case"hex":return k(this,t,e,r);case"utf8":case"utf-8":return j(this,t,e,r);case"ascii":return P(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return D(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,e,r);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function R(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function A(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function I(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=G(t[i]);return o}function N(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function z(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,r,n,o,c){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<c)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function F(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function Y(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function U(t,e,r,n,o,c){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function H(t,e,r,n,c){return c||U(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function W(t,e,r,n,c){return c||U(t,0,r,8),o.write(t,e,r,n,52,8),r+8}f.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),f.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=f.prototype;else{var o=e-t;r=new f(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},f.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||z(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},f.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||z(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},f.prototype.readUInt8=function(t,e){return e||z(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||z(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||z(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||z(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||z(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||z(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||z(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||z(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){e||z(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return e||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||z(t,4,this.length),o.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||z(t,4,this.length),o.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||z(t,8,this.length),o.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||z(t,8,this.length),o.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||B(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||B(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Y(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);B(this,t,e,r,o-1,-o)}var i=0,c=1,sub=0;for(this[e]=255&t;++i<r&&(c*=256);)t<0&&0===sub&&0!==this[e+i-1]&&(sub=1),this[e+i]=(t/c>>0)-sub&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);B(this,t,e,r,o-1,-o)}var i=r-1,c=1,sub=0;for(this[e+i]=255&t;--i>=0&&(c*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/c>>0)-sub&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Y(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,r){return H(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return H(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return W(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return W(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},f.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var code=t.charCodeAt(0);code<256&&(t=code)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var o=f.isBuffer(t)?t:X(new f(t,n).toString()),c=o.length;for(i=0;i<r-e;++i)this[i+e]=o[i%c]}return this};var V=/[^+\/0-9A-Za-z-_]/g;function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function X(t,e){var r;e=e||1/0;for(var n=t.length,o=null,c=[],i=0;i<n;++i){if((r=t.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&c.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&c.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&c.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&c.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;c.push(r)}else if(r<2048){if((e-=2)<0)break;c.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;c.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;c.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return c}function K(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(V,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function J(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(105))},270:function(t,e,r){"use strict";var n=r(410),o=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=m;var c=Object.create(r(345));c.inherits=r(242);var l=r(705),h=r(643);c.inherits(m,l);for(var f=o(h.prototype),d=0;d<f.length;d++){var v=f[d];m.prototype[v]||(m.prototype[v]=h.prototype[v])}function m(t){if(!(this instanceof m))return new m(t);l.call(this,t),h.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",y)}function y(){this.allowHalfOpen||this._writableState.ended||n.nextTick(_,this)}function _(t){t.end()}Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),m.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},296:function(t,e,r){"use strict";r.r(e);r(34);var n={name:"ExchangesProgress",props:{exchangesDetail:{type:Object,default:function(){}},title:{type:String,default:""},leftTitle:{type:String,default:""},rightTitle:{type:String,default:""},spot:{type:Number,default:null},spotShare:{type:Number,default:null},derivate:{type:Number,default:null},derivateShare:{type:Number,default:null},percentage:{type:[Number,String],default:0}},data:function(){return{showSelect:!1}},computed:{perc:function(){return this.exchangesDetail&&this.exchangesDetail.volume24hSpotShare?100*this.exchangesDetail.volume24hSpotShare:0}},methods:{showDrop:function(){this.showSelect=!this.showSelect,this.showSelect?document.addEventListener("click",this.showDrop):document.removeEventListener("click",this.showDrop)}}},o=(r(1709),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"coin-progress-container"},[e("div",{staticClass:"coin-progress"},[t.title?e("div",{staticClass:"coin-progress-price"},[e("span",[t._v(t._s(t.title))])]):e("div",{staticClass:"coin-progress-price"},[e("span",{staticClass:"purple"},[t._v(t._s(t._f("priceFormat")(t.exchangesDetail.volume24hSpot,"0","$",!0))+" ("+t._s(t._f("constPercentageFormat")(t.exchangesDetail.volume24hSpotShare,!0))+")")]),t._v(" "),e("span",{staticClass:"cyan"},[t._v(t._s(t._f("priceFormat")(t.exchangesDetail.volume24hDerivate,"0","$",!0))+" ("+t._s(t._f("constPercentageFormat")(t.exchangesDetail.volume24hDerivateShare,!0))+")")])]),t._v(" "),e("el-progress",{attrs:{percentage:t.percentage?t.percentage:t.perc,"stroke-width":12,color:"#5434ab","show-text":!1}}),t._v(" "),t.title?e("div",{staticClass:"coin-progress-price"},[e("span",{style:{color:"#5639B6"}},[t._v(t._s(t.leftTitle)+" ("+t._s(t._f("constPercentageFormat")(t.spotShare,!0))+"): "+t._s(t._f("priceAbbreviation")(t.spot))+" ")]),t._v(" "),e("span",{style:{color:"#3CB8B8"}},[t._v(t._s(t.rightTitle)+" ("+t._s(t._f("constPercentageFormat")(t.derivateShare,!0))+"): "+t._s(t._f("priceAbbreviation")(t.derivate))+"\n ")])]):e("div",{staticClass:"coin-progress-price"},[e("span",[t._v(t._s(t.$t("exchanges.spotVolume24h")))]),t._v(" "),e("span",[t._v(t._s(t.$t("exchanges.derivativesVolume24h")))])])],1)])}),[],!1,null,"389f7c0e",null);e.default=component.exports},3:function(t,e,r){"use strict";r.d(e,"i",(function(){return S})),r.d(e,"n",(function(){return k})),r.d(e,"j",(function(){return j})),r.d(e,"a",(function(){return P})),r.d(e,"d",(function(){return T})),r.d(e,"h",(function(){return D})),r.d(e,"p",(function(){return L})),r.d(e,"c",(function(){return $})),r.d(e,"k",(function(){return M})),r.d(e,"m",(function(){return E})),r.d(e,"l",(function(){return R})),r.d(e,"t",(function(){return A})),r.d(e,"s",(function(){return I})),r.d(e,"g",(function(){return z})),r.d(e,"f",(function(){return B})),r.d(e,"e",(function(){return F})),r.d(e,"b",(function(){return Y})),r.d(e,"r",(function(){return U})),r.d(e,"q",(function(){return H})),r.d(e,"o",(function(){return W}));r(99),r(34),r(25),r(1543),r(26),r(43),r(226);var n=r(72),o=r.n(n),c=r(19),l=r(1183),h=r.n(l),f=r(1184),d=r.n(f),v=r(1185),m=r.n(v),y=r(1186),_=r.n(y),w=r(1187),x=r.n(w),O=r(1188),C=r.n(O);r(1546);c.extend(d.a),c.extend(m.a),c.extend(h.a),c.extend(_.a),c.extend(c.extend(x.a)),c.extend(c.extend(C.a));var S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return o()(t,{symbol:"",precision:e}).format()},k=function(t,e){var symbol=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$",r=arguments.length>3?arguments[3]:void 0;return parseFloat(t)?t>0&&t<1e-12?"< $0.000000000001":t>-1e-7&&t<1e-7?o()(t,{symbol:symbol,precision:e||12}).format():t<=-1e-7&&t>-.001?o()(t,{symbol:symbol,precision:e||10}).format():t<=-.001&&t>-1?o()(t,{symbol:symbol,precision:e||6}).format():t<=-1&&t>-10?o()(t,{symbol:symbol,precision:e||4}).format():t<=-10?o()(t,{symbol:symbol,precision:e||2}).format():t>=1e-7&&t<.001?o()(t,{symbol:symbol,precision:e||8}).format():t>=.001&&t<1?o()(t,{symbol:symbol,precision:e||6}).format():t>=1&&t<10?o()(t,{symbol:symbol,precision:e||4}).format():t>=10?o()(t,{symbol:symbol,precision:e||2}).format():void 0:r?0:"-"},j=function(t,e){var r=parseFloat(t);if(!r)return e?"0%":"-";var n=(100*r).toFixed(2);return"".concat(n>0?"+".concat(n):n,"%")},P=function(t,e){var r=parseFloat(t);if(!r)return e?"0%":"-";var n=(100*r).toFixed(2);return"".concat(n,"%")},T=function(t,e){return"zh"===e?c(t).locale("zh-cn").fromNow():c(t).fromNow()},D=function(t,e){if(!t)return"-";var r="zh"===e,n=24,o=c().diff(c(t),"h",!0),l=c().diff(c(t),"h"),h=c().diff(c(t),"d"),f=c().diff(c(t),"m");return o>=0&&o<=1?(1!==f&&0!==f||(f=1),"".concat(f,r?"分钟以前":"m Ago")):o>1&&o<=n?"".concat(l,r?"小时前":"h Ago"):o>n&&o<=168?"".concat(h,r?" 天前":"d Ago"):o>168&&o<=8760?I(t,e,r?"MM-DD":"MMMM D"):o>8760?r?c(t).format("MMM D, YYYY"):c(t).format("YYYY-MM-DD"):void 0},L=function(t,e){if(!t)return"-";var r="zh"===e,n=c().diff(c.utc(N(t)).local(),"h"),o=c().diff(c.utc(N(t)).local(),"m");return n>=0&&n<1?"".concat(o,r?"分钟以前":"m Ago"):n>=1&&n<24?"".concat(n,r?"小时前":"h Ago"):n>=24?r?c.utc(N(t)).local().locale("zh-cn").format("YYYY-MM-DD HH:mm"):c.utc(N(t)).local().format("HH:mm MMM D, YYYY"):void 0},$=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"LL";return t?c(t).format(e):"-"},M=function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t)return"-";if(0===Number(t))return 0;var symbol="-".concat(s);t>0&&(symbol="".concat(s));var n=Math.abs(t);return n>0&&n<1e5?"".concat(symbol).concat(n.toFixed(2)):n>=1e5&&n<1e6?symbol+o()(n/1e3,{precision:e})+"".concat("K"):n>=1e6&&n<1e9?symbol+o()(n/1e6,{precision:e})+"".concat(r?"M":" Million(s)"):n>=1e9&&n<1e12?symbol+o()(n/1e9,{precision:e})+"".concat(r?"B":" Billion(s)"):n>=1e12?symbol+o()(n/1e12,{precision:e})+"".concat(r?"T":" Trillion(s)"):void 0},E=function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t)return"-";if(0===Number(t))return 0;var symbol="-".concat(s);t>0&&(symbol="".concat(s));var n=Math.abs(t);return n>0&&n<1e5?"".concat(o()(n,{precision:e,separator:",",symbol:symbol}).format()):n>=1e5&&n<1e6?symbol+o()(n/1e3,{precision:e}).value+"".concat("K"):n>=1e6&&n<1e9?symbol+o()(n/1e6,{precision:e}).value+"".concat(r?"M":" Million(s)"):n>=1e9&&n<1e12?symbol+o()(n/1e9,{precision:e}).value+"".concat(r?"B":" Billion(s)"):n>=1e12?symbol+o()(n/1e12,{precision:e}).value+"".concat(r?"T":" Trillion(s)"):void 0},R=function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t)return"-";if(0===Number(t))return 0;var symbol="-".concat(s);t>0&&(symbol="".concat(s));var n=Math.abs(t);return n>0&&n<1e5?"".concat(o()(n,{precision:Number.isInteger(n)?0:2,separator:","}).format()):n>=1e5&&n<1e6?symbol+o()(n/1e3,{precision:e})+"".concat("K"):n>=1e6&&n<1e9?symbol+o()(n/1e6,{precision:e})+"".concat(r?"M":" Million(s)"):n>=1e9&&n<1e12?symbol+o()(n/1e9,{precision:e})+"".concat(r?"B":" Billion(s)"):n>=1e12?symbol+o()(n/1e12,{precision:e})+"".concat(r?"T":" Trillion(s)"):void 0},A=function(t){if(!t)return"-";var e=new Date(t.replace(/-/g,"-")).getTime(),r=(new Date).getTime(),n=parseInt((r-e)/31536e6);return"".concat(n,n<=1?" year":" years")},I=function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD HH:mm:ss";return t?c(t).tz("UTC").format(e):"-"};function N(t){var time=new Date(t.replaceAll("-","/")),e=new Date(time.getTime()-288e5);return e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate()+" "+e.getHours()+":"+e.getMinutes()+":"+e.getSeconds()}var z=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return t?c.utc(N(t)).local().format(e):"-"},B=function(t){return t?c(t).year()+" Week"+c(t).week():"-"},F=function(t){return t?c(t).year()+" Q"+c(t).quarter():"-"},Y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY MMM";return t?c(t).format(e):"-"},U=function(t){var e=24,r=c().diff(c(t),"h",!0),n=c().diff(c(t),"h"),o=c().diff(c(t),"d"),l=c().diff(c(t),"M");return r>1&&r<=e?"About ".concat(n," Hours Ago"):r>e&&r<168?"About ".concat(o," ").concat(1===o?"Day":"Days"," Ago"):r>=168&&r<672?"About ".concat(Math.floor(o/7)," ").concat(1===Math.floor(o/7)?"Week":"Weeks"," Ago"):r>=672&&r<8760?0===l?"About 1 Month Ago":"About ".concat(l," ").concat(1===l?"Month":"Months"," Ago"):"About ".concat(Math.floor(o/365),o>=365&&o<730?" Year Ago":" Years Ago")},H=function(t,e){return e?"***":t},W=function(t,e){var r=parseFloat(t);if(!r)return e?"0%":"-";var n=Math.round(r);return"".concat(n,"%")}},300:function(t,e,r){"use strict";r.r(e);r(734),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(34),r(122),r(30),r(25),r(47),r(5)),l=r(39),h=r(474),f=r(57),d=r(46),filter=r(3);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={name:"ExchangesMarkets",components:{Empty:l.default,TiTabs:h.default},props:{showMore:{type:Boolean,default:!1},pageSizeLimit:{type:Number,default:null},eid:{type:Number,default:null},cid:{type:Number,default:null},spotOrDerivative:{type:Number,default:null},fixed:{type:Boolean,default:!1},tags:{type:Array,default:function(){return[{name:"SPOT"},{name:"PERPETUALS"},{name:"FUTURES"}]}},curTag:{type:String,default:"SPOT"}},data:function(){var t=this.pageSizeLimit?this.pageSizeLimit:50;return{loading:!0,tableData:[],sortKey:{volume24hSort:null,scoreSort:null,volumeChanged24hSort:null,priceChanged24hSort:null},currentTag:this.curTag,total:0,sort:-d.b.level,current:1,pageSize:t}},created:function(){this.getMarketsList()},computed:{localTime:function(){return filter.g}},methods:m(m({},Object(c.d)({setMarketTag:"exchanges/setMarketTag"})),{},{sortChange:function(t){t.column;var e=t.prop,r=t.order;this.sortKey={},this.sortKey["".concat(e,"Sort")]=r,this.sort="descending"===r?-d.b[e]:"ascending"===r?d.b[e]:-d.b.level,this.current=1,this.getMarketsList("sort")},getMarketsList:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n,o,c,l,data;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.loading=!0,r.prev=1,n=null,o=null,"SPOT"===e.currentTag&&(o=7),"PERPETUALS"===e.currentTag&&(n=1),"FUTURES"===e.currentTag&&(n=2),c={current:e.current,pageSize:e.pageSize,sort:e.sort,contractType:n,exchangeType:o},e.eid&&(c.eid=e.eid),e.cid&&(c.cid=e.cid),r.next=12,e.$request.post(f.a.markets,c);case 12:0===(l=r.sent).code?(t?e.tableData=l.data.list.map((function(t,r){return m(m({},t),{},{serial:r+1+e.pageSize*(e.current-1)})})):(data=l.data.list.map((function(t,r){return m(m({},t),{},{serial:r+1+e.pageSize*(e.current-1),score:t.score})})),e.tableData=e.tableData.concat(data)),e.current=l.data.pageNum,e.total=l.data.total):1===e.current?e.current=1:e.current--,r.next=19;break;case 16:r.prev=16,r.t0=r.catch(1),console.log(r.t0);case 19:e.loading=!1;case 20:case"end":return r.stop()}}),r,null,[[1,16]])})))()},goRatingDetail:function(){window.open("https://tokeninsight-support.gitbook.io/support/methodologies/rating/token-rating","_blank")},currentPage:function(t){this.current=t,this.getMarketsList()},getShowMore:function(){this.current++,this.getMarketsList()},switchTag:function(t){this.setMarketTag(t),this.currentTag=t,this.tableData=[],this.current=1,this.getMarketsList()},priceSort:function(a,b){var t=0,e=0;return a.price&&(t=a.price),b.price&&(e=b.price),parseFloat(t)-parseFloat(e)},volume24hsort:function(a,b){var t=0,e=0;return a.volume24h&&(t=a.volume24h),b.volume24h&&(e=b.volume24h),parseFloat(t)-parseFloat(e)},symbolClass:function(t){var e=t.row;if("FUTURES"!==this.currentTag)return[2,3,4].includes(e.symbolType)?"symbolGrayRow":""},getExchangeUrl:function(t){return this.localePath("/coins/".concat(t.tid,"/overview"))},getExchangeDetailUrl:function(t){return this.localePath("/exchanges/".concat(t.exid))}})},_=(r(1857),r(1)),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"markets-container"},[e("div",{staticClass:"markets-title"},[e("span",[t._v(t._s(t.$t("exchanges.markets")))]),t._v(" "),e("ti-tabs",{attrs:{tags:t.tags,i18:"coinDetail",value:t.currentTag},on:{changeValue:t.switchTag}})],1),t._v(" "),e("div",{staticClass:"markets-table"},[e("el-table",{directives:[{name:"sticky",rawName:"v-sticky",value:{top:0,parent:".content",fixed:t.fixed},expression:"{ top: 0, parent: '.content', fixed }"},{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData,"row-class-name":t.symbolClass,"header-cell-style":{background:"rgba(79, 38, 191, 0.06)"}},on:{"sort-change":t.sortChange}},[e("template",{slot:"empty"},[e("empty",{directives:[{name:"show",rawName:"v-show",value:!t.loading&&0===t.tableData.length,expression:"!loading && tableData.length === 0"}]})],1),t._v(" "),e("el-table-column",{attrs:{align:"center",label:"#",prop:"serial",width:"50"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(n.serial))])]}}])}),t._v(" "),t.eid?t._e():e("el-table-column",{attrs:{align:"left",label:t.$t("coinDetail.exchange"),prop:"exchangeName",width:180},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("nuxt-link",{staticStyle:{"vertical-align":"middle"},attrs:{to:t.getExchangeDetailUrl(n)}},[e("div",{staticClass:"exchange-wrapper"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:n.exchangeLogo,expression:"row.exchangeLogo"}],attrs:{src:n.exchangeLogo,alt:t._f("exchangeLogoName")(n.exchangeName),title:t._f("exchangeLogoName")(n.exchangeName)}}),t._v(" "),e("span",{staticStyle:{color:"#171717"}},[t._v(t._s(n.exchangeName)+"\n "),"FUTURES"!==t.currentTag?[2===n.symbolType?e("i",[t._v("*")]):t._e(),t._v(" "),3===n.symbolType?e("i",[t._v("**")]):t._e(),t._v(" "),4===n.symbolType?e("i",[t._v("***")]):t._e()]:t._e()],2)])])]}}],null,!1,2015648953)}),t._v(" "),t.eid?e("el-table-column",{attrs:{align:"left",label:t.$t("coinDetail.Cryptoassets"),prop:"Cryptoassets"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.row;return[e("nuxt-link",{staticStyle:{"vertical-align":"middle"},attrs:{to:t.getExchangeUrl(o)}},[[o.currencyLogo?e("img",{staticClass:"currency-logo",attrs:{src:o.currencyLogo,alt:t._f("exchangeSpliceLogoName")(o.symbol),title:t._f("exchangeSpliceLogoName")(o.symbol)}}):e("img",{staticClass:"currency-logo",attrs:{src:r(355),alt:""}}),t._v(" "),e("span",{staticStyle:{color:"#171717"}},[t._v(t._s(o.abbreviate))])]],2)]}}],null,!1,381284819)}):t._e(),t._v(" "),e("el-table-column",{attrs:{align:"left",label:t.$t("coinDetail.pair"),prop:"symbol",width:160},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("div",{staticClass:"align-center"},[n.symbol?e("span",[t._v("\n "+t._s(n.symbol.toLocaleUpperCase())+"\n "),t.cid||"FUTURES"===t.currentTag?t._e():[2===n.symbolType?e("i",[t._v("*")]):t._e(),t._v(" "),3===n.symbolType?e("i",[t._v("**")]):t._e(),t._v(" "),4===n.symbolType?e("i",[t._v("***")]):t._e()]],2):e("span",[t._v("-")])])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.price"),prop:"price",sortable:"custom","sort-method":t.priceSort},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(t._f("priceFormat")(n.price)))])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"volume24h",label:"24H Volume",sortable:"custom","sort-method":t.volume24hsort,align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(t._f("priceFormat")(n.volume24h,"0")))])]}}])},[e("template",{slot:"header"},[e("span",{class:{purple:t.sortKey.volume24hSort}},[t._v(t._s(t.$t("exchanges.volume24h")))])])],2),t._v(" "),"SPOT"===t.currentTag?e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.share"),prop:"share"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.share?e("span",[t._v(t._s(t._f("constPercentageFormat")(n.share)))]):e("span",[t._v("-")])]}}],null,!1,1135915133)}):e("el-table-column",{attrs:{align:"right",label:t.$t("exchanges.openInterest"),prop:"openInterest"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.openInterest?e("span",[t._v(t._s(t._f("priceFormat")(n.openInterest,"0")))]):e("span",[t._v("-")])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.updateTm"),prop:"updateTime"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.updateTime?e("span",[t._v(t._s(t.localTime(n.updateTime,"YYYY-MM-DD HH:mm:ss")))]):e("span",[t._v("-")])]}}])})],2),t._v(" "),e("div",{staticClass:"tip"},[e("p",[t._v(t._s(t.$t("exchanges.inactive")))]),t._v(" "),e("p",[t._v(t._s(t.$t("exchanges.anomaly")))]),t._v(" "),e("p",[t._v(t._s(t.$t("exchanges.outdated")))])]),t._v(" "),t.$slots.more?t._t("more"):[t.current*t.pageSize>t.total?t._e():e("span",{staticClass:"show-More",on:{click:t.getShowMore}},[t._v(t._s(t.$t("exchanges.showMore")))])]],2)])}),[],!1,null,"bcf9a1ba",null);e.default=component.exports},31:function(t,e,r){"use strict";r.r(e);r(34);var n={name:"CssLoading",props:{loading:{type:Boolean,default:!1},height:{type:[String,Number],default:"100%"},center:{type:Boolean,default:!1}}},o=(r(1696),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"custorm-loading",style:{height:"number"==typeof t.height&&isFinite(t.height)?"".concat(t.height,"px"):t.height}},[e("transition",{attrs:{name:"fade"}},[t.loading?e("div",{staticClass:"loading-warp flex",class:{center:t.center}},[e("div",{staticClass:"point"}),t._v(" "),e("div",{staticClass:"point"}),t._v(" "),e("div",{staticClass:"point"})]):t._e()]),t._v(" "),t._t("default")],2)}),[],!1,null,"5377e1ea",null);e.default=component.exports},325:function(t,e,r){"use strict";r.d(e,"c",(function(){return l})),r.d(e,"b",(function(){return h})),r.d(e,"a",(function(){return f}));var n=r(87),o=r(0),c="\0_ec_interaction_mutex";function l(t,e,r){d(t)[e]=r}function h(t,e,r){var n=d(t);n[e]===r&&(n[e]=null)}function f(t,e){return!!d(t)[e]}function d(t){return t[c]||(t[c]={})}n.m({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},o.noop)},330:function(t,e,r){"use strict";function n(t,e,r){"object"==typeof r.value&&(r.value=o(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==e?t[e]=r.value:Object.defineProperty(t,e,r)}function o(t){if("object"!=typeof t)return t;var e,r,c,i=0,l=Object.prototype.toString.call(t);if("[object Object]"===l?c=Object.create(t.__proto__||null):"[object Array]"===l?c=Array(t.length):"[object Set]"===l?(c=new Set,t.forEach((function(t){c.add(o(t))}))):"[object Map]"===l?(c=new Map,t.forEach((function(t,e){c.set(o(e),o(t))}))):"[object Date]"===l?c=new Date(+t):"[object RegExp]"===l?c=new RegExp(t.source,t.flags):"[object DataView]"===l?c=new t.constructor(o(t.buffer)):"[object ArrayBuffer]"===l?c=t.slice(0):"Array]"===l.slice(-6)&&(c=new t.constructor(t)),c){for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n(c,r[i],Object.getOwnPropertyDescriptor(t,r[i]));for(i=0,r=Object.getOwnPropertyNames(t);i<r.length;i++)Object.hasOwnProperty.call(c,e=r[i])&&c[e]===t[e]||n(c,e,Object.getOwnPropertyDescriptor(t,e))}return c||t}r.d(e,"a",(function(){return o}))},370:function(t,e,r){"use strict";var n=r(42),o=[0,0],c=[0,0],l=new n.a,h=new n.a,f=function(){function t(rect,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var i=0;i<4;i++)this._corners[i]=new n.a;for(i=0;i<2;i++)this._axes[i]=new n.a;rect&&this.fromBoundingRect(rect,t)}return t.prototype.fromBoundingRect=function(rect,t){var e=this._corners,r=this._axes,o=rect.x,c=rect.y,l=o+rect.width,h=c+rect.height;if(e[0].set(o,c),e[1].set(l,c),e[2].set(l,h),e[3].set(o,h),t)for(var i=0;i<4;i++)e[i].transform(t);n.a.sub(r[0],e[1],e[0]),n.a.sub(r[1],e[3],e[0]),r[0].normalize(),r[1].normalize();for(i=0;i<2;i++)this._origin[i]=r[i].dot(e[0])},t.prototype.intersect=function(t,e){var r=!0,o=!e;return l.set(1/0,1/0),h.set(0,0),!this._intersectCheckOneSide(this,t,l,h,o,1)&&(r=!1,o)||!this._intersectCheckOneSide(t,this,l,h,o,-1)&&(r=!1,o)||o||n.a.copy(e,r?l:h),r},t.prototype._intersectCheckOneSide=function(t,e,r,l,h,f){for(var d=!0,i=0;i<2;i++){var v=this._axes[i];if(this._getProjMinMaxOnAxis(i,t._corners,o),this._getProjMinMaxOnAxis(i,e._corners,c),o[1]<c[0]||o[0]>c[1]){if(d=!1,h)return d;var m=Math.abs(c[0]-o[1]),y=Math.abs(o[0]-c[1]);Math.min(m,y)>l.len()&&(m<y?n.a.scale(l,v,-m*f):n.a.scale(l,v,y*f))}else if(r){m=Math.abs(c[0]-o[1]),y=Math.abs(o[0]-c[1]);Math.min(m,y)<r.len()&&(m<y?n.a.scale(r,v,m*f):n.a.scale(r,v,-y*f))}}return d},t.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var n=this._axes[t],o=this._origin,c=e[0].dot(n)+o[t],l=c,h=c,i=1;i<e.length;i++){var f=e[i].dot(n)+o[t];l=Math.min(f,l),h=Math.max(f,h)}r[0]=l,r[1]=h},t}();e.a=f},379:function(t,e,r){"use strict";r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return h}));var n=r(52),o=r(44),c=r(104);function l(t,e,r){var o=e.getBoxLayoutParams(),c=e.get("padding"),l={width:r.getWidth(),height:r.getHeight()},rect=Object(n.d)(o,l,c);Object(n.a)(e.get("orient"),t,e.get("itemGap"),rect.width,rect.height),Object(n.f)(t,o,l,c)}function h(rect,t){var e=o.i(t.get("padding")),style=t.getItemStyle(["color","opacity"]);return style.fill=t.get("backgroundColor"),rect=new c.a({shape:{x:rect.x-e[3],y:rect.y-e[0],width:rect.width+e[1]+e[3],height:rect.height+e[0]+e[2],r:t.get("borderRadius")},style:style,silent:!0,z2:-1})}},381:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r(37);var n=function(t,e){return t?t.slice(0,e)+"..."+t.slice(-e):""}},382:function(t,e,r){"use strict";r.d(e,"c",(function(){return f})),r.d(e,"b",(function(){return d})),r.d(e,"a",(function(){return v}));var n=r(40),o=Math.log(2);function c(t,e,r,n,l,h){var f=n+"-"+l,d=t.length;if(h.hasOwnProperty(f))return h[f];if(1===e){var v=Math.round(Math.log((1<<d)-1&~l)/o);return t[r][v]}for(var m=n|1<<r,y=r+1;n&1<<y;)y++;for(var _=0,w=0,x=0;w<d;w++){var O=1<<w;O&l||(_+=(x%2?-1:1)*t[r][w]*c(t,e-1,y,m,l|O,h),x++)}return h[f]=_,_}function l(t,e){var r=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},o=c(r,8,0,0,0,n);if(0!==o){for(var l=[],i=0;i<8;i++)for(var h=0;h<8;h++)null==l[h]&&(l[h]=0),l[h]+=((i+h)%2?-1:1)*c(r,7,0===i?1:0,1<<i,1<<h,n)/o*e[i];return function(t,e,r){var n=e*l[6]+r*l[7]+1;t[0]=(e*l[0]+r*l[1]+l[2])/n,t[1]=(e*l[3]+r*l[4]+l[5])/n}}}var h=[];function f(t,e,r,n,o){return d(h,e,n,o,!0)&&d(t,r,h[0],h[1])}function d(t,e,r,o,c){if(e.getBoundingClientRect&&n.a.domSupported&&!v(e)){var h=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),f=function(t,e){var r=e.markers;if(r)return r;r=e.markers=[];for(var n=["left","right"],o=["top","bottom"],i=0;i<4;i++){var marker=document.createElement("div"),c=i%2,l=(i>>1)%2;marker.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[c]+":0",o[l]+":0",n[1-c]+":auto",o[1-l]+":auto",""].join("!important;"),t.appendChild(marker),r.push(marker)}return r}(e,h),d=function(t,e,r){for(var n=r?"invTrans":"trans",o=e[n],c=e.srcCoords,h=[],f=[],d=!0,i=0;i<4;i++){var rect=t[i].getBoundingClientRect(),v=2*i,m=rect.left,y=rect.top;h.push(m,y),d=d&&c&&m===c[v]&&y===c[v+1],f.push(t[i].offsetLeft,t[i].offsetTop)}return d&&o?o:(e.srcCoords=h,e[n]=r?l(f,h):l(h,f))}(f,h,c);if(d)return d(t,r,o),!0}return!1}function v(t){return"CANVAS"===t.nodeName.toUpperCase()}},39:function(t,e,r){"use strict";r.r(e);var n=[function(){var t=this._self._c;return t("div",{staticClass:"empty"},[t("img",{attrs:{src:r(172),alt:""}})])}],o={name:"Empty"},c=(r(1566),r(1)),component=Object(c.a)(o,(function(){this._self._c;return this._m(0)}),n,!1,null,"39dcc702",null);e.default=component.exports},40:function(t,e,r){"use strict";var n=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},o=new function(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?o.worker=!0:"undefined"==typeof navigator?(o.node=!0,o.svgSupported=!0):function(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),o=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),c=t.match(/Edge?\/([\d.]+)/),l=/micromessenger/i.test(t);n&&(r.firefox=!0,r.version=n[1]);o&&(r.ie=!0,r.version=o[1]);c&&(r.edge=!0,r.version=c[1],r.newEdge=+c[1].split(".")[0]>18);l&&(r.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported="undefined"!=typeof document;var style=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in style||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in style)&&!("OTransition"in style),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}(navigator.userAgent,o),e.a=o},41:function(t,e,r){"use strict";r.d(e,"a",(function(){return x})),r.d(e,"b",(function(){return O})),r.d(e,"f",(function(){return C})),r.d(e,"c",(function(){return S})),r.d(e,"g",(function(){return k})),r.d(e,"e",(function(){return j})),r.d(e,"d",(function(){return P})),r.d(e,"h",(function(){return T})),r.d(e,"i",(function(){return D})),r.d(e,"m",(function(){return L})),r.d(e,"j",(function(){return $})),r.d(e,"n",(function(){return M})),r.d(e,"l",(function(){return E})),r.d(e,"k",(function(){return R}));var n=r(29),o=Math.pow,c=Math.sqrt,l=1e-8,h=1e-4,f=c(3),d=1/3,v=Object(n.create)(),m=Object(n.create)(),y=Object(n.create)();function _(t){return t>-1e-8&&t<l}function w(t){return t>l||t<-1e-8}function x(t,e,r,n,o){var c=1-o;return c*c*(c*t+3*o*e)+o*o*(o*n+3*c*r)}function O(t,e,r,n,o){var c=1-o;return 3*(((e-t)*c+2*(r-e)*o)*c+(n-r)*o*o)}function C(t,e,r,n,l,h){var a=n+3*(e-r)-t,b=3*(r-2*e+t),v=3*(e-t),m=t-l,y=b*b-3*a*v,w=b*v-9*a*m,x=v*v-3*b*m,O=0;if(_(y)&&_(w)){if(_(b))h[0]=0;else(E=-v/b)>=0&&E<=1&&(h[O++]=E)}else{var C=w*w-4*y*x;if(_(C)){var S=w/y,k=-S/2;(E=-b/a+S)>=0&&E<=1&&(h[O++]=E),k>=0&&k<=1&&(h[O++]=k)}else if(C>0){var j=c(C),P=y*b+1.5*a*(-w+j),T=y*b+1.5*a*(-w-j);(E=(-b-((P=P<0?-o(-P,d):o(P,d))+(T=T<0?-o(-T,d):o(T,d))))/(3*a))>=0&&E<=1&&(h[O++]=E)}else{var D=(2*y*b-3*a*w)/(2*c(y*y*y)),L=Math.acos(D)/3,$=c(y),M=Math.cos(L),E=(-b-2*$*M)/(3*a),R=(k=(-b+$*(M+f*Math.sin(L)))/(3*a),(-b+$*(M-f*Math.sin(L)))/(3*a));E>=0&&E<=1&&(h[O++]=E),k>=0&&k<=1&&(h[O++]=k),R>=0&&R<=1&&(h[O++]=R)}}return O}function S(t,e,r,n,o){var b=6*r-12*e+6*t,a=9*e+3*n-3*t-9*r,l=3*e-3*t,h=0;if(_(a)){if(w(b))(d=-l/b)>=0&&d<=1&&(o[h++]=d)}else{var f=b*b-4*a*l;if(_(f))o[0]=-b/(2*a);else if(f>0){var d,v=c(f),m=(-b-v)/(2*a);(d=(-b+v)/(2*a))>=0&&d<=1&&(o[h++]=d),m>=0&&m<=1&&(o[h++]=m)}}return h}function k(t,e,r,n,o,c){var l=(e-t)*o+t,h=(r-e)*o+e,f=(n-r)*o+r,d=(h-l)*o+l,v=(f-h)*o+h,m=(v-d)*o+d;c[0]=t,c[1]=l,c[2]=d,c[3]=m,c[4]=m,c[5]=v,c[6]=f,c[7]=n}function j(t,e,r,o,l,f,d,_,w,O,C){var S,k,j,P,T,D=.005,L=1/0;v[0]=w,v[1]=O;for(var $=0;$<1;$+=.05)m[0]=x(t,r,l,d,$),m[1]=x(e,o,f,_,$),(P=Object(n.distSquare)(v,m))<L&&(S=$,L=P);L=1/0;for(var i=0;i<32&&!(D<h);i++)k=S-D,j=S+D,m[0]=x(t,r,l,d,k),m[1]=x(e,o,f,_,k),P=Object(n.distSquare)(m,v),k>=0&&P<L?(S=k,L=P):(y[0]=x(t,r,l,d,j),y[1]=x(e,o,f,_,j),T=Object(n.distSquare)(y,v),j<=1&&T<L?(S=j,L=T):D*=.5);return C&&(C[0]=x(t,r,l,d,S),C[1]=x(e,o,f,_,S)),c(L)}function P(t,e,r,n,o,c,l,h,f){for(var d=t,v=e,m=0,y=1/f,i=1;i<=f;i++){var _=i*y,w=x(t,r,o,l,_),O=x(e,n,c,h,_),C=w-d,S=O-v;m+=Math.sqrt(C*C+S*S),d=w,v=O}return m}function T(t,e,r,n){var o=1-n;return o*(o*t+2*n*e)+n*n*r}function D(t,e,r,n){return 2*((1-n)*(e-t)+n*(r-e))}function L(t,e,r,n,o){var a=t-2*e+r,b=2*(e-t),l=t-n,h=0;if(_(a)){if(w(b))(d=-l/b)>=0&&d<=1&&(o[h++]=d)}else{var f=b*b-4*a*l;if(_(f))(d=-b/(2*a))>=0&&d<=1&&(o[h++]=d);else if(f>0){var d,v=c(f),m=(-b-v)/(2*a);(d=(-b+v)/(2*a))>=0&&d<=1&&(o[h++]=d),m>=0&&m<=1&&(o[h++]=m)}}return h}function $(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function M(t,e,r,n,o){var c=(e-t)*n+t,l=(r-e)*n+e,h=(l-c)*n+c;o[0]=t,o[1]=c,o[2]=h,o[3]=h,o[4]=l,o[5]=r}function E(t,e,r,o,l,f,d,_,w){var x,O=.005,C=1/0;v[0]=d,v[1]=_;for(var S=0;S<1;S+=.05){m[0]=T(t,r,l,S),m[1]=T(e,o,f,S),(P=Object(n.distSquare)(v,m))<C&&(x=S,C=P)}C=1/0;for(var i=0;i<32&&!(O<h);i++){var k=x-O,j=x+O;m[0]=T(t,r,l,k),m[1]=T(e,o,f,k);var P=Object(n.distSquare)(m,v);if(k>=0&&P<C)x=k,C=P;else{y[0]=T(t,r,l,j),y[1]=T(e,o,f,j);var D=Object(n.distSquare)(y,v);j<=1&&D<C?(x=j,C=D):O*=.5}}return w&&(w[0]=T(t,r,l,x),w[1]=T(e,o,f,x)),c(C)}function R(t,e,r,n,o,c,l){for(var h=t,f=e,d=0,v=1/l,i=1;i<=l;i++){var m=i*v,y=T(t,r,o,m),_=T(e,n,c,m),w=y-h,x=_-f;d+=Math.sqrt(w*w+x*x),h=y,f=_}return d}},42:function(t,e,r){"use strict";var n=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,r=this.y-t.y;return e*e+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,r=this.y;return this.x=t[0]*e+t[2]*r+t[4],this.y=t[1]*e+t[3]*r+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(input){this.x=input[0],this.y=input[1]},t.set=function(p,t,e){p.x=t,p.y=e},t.copy=function(p,t){p.x=t.x,p.y=t.y},t.len=function(p){return Math.sqrt(p.x*p.x+p.y*p.y)},t.lenSquare=function(p){return p.x*p.x+p.y*p.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,r){t.x=e.x+r.x,t.y=e.y+r.y},t.sub=function(t,e,r){t.x=e.x-r.x,t.y=e.y-r.y},t.scale=function(t,e,r){t.x=e.x*r,t.y=e.y*r},t.scaleAndAdd=function(t,e,r,n){t.x=e.x+r.x*n,t.y=e.y+r.y*n},t.lerp=function(t,e,r,n){var o=1-n;t.x=o*e.x+n*r.x,t.y=o*e.y+n*r.y},t}();e.a=n},45:function(t,e,r){"use strict";var n=r(61),o=r(42),c=Math.min,l=Math.max,h=new o.a,f=new o.a,d=new o.a,rt=new o.a,v=new o.a,m=new o.a,y=function(){function t(t,e,r,n){r<0&&(t+=r,r=-r),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=r,this.height=n}return t.prototype.union=function(t){var e=c(t.x,this.x),r=c(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=l(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=l(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=e,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(b){var a=this,t=b.width/a.width,e=b.height/a.height,r=n.create();return n.translate(r,r,[-a.x,-a.y]),n.scale(r,r,[t,e]),n.translate(r,r,[b.x,b.y]),r},t.prototype.intersect=function(b,e){if(!b)return!1;b instanceof t||(b=t.create(b));var a=this,r=a.x,n=a.x+a.width,c=a.y,l=a.y+a.height,h=b.x,f=b.x+b.width,d=b.y,y=b.y+b.height,_=!(n<h||f<r||l<d||y<c);if(e){var w=1/0,x=0,O=Math.abs(n-h),C=Math.abs(f-r),S=Math.abs(l-d),k=Math.abs(y-c),j=Math.min(O,C),P=Math.min(S,k);n<h||f<r?j>x&&(x=j,O<C?o.a.set(m,-O,0):o.a.set(m,C,0)):j<w&&(w=j,O<C?o.a.set(v,O,0):o.a.set(v,-C,0)),l<d||y<c?P>x&&(x=P,S<k?o.a.set(m,0,-S):o.a.set(m,0,k)):j<w&&(w=j,S<k?o.a.set(v,0,S):o.a.set(v,0,-k))}return e&&o.a.copy(e,_?v:m),_},t.prototype.contain=function(t,e){var rect=this;return t>=rect.x&&t<=rect.x+rect.width&&e>=rect.y&&e<=rect.y+rect.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(rect){return new t(rect.x,rect.y,rect.width,rect.height)},t.copy=function(t,source){t.x=source.x,t.y=source.y,t.width=source.width,t.height=source.height},t.applyTransform=function(e,source,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],o=r[3],v=r[4],m=r[5];return e.x=source.x*n+v,e.y=source.y*o+m,e.width=source.width*n,e.height=source.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}h.x=d.x=source.x,h.y=rt.y=source.y,f.x=rt.x=source.x+source.width,f.y=d.y=source.y+source.height,h.transform(r),rt.transform(r),f.transform(r),d.transform(r),e.x=c(h.x,f.x,d.x,rt.x),e.y=c(h.y,f.y,d.y,rt.y);var y=l(h.x,f.x,d.x,rt.x),_=l(h.y,f.y,d.y,rt.y);e.width=y-e.x,e.height=_-e.y}else e!==source&&t.copy(e,source)},t}();e.a=y},466:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(17),r(5)),l=r(162),h=r(57);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var v={name:"CreatePortfolio",components:{popup:l.default},props:{portfolioId:{type:String,default:""},name:{type:String,default:""}},data:function(){return{visible:!0,portfolioName:""}},watch:{name:function(){this.portfolioName=this.name}},methods:d(d(d({},Object(c.d)({setPortfolioName:"portfolio/setPortfolioName",setPortfolioId:"portfolio/setPortfolioId",setDesensitization:"portfolio/setDesensitization"})),Object(c.b)({getPortfolios:"portfolio/getPortfolios"})),{},{addPortfolio:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.portfolioName){e.next=3;break}return t.$message({message:"The portfolio name is not empty",type:"error"}),e.abrupt("return");case 3:return e.prev=3,e.next=6,t.$request.post(h.a.addPortfolio,{name:t.portfolioName,id:t.portfolioId});case 6:30===(r=e.sent).code?(t.setPortfolioName(r.data.name),t.setPortfolioId(r.data.id),t.portfolioName="",t.$message({message:"zh"===t.$i18n.locale?"成功":"success",type:"success"}),t.getPortfolios(),t.setDesensitization(!1)):t.$message({message:r.msg,type:"error"}),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(3),t.$message({message:e.t0,type:"error"}),console.log(e.t0);case 14:t.visible=!1,t.$emit("close",!1);case 16:case"end":return e.stop()}}),e,null,[[3,10]])})))()},create:function(){this.visible=!0,this.$emit("close",!1)},cancel:function(){this.visible=!1,this.$emit("close",!1)},confirm:function(){this.addPortfolio()}})},m=(r(1687),r(1)),component=Object(m.a)(v,(function(){var t=this,e=t._self._c;return e("popup",{model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("div",{staticClass:"create-portfolio-wrapper"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("portfolios.createTitle")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.portfolioName,expression:"portfolioName"}],attrs:{type:"text"},domProps:{value:t.portfolioName},on:{input:function(e){e.target.composing||(t.portfolioName=e.target.value)}}}),t._v(" "),e("div",{staticClass:"btns"},[e("span",{staticClass:"cancel",on:{click:t.cancel}},[t._v(t._s(t.$t("portfolios.cancel")))]),t._v(" "),e("span",{staticClass:"confirm",on:{click:t.confirm}},[t._v(t._s(t.$t("portfolios.confirm")))])])])])}),[],!1,null,"7f8afac0",null);e.default=component.exports},467:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(5)),l=r(125),h=r.n(l),f=r(162),d=r(57);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var m={name:"DelHoldging",components:{popup:f.default},props:{value:{type:Boolean,default:!1},row:{type:Object,default:function(){}}},data:function(){return{visible:!0,loading:!1,isEmpty:h.a}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(c.c)({portfolioId:"portfolio/portfolioId",portfolioName:"portfolio/portfolioName"})),methods:{hide:function(){this.$emit("input",!1)},cancle:function(){this.visible=!1,this.hide()},confirm:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,r={portfolioId:t.portfolioId},h()(t.row)||(r.cid=t.row.cid),e.next=6,t.$request.post(d.a.delPortfolioCoin,r);case 6:30===e.sent.code&&t.$emit("success"),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),console.log(e.t0);case 13:t.loading=!1,t.hide();case 15:case"end":return e.stop()}}),e,null,[[1,10]])})))()}}},y=m,_=(r(1692),r(1)),component=Object(_.a)(y,(function(){var t=this,e=t._self._c;return e("popup",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],on:{hide:t.hide},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("div",{staticClass:"del-holding-container"},[t.isEmpty(t.row)?e("div",{staticClass:"title"},[t._v("\n "+t._s(t.$t("portfolios.delPortfolio"))+" "),e("span",[t._v(t._s(t.portfolioName))]),t._v(" ?\n ")]):e("div",{staticClass:"title"},["en"===t.$i18n.locale?[t._v("\n "+t._s(t.$t("portfolios.del"))+" "),e("span",[t._v(t._s(t.row.name))]),t._v(" "+t._s(t.$t("portfolios.delIn"))+" "),e("span",[t._v(t._s(t.portfolioName))]),t._v("?\n ")]:t._e(),t._v(" "),"zh"===t.$i18n.locale?[t._v("\n "+t._s(t.$t("portfolios.del"))+" "),e("span",[t._v(t._s(t.portfolioName))]),t._v(" "+t._s(t.$t("portfolios.delIn"))+" "),e("span",[t._v(t._s(t.row.name))]),t._v("?\n ")]:t._e()],2),t._v(" "),t.isEmpty(t.row)?e("p",{staticClass:"des"},[t._v(t._s(t.$t("portfolios.delPortfolioDes")))]):e("p",{staticClass:"des"},[t._v(t._s(t.$t("portfolios.delDes")))]),t._v(" "),e("div",{staticClass:"btns"},[e("el-button",{staticClass:"cancle",attrs:{type:"info"},on:{click:t.cancle}},[t._v(t._s(t.$t("portfolios.cancle")))]),t._v(" "),e("el-button",{staticClass:"submit",attrs:{loading:t.loading,type:"primary"},on:{click:t.confirm}},[t._v(t._s(t.$t("portfolios.delete")))])],1)])])}),[],!1,null,"6476d1b2",null);e.default=component.exports},469:function(t,e,r){"use strict";r.r(e);r(34);var n=[function(){var t=this._self._c;return t("div",{staticClass:"learn-bg-img"},[t("img",{attrs:{src:r(930),alt:"learn-logo"}})])},function(){var t=this._self._c;return t("div",{staticClass:"learn-vector"},[t("img",{attrs:{src:r(1764),alt:"Vector"}})])}],o={name:"Header",components:{},props:{text:{type:String,default:function(){return""}},toLink:{type:String,default:function(){return""}},titleText:{type:String,default:function(){return""}},buttonText:{type:String,default:function(){return""}},isShowCourseDetail:{type:Boolean,default:function(){return!1}},headCourseList:{type:Array,default:function(){return[]}},randomWikiUrl:{type:String,default:function(){return""}}}},c=(r(1765),r(1)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"header-box"},[e("div",{staticClass:"header-content"},[e("div",{staticClass:"learn-bg-color"},[t._m(0),t._v(" "),e("div",{staticClass:"learn-head"},[e("h1",{staticClass:"learn-title",attrs:{title:t.titleText}},[t._v(t._s(t.titleText))]),t._v(" "),e("h2",{staticClass:"learn-desc",attrs:{title:t.text}},[t._v(t._s(t.text))]),t._v(" "),t.isShowCourseDetail?e("div",{staticClass:"learn-text"},[e("span",[e("i",{staticClass:"iconfont icon-dian"}),t._v(" "+t._s(t.headCourseList[0].taskCount)+" "+t._s(t.$t("learn.Chapter")))]),t._v(" "),e("span",[e("i",{staticClass:"iconfont icon-dian"}),t._v(" "+t._s(t.headCourseList[0].articleCount)+" "+t._s(t.$t("learn.Articles")))]),t._v(" "),e("span",[e("i",{staticClass:"iconfont icon-dian"}),t._v(" "+t._s(t.headCourseList[0].readTime)+" "+t._s(t.$t("learn.Minutes")))])]):t._e(),t._v(" "),t.isShowCourseDetail?e("div",{staticClass:"learn-btn",on:{click:function(e){return t.$emit("start")}}},[t._v("\n "+t._s(t.buttonText)+" "),e("span",{staticClass:"iconfont icon-arrowright"})]):e("nuxt-link",{attrs:{to:t.localePath("/tokenwiki/all/latest")}},[e("div",{staticClass:"learn-btn",on:{click:function(e){return t.$emit("start")}}},[t._v(t._s(t.$t("learn.TokenWiki")))])]),t._v(" "),t.isShowCourseDetail?t._e():e("nuxt-link",{attrs:{to:t.localePath("/tokenwiki/all/".concat(t.randomWikiUrl))}},[e("div",{staticClass:"learn-btn learn-btnTwo",on:{click:function(e){return t.$emit("startTwo")}}},[t._v(t._s(t.$t("learn.JustBrowsing")))])])],1),t._v(" "),t._l(t.headCourseList,(function(r){return e("div",{key:r.id,staticClass:"learn-box"},[t.isShowCourseDetail?e("div",[e("div",{staticClass:"learn-box-cover"},[e("img",{attrs:{src:t._f("clipImg")(r.imgUrl,420,280,"cover"),alt:"cover"}})]),t._v(" "),e("div",{class:[{"detail-learn-box-info":t.isShowCourseDetail},"learn-box-info"]},[e("span",{staticClass:"data"},[t._v(t._s(t._f("tzFormat")(r.onlineTime,"UTC","LL")))]),t._v(" "),e("span",{staticClass:"time"},[e("span",{staticClass:"iconfont icon-time"}),t._v(" "+t._s(r.readTime)+"m")]),t._v(" "),e("span",{staticClass:"read"},[e("span",{staticClass:"iconfont icon-yuedu"}),t._v(" "+t._s(r.readNumbers))]),t._v(" "),e("div",{class:{beginner:0===Number(r.readLevel),intermediate:1===Number(r.readLevel),advanced:2===Number(r.readLevel)}},[t._v("\n "+t._s(r.readLevelString)+"\n ")])])]):e("nuxt-link",{attrs:{to:t.localePath(t.toLink)}},[e("div",{staticClass:"learn-box-cover"},[e("img",{attrs:{src:t._f("clipImg")(r.imgUrl,420,280,"cover"),alt:"cover"}})]),t._v(" "),e("div",{staticClass:"learn-box-title"},[t._v(t._s(r.title))]),t._v(" "),e("div",{class:["learn-box-info-first","learn-box-info"]},[e("span",{staticClass:"data"},[t._v(t._s(t._f("tzFormat")(r.onlineTime,"UTC","LL")))]),t._v(" "),e("span",{staticClass:"time"},[e("span",{staticClass:"iconfont icon-time"}),t._v(" "+t._s(r.readTime)+"m")]),t._v(" "),e("span",{staticClass:"read"},[e("span",{staticClass:"iconfont icon-yuedu"}),t._v(" "+t._s(r.readNumbers))]),t._v(" "),e("div",{class:{beginner:0===Number(r.readLevel),intermediate:1===Number(r.readLevel),advanced:2===Number(r.readLevel)}},[t._v("\n "+t._s(r.readLevelString)+"\n ")])])])],1)}))],2)]),t._v(" "),t._m(1)])}),n,!1,null,"4991f5a2",null);e.default=component.exports},470:function(t,e,r){"use strict";r.r(e);var n={props:["type"],computed:{text:function(){return 0===this.type?"Beginner":1===this.type?"Intermediate":"Advanced"},circle:function(){return 0===this.type?"beginner":1===this.type?"intermediate":"advanced"}}},o=(r(1811),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"btn",class:t.circle},[e("span",{staticClass:"circle"}),t._v(" "),e("span",[t._v(t._s(t.text))])])}),[],!1,null,"c7409e38",null);e.default=component.exports},472:function(t,e,r){"use strict";r.r(e);r(8);var n={name:"DropDown",props:{title:{type:String,default:""},min:{type:String,default:"50"},max:{type:String,default:"500"},value:{type:Boolean,default:!0},hideSwitch:{type:Boolean,default:!0},isFaq:{type:Boolean,default:!1}},computed:{height:function(){return"auto"===this.max?this.value?"".concat(this.max):"".concat(this.min,"px"):this.value?"".concat(this.max,"px"):"".concat(this.min,"px")}},methods:{drop:function(){this.$emit("input",!this.value)}}},o=(r(1832),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"drop-down-container",class:t.isFaq?"faqClass":"",style:{height:t.height}},[e("div",{staticClass:"drop-down-title"},[e("span",[t._v(t._s(t.title))]),t._v(" "),t.hideSwitch?e("i",{staticClass:"iconfont",class:t.value?"icon-top-arrow":"icon-bottom-arrow",on:{click:t.drop}}):t._e()]),t._v(" "),t._t("default")],2)}),[],!1,null,"c885caaa",null);e.default=component.exports},48:function(t,e,r){"use strict";r.d(e,"f",(function(){return h})),r.d(e,"d",(function(){return d})),r.d(e,"a",(function(){return v})),r.d(e,"b",(function(){return m})),r.d(e,"e",(function(){return y})),r.d(e,"g",(function(){return _})),r.d(e,"c",(function(){return w}));var n=r(45),o=r(181),c=r(78),l={};function h(text,t){t=t||c.a;var e=l[t];e||(e=l[t]=new o.a(500));var r=e.get(text);return null==r&&(r=c.d.measureText(text,t).width,e.put(text,r)),r}function f(text,t,e,r){var o=h(text,t),c=y(t),l=v(0,o,e),f=m(0,c,r);return new n.a(l,f,o,c)}function d(text,t,e,r){var o=((text||"")+"").split("\n");if(1===o.length)return f(o[0],t,e,r);for(var c=new n.a(0,0,0,0),i=0;i<o.length;i++){var rect=f(o[i],t,e,r);0===i?c.copy(rect):c.union(rect)}return c}function v(t,e,r){return"right"===r?t-=e:"center"===r&&(t-=e/2),t}function m(t,e,r){return"middle"===r?t-=e/2:"bottom"===r&&(t-=e),t}function y(t){return h("国",t)}function _(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function w(t,e,rect){var r=e.position||"inside",n=null!=e.distance?e.distance:5,o=rect.height,c=rect.width,l=o/2,h=rect.x,f=rect.y,d="left",v="top";if(r instanceof Array)h+=_(r[0],rect.width),f+=_(r[1],rect.height),d=null,v=null;else switch(r){case"left":h-=n,f+=l,d="right",v="middle";break;case"right":h+=n+c,f+=l,v="middle";break;case"top":h+=c/2,f-=n,d="center",v="bottom";break;case"bottom":h+=c/2,f+=o+n,d="center";break;case"inside":h+=c/2,f+=l,d="center",v="middle";break;case"insideLeft":h+=n,f+=l,v="middle";break;case"insideRight":h+=c-n,f+=l,d="right",v="middle";break;case"insideTop":h+=c/2,f+=n,d="center";break;case"insideBottom":h+=c/2,f+=o-n,d="center",v="bottom";break;case"insideTopLeft":h+=n,f+=n;break;case"insideTopRight":h+=c-n,f+=n,d="right";break;case"insideBottomLeft":h+=n,f+=o-n,v="bottom";break;case"insideBottomRight":h+=c-n,f+=o-n,d="right",v="bottom"}return(t=t||{}).x=h,t.y=f,t.align=d,t.verticalAlign=v,t}},483:function(t,e,r){"use strict";r(8),r(66),r(26),r(43),r(141),r(99),r(247),r(34);function n(t){var e=(t||0).toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}var o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;if(""===t||null==t||"NaN"===t)return"-";var r=(t=t.toString()).indexOf(".");return t=-1!==r?t.substring(0,e+r+1):t.substring(0),n(parseFloat(t).toFixed(e))},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;t=t.toString().replace(/\$|\,/g,"");var n=null;if(n=(t=Math.round(t*Math.pow(10,e))/Math.pow(10,e))===(t=Math.abs(t)),t=t.toFixed(e),1===parseFloat(t))return t="1.00";if(0===r||t<1)return(n?"":"-")+t;var o=(+t||0).toString().replace(/^-?\d+/g,(function(t){return t.replace(/(?=(?!\b)(\d{3})+$)/g,",")})),c=o.split(".");return 2===c.length?c[1].length<e?o+=h(e-c[1].length):o:1===c.length&&e>0?o=o+"."+h(e):o};function l(t){if(1===t)return"1.00";var e=t.toExponential().match(/\d(?:\.(\d*))?e([+-]\d+)/);return t.toFixed(Math.max(0,(e[1]||"").length-e[2]))}var h=function(t){for(var e="",r=0;r<t;r++)e+="0";return e},f=r(381),d=r(21),filter=(r(25),r(3));e.a={formatDecimal:o,priceFilter:function(t,e){if(""===t||null==t)return"-";if(0===t)return t;"number"==typeof t&&(t=t.toString());var r=t.split(".");if("0"!==r[0]&&"-0"!==r[0]||!r[1])return t<0&&e?"-$"+o(t=-t,2):"$"+o(t,2);var n=r[1].replace(/\b(0+)/gi,"").length,c=r[1].length-n;return t<0&&e?"-$"+o(t=-t,2+c):"$"+o(t,2+c)},priceFilterCn:function(t,e){if(""===t||null==t)return"-";if(0===t)return t;"number"==typeof t&&(t=t.toString());var r=t.split(".");if("0"!==r[0]&&"-0"!==r[0]||!r[1])return t<0&&e?"-¥"+o(t=-t,2):"¥"+o(t,2);var n=r[1].replace(/\b(0+)/gi,"").length,c=r[1].length-n;return t<0&&e?"-¥"+o(t=-t,2+c):"¥"+o(t,2+c)},rateFilter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return""===t||null==t||"NaN"===t?null:0===t?t+"%":o(t,e)+"%"},volumeFilter:function(t,e){return""===t||null==t||"NaN"===t?"-":t<0&&e?"-$"+o(t=-t,0):"$"+o(t,0)},volumeDefiFilter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(""===t||null==t||"NaN"===t)return"-";var r=!1;return t<0&&(r=!0,t=Math.abs(t)),t>99999999?(r?"-$":"$")+o(t/1e9,e)+"B":t>99999?(r?"-$":"$")+o(t/1e6,e)+"M":t>999?(r?"-$":"$")+o(t/1e3,e)+"K":(r?"-$":"$")+o(t,e)},priceUSDTFilter:function(t){if(""===t||null==t)return"-";if("0"===t||0===t)return"0";var data=null;if((data=l("number"==typeof t?t:data=Number(t)))<1e-8)return"$"+data.substr(0,14);var e=data.split(".");if(1===e[0].length&&"0"===e[0]){var r=e[1].replace(/\b(0+)/gi,"").length,n=e[1].length;return"$"+l(parseFloat(c(t,4+(n-r))))}return"$"+c(t)},ellipsis:f.a,numberFormat:filter.i,priceFormat:filter.n,percentageFormat:filter.j,constPercentageFormat:filter.a,ratingScoreFormat:filter.o,fromCurrentTime:filter.d,formatLLDate:filter.c,priceAbbreviation:filter.k,priceAbbreviationNew:filter.m,yearsFormat:filter.t,newTimeFormat:filter.h,tzFormat:filter.s,dayjsFormat:filter.b,timeTipFormat:filter.r,textDesensitization:filter.q,clipImg:d.a,logoName:function(t,symbol){return"".concat(t," ").concat(symbol," logo")},exchangeLogoName:function(t){return"".concat(t," exchange logo")},capitalsLogoName:function(t){return"".concat(t," logo")},coin7dChartName:function(t,symbol){return symbol?"".concat(t," ").concat(symbol," 7d price chart"):"".concat(t," 7d price chart")},exchange7dChartName:function(t){return"".concat(t," exchange 7d trading volume chart")},exchangeSpliceLogoName:function(t){var e=t.split("-")[0];return"".concat(e," logo")}}},559:function(t,e,r){"use strict";r.r(e);var n=r(2),o=(r(14),r(155)),c={name:"ExchangesDes",components:{ExchangesProgress:r(296).default},data:function(){return{data:{},share:{}}},mounted:function(){this.getRemark(),this.getVolumePrect()},methods:{getRemark:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$request.get(o.a.remark);case 3:0===(r=e.sent).code&&(t.data=r.data),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))()},getVolumePrect:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$request.get(o.a.volumePrect);case 3:0===(r=e.sent).code&&(t.share=r.data),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))()}}},l=(r(1710),r(1)),component=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"exchanges-des-container"},[e("div",[e("h1",[t._v(t._s(t.$t("exchanges.top")))]),t._v(" "),e("p",["en"===t.$i18n.locale?[t._v("\n The 24 hours global trading volume of crypto market is "),e("span",{staticClass:"weight"},[t._v(t._s(t._f("priceAbbreviation")(t.data.volume24hTotal)))]),t._v(", a\n "),e("span",{staticClass:"weight",class:t.data.volume24hTotalIncrease>0?"green":"red"},[t._v(t._s(t._f("priceAbbreviation")(t.data.volume24hTotalIncrease))+"\n ")]),t._v(" "),e("span",{staticClass:"weight",class:t.data.volume24hTotalChange1d>0?"green":"red"},[t._v("("+t._s(t._f("percentageFormat")(t.data.volume24hTotalChange1d))+")")]),t._v("\n change in the last 24 hours. For open interest in derivatives market, the current volume is\n "),e("span",{staticClass:"weight",class:t.data.openInterestSum>0?"green":"red"},[t._v(t._s(t._f("priceAbbreviation")(t.data.openInterestSum))+" ")]),t._v(" "),e("span",{staticClass:"weight",class:t.data.openInterestRatio>0?"green":"red"},[t._v("("+t._s(t._f("percentageFormat")(t.data.openInterestRatio))+")")]),t._v("\n .\n ")]:"zh"===t.$i18n.locale?[t._v("\n Crypto 全市场交易所 24 小时交易量为 "),e("span",{staticClass:"weight"},[t._v(t._s(t._f("priceAbbreviation")(t.data.volume24hTotal)))]),t._v(" ,24H 变化率为\n "),e("span",{staticClass:"weight",class:t.data.volume24hTotalIncrease>0?"green":"red"},[t._v(t._s(t._f("priceAbbreviation")(t.data.volume24hTotalIncrease))+"\n ")]),t._v(" "),e("span",{staticClass:"weight",class:t.data.volume24hTotalChange1d>0?"green":"red"},[t._v("("+t._s(t._f("percentageFormat")(t.data.volume24hTotalChange1d))+")")]),t._v("\n ,衍生品市场当前合约未平仓规模\n "),e("span",{staticClass:"weight",class:t.data.openInterestSum>0?"green":"red"},[t._v(t._s(t._f("priceAbbreviation")(t.data.openInterestSum))+" ")]),t._v(" "),e("span",{staticClass:"weight",class:t.data.openInterestRatio>0?"green":"red"},[t._v("("+t._s(t._f("percentageFormat")(t.data.openInterestRatio))+")")]),t._v("。\n ")]:"kr"===t.$i18n.locale?[t._v("\n Crypto 전체 거래소의 24 시간 거래량은 "),e("span",{staticClass:"weight"},[t._v(t._s(t._f("priceAbbreviation")(t.data.volume24hTotal)))]),t._v(" 이고 24시간 변동율 은\n "),e("span",{staticClass:"weight",class:t.data.volume24hTotalIncrease>0?"green":"red"},[t._v(t._s(t._f("priceAbbreviation")(t.data.volume24hTotalIncrease))+"\n ")]),t._v(" "),e("span",{staticClass:"weight",class:t.data.volume24hTotalChange1d>0?"green":"red"},[t._v("("+t._s(t._f("percentageFormat")(t.data.volume24hTotalChange1d))+")")]),t._v("\n 이며 현재 파생 시장의 미체결 계약 규모는\n "),e("span",{staticClass:"weight",class:t.data.openInterestSum>0?"green":"red"},[t._v(t._s(t._f("priceAbbreviation")(t.data.openInterestSum))+" ")]),t._v(" "),e("span",{staticClass:"weight",class:t.data.openInterestRatio>0?"green":"red"},[t._v("("+t._s(t._f("percentageFormat")(t.data.openInterestRatio))+")")]),t._v("입니다.\n ")]:t._e()],2)]),t._v(" "),e("div",{staticClass:"exchanges-progress-container"},[e("exchanges-progress",{staticClass:"w336",attrs:{title:t.$t("exchanges.volume"),"left-title":t.$t("exchanges.spot"),"right-title":t.$t("exchanges.derivatives"),spot:t.share.volume24hSpot,"spot-share":t.share.volume24hSpotShare,derivate:t.share.volume24hDerivate,"derivate-share":t.share.volume24hDerivateShare,percentage:t.share.volume24hSpotShare?100*t.share.volume24hSpotShare:0}}),t._v(" "),e("exchanges-progress",{staticClass:"w336",attrs:{title:t.$t("exchanges.volume"),"left-title":"CEX","right-title":"DEX",spot:t.share.volume24hCex,"spot-share":t.share.volume24hCexShare,derivate:t.share.volume24hDex,"derivate-share":t.share.volume24hDexShare,percentage:t.share.volume24hCexShare?100*t.share.volume24hCexShare:0}}),t._v(" "),e("exchanges-progress",{staticClass:"w336",attrs:{title:t.$t("exchanges.global"),"left-title":"CEX","right-title":"DEX",spot:t.share.openVolume24hCex,"spot-share":t.share.openVolume24hCexShare,derivate:t.share.openVolume24hDex,"derivate-share":t.share.openVolume24hDexShare,percentage:t.share.openVolume24hCexShare?100*t.share.openVolume24hCexShare:0}})],1)])}),[],!1,null,"17319a1e",null);e.default=component.exports;installComponents(component,{ExchangesProgress:r(296).default})},569:function(t,e,r){"use strict";r.r(e);var n={name:"CoinMileage",props:{roadmap:{type:Array,default:function(){return[]}}},methods:{isShow:function(t){return!(!t.roadMapDate||!t.summary)}}},o=(r(1841),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"conin-mileage-container"},[e("ul",t._l(t.roadmap,(function(r,n){return e("li",{key:"roadmap-"+n},[t.isShow(r)?[e("span",{staticClass:"coin-mileage-time"},[t._v(t._s(t._f("dayjsFormat")(r.roadMapDate,"YYYY MMM")))]),t._v(" "),e("div",{staticClass:"coin-mileage",domProps:{innerHTML:t._s(r.summary)}})]:t._e()],2)})),0)])}),[],!1,null,"60a441e6",null);e.default=component.exports},574:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(127),o=r(2),c=r(4),l=(r(14),r(37),r(30),r(196),r(5)),h=r(56),f=r(153);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={name:"CoinCompareList",data:function(){return{compareList:[],colors:f.a}},computed:v({},Object(l.c)({compares:"coin/compares",compareCoinsDetail:"coin/compareCoinsDetail"})),methods:v(v({},Object(l.d)({setCompares:"coin/setCompares",setCompareCoinsDetail:"coin/setCompareCoinsDetail"})),{},{closeAll:function(){var t=this.compares.slice(0,1);this.setCompares(t)},getCoinCompareDetail:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r={cidList:t.compares},e.next=4,t.$request.post(h.a.coinCompareDetail,r);case 4:0===(n=e.sent).code&&(o=n.data.map((function(e,r){return v(v({},e),{},{color:t.colors[r]})})),t.setCompareCoinsDetail(o)),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})))()},clear:function(t){var e=Object(n.a)(this.compares);e.splice(t,1),this.setCompares(e)}})},y=(r(1859),r(1)),component=Object(y.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"coin-compare-list-container"},[e("ul",{directives:[{name:"show",rawName:"v-show",value:t.compares.length>1,expression:"compares.length > 1"}]},t._l(t.compareCoinsDetail,(function(n,o){return e("li",{key:o},[e("span",{staticClass:"circle",style:{background:n.color}}),t._v(" "),e("span",{staticClass:"abbreviate"},[t._v(t._s(n.abbreviate))]),t._v(" "),e("span",{staticClass:"name"},[t._v(t._s(n.name))]),t._v(" "),e("span",{staticClass:"price"},[t._v(t._s(t._f("priceFormat")(n.currencyPrice,"0")))]),t._v(" "),e("span",{staticClass:"changePrice",class:n.diff>0?"green":"red"},[t._v(t._s(t._f("priceFormat")(n.diff,"0")))]),t._v(" "),e("div",{staticClass:"changed1d"},[e("span",{staticClass:"greenAct",class:n.ratio>0?"green-bg":"red-bg"},[t._v(t._s(t._f("percentageFormat")(n.ratio)))])]),t._v(" "),e("img",{directives:[{name:"show",rawName:"v-show",value:0!==o,expression:"index !== 0"}],staticClass:"clear",attrs:{src:r(432),alt:""},on:{click:function(e){return t.clear(o)}}}),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:0===o,expression:"index === 0"}],staticClass:"blank"})])})),0),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.compares.length>1,expression:"compares.length > 1"}],staticClass:"clear-all",on:{click:t.closeAll}},[e("div",{staticClass:"text"},[t._v(t._s(t.$t("commonGather.clearAll")))]),t._v(" "),e("span",{staticClass:"icon iconfont icon-clear"})])])}),[],!1,null,"6de1525d",null);e.default=component.exports},575:function(t,e,r){"use strict";r.r(e);r(17),r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(75),r(37),r(30),r(34),r(26),r(194),r(47),r(54),r(5)),l=r(113),h=r.n(l),f=r(1196),d=r.n(f),v=r(576),m=r(310);function y(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?y(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w={name:"CoinCompareSearch",props:["currencies"],data:function(){return{searchList:[],showSearch:!1,input:""}},components:{CoinBaseDes:v.default},computed:_({},Object(c.c)({compares:"coin/compares",coinDetail:"coin/coinDetail"})),created:function(){this.getCoins()},methods:_(_({},Object(c.d)({setCompares:"coin/setCompares"})),{},{switchSearch:function(){var t=this;this.showSearch=!0,setTimeout((function(){t.$refs.mySearch.focus()}));var e=function(){t.showSearch=!1};this.showSearch?document.addEventListener("click",e):document.removeEventListener("click",e)},change:h()((function(t){this.getCoins()}),500),select:function(t){var e=this.compares.slice(0,4);this.compares.length,e.push(t.cid),e=e.map((function(t){return Number(t)})),e=d()(e),this.setCompares(e)},clear:function(){this.input="",this.getCoins()},getCoins:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=t.$i18n.locale,n={language:r,searchType:"CRYPTOCURRENCIES",keywords:t.input},e.next=5,t.$request.post(m.a.search,n);case 5:0===(o=e.sent).code&&(t.searchList=o.data.currencyList.map((function(t){return _(_({},t),{},{id:t.cid})}))),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})))()},getStyles:function(t){return this.coinDetail.cid===t?"gray-bg":this.compares.includes(t)?"purple-bg":""}})},x=(r(1870),r(1)),component=Object(x.a)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"coin-compare-search-wrapper"},[e("div",{staticClass:"coin-compare-search-container"},[e("div",{staticClass:"search align-center",on:{click:function(e){return e.stopPropagation(),t.switchSearch.apply(null,arguments)}}},[e("img",{attrs:{src:r(548),alt:""}}),t._v(" "),e("span",[t._v(t._s(t.$t("commonGather.addComparison")))]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],staticClass:"currency-search-container"},[e("div",{staticClass:"search-wrapper"},[e("el-input",{ref:"mySearch",attrs:{placeholder:"Search",clearable:""},on:{input:t.change,clear:t.clear},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}})],1),t._v(" "),e("div",{staticClass:"currency-select"},[e("ul",t._l(t.searchList,(function(r,n){return e("li",{key:n,staticClass:"currency-select-item",class:t.getStyles(r.id),on:{click:function(e){return t.select(r)}}},[e("div",{staticClass:"coin-item ellipsis"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r.imgUrl,expression:"item.imgUrl"}],staticClass:"logo",attrs:{src:r.imgUrl,alt:""}}),t._v(" "),e("span",{staticClass:"name"},[t._v(t._s(r.abbreviate))]),t._v(" "),e("span",{staticClass:"abbreviate"},[t._v(t._s(r.name))])]),t._v(" "),e("i",{directives:[{name:"show",rawName:"v-show",value:t.getStyles(r.id),expression:"getStyles(item.id)"}],staticClass:"iconfont icon-success"}),t._v(" "),e("span",{staticClass:"rank"},[t._v("#"+t._s(r.rank))])])})),0)])])]),t._v(" "),e("coin-base-des",{attrs:{currencies:t.currencies}})],1)])}),[],!1,null,"6b3afddb",null);e.default=component.exports;installComponents(component,{CoinBaseDes:r(576).default})},579:function(t,e,r){"use strict";r.r(e);var n={name:"ExchangesPriceDes",props:{exchangesDetail:{type:Object,default:function(){}}},watch:{exchangesDetail:function(t){console.log("nnnnn:",t)}},methods:{add:function(t){return t>0?"+":""}}},o=(r(1917),r(1)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"coin-price-des-container"},[e("h1",[t._v(t._s(t.exchangesDetail.exchangeName)+" "+t._s(t.$t("exchanges.tradingVolume24h")))]),t._v(" "),e("div",{staticClass:"coin-price-wrapper"},[e("span",{staticClass:"coin-price"},[t._v(t._s(t._f("priceFormat")(t.exchangesDetail.volume24hTotal,"0")))]),t._v(" "),e("span",{staticClass:"coin-increase-percentage",class:t.exchangesDetail.volume24hTotalChange1d>0?"green-bg":"red-bg"},[t._v(t._s(t._f("percentageFormat")(t.exchangesDetail.volume24hTotalChange1d)))]),t._v(" "),e("span",{staticClass:"coin-increase-price",class:t.exchangesDetail.volume24hTotalPlus>0?"green":"red"},[t._v(t._s(t.add(t.exchangesDetail.volume24hTotalPlus))+t._s(t._f("priceFormat")(t.exchangesDetail.volume24hTotalPlus,"0")))])])])}),[],!1,null,"41728966",null);e.default=component.exports},580:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(34),r(37),r(26),r(194),r(30),r(47),r(54),r(5)),l=r(113),h=r.n(l),f=r(1198),d=r.n(f),v=r(310);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var _={name:"ExchangesCompareSearch",props:{eid:{type:Number,default:null}},data:function(){return{searchList:[],showSearch:!1,input:""}},computed:y({},Object(c.c)({compares:"exchanges/compares"})),created:function(){},methods:y(y({},Object(c.d)({setCompares:"exchanges/setCompares"})),{},{switchSearch:function(){var t=this;this.showSearch=!0;var e=function(){t.showSearch=!1};this.showSearch?document.addEventListener("click",e):document.removeEventListener("click",e)},change:h()((function(t){this.getCoins()}),500),select:function(t){var e=this.compares.slice(0,4);this.compares.length,e.push(t),e=d()(e,"id"),this.setCompares(e)},clear:function(){this.input="",this.getCoins()},getCoins:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=t.$i18n.locale,n={language:r,searchType:"EXCHANGES",keywords:t.input},e.next=5,t.$request.post(v.a.search,n);case 5:0===(o=e.sent).code&&(t.searchList=o.data.exchangeList.map((function(t){return y(y({},t),{},{mark:t.exchangeName,id:t.id})}))),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})))()},closeAll:function(){var t=this.compares.slice(0,1);this.setCompares(t)},getStyles:function(t){return this.eid===Number(t)?"gray-bg":this.compares.map((function(t){return t.id})).includes(t)?"purple-bg":""}})},w=(r(1918),r(1)),component=Object(w.a)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"coin-compare-search-container"},[e("div",{staticClass:"search align-center",on:{click:function(e){return e.stopPropagation(),t.switchSearch.apply(null,arguments)}}},[e("img",{attrs:{src:r(548),alt:""}}),t._v(" "),e("span",[t._v(t._s(t.$t("exchanges.compareTo")))]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],staticClass:"currency-search-container"},[e("div",{staticClass:"search-wrapper"},[e("el-input",{attrs:{placeholder:"Search",clearable:""},on:{input:t.change,clear:t.clear},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}})],1),t._v(" "),e("div",{staticClass:"currency-select"},[e("ul",t._l(t.searchList,(function(r,n){return e("li",{key:n,staticClass:"currency-select-item",class:t.getStyles(r.id),on:{click:function(e){return t.select(r)}}},[e("div",{staticClass:"coin-item ellipsis"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r.logoUrl,expression:"item.logoUrl"}],staticClass:"logo",attrs:{src:r.logoUrl,alt:""}}),t._v(" "),e("span",{staticClass:"name"},[t._v(t._s(r.exchangeName))]),t._v(" "),e("i",{directives:[{name:"show",rawName:"v-show",value:t.getStyles(r.id),expression:"getStyles(item.id)"}],staticClass:"iconfont icon-success"})])])})),0)])])]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:t.compares.length>1,expression:"compares.length > 1"}],staticClass:"clear-all",on:{click:t.closeAll}},[t._v("Clear all")])])}),[],!1,null,"15331b12",null);e.default=component.exports},581:function(t,e,r){"use strict";r.r(e);r(11),r(13),r(12),r(8),r(15),r(10),r(16);var n=r(2),o=r(4),c=(r(14),r(34),r(122),r(30),r(25),r(5)),l=r(39),h=r(57),f=r(46),filter=r(3);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={name:"ExchangesUnverified",components:{Empty:l.default},props:{eid:{type:Number,default:null}},data:function(){return{loading:!0,tableData:[],sortKey:{volume24hSort:null,liquidityScoreSort:null,priceChanged24hSort:null,priceSort:null,volumeChanged24hSort:null},total:0,sort:-f.b.volume24h,current:1,pageSize:50}},computed:v(v({},Object(c.c)({marketTag:"exchanges/marketTag"})),{},{localTime:function(){return filter.g}}),watch:{marketTag:function(){this.getMarketsList("sort")}},created:function(){this.getMarketsList("sort")},methods:{sortChange:function(t){t.column;var e=t.prop,r=t.order;this.sortKey={},this.sortKey["".concat(e,"Sort")]=r,this.sort="descending"===r?-f.b[e]:"ascending"===r?f.b[e]:-f.b.volume24h,this.current=1,this.getMarketsList("sort")},getMarketsList:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n,o,c,l,data;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.loading=!0,r.prev=1,n=null,o=null,"SPOT"===e.marketTag&&(o=7),"PERPETUALS"===e.marketTag&&(n=1),"FUTURES"===e.marketTag&&(n=2),c={current:e.current,pageSize:e.pageSize,sort:e.sort,symbolType:5,contractType:n,exchangeType:o},e.eid&&(c.eid=e.eid),r.next=11,e.$request.post(h.a.markets,c);case 11:0===(l=r.sent).code?(t?e.tableData=l.data.list.map((function(t,r){return v(v({},t),{},{serial:r+1+e.pageSize*(e.current-1)})})):(data=l.data.list.map((function(t,r){return v(v({},t),{},{serial:r+1+e.pageSize*(e.current-1),score:t.score})})),e.tableData=e.tableData.concat(data)),e.current=l.data.pageNum,e.total=l.data.total):console.log(l.code),r.next=18;break;case 15:r.prev=15,r.t0=r.catch(1),console.log(r.t0);case 18:e.loading=!1;case 19:case"end":return r.stop()}}),r,null,[[1,15]])})))()},getShowMore:function(){this.current++,this.getMarketsList()},goRatingDetail:function(){window.open("https://tokeninsight-support.gitbook.io/support/methodologies/rating/token-rating","_blank")},priceSort:function(a,b){return parseFloat(b.price)-parseFloat(a.price)},volume24hsort:function(a,b){return parseFloat(b.volume24h)-parseFloat(a.volume24h)}}},y=(r(1923),r(1)),component=Object(y.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"exchanges-unverified-container"},[e("div",{staticClass:"unverified-title"},[e("span",[t._v(t._s(t.$t("exchanges.unverifiedTickers")))])]),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData,"header-cell-style":{background:"rgba(79, 38, 191, 0.06)"}},on:{"sort-change":t.sortChange}},[e("template",{slot:"empty"},[e("empty",{directives:[{name:"show",rawName:"v-show",value:!t.loading&&0===t.tableData.length,expression:"!loading && tableData.length === 0"}]})],1),t._v(" "),e("el-table-column",{attrs:{align:"center",label:"#",prop:"serial",width:"100"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(n.serial))])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"left",label:t.$t("coinDetail.pair"),prop:"symbol",width:"140"},scopedSlots:t._u([{key:"default",fn:function(n){var o=n.row;return[e("div",{staticClass:"pair-wrapper"},[o.currencyLogo?e("img",{staticClass:"currency-logo",attrs:{src:o.currencyLogo,alt:t._f("exchangeSpliceLogoName")(o.symbol),title:t._f("exchangeSpliceLogoName")(o.symbol)}}):e("img",{staticClass:"currency-logo",attrs:{src:r(355),alt:""}}),t._v(" "),o.symbol?e("span",[t._v(t._s(o.symbol.toLocaleUpperCase()))]):e("span",[t._v("-")])])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right",sortable:"custom","sort-method":t.priceSort,label:"Price",prop:"price",width:"228"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(t._f("priceFormat")(n.price)))])]}}])},[e("template",{slot:"header"},[e("span",{class:{purple:t.sortKey.priceSort}},[t._v(t._s(t.$t("exchanges.price")))])])],2),t._v(" "),e("el-table-column",{attrs:{align:"right",label:"24H Change",sortable:"custom",prop:"priceChanged24h",width:"146"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",{class:n.priceChanged24h>0?"green":"red"},[t._v(t._s(t._f("percentageFormat")(n.priceChanged24h)))])]}}])},[e("template",{slot:"header"},[e("span",{class:{purple:t.sortKey.priceChanged24hSort}},[t._v(t._s(t.$t("exchanges.change24hPercent")))])])],2),t._v(" "),e("el-table-column",{attrs:{prop:"volume24h",label:"24H Volume",sortable:"custom","sort-method":t.volume24hsort,width:"226",align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(t._f("priceFormat")(n.volume24h,"0")))])]}}])},[e("template",{slot:"header"},[e("span",{class:{purple:t.sortKey.volume24hSort}},[t._v(t._s(t.$t("exchanges.volume24h")))])])],2),t._v(" "),e("el-table-column",{attrs:{prop:"volumeChanged24h",label:"24H Volume%",sortable:"custom",align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[e("span",{class:n.volumeChanged24h>0?"green":"red"},[t._v(t._s(t._f("percentageFormat")(n.volumeChanged24h)))])]}}])},[e("template",{slot:"header"},[e("span",{class:{purple:t.sortKey.volumeChanged24hSort}},[t._v(t._s(t.$t("exchanges.Volume24hPercent")))])])],2),t._v(" "),e("el-table-column",{attrs:{align:"right",label:t.$t("coinDetail.updateTm"),prop:"updateTime"},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.row;return[n.updateTime?e("span",[t._v(t._s(t.localTime(n.updateTime,"YYYY-MM-DD HH:mm:ss")))]):e("span",[t._v("-")])]}}])})],2),t._v(" "),t.current*t.pageSize>t.total?t._e():e("span",{staticClass:"show-More",on:{click:t.getShowMore}},[t._v(t._s(t.$t("exchanges.showMore")))])],1)}),[],!1,null,"cc6332ec",null);e.default=component.exports},612:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(175);function o(a,b){return Math.abs(a-b)<1e-8}function c(t,e,r){var c=0,p=t[0];if(!p)return!1;for(var i=1;i<t.length;i++){var l=t[i];c+=Object(n.a)(p[0],p[1],l[0],l[1],e,r),p=l}var h=t[0];return o(p[0],h[0])&&o(p[1],h[1])||(c+=Object(n.a)(p[0],p[1],h[0],h[1],e,r)),0!==c}},617:function(t,e,r){"use strict";r(47),r(54),r(34),r(37),r(734);var n=r(22);function o(t,e){t.style.position="fixed",t.style.zIndex="1",t.style.top=e+"px",t.parentNode.style.paddingTop=t.offsetHeight+"px"}function c(t){t.parentNode.style.paddingTop=0,t.style.position="static",t.style.top="0",t.style.zIndex="0"}function l(t,e){var r=t.className;t.style.display="",r.includes("fixed")||(t.setAttribute("class",r+" fixed"),o(t,e))}function h(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.className,n=r.indexOf("fixed");if(-1!==n)if(e){var o=r.substr(0,n-1);t.setAttribute("class",o),c(t)}else t.style.display="none"}function f(t){for(var e=getComputedStyle(t.getElementsByClassName("el-table__body-wrapper")[0]).width,r=t.getElementsByClassName("el-table__header-wrapper"),i=0;i<r.length;i++)r[i].style.width=e}var d={},v={},m={};n.default.directive("sticky",{inserted:function(t,e,r){if(e.value.fixed){var n=r.componentInstance._uid;window.addEventListener("resize",v[n]=function(){f(t)});var c=document.querySelector(e.value.parent)||document;c.addEventListener("scroll",d[n]=function(){!function(t,e,r){var n,o,c,f=e.children[1];if(t.tagName){n=e.offsetTop-t.scrollTop-t.offsetTop;var d=getComputedStyle(t).height;if(c=Number(d.slice(0,d.length-2)),o=r+t.getBoundingClientRect().top,n>c)return}else if(n=e.getBoundingClientRect().top,c=window.innerHeight,o=r,n>document.documentElement.scrollTop+c)return;Math.abs(n)>e.offsetHeight+100||(n<0&&Math.abs(n)>e.offsetHeight?h(f):n<=0?l(f,o):n>0?h(f,!0):Math.abs(n)<e.offsetHeight&&l(f,o))}(c,t,e.value.top)}),e.value.parent&&document.addEventListener("scroll",m[n]=function(){var r=t.children[1];"fixed"===getComputedStyle(r).position&&o(r,e.value.top)})}},componentUpdated:function(t,e){e.value.fixed&&f(t)},unbind:function(t,e,r){if(e.value.fixed){var n=r.componentInstance._uid;window.removeEventListener("resize",v[n]),(document.querySelector(e.value.parent)||document).removeEventListener("scroll",d[n]),e.value.parent&&document.removeEventListener("scroll",m[n])}}})},618:function(t,e,r){"use strict";var n=r(22),o=r(1190),c=r.n(o);n.default.directive("clickOutside",c.a.directive)},624:function(t,e,r){"use strict";r.d(e,"a",(function(){return j})),r.d(e,"b",(function(){return P}));var n=r(114);function o(t,e,r,n,o,c,l){if(0===o)return!1;var h=o,f=0;if(l>e+h&&l>n+h||l<e-h&&l<n-h||c>t+h&&c>r+h||c<t-h&&c<r-h)return!1;if(t===r)return Math.abs(c-t)<=h/2;var d=(f=(e-n)/(t-r))*c-l+(t*n-r*e)/(t-r);return d*d/(f*f+1)<=h/2*h/2}var c=r(41);function l(t,e,r,n,o,l,h,f,d,v,m){if(0===d)return!1;var y=d;return!(m>e+y&&m>n+y&&m>l+y&&m>f+y||m<e-y&&m<n-y&&m<l-y&&m<f-y||v>t+y&&v>r+y&&v>o+y&&v>h+y||v<t-y&&v<r-y&&v<o-y&&v<h-y)&&c.e(t,e,r,n,o,l,h,f,v,m,null)<=y/2}function h(t,e,r,n,o,l,h,f,d){if(0===h)return!1;var v=h;return!(d>e+v&&d>n+v&&d>l+v||d<e-v&&d<n-v&&d<l-v||f>t+v&&f>r+v&&f>o+v||f<t-v&&f<r-v&&f<o-v)&&Object(c.l)(t,e,r,n,o,l,f,d,null)<=v/2}var f=r(190),d=2*Math.PI;function v(t,e,r,n,o,c,l,h,v){if(0===l)return!1;var m=l;h-=t,v-=e;var y=Math.sqrt(h*h+v*v);if(y-m>r||y+m<r)return!1;if(Math.abs(n-o)%d<1e-4)return!0;if(c){var _=n;n=Object(f.a)(o),o=Object(f.a)(_)}else n=Object(f.a)(n),o=Object(f.a)(o);n>o&&(o+=d);var w=Math.atan2(v,h);return w<0&&(w+=d),w>=n&&w<=o||w+d>=n&&w+d<=o}var m=r(175),y=n.a.CMD,_=2*Math.PI;var w=[-1,-1,-1],x=[-1,-1];function O(t,e,r,n,o,l,h,f,d,v){if(v>e&&v>n&&v>l&&v>f||v<e&&v<n&&v<l&&v<f)return 0;var m,y=c.f(e,n,l,f,v,w);if(0===y)return 0;for(var _=0,O=-1,C=void 0,S=void 0,i=0;i<y;i++){var k=w[i],j=0===k||1===k?.5:1;c.a(t,r,o,h,k)<d||(O<0&&(O=c.c(e,n,l,f,x),x[1]<x[0]&&O>1&&(m=void 0,m=x[0],x[0]=x[1],x[1]=m),C=c.a(e,n,l,f,x[0]),O>1&&(S=c.a(e,n,l,f,x[1]))),2===O?k<x[0]?_+=C<e?j:-j:k<x[1]?_+=S<C?j:-j:_+=f<S?j:-j:k<x[0]?_+=C<e?j:-j:_+=f<C?j:-j)}return _}function C(t,e,r,n,o,l,h,f){if(f>e&&f>n&&f>l||f<e&&f<n&&f<l)return 0;var d=c.m(e,n,l,f,w);if(0===d)return 0;var v=c.j(e,n,l);if(v>=0&&v<=1){for(var m=0,y=c.h(e,n,l,v),i=0;i<d;i++){var _=0===w[i]||1===w[i]?.5:1;c.h(t,r,o,w[i])<h||(w[i]<v?m+=y<e?_:-_:m+=l<y?_:-_)}return m}_=0===w[0]||1===w[0]?.5:1;return c.h(t,r,o,w[0])<h?0:l<e?_:-_}function S(t,e,r,n,o,c,l,h){if((h-=e)>r||h<-r)return 0;var f=Math.sqrt(r*r-h*h);w[0]=-f,w[1]=f;var d=Math.abs(n-o);if(d<1e-4)return 0;if(d>=_-1e-4){n=0,o=_;var v=c?1:-1;return l>=w[0]+t&&l<=w[1]+t?v:0}if(n>o){var m=n;n=o,o=m}n<0&&(n+=_,o+=_);for(var y=0,i=0;i<2;i++){var x=w[i];if(x+t>l){var O=Math.atan2(h,x);v=c?1:-1;O<0&&(O=_+O),(O>=n&&O<=o||O+_>=n&&O+_<=o)&&(O>Math.PI/2&&O<1.5*Math.PI&&(v=-v),y+=v)}}return y}function k(path,t,e,r,n){for(var c,f,a,b,data=path.data,d=path.len(),_=0,w=0,x=0,k=0,j=0,i=0;i<d;){var P=data[i++],T=1===i;switch(P===y.M&&i>1&&(e||(_+=Object(m.a)(w,x,k,j,r,n))),T&&(k=w=data[i],j=x=data[i+1]),P){case y.M:w=k=data[i++],x=j=data[i++];break;case y.L:if(e){if(o(w,x,data[i],data[i+1],t,r,n))return!0}else _+=Object(m.a)(w,x,data[i],data[i+1],r,n)||0;w=data[i++],x=data[i++];break;case y.C:if(e){if(l(w,x,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],t,r,n))return!0}else _+=O(w,x,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],r,n)||0;w=data[i++],x=data[i++];break;case y.Q:if(e){if(h(w,x,data[i++],data[i++],data[i],data[i+1],t,r,n))return!0}else _+=C(w,x,data[i++],data[i++],data[i],data[i+1],r,n)||0;w=data[i++],x=data[i++];break;case y.A:var D=data[i++],L=data[i++],$=data[i++],M=data[i++],E=data[i++],R=data[i++];i+=1;var A=!!(1-data[i++]);c=Math.cos(E)*$+D,f=Math.sin(E)*M+L,T?(k=c,j=f):_+=Object(m.a)(w,x,c,f,r,n);var I=(r-D)*M/$+D;if(e){if(v(D,L,M,E,E+R,A,t,I,n))return!0}else _+=S(D,L,M,E,E+R,A,I,n);w=Math.cos(E+R)*$+D,x=Math.sin(E+R)*M+L;break;case y.R:if(k=w=data[i++],j=x=data[i++],c=k+data[i++],f=j+data[i++],e){if(o(k,j,c,j,t,r,n)||o(c,j,c,f,t,r,n)||o(c,f,k,f,t,r,n)||o(k,f,k,j,t,r,n))return!0}else _+=Object(m.a)(c,j,c,f,r,n),_+=Object(m.a)(k,f,k,j,r,n);break;case y.Z:if(e){if(o(w,x,k,j,t,r,n))return!0}else _+=Object(m.a)(w,x,k,j,r,n);w=k,x=j}}return e||(a=x,b=j,Math.abs(a-b)<1e-4)||(_+=Object(m.a)(w,x,k,j,r,n)||0),0!==_}function j(t,e,r){return k(t,0,!1,e,r)}function P(t,e,r,n){return k(t,e,!0,r,n)}},626:function(t,e,r){"use strict";var n=r(0),o=r(28),c=r(45),l={axisPointer:1,tooltip:1,brush:1};function h(rect){return rect=v(rect),function(t){return o.clipPointsByRect(t,rect)}}function f(rect,t){return rect=v(rect),function(e){var r=null!=t?t:e,n=r?rect.width:rect.height,base=r?rect.x:rect.y;return[base,base+(n||0)]}}function d(rect,t,e){var r=v(rect);return function(n,o){return r.contain(o[0],o[1])&&!function(t,e,r){var n=e.getComponentByElement(t.topTarget),o=n&&n.coordinateSystem;return n&&n!==r&&!l.hasOwnProperty(n.mainType)&&o&&o.model!==r}(n,t,e)}}function v(rect){return c.a.create(rect)}var m=r(9),y=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],_=function(){function t(t,e,r){var o=this;this._targetInfoList=[];var c=x(e,t);Object(n.each)(O,(function(t,e){(!r||!r.include||Object(n.indexOf)(r.include,e)>=0)&&t(c,o._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(area,t,e){if((area.coordRanges||(area.coordRanges=[])).push(t),!area.coordRange){area.coordRange=t;var r=k[area.brushType](0,e,t);area.__rangeOffset={offset:P[area.brushType](r.values,area.range,[1,1]),xyMinMax:r.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,r){Object(n.each)(t,(function(area){var t=this.findTargetInfo(area,e);t&&!0!==t&&Object(n.each)(t.coordSyses,(function(t){var n=k[area.brushType](1,t,area.range,!0);r(area,n.values,t,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(n.each)(t,(function(area){var t,r,n,o,c,l=this.findTargetInfo(area,e);if(area.range=area.range||[],l&&!0!==l){area.panelId=l.panelId;var h=k[area.brushType](0,l.coordSys,area.coordRange),f=area.__rangeOffset;area.range=f?P[area.brushType](h.values,f.offset,(t=h.xyMinMax,r=f.xyMinMax,n=D(t),o=D(r),c=[n[0]/o[0],n[1]/o[1]],isNaN(c[0])&&(c[0]=1),isNaN(c[1])&&(c[1]=1),c)):h.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(n.map)(this._targetInfoList,(function(r){var rect=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:e?e(r):null,clipPath:h(rect),isTargetByCursor:d(rect,t,r.coordSysModel),getLinearBrushOtherExtent:f(rect)}}))},t.prototype.controlSeries=function(area,t,e){var r=this.findTargetInfo(area,e);return!0===r||r&&Object(n.indexOf)(r.coordSyses,t.coordinateSystem)>=0},t.prototype.findTargetInfo=function(area,t){for(var e=this._targetInfoList,r=x(t,area),i=0;i<e.length;i++){var n=e[i],o=area.panelId;if(o){if(n.panelId===o)return n}else for(var c=0;c<C.length;c++)if(C[c](r,n))return n}return!0},t}();function w(t){return t[0]>t[1]&&t.reverse(),t}function x(t,e){return Object(m.q)(t,e,{includeMainTypes:y})}var O={grid:function(t,e){var r=t.xAxisModels,o=t.yAxisModels,c=t.gridModels,l=Object(n.createHashMap)(),h={},f={};(r||o||c)&&(Object(n.each)(r,(function(t){var e=t.axis.grid.model;l.set(e.id,e),h[e.id]=!0})),Object(n.each)(o,(function(t){var e=t.axis.grid.model;l.set(e.id,e),f[e.id]=!0})),Object(n.each)(c,(function(t){l.set(t.id,t),h[t.id]=!0,f[t.id]=!0})),l.each((function(t){var c=t.coordinateSystem,l=[];Object(n.each)(c.getCartesians(),(function(t,e){(Object(n.indexOf)(r,t.getAxis("x").model)>=0||Object(n.indexOf)(o,t.getAxis("y").model)>=0)&&l.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:l[0],coordSyses:l,getPanelRect:S.grid,xAxisDeclared:h[t.id],yAxisDeclared:f[t.id]})})))},geo:function(t,e){Object(n.each)(t.geoModels,(function(t){var r=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:r,coordSyses:[r],getPanelRect:S.geo})}))}},C=[function(t,e){var r=t.xAxisModel,n=t.yAxisModel,o=t.gridModel;return!o&&r&&(o=r.axis.grid.model),!o&&n&&(o=n.axis.grid.model),o&&o===e.gridModel},function(t,e){var r=t.geoModel;return r&&r===e.geoModel}],S={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,rect=t.getBoundingRect().clone();return rect.applyTransform(o.getTransform(t)),rect}},k={lineX:Object(n.curry)(j,0),lineY:Object(n.curry)(j,1),rect:function(t,e,r,n){var o=t?e.pointToData([r[0][0],r[1][0]],n):e.dataToPoint([r[0][0],r[1][0]],n),c=t?e.pointToData([r[0][1],r[1][1]],n):e.dataToPoint([r[0][1],r[1][1]],n),l=[w([o[0],c[0]]),w([o[1],c[1]])];return{values:l,xyMinMax:l}},polygon:function(t,e,r,o){var c=[[1/0,-1/0],[1/0,-1/0]];return{values:Object(n.map)(r,(function(r){var p=t?e.pointToData(r,o):e.dataToPoint(r,o);return c[0][0]=Math.min(c[0][0],p[0]),c[1][0]=Math.min(c[1][0],p[1]),c[0][1]=Math.max(c[0][1],p[0]),c[1][1]=Math.max(c[1][1],p[1]),p})),xyMinMax:c}}};function j(t,e,r,o){var c=r.getAxis(["x","y"][t]),l=w(Object(n.map)([0,1],(function(i){return e?c.coordToData(c.toLocalCoord(o[i]),!0):c.toGlobalCoord(c.dataToCoord(o[i]))}))),h=[];return h[t]=l,h[1-t]=[NaN,NaN],{values:l,xyMinMax:h}}var P={lineX:Object(n.curry)(T,0),lineY:Object(n.curry)(T,1),rect:function(t,e,r){return[[t[0][0]-r[0]*e[0][0],t[0][1]-r[0]*e[0][1]],[t[1][0]-r[1]*e[1][0],t[1][1]-r[1]*e[1][1]]]},polygon:function(t,e,r){return Object(n.map)(t,(function(t,n){return[t[0]-r[0]*e[n][0],t[1]-r[1]*e[n][1]]}))}};function T(t,e,r,n){return[e[0]-n[t]*r[0],e[1]-n[t]*r[1]]}function D(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}e.a=_},63:function(t,e,r){"use strict";r.d(e,"b",(function(){return f})),r.d(e,"c",(function(){return v})),r.d(e,"e",(function(){return m})),r.d(e,"a",(function(){return y})),r.d(e,"f",(function(){return _})),r.d(e,"g",(function(){return w})),r.d(e,"d",(function(){return x}));var n=r(40),o=r(382),c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l=[],h=n.a.browser.firefox&&+n.a.browser.version.split(".")[0]<39;function f(t,e,r,n){return r=r||{},n?d(t,e,r):h&&null!=e.layerX&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):null!=e.offsetX?(r.zrX=e.offsetX,r.zrY=e.offsetY):d(t,e,r),r}function d(t,e,r){if(n.a.domSupported&&t.getBoundingClientRect){var c=e.clientX,h=e.clientY;if(Object(o.a)(t)){var f=t.getBoundingClientRect();return r.zrX=c-f.left,void(r.zrY=h-f.top)}if(Object(o.b)(l,t,c,h))return r.zrX=l[0],void(r.zrY=l[1])}r.zrX=r.zrY=0}function v(t){return t||window.event}function m(t,e,r){if(null!=(e=v(e)).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var o="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];o&&f(t,o,e,r)}else{f(t,e,e,r);var l=function(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(null==r||null==n)return e;return 3*(0!==n?Math.abs(n):Math.abs(r))*(n>0?-1:n<0?1:r>0?-1:1)}(e);e.zrDelta=l?l/120:-(e.detail||0)/3}var button=e.button;return null==e.which&&void 0!==button&&c.test(e.type)&&(e.which=1&button?1:2&button?3:4&button?2:0),e}function y(t,e,r,n){t.addEventListener(e,r,n)}function _(t,e,r,n){t.removeEventListener(e,r,n)}var w=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function x(t){return 2===t.which||3===t.which}},638:function(t,e,r){(e=t.exports=r(705)).Stream=e,e.Readable=e,e.Writable=r(643),e.Duplex=r(270),e.Transform=r(708),e.PassThrough=r(1403)},643:function(t,e,r){"use strict";(function(e){var n=r(410);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=O;var c,l=n.nextTick;O.WritableState=x;var h=Object.create(r(345));h.inherits=r(242);var f={deprecate:r(1298)},d=r(706),v=r(384).Buffer,m=e.Uint8Array||function(){};var y,_=r(707);function w(){}function x(t,e){c=c||r(270),t=t||{};var h=e instanceof c;this.objectMode=!!t.objectMode,h&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var f=t.highWaterMark,d=t.writableHighWaterMark,v=this.objectMode?16:16384;this.highWaterMark=f||0===f?f:h&&(d||0===d)?d:v,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var m=!1===t.decodeStrings;this.decodeStrings=!m,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,o=r.sync,c=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,o,c){--e.pendingcb,r?(n.nextTick(c,o),n.nextTick(T,t,e),t._writableState.errorEmitted=!0,t.emit("error",o)):(c(o),t._writableState.errorEmitted=!0,t.emit("error",o),T(t,e))}(t,r,o,e,c);else{var h=j(r);h||r.corked||r.bufferProcessing||!r.bufferedRequest||k(t,r),o?l(S,t,r,h,c):S(t,r,h,c)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function O(t){if(c=c||r(270),!(y.call(O,this)||this instanceof c))return new O(t);this._writableState=new x(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),d.call(this)}function C(t,e,r,n,o,c,l){e.writelen=n,e.writecb=l,e.writing=!0,e.sync=!0,r?t._writev(o,e.onwrite):t._write(o,c,e.onwrite),e.sync=!1}function S(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),T(t,e)}function k(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,c=new Array(n),l=e.corkedRequestsFree;l.entry=r;for(var h=0,f=!0;r;)c[h]=r,r.isBuf||(f=!1),r=r.next,h+=1;c.allBuffers=f,C(t,e,!0,e.length,c,"",l.finish),e.pendingcb++,e.lastBufferedRequest=null,l.next?(e.corkedRequestsFree=l.next,l.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var d=r.chunk,v=r.encoding,m=r.callback;if(C(t,e,!1,e.objectMode?1:d.length,d,v,m),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function P(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),T(t,e)}))}function T(t,e){var r=j(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,n.nextTick(P,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}h.inherits(O,d),x.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(x.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(y=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(object){return!!y.call(this,object)||this===O&&(object&&object._writableState instanceof x)}})):y=function(object){return object instanceof this},O.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},O.prototype.write=function(t,e,r){var o,c=this._writableState,l=!1,h=!c.objectMode&&(o=t,v.isBuffer(o)||o instanceof m);return h&&!v.isBuffer(t)&&(t=function(t){return v.from(t)}(t)),"function"==typeof e&&(r=e,e=null),h?e="buffer":e||(e=c.defaultEncoding),"function"!=typeof r&&(r=w),c.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),n.nextTick(e,r)}(this,r):(h||function(t,e,r,o){var c=!0,l=!1;return null===r?l=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(l=new TypeError("Invalid non-string/buffer chunk")),l&&(t.emit("error",l),n.nextTick(o,l),c=!1),c}(this,c,t,r))&&(c.pendingcb++,l=function(t,e,r,n,o,c){if(!r){var l=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=v.from(e,r));return e}(e,n,o);n!==l&&(r=!0,o="buffer",n=l)}var h=e.objectMode?1:n.length;e.length+=h;var f=e.length<e.highWaterMark;f||(e.needDrain=!0);if(e.writing||e.corked){var d=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:c,next:null},d?d.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else C(t,e,!1,h,n,o,c);return f}(this,c,h,t,e,r)),l},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||k(this,t))},O.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},O.prototype._writev=null,O.prototype.end=function(t,e,r){var o=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||o.finished||function(t,e,r){e.ending=!0,T(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r)},Object.defineProperty(O.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),O.prototype.destroy=_.destroy,O.prototype._undestroy=_.undestroy,O.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(105))},68:function(t,e,r){},702:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},705:function(t,e,r){"use strict";(function(e,n){var o=r(410);t.exports=k;var c,l=r(702);k.ReadableState=S;r(634).EventEmitter;var h=function(t,e){return t.listeners(e).length},f=r(706),d=r(384).Buffer,v=e.Uint8Array||function(){};var m=Object.create(r(345));m.inherits=r(242);var y=r(1400),_=void 0;_=y&&y.debuglog?y.debuglog("stream"):function(){};var w,x=r(1401),O=r(707);m.inherits(k,f);var C=["error","close","destroy","pause","resume"];function S(t,e){t=t||{};var n=e instanceof(c=c||r(270));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var o=t.highWaterMark,l=t.readableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(l||0===l)?l:h,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new x,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(w||(w=r(635).StringDecoder),this.decoder=new w(t.encoding),this.encoding=t.encoding)}function k(t){if(c=c||r(270),!(this instanceof k))return new k(t);this._readableState=new S(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),f.call(this)}function j(t,e,r,n,o){var c,l=t._readableState;null===e?(l.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,L(t)}(t,l)):(o||(c=function(t,e){var r;n=e,d.isBuffer(n)||n instanceof v||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(l,e)),c?t.emit("error",c):l.objectMode||e&&e.length>0?("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===d.prototype||(e=function(t){return d.from(t)}(e)),n?l.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):P(t,l,e,!0):l.ended?t.emit("error",new Error("stream.push() after EOF")):(l.reading=!1,l.decoder&&!r?(e=l.decoder.write(e),l.objectMode||0!==e.length?P(t,l,e,!1):M(t,l)):P(t,l,e,!1))):n||(l.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(l)}function P(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&L(t)),M(t,e)}Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=O.destroy,k.prototype._undestroy=O.undestroy,k.prototype._destroy=function(t,e){this.push(null),e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=d.from(t,e),e=""),r=!0),j(this,t,e,!1,r)},k.prototype.unshift=function(t){return j(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){return w||(w=r(635).StringDecoder),this._readableState.decoder=new w(t),this._readableState.encoding=t,this};var T=8388608;function D(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=T?t=T:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function L(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(_("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?o.nextTick($,t):$(t))}function $(t){_("emit readable"),t.emit("readable"),I(t)}function M(t,e){e.readingMore||(e.readingMore=!0,o.nextTick(E,t,e))}function E(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(_("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function R(t){_("readable nexttick read 0"),t.read(0)}function A(t,e){e.reading||(_("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),I(t),e.flowing&&!e.reading&&t.read(0)}function I(t){var e=t._readableState;for(_("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var p=e.head,r=1,n=p.data;t-=n.length;for(;p=p.next;){var o=p.data,c=t>o.length?o.length:t;if(c===o.length?n+=o:n+=o.slice(0,t),0===(t-=c)){c===o.length?(++r,p.next?e.head=p.next:e.head=e.tail=null):(e.head=p,p.data=o.slice(c));break}++r}return e.length-=r,n}(t,e):function(t,e){var r=d.allocUnsafe(t),p=e.head,n=1;p.data.copy(r),t-=p.data.length;for(;p=p.next;){var o=p.data,c=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,c),0===(t-=c)){c===o.length?(++n,p.next?e.head=p.next:e.head=e.tail=null):(e.head=p,p.data=o.slice(c));break}++n}return e.length-=n,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function z(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,o.nextTick(B,e,t))}function B(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function F(t,e){for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}k.prototype.read=function(t){_("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return _("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?z(this):L(this),null;if(0===(t=D(t,e))&&e.ended)return 0===e.length&&z(this),null;var n,o=e.needReadable;return _("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&_("length less than watermark",o=!0),e.ended||e.reading?_("reading or ended",o=!1):o&&(_("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=D(r,e))),null===(n=t>0?N(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&z(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},k.prototype.pipe=function(t,e){var r=this,c=this._readableState;switch(c.pipesCount){case 0:c.pipes=t;break;case 1:c.pipes=[c.pipes,t];break;default:c.pipes.push(t)}c.pipesCount+=1,_("pipe count=%d opts=%j",c.pipesCount,e);var f=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?v:k;function d(e,n){_("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,_("cleanup"),t.removeListener("close",C),t.removeListener("finish",S),t.removeListener("drain",m),t.removeListener("error",O),t.removeListener("unpipe",d),r.removeListener("end",v),r.removeListener("end",k),r.removeListener("data",x),y=!0,!c.awaitDrain||t._writableState&&!t._writableState.needDrain||m())}function v(){_("onend"),t.end()}c.endEmitted?o.nextTick(f):r.once("end",f),t.on("unpipe",d);var m=function(t){return function(){var e=t._readableState;_("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&h(t,"data")&&(e.flowing=!0,I(t))}}(r);t.on("drain",m);var y=!1;var w=!1;function x(e){_("ondata"),w=!1,!1!==t.write(e)||w||((1===c.pipesCount&&c.pipes===t||c.pipesCount>1&&-1!==F(c.pipes,t))&&!y&&(_("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,w=!0),r.pause())}function O(e){_("onerror",e),k(),t.removeListener("error",O),0===h(t,"error")&&t.emit("error",e)}function C(){t.removeListener("finish",S),k()}function S(){_("onfinish"),t.removeListener("close",C),k()}function k(){_("unpipe"),r.unpipe(t)}return r.on("data",x),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?l(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",O),t.once("close",C),t.once("finish",S),t.emit("pipe",r),c.flowing||(_("pipe resume"),r.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,r);return this}var c=F(e.pipes,t);return-1===c||(e.pipes.splice(c,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,e){var r=f.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&L(this):o.nextTick(R,this))}return r},k.prototype.addListener=k.prototype.on,k.prototype.resume=function(){var t=this._readableState;return t.flowing||(_("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,o.nextTick(A,t,e))}(this,t)),this},k.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(_("pause"),this._readableState.flowing=!1,this.emit("pause")),this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(_("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){(_("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<C.length;o++)t.on(C[o],this.emit.bind(this,C[o]));return this._read=function(e){_("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),k._fromList=N}).call(this,r(105),r(269))},706:function(t,e,r){t.exports=r(634).EventEmitter},707:function(t,e,r){"use strict";var n=r(410);function o(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,c=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return c||l?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(o,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(o,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},708:function(t,e,r){"use strict";t.exports=l;var n=r(270),o=Object.create(r(345));function c(t,data){var e=this._transformState;e.transforming=!1;var r=e.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));e.writechunk=null,e.writecb=null,null!=data&&this.push(data),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);n.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"==typeof this._flush?this._flush((function(e,data){f(t,e,data)})):f(this,null,null)}function f(t,e,data){if(e)return t.emit("error",e);if(null!=data&&t.push(data),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}o.inherits=r(242),o.inherits(l,n),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},l.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},743:function(t,e,r){},749:function(t,e,r){},866:function(t,e,r){},869:function(t,e,r){},871:function(t,e,r){},872:function(t,e,r){},873:function(t,e,r){},874:function(t,e,r){},875:function(t,e,r){},876:function(t,e,r){},877:function(t,e,r){},878:function(t,e,r){},879:function(t,e,r){},880:function(t,e,r){},881:function(t,e,r){},882:function(t,e,r){},883:function(t,e,r){},885:function(t,e,r){},889:function(t,e,r){},89:function(t,e,r){"use strict";var n=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,r,n){this._$handlers||(this._$handlers={});var o=this._$handlers;if("function"==typeof e&&(n=r,r=e,e=null),!r||!t)return this;var c=this._$eventProcessor;null!=e&&c&&c.normalizeQuery&&(e=c.normalizeQuery(e)),o[t]||(o[t]=[]);for(var i=0;i<o[t].length;i++)if(o[t][i].h===r)return this;var l={h:r,query:e,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},h=o[t].length-1,f=o[t][h];return f&&f.callAtLast?o[t].splice(h,0,l):o[t].push(l),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(e){if(r[t]){for(var n=[],i=0,o=r[t].length;i<o;i++)r[t][i].h!==e&&n.push(r[t][i]);r[t]=n}r[t]&&0===r[t].length&&delete r[t]}else delete r[t];return this},t.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],o=this._$eventProcessor;if(n)for(var c=e.length,l=n.length,i=0;i<l;i++){var h=n[i];if(!o||!o.filter||null==h.query||o.filter(t,h.query))switch(c){case 0:h.h.call(h.ctx);break;case 1:h.h.call(h.ctx,e[0]);break;case 2:h.h.call(h.ctx,e[0],e[1]);break;default:h.h.apply(h.ctx,e)}}return o&&o.afterTrigger&&o.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],o=this._$eventProcessor;if(n)for(var c=e.length,l=e[c-1],h=n.length,i=0;i<h;i++){var f=n[i];if(!o||!o.filter||null==f.query||o.filter(t,f.query))switch(c){case 0:f.h.call(l);break;case 1:f.h.call(l,e[0]);break;case 2:f.h.call(l,e[0],e[1]);break;default:f.h.apply(l,e.slice(1,c-1))}}return o&&o.afterTrigger&&o.afterTrigger(t),this},t}();e.a=n},890:function(t,e,r){},893:function(t,e,r){},906:function(t,e,r){},907:function(t,e,r){},909:function(t,e,r){},927:function(t,e,r){},931:function(t,e,r){},961:function(t,e,r){},962:function(t,e,r){},963:function(t,e,r){},966:function(t,e,r){},970:function(t,e,r){},971:function(t,e,r){},975:function(t,e,r){},979:function(t,e,r){},988:function(t,e,r){}}]);