diff --git a/components/cwfx-view/cwfx-view.vue b/components/cwfx-view/cwfx-view.vue index 2d600bb..ba8b20c 100644 --- a/components/cwfx-view/cwfx-view.vue +++ b/components/cwfx-view/cwfx-view.vue @@ -268,6 +268,7 @@ this.option1.xAxis.data = category this.option1.series[0].data = data1 this.profitabilityInit() + this.option2.xAxis.data = category this.option2.series[0].data = data2 this.perShareInit() } diff --git a/components/cwsj-view/cwsj-view.vue b/components/cwsj-view/cwsj-view.vue index 5f03f1c..41de852 100644 --- a/components/cwsj-view/cwsj-view.vue +++ b/components/cwsj-view/cwsj-view.vue @@ -1,7 +1,7 @@ + + diff --git a/uni_modules/lime-echart/static/echarts.min.js b/uni_modules/lime-echart/static/echarts.min.js index 715595f..bcb954f 100644 --- a/uni_modules/lime-echart/static/echarts.min.js +++ b/uni_modules/lime-echart/static/echarts.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,function(t){"use strict";var p=function(t,e){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var y=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},w=new function(){this.browser=new y,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?(w.wxa=!0,w.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?w.worker=!0:!w.hasGlobalWindow||"Deno"in window||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&-1>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}e.clearMarkers=function(){B(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})}}return n}(e,o),o,r);if(e)return e(t,n,i),!0}return!1}function xe(t){return"CANVAS"===t.nodeName.toUpperCase()}var be=/([&<>"'])/g,we={"&":"&","<":"<",">":">",'"':""","'":"'"};function Se(t){return null==t?"":(t+"").replace(be,function(t,e){return we[e]})}var Me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=[],Ie=w.browser.firefox&&+w.browser.version.split(".")[0]<39;function Ce(t,e,n,i){return n=n||{},i?De(t,e,n):Ie&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):De(t,e,n),n}function De(t,e,n){if(w.domSupported&&t.getBoundingClientRect){var i,r=e.clientX,e=e.clientY;if(xe(t))return i=t.getBoundingClientRect(),n.zrX=r-i.left,void(n.zrY=e-i.top);if(_e(Te,t,r,e))return n.zrX=Te[0],void(n.zrY=Te[1])}n.zrX=n.zrY=0}function ke(t){return t||window.event}function Ae(t,e,n){var i;return null==(e=ke(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&Ce(t,i,e,n):(Ce(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},sn.prototype.contain=function(t,e){return sn.contain(this,t,e)},sn.prototype.clone=function(){return new sn(this.x,this.y,this.width,this.height)},sn.prototype.copy=function(t){sn.copy(this,t)},sn.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},sn.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},sn.prototype.isZero=function(){return 0===this.width||0===this.height},sn.create=function(t){return new sn(t.x,t.y,t.width,t.height)},sn.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},sn.applyTransform=function(t,e,n){var i,r,o,a;n?n[1]<1e-5&&-1e-5t.getWidth()||n<0||n>t.getHeight()}B(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){bn.prototype[a]=function(t){var e,n,i=t.zrX,r=t.zrY,o=Mn(this,i,r);if("mouseup"===a&&o||(n=(e=this.findHover(i,r)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4>>1])<0?l=o:s=1+o;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Ln(A,L){var P,O,R=In,N=0,E=[];function e(t){var e=P[t],n=O[t],i=P[t+1],r=O[t+1],t=(O[t]=n+r,t===N-3&&(P[t+1]=P[t+2],O[t+1]=O[t+2]),N--,An(A[i],A,e,n,0,L));if(e+=t,0!=(n-=t)&&0!==(r=kn(A[e+n-1],A,i,r,r-1,L)))if(n<=r){var o=e,a=n,t=i,s=r,l=0;for(l=0;lO[t+1])break;e(t)}},forceMergeRuns:function(){for(;1>=1;return t+e}(r);do{}while((o=Cn(t,n,i,e))=this._maxSize&&0>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===i?parseInt(n.slice(4),16)/15:1),ki(t,e),e):void Ti(e,0,0,0,1):7===i||9===i?0<=(r=parseInt(n.slice(1,7),16))&&r<=16777215?(Ti(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===i?parseInt(n.slice(7),16)/255:1),ki(t,e),e):void Ti(e,0,0,0,1):void 0;var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===i){var i=n.substr(0,r),a=n.substr(r+1,o-(r+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?Ti(e,+a[0],+a[1],+a[2],1):Ti(e,0,0,0,1);s=wi(a.pop());case"rgb":return 3<=a.length?(Ti(e,bi(a[0]),bi(a[1]),bi(a[2]),3===a.length?s:wi(a[3])),ki(t,e),e):void Ti(e,0,0,0,1);case"hsla":return 4!==a.length?void Ti(e,0,0,0,1):(a[3]=wi(a[3]),Li(a,e),ki(t,e),e);case"hsl":return 3!==a.length?void Ti(e,0,0,0,1):(Li(a,e),ki(t,e),e);default:return}}Ti(e,0,0,0,1)}}function Li(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=wi(t[1]),r=wi(t[2]),i=r<=.5?r*(i+1):r+i-r*i,r=2*r-i;return Ti(e=e||[],_i(255*Si(r,i,n+1/3)),_i(255*Si(r,i,n)),_i(255*Si(r,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Pi(t,e){var n=Ai(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255e);g++);g=f(g-1,h-2)}i=u[g+1],n=u[g]}n&&i&&(this._lastFr=g,this._lastFrP=e,d=i.percent-n.percent,r=0==d?1:f((e-n.percent)/d,1),i.easingFunc&&(r=i.easingFunc(r)),f=a?this._additiveValue:p?$i:t[c],(Ki(l)||p)&&(f=f||(this._additiveValue=[])),this.discrete?t[c]=(r<1?n:i).rawValue:Ki(l)?(1===l?Ui:function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;athis._sleepAfterStill)&&this.animation.stop()},mo.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},mo.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},mo.prototype.refreshHover=function(){this._needsRefreshHover=!0},mo.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},mo.prototype.resize=function(t){this._disposed||(this.painter.resize((t=t||{}).width,t.height),this.handler.resize())},mo.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},mo.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},mo.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},mo.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},mo.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},mo.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},mo.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},mo.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},mo.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;el&&(l=s[h],u=h);++o[u],s[u]=0,++a}return V(o,function(t){return t/i})}function Ro(t){var e=2*Math.PI;return(t%e+e)%e}function No(t){return-1e-4=n.maxIterations){e+=n.ellipsis;break}var s=0===a?function(t,e,n){for(var i=0,r=0,o=t.length;rh){C=o.lines.length;0i.width&&(o=e.split("\n"),c=!0),i.accumWidth=s):(s=Ga(e,t,i.width,i.breakAll,i.accumWidth),i.accumWidth=s.accumWidth+n,a=s.linesWidths,o=s.lines)),o=o||e.split("\n"),Fr(t)),d=0;dthis._ux||i>this._uy;return this.addData(fs.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r?(this._xi=t,this._yi=e,this._pendingPtDist=0):(r=n*n+i*i)>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=r),this},r.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(fs.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(fs.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},r.prototype.arc=function(t,e,n,i,r,o){return this._drawPendingPt(),ks[0]=i,ks[1]=r,Ls(ks,o),this.addData(fs.A,t,e,n,n,i=ks[0],(r=ks[1])-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Ss(r)*n+t,this._yi=Ms(r)*n+e,this},r.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},r.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(fs.R,t,e,n,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(fs.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!Ds||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;hn||Ts(y)>i||c===e-1)&&(f=Math.sqrt(C*C+y*y),r=g,o=_);break;case fs.C:var m=t[c++],v=t[c++],g=t[c++],_=t[c++],x=t[c++],b=t[c++],f=function(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){var f=d*p,g=Qn(t,n,r,a,f),f=Qn(e,i,o,s,f),y=g-u,m=f-h;c+=Math.sqrt(y*y+m*m),u=g,h=f}return c}(r,o,m,v,g,_,x,b,10),r=x,o=b;break;case fs.Q:f=function(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=ri(t,n,r,p),p=ri(e,i,o,p),f=d-s,g=p-l;u+=Math.sqrt(f*f+g*g),s=d,l=p}return u}(r,o,m=t[c++],v=t[c++],g=t[c++],_=t[c++],10),r=g,o=_;break;case fs.A:var x=t[c++],b=t[c++],w=t[c++],S=t[c++],M=t[c++],T=t[c++],I=T+M;c+=1,d&&(a=Ss(M)*w+x,s=Ms(M)*S+b),f=ws(w,S)*bs(Cs,Math.abs(T)),r=Ss(I)*w+x,o=Ms(I)*S+b;break;case fs.R:a=r=t[c++],s=o=t[c++];f=2*t[c++]+2*t[c++];break;case fs.Z:var C=a-r,y=s-o;f=Math.sqrt(C*C+y*y),r=a,o=s}0<=f&&(u+=l[h++]=f)}return this._pathLen=u},r.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h=this.data,E=this._ux,z=this._uy,B=this._len,c=e<1,p=0,d=0,f=0;if(!c||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=e*this._pathLen))t:for(var g=0;g=Gs[i=0]+t&&a<=Gs[1]+t?h:0;rMath.PI/2&&c<1.5*Math.PI?-h:h)}return l}(y,m,_,x,x+b,w,T,r);u=Math.cos(x+b)*v+y,h=Math.sin(x+b)*_+m;break;case Bs.R:c=u=a[d++],p=h=a[d++];if(S=c+a[d++],M=p+a[d++],n){if(Os(c,p,S,p,e,i,r)||Os(S,p,S,M,e,i,r)||Os(S,M,c,M,e,i,r)||Os(c,M,c,p,e,i,r))return!0}else l=(l+=zs(S,p,S,M,i,r))+zs(c,M,c,p,i,r);break;case Bs.Z:if(n){if(Os(u,h,c,p,e,i,r))return!0}else l+=zs(u,h,c,p,i,r);u=c,h=p}}return n||(t=h,o=p,Math.abs(t-o)n,i=(r=r.slice(0,n)).length*c),t&&u&&null!=f)for(var y=Oa(f,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;vhc.len()&&(sTo(i[1])?0':'':{renderMode:r,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function Ad(t,e){return e=e||"transparent",G(t)?t:E(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Ld(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location.href=t):window.open(t,e)}var Pd={},Od={},Rd=(Nd.prototype.create=function(i,r){function t(t){var n=[];return B(t,function(t,e){t=t.create(i,r);n=n.concat(t||[])}),n}this._nonSeriesBoxMasterList=t(Pd),this._normalMasterList=t(Od)},Nd.prototype.update=function(e,n){B(this._normalMasterList,function(t){t.update&&t.update(e,n)})},Nd.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},Nd.register=function(t,e){"matrix"===t||"calendar"===t?Pd[t]=e:Od[t]=e},Nd.get=function(t){return Od[t]||Pd[t]},Nd);function Nd(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}var Ed={coord:1,coord2:2};var zd=O();var Bd={none:0,dataCoordSys:1,boxCoordSys:2};function Vd(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=Bd.none;return e&&(t="series"===t.mainType,"data"===(n=null==n?t?"data":"box":n)?(i=Bd.dataCoordSys,t||(i=Bd.none)):"box"===n&&(i=Bd.boxCoordSys,t||Pd[e]||(i=Bd.none))),{coordSysType:e,kind:i}}function Fd(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,r=t.isDefaultDataCoordSys,t=(t.allowNotFound,Vd(e)),o=t.kind,t=t.coordSysType;r&&o!==Bd.dataCoordSys&&(o=Bd.dataCoordSys,t=n),o!==Bd.none&&t===n&&(r=i(n,e))&&(o===Bd.dataCoordSys?e.coordinateSystem=r:e.boxCoordinateSystem=r)}var Gd=B,Hd=["left","right","top","bottom","width","height"],Wd=[["width","left","right"],["height","top","bottom"]];function Ud(a,s,l,u,h){var c=0,p=0,d=(null==u&&(u=1/0),null==h&&(h=1/0),0);s.eachChild(function(t,e){var n,i,r,o=t.getBoundingRect(),e=s.childAt(e+1),e=e&&e.getBoundingRect();d="horizontal"===a?(i=o.width+(e?-e.x+o.x:0),u<(n=c+i)||t.newline?(c=0,n=i,p+=d+l,o.height):Math.max(d,o.height)):(i=o.height+(e?-e.y+o.y:0),h<(r=p+i)||t.newline?(c+=d+l,p=0,r=i,o.width):Math.max(d,o.width)),t.newline||(t.x=c,t.y=p,t.markRedraw(),"horizontal"===a?c=n+l:p=r+l)})}var Xd=Ud;function Yd(t,e){r=Kd(o=t,n=e,{enableLayoutOnlyByCenter:!0}),i=o.getBoxLayoutParams(),r.type===qd?(s=r.refPoint,a=Zd(i,{width:n.getWidth(),height:n.getHeight()})):(o=F(n=o.get("center"))?n:[n,n],a=Zd(i,r.refContainer),s=r.boxCoordFrom===Ed.coord2?r.refPoint:[Y(o[0],a.width)+a.x,Y(o[1],a.height)+a.y]);var n={viewRect:a,center:s},i=n.viewRect,r=n.center,o=t.get("radius"),a=(F(o)||(o=[0,o]),Y(i.width,e.getWidth())),s=Y(i.height,e.getHeight()),n=Math.min(a,s),t=Y(o[0],n/2),e=Y(o[1],n/2);return{cx:r[0],cy:r[1],r0:t,r:e,viewRect:i}}function Zd(t,e,n){n=Md(n||0);var i=e.width,r=e.height,o=Y(t.left,i),a=Y(t.top,r),s=Y(t.right,i),l=Y(t.bottom,r),u=Y(t.width,i),h=Y(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(i/re)return t[i];return t[n-1]}var Ef,zf="\0_ec_inner",Bf=(u(Vf,Ef=Rp),Vf.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Rp(i),this._locale=new Rp(r),this._optionManager=o},Vf.prototype.setOption=function(t,e,n){e=Hf(e);this._optionManager.setOption(t,n,e),this._resetOption(null,e)},Vf.prototype.resetOption=function(t,e){return this._resetOption(t,Hf(e))},Vf.prototype._resetOption=function(t,e){var n,i=!1,r=this._optionManager;return t&&"recreate"!==t||(n=r.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(n,e)):Lf(this,n),i=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(n=r.getTimelineOption(this))&&(i=!0,this._mergeOption(n,e)),t&&"recreate"!==t&&"media"!==t||(n=r.getMediaOption(this)).length&&B(n,function(t){i=!0,this._mergeOption(t,e)},this),i},Vf.prototype.mergeOption=function(t){this._mergeOption(t,null)},Vf.prototype._mergeOption=function(i,t){var r=this.option,h=this._componentsMap,c=this._componentsCount,n=[],o=O(),p=t&&t.replaceMergeMainTypeMap;wf(this).datasetMap=O(),B(i,function(t,e){null!=t&&(g.hasClass(e)?e&&(n.push(e),o.set(e,!0)):r[e]=null==r[e]?v(t):d(r[e],t,!0))}),p&&p.each(function(t,e){g.hasClass(e)&&!o.get(e)&&(n.push(e),o.set(e,!0))}),g.topologicalTravel(n,g.getAllClassMainTypes(),function(o){var a,t=function(t,e,n){return(e=(e=Df.get(e))&&e(t))?n.concat(e):n}(this,o,Zo(i[o])),e=h.get(o),n=e?p&&p.get(o)?"replaceMerge":"normalMerge":"replaceAll",e=$o(e,t,n),s=(ia(e,o,g),r[o]=null,h.set(o,null),c.set(o,0),[]),l=[],u=0;B(e,function(t,e){var n=t.existing,i=t.newOption;if(i){var r=g.getClass(o,t.keyInfo.subType,!("series"===o));if(!r)return;if("tooltip"===o){if(a)return;a=!0}n&&n.constructor===r?(n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1)):(e=P({componentIndex:e},t.keyInfo),P(n=new r(i,this,this,e),e),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0))}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(s.push(n.option),l.push(n),u++):(s.push(void 0),l.push(void 0))},this),r[o]=s,h.set(o,l),c.set(o,u),"series"===o&&kf(this)},this),this._seriesIndices||kf(this)},Vf.prototype.getOption=function(){var a=v(this.option);return B(a,function(t,e){if(g.hasClass(e)){for(var n=Zo(t),i=n.length,r=!1,o=i-1;0<=o;o--)n[o]&&!na(n[o])?r=!0:(n[o]=null,r||i--);n.length=i,a[e]=n}}),delete a[zf],a},Vf.prototype.setTheme=function(t){this._theme=new Rp(t),this._resetOption("recreate",null)},Vf.prototype.getTheme=function(){return this._theme},Vf.prototype.getLocaleModel=function(){return this._locale},Vf.prototype.setUpdatePayload=function(t){this._payload=t},Vf.prototype.getUpdatePayload=function(){return this._payload},Vf.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){t=n[e||0];if(t)return t;if(null==e)for(var i=0;ig[1]&&(g[1]=f)}return{start:a,end:this._rawCount=this._count=s}},l.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=V(o,function(t){return t.property}),u=0;uf[1]&&(f[1]=g)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},l.prototype.count=function(){return this._count},l.prototype.get=function(t,e){return 0<=e&&e=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}}return-1},l.prototype.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array)for(var i=new e(n),r=0;rt[S][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(f))}return sy[1]&&(y[1]=g)}}}},l.prototype.lttbDownSample=function(t,e){var n,i=this.clone([t],!0),r=i._chunks[t],o=this.count(),a=0,s=Math.floor(1/e),l=this.getRawIndex(0),u=new(Iy(this._rawCount))(Math.min(2*(Math.ceil(o/s)+2),o));u[a++]=l;for(var h=1;hh[1]&&(h[1]=y),c[p++]=m}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},l.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r'+Se(u)+""+h,t))}function Xy(t,e,n,i){var r,o,a,s,l,u=t.renderMode,h=e.noName,c=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return V(t=F(t)?t:[t],function(t,e){return Td(t,F(o)?o[e]:o,f)})};if(!h||!c)return r=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||_.color.secondary,u),d=h?"":Td(d,"ordinal",f),o=e.valueType,g=c?[]:g(e.value,e.dataIndex),e=!p||!h,a=!p&&h,l=By(i,u),s=l.nameStyle,l=l.valueStyle,"richText"===u?(p?"":r)+(h?"":jy(t,d,s))+(c?"":function(t,e,n,i,r){r=[r],i=i?10:20;return n&&r.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(F(e)?e.join(" "):e,r)}(t,g,e,a,l)):Zy(i,(p?"":r)+(h?"":''+Se(d)+"")+(c?"":function(t,e,n,i){n=n?"10px":"20px",e=e?"float:right;margin-left:"+n:"";return t=F(t)?t:[t],''+V(t,Se).join("  ")+""}(g,e,a,l)),n)}function Yy(t,e,n,i,r,o){if(t)return Wy(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Zy(t,e,n){return'
'+e+'
'}function jy(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function qy(t,e){return Ad(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Ky(t,e){t=t.get("padding");return null!=t?t:"richText"===e?[8,10]:10}Qy.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},Qy.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,e=kd({color:e,type:t,renderMode:n,markerId:i});return G(e)?e:(this.richTextStyles[i]=e.style,e.content)},Qy.prototype.wrapRichTextStyle=function(t,e){var n={},e=(F(e)?B(e,function(t){return P(n,t)}):P(n,e),this._generateStyleName());return this.richTextStyles[e]=n,"{"+e+"|"+t+"}"};var $y=Qy;function Qy(){this.richTextStyles={},this._nextStyleNameId=Wo()}function Jy(t){var e,n,i,r,o,a,s,l,u,h,c,p=t.series,d=t.dataIndex,t=t.multipleSeries,f=p.getData(),g=f.mapDimensionsAll("defaultedTooltip"),y=g.length,m=p.getRawValue(d),v=F(m),_=qy(p,d);function x(t,e){e=s.getDimensionInfo(e);e&&!1!==e.otherDims.tooltip&&(l?c.push(Gy("nameValue",{markerType:"subItem",markerColor:a,name:e.displayName,value:t,valueType:e.type})):(u.push(t),h.push(e.type)))}1this.getShallow("animationThreshold")?!1:t)},o.prototype.restoreData=function(){this.dataTask.dirty()},o.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel;return Of.prototype.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},o.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},o.prototype.getProgressive=function(){return this.get("progressive")},o.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},o.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},o.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var o=0;oe.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function lm(e,n){B(Nt(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(t){e.wrapMethod(t,S(um,n))})}function um(t,e){t=hm(t);return t&&t.setOutputEnd((e||this).count()),e}function hm(t){var e,n=(t.ecModel||{}).scheduler,n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}st(im,Gg),st(im,Of),va(im,g);pm.prototype.init=function(t,e){},pm.prototype.render=function(t,e,n,i){},pm.prototype.dispose=function(t,e){},pm.prototype.updateView=function(t,e,n,i){},pm.prototype.updateLayout=function(t,e,n,i){},pm.prototype.updateVisual=function(t,e,n,i){},pm.prototype.toggleBlurSeries=function(t,e,n){},pm.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)};var cm=pm;function pm(){this.group=new ho,this.uid=zp("viewComponent")}function dm(){var o=i();return function(t){var e=o(t),t=t.pipelineContext,n=!!e.large,i=!!e.progressiveRender,r=e.large=!(!t||!t.large),e=e.progressiveRender=!(!t||!t.progressiveRender);return!(n==r&&i==e)&&"reset"}}ma(cm),wa(cm);var fm=i(),gm=dm(),ym=(mm.prototype.init=function(t,e){},mm.prototype.render=function(t,e,n,i){},mm.prototype.highlight=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"emphasis")},mm.prototype.downplay=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"normal")},mm.prototype.remove=function(t,e){this.group.removeAll()},mm.prototype.dispose=function(t,e){},mm.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.eachRendered=function(t){Jc(this.group,t)},mm.markUpdateMethod=function(t,e){fm(t).updateMethod=e},mm.protoInitialize=void(mm.prototype.type="chart"),mm);function mm(){this.group=new ho,this.uid=zp("viewChart"),this.renderTask=Ug({plan:xm,reset:bm}),this.renderTask.context={view:this}}function vm(t,e,n){t&&Iu(t)&&("emphasis"===e?lu:uu)(t,n)}function _m(e,t,n){var i,r=ra(e,t),o=t&&null!=t.highlightKey?(t=t.highlightKey,i=null==(i=Pl[t])&&Ll<=32?Pl[t]=Ll++:i):null;null!=r?B(Zo(r),function(t){vm(e.getItemGraphicEl(t),n,o)}):e.eachItemGraphicEl(function(t){vm(t,n,o)})}function xm(t){return gm(t.model)}function bm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,t=t.view,a=r&&fm(r).updateMethod,o=o?"incrementalPrepareRender":a&&t[a]?a:"render";return"render"!==o&&t[o](e,n,i,r),wm[o]}ma(ym),wa(ym);var wm={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Sm="\0__throttleOriginMethod",Mm="\0__throttleRate",Tm="\0__throttleType";function Im(t,r,o){var a,s,l,u,h,c=0,p=0,d=null;function f(){p=(new Date).getTime(),d=null,t.apply(l,u||[])}r=r||0;function e(){for(var t=[],e=0;en.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},zm.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},zm.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,r=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:r}},zm.prototype.restorePipelines=function(t){var i=this,r=i._pipelineMap=O();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;r.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),i._pipe(t,t.dataTask)})},zm.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.api.getModel(),r=this.api;B(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,{});Tt(!(t.reset&&t.overallReset),""),t.reset&&this._createSeriesStageTask(t,e,i,r),t.overallReset&&this._createOverallStageTask(t,e,i,r)},this)},zm.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},zm.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},zm.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},zm.prototype._performStageTasks=function(t,s,l,u){u=u||{};var h=!1,c=this;function p(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}B(t,function(i,t){var e,n,r,o,a;u.visualType&&u.visualType!==i.visualType||(e=(n=c._stageTaskMap.get(i.uid)).seriesTaskMap,(n=n.overallTask)?((o=n.agentStubMap).each(function(t){p(u,t)&&(t.dirty(),r=!0)}),r&&n.dirty(),c.updatePayload(n,l),a=c.getPerformArgs(n,u.block),o.each(function(t){t.perform(a)}),n.perform(a)&&(h=!0)):e&&e.each(function(t,e){p(u,t)&&t.dirty();var n=c.getPerformArgs(t,u.block);n.skip=!i.performRawSeries&&s.isSeriesFiltered(t.context.model),c.updatePayload(t,l),t.perform(n)&&(h=!0)}))}),this.unfinished=h||this.unfinished},zm.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},zm.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})},zm.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},zm.prototype._createSeriesStageTask=function(n,t,i,r){var o=this,a=t.seriesTaskMap,s=t.seriesTaskMap=O(),t=n.seriesType,e=n.getTargetSeries;function l(t){var e=t.uid,e=s.set(e,a&&a.get(e)||Ug({plan:Hm,reset:Wm,count:Ym}));e.context={model:t,ecModel:i,api:r,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:o},o._pipe(t,e)}n.createOnAllSeries?i.eachRawSeries(l):t?i.eachRawSeriesByType(t,l):e&&e(i,r).each(l)},zm.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Ug({reset:Bm}),a=(o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r},o.agentStubMap),s=o.agentStubMap=O(),e=t.seriesType,l=t.getTargetSeries,u=!0,h=!1;function c(t){var e=t.uid,e=s.set(e,a&&a.get(e)||(h=!0,Ug({reset:Vm,onDirty:Gm})));e.context={model:t,overallProgress:u},e.agent=o,e.__block=u,r._pipe(t,e)}Tt(!t.createOnAllSeries,""),e?n.eachRawSeriesByType(e,c):l?l(n,i).each(c):(u=!1,B(n.getSeries(),c)),h&&o.dirty()},zm.prototype._pipe=function(t,e){t=t.uid,t=this._pipelineMap.get(t);t.head||(t.head=e),t.tail&&t.tail.pipe(e),(t.tail=e).__idxInPipeline=t.count++,e.__pipeline=t},zm.wrapStageHandler=function(t,e){return(t=N(t)?{overallReset:t,seriesType:function(t){Zm=null;try{t(jm,qm)}catch(t){}return Zm}(t)}:t).uid=zp("stageHandler"),e&&(t.visualType=e),t};var Em=zm;function zm(t,e,n,i){this._stageTaskMap=O(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}function Bm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Vm(t){return t.overallProgress&&Fm}function Fm(){this.agent.dirty(),this.getDownstream().dirty()}function Gm(){this.agent&&this.agent.dirty()}function Hm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Wm(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=Zo(t.reset(t.model,t.ecModel,t.api,t.payload));return 1'+t.dom+""}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()):(i.connectedBackgroundColor&&f.add(new dl({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),B(p,function(t){t=new rl({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),d.toDataURL("image/"+(i&&i.type||"png")))):this.getDataURL(i);this.id},h.prototype.convertToPixel=function(t,e,n){return fv(this,"convertToPixel",t,e,n)},h.prototype.convertToLayout=function(t,e,n){return fv(this,"convertToLayout",t,e,n)},h.prototype.convertFromPixel=function(t,e,n){return fv(this,"convertFromPixel",t,e,n)},h.prototype.containPixel=function(t,i){var r;if(!this._disposed)return B(aa(this._model,t),function(t,n){0<=n.indexOf("Models")&&B(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?r=r||!!e.containPoint(i):"seriesModels"===n&&(e=this._chartsMap[t.__viewId])&&e.containPoint&&(r=r||e.containPoint(i,t))},this)},this),!!r;this.id},h.prototype.getVisual=function(t,e){var t=aa(this._model,t,{defaultMainType:"series"}),n=t.seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;if(null==t)return n0(n,e);var i=n,r=t,o=e;switch(o){case"color":return i.getItemVisual(r,"style")[i.getVisual("drawType")];case"opacity":return i.getItemVisual(r,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return i.getItemVisual(r,o)}},h.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},h.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},h.prototype._initEvents=function(){var n,i,s=this,r=(B(Ev,function(a){function t(t){var n,e,i,r=s.getModel(),o=t.target;"globalout"===a?n={}:o&&o0(o,function(t){var e,t=Z(t);return t&&null!=t.dataIndex?(e=t.dataModel||r.getSeriesByIndex(t.seriesIndex),n=e&&e.getDataParams(t.dataIndex,t.dataType,o)||{},1):t.eventData&&(n=P({},t.eventData),1)},!0),n&&(e=n.componentType,i=n.componentIndex,"markLine"!==e&&"markPoint"!==e&&"markArea"!==e||(e="series",i=n.seriesIndex),i=(e=e&&null!=i&&r.getComponent(e,i))&&s["series"===e.mainType?"_chartsMap":"_componentsMap"][e.__viewId],n.event=t,n.type=a,s._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:e,view:i},s.trigger(a,n))}t.zrEventfulCallAtLast=!0,s._zr.on(a,t,s)}),this._messageCenter);B(Vv,function(t,e){r.on(e,function(t){s.trigger(e,t)})}),i=(n=this)._api,r.on("selectchanged",function(t){var e=i.getModel();t.isFromClick?(r0("map","selectchanged",n,e,t),r0("pie","selectchanged",n,e,t)):"select"===t.fromAction?(r0("map","selected",n,e,t),r0("pie","selected",n,e,t)):"unselect"===t.fromAction&&(r0("map","unselected",n,e,t),r0("pie","unselected",n,e,t))})},h.prototype.isDisposed=function(){return this._disposed},h.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},h.prototype.dispose=function(){var t,e,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&ha(this.getDom(),qv,""),e=(t=this)._api,n=t._model,B(t._componentsViews,function(t){t.dispose(n,e)}),B(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Xv[t.id])},h.prototype.resize=function(t){if(!this[Q0])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var e=e.resetOption("media"),n=t&&t.silent;this[tv]&&(null==n&&(n=this[tv].silent),e=!0,this[tv]=null),this[Q0]=!0,Dv(this);try{e&&hv(this),dv.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this[Q0]=!1,t}this[Q0]=!1,mv.call(this,n),vv.call(this,n)}}},h.prototype.showLoading=function(t,e){this._disposed?this.id:(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Uv[t]&&(t=Uv[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},h.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},h.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=Bv[t.type],e},h.prototype.dispatchAction=function(t,e){var n;this._disposed?this.id:(E(e)||(e={silent:!!e}),zv[t.type]&&this._model&&(this[Q0]?this._pendingActions.push(t):(n=e.silent,yv.call(this,t,n),(t=e.flush)?this._zr.flush():!1!==t&&w.browser.weChat&&this._throttledZrFlush(),mv.call(this,n),vv.call(this,n))))},h.prototype.updateLabelLayout=function(){K0.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},h.prototype.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp())},h.internalField=(hv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cv(t,!0),cv(t,!1),e.plan()},cv=function(t,r){for(var o=t._model,a=t._scheduler,s=r?t._componentsViews:t._chartsViews,l=r?t._componentsMap:t._chartsMap,u=t._zr,h=t._api,e=0;es.get("hoverLayerThreshold")&&!w.node&&!w.worker&&s.eachSeries(function(t){t.preventUsingHoverLayer||(t=i._chartsMap[t.__viewId]).__alive&&t.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}),K0.trigger("series:afterupdate",t,e,n)},Iv=function(t){t[ev]=!0,t.getZr().wakeUp()},Dv=function(t){t[J0]=(t[J0]+1)%1e3},Cv=function(t){t[ev]&&(t.getZr().storage.traverse(function(t){xc(t)||Pv(t)}),t[ev]=!1)},Mv=function(n){return u(t,e=Wf),t.prototype.getCoordinateSystems=function(){return n._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return n._model.getComponent(e.mainType,e.index);t=t.parent}},t.prototype.enterEmphasis=function(t,e){lu(t,e),Iv(n)},t.prototype.leaveEmphasis=function(t,e){uu(t,e),Iv(n)},t.prototype.enterBlur=function(t){hu(t),Iv(n)},t.prototype.leaveBlur=function(t){cu(t),Iv(n)},t.prototype.enterSelect=function(t){pu(t),Iv(n)},t.prototype.leaveSelect=function(t){du(t),Iv(n)},t.prototype.getModel=function(){return n.getModel()},t.prototype.getViewOfComponentModel=function(t){return n.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return n.getViewOfSeriesModel(t)},t.prototype.getMainProcessVersion=function(){return n[J0]},new t(n);function t(){return null!==e&&e.apply(this,arguments)||this}var e},void(Tv=function(i){function r(t,e){for(var n=0;nr[1]&&(r[0]=r[1]),o}function tx(t){var e=Math.pow(10,Vo(t)),t=t/e;return t?2===t?t=3:3===t?t=5:t*=2:t=1,Do(t*e)}function ex(t){return Ao(t)+2}function nx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function ix(t,e){return t>=e[0]&&t<=e[1]}ox.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=I(t.normalize,t),this.scale=I(t.scale,t)):(this.normalize=ax,this.scale=sx)};var rx=ox;function ox(){this.normalize=ax,this.scale=sx}function ax(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function sx(t,e){return t*(e[1]-e[0])+e[0]}function lx(t,e,n){t=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/t,Math.log(n?e[1]:Math.max(0,e[1]))/t]}hx.prototype.getSetting=function(t){return this._setting[t]},hx.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent((t[0]e[1]?t:e)[1])},hx.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},hx.prototype.getExtent=function(){return this._extent.slice()},hx.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},hx.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},hx.prototype.setBreaksFromOption=function(t){},hx.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},hx.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},hx.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},hx.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},hx.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},hx.prototype.isBlank=function(){return this._isBlank},hx.prototype.setBlank=function(t){this._isBlank=t};var ux=hx;function hx(t){this._calculator=new rx,this._setting=t||{},this._extent=[1/0,-1/0]}wa(ux);var cx=0,px=(dx.createByAxisModel=function(t){var t=t.option,e=t.data,e=e&&V(e,fx);return new dx({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},dx.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},dx.prototype.parseAndCollect=function(t){var e,n,i=this._needCollect;return G(t)||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n)):null==(n=(e=this._getOrCreateMap()).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n):t},dx.prototype._getOrCreateMap=function(){return this._map||(this._map=O(this.categories))},dx);function dx(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cx,this._onCollect=t.onCollect}function fx(t){return E(t)&&null!=t.value?t.value:t+""}u(mx,gx=ux),mx.prototype.parse=function(t){return null==t?NaN:G(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},mx.prototype.contain=function(t){return ix(t,this._extent)&&0<=t&&t=t},mx.prototype.getOrdinalMeta=function(){return this._ordinalMeta},mx.prototype.calcNiceTicks=function(){},mx.prototype.calcNiceExtent=function(){},mx.type="ordinal";var gx,yx=mx;function mx(t){var t=gx.call(this,t)||this,e=(t.type="ordinal",t.getSetting("ordinalMeta"));return F(e=e||new px({}))&&(e=new px({categories:V(e,function(t){return E(t)?t.value:t})})),t._ordinalMeta=e,t._extent=t.getSetting("extent")||[0,e.categories.length-1],t}ux.registerClass(yx);var vx,_x=Do,xx=(u(bx,vx=ux),bx.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},bx.prototype.contain=function(t){return ix(t,this._extent)},bx.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},bx.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},bx.prototype.getInterval=function(){return this._interval},bx.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=ex(t)},bx.prototype.getTicks=function(t){t=t||{};var n=this._interval,e=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=Yp,a=[];if(n)if("only_break"===t.breakTicks&&o)o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent);else{e[0]h&&(t.expandToNicedExtent?a.push({value:_x(h+n,r)}):a.push({value:e[1]})),"none"!==t.breakTicks&&o&&o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent)}return a},bx.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),r=1;ri[0]&&cx));)g[r](g[i]()+t),f=g.getTime(),y&&0<(p=y.calcNiceTickMultiple(f,d))&&(g[r](g[i]()+p*t),f=g.getTime());a.push({value:f,notAdd:!0})}function i(t,e,n){var i,r,o,a,s=[],l=!e.length;if(i=od(t),r=_[0],o=_[1],a=v,ld(new Date(r),i,a).getTime()!==ld(new Date(o),i,a).getTime()){l&&(e=[{value:function(t,e,n){e=Math.max(0,D(ed,e)-1);return ld(new Date(t),ed[e],n).getTime()}(_[0],t,v)},{value:_[1]}]);for(var u,h,c=0;c=_[0]&&p<=_[1]&&w(f,p,d,g,y,0,s),"year"===t&&1=_[0]&&d<=_[1]&&a++)}u=e/m;if(1.5*u=_[0]&&t.value<=_[1]&&!t.notAdd})}),function(t){return 0n&&(this._approxInterval=n),Bx.length),t=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);i.push([(r=s+=r)/n,(o=l+=o)/n])}return i}function P1(t,o){var e,n,r;return V(ht((t=(e=t).UTF8Encoding?(null==(r=(n=e).UTF8Scale)&&(r=1024),B(n.features,function(t){var e=t.geometry,n=e.encodeOffsets,i=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=L1(i,n,r);break;case"Polygon":case"MultiLineString":A1(i,n,r);break;case"MultiPolygon":B(i,function(t,e){return A1(t,n[e],r)})}}),n.UTF8Encoding=!1,n):e).features,function(t){return t.geometry&&t.properties&&0=e[0]&&t<=e[1]}),function(t){var e={value:t};return{formattedLabel:i(e),rawLabel:n.scale.getLabel(e),tickValue:t,time:void 0,break:void 0}})}):"category"===n.type?(s=t,a=(t=n).getLabelModel(),s=F1(t,a,s),!a.get("show")||t.scale.isBlank()?{labels:[]}:s):(a=(r=n).scale.getTicks(),o=i1(r),{labels:V(a,function(t,e){return{formattedLabel:o(t,e),rawLabel:r.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function V1(t,e,n){var i,r,o,a,s,l,u=t.getTickModel().get("customValues");return u?(i=t.scale.getExtent(),{ticks:ht(z1(t,u),function(t){return t>=i[0]&&t<=i[1]})}):"category"===t.type?(u=e,a=G1(e=t),s=o1(u),(l=U1(a,s))||(u.get("show")&&!e.scale.isBlank()||(r=[]),r=N(s)?q1(e,s,!0):"auto"===s?(l=F1(e,e.getLabelModel(),E1(N1.determine)),o=l.labelCategoryInterval,V(l.labels,function(t){return t.tickValue})):j1(e,o=s,!0),X1(a,s,{ticks:r,tickCategoryInterval:o}))):{ticks:V(t.scale.getTicks(n),function(t){return t.value})}}function F1(t,e,n){var i,r=H1(t),o=o1(e),e=n.kind===N1.estimate;if(!e){var a=U1(r,o);if(a)return a}var s={labels:N(o)?q1(t,o):j1(t,i="auto"===o?function(t,e){{var n;if(e.kind===N1.estimate)return n=t.calculateCategoryInterval(e),e.out.noPxChangeTryDetermine.push(function(){return R1(t).autoInterval=n,!0}),n}var i=R1(t).autoInterval;return null!=i?i:R1(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):o),labelCategoryInterval:i};return e?n.out.noPxChangeTryDetermine.push(function(){return X1(r,o,s),!0}):X1(r,o,s),s}var G1=W1("axisTick"),H1=W1("axisLabel");function W1(e){return function(t){return R1(t)[e]||(R1(t)[e]={list:[]})}}function U1(t,e){for(var n=0;nl[1],h(n[0].coord,l[0])&&(t?n[0].coord=l[0]:n.shift()),t&&h(l[0],n[0].coord)&&n.unshift({coord:l[0],onBand:!0}),h(l[1],i.coord)&&(t?i.coord=l[1]:n.pop()),t)&&h(i.coord,l[1])&&n.push({coord:l[1],onBand:!0}),u},$1.prototype.getMinorTicksCoords=function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),V(this.scale.getMinorTicks(t=0=u}}for(var o,a=this.__startIndex;ar[0]){for(l=0;lt);l++);s=i[r[l]]}r.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(e.dom,n.nextSibling):a.appendChild(e.dom):a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom)),e.painter||(e.painter=this)}},qb.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?0<=r.height?"bottom":"top":0<=r.width?"right":"left"),h=hp(i),l=(up(t,h,{labelFetcher:o,labelDataIndex:n,defaultText:_w(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u}),t.getTextContent()),h=(s&&l&&(s=i.get(["label","position"]),t.textConfig.inside="middle"===s||null,function(t,e,n,i){if(H(i))t.setTextConfig({rotation:i});else if(F(e))t.setTextConfig({rotation:0});else{var r,i=t.shape,o=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(o+a)/2,i=n(e);switch(i){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=s;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=a;break;default:return t.setTextConfig({rotation:0})}n=1.5*Math.PI-r;"middle"===i&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),t.setTextConfig({rotation:n})}}(t,"outside"===s?u:s,zw(a),i.get(["label","rotate"]))),u=l,s=h,a=o.getRawValue(n),l=function(t){return xw(e,t)},u&&((u=mp(u)).prevValue=u.value,u.value=a,a=s.normal,u.valueAnimation=a.get("valueAnimation"),u.valueAnimation)&&(u.precision=a.get("precision"),u.defaultInterpolatedText=l,u.statesModels=s),i.getModel(["emphasis"]));bu(t,h.get("focus"),h.get("blurScope"),h.get("disabled")),Mu(t,i),null!=(o=r).startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(t.style.fill="none",t.style.stroke="none",B(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var Vw,Fw=function(){},Gw=(u(Hw,Vw=Ks),Hw.prototype.getDefaultShape=function(){return new Fw},Hw.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;le[u-1].coord&&(e.reverse(),h.reverse()),function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Ni((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;si)return;return 1}(a,e))return r=e.mapDimension(a.dim),o={},B(a.getViewLabels(),function(t){t=a.scale.getRawOrdinalNumber(t.tickValue);o[t]=1}),function(t){return!o.hasOwnProperty(e.get(r,t))}}}function CS(t){for(var e,n,i=t.length/2;0l?x:_,(g=Math.abs(d.label.y-l))>=f.maxY&&(m=d.label.x-s-d.len2*h,y=u+d.len,m=Math.abs(m)t.unconstrainedWidth)?null:s,i.setStyle("width",l)),HS(r,i))}function HS(t,e){US.rect=t,Tb(US,e,WS)}var WS={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},US={};function XS(t){return"center"===t.position}function YS(t){var S,M,T=t.getData(),I=[],C=!1,E=(t.get("minShowLabelAngle")||0)*VS,e=T.getLayout("viewRect"),D=T.getLayout("r"),k=e.width,A=e.x,n=e.y,L=e.height;function P(t){t.ignore=!0}if(T.each(function(t){var e,n,i,r,o,a,s,l,u,h,c=T.getItemGraphicEl(t),p=c.shape,d=c.getTextContent(),f=c.getTextGuideLine(),t=T.getItemModel(t),g=t.getModel("label"),y=g.get("position")||t.get(["emphasis","label","position"]),m=g.get("distanceToLabelLine"),v=g.get("alignTo"),_=Y(g.get("edgeDistance"),k),x=g.get("bleedMargin"),t=(null==x&&(x=200=e.r0},QS.type="pie";var KS,$S=QS;function QS(){var t=null!==KS&&KS.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}function JS(t,e,n){e=F(e)?{coordDimensions:e}:P({encodeDefine:t.getEncode()},e);var i=t.getSource(),e=U_(i,e).dimensions,e=new W_(e,t);return e.initData(i,n),e}eM.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},eM.prototype.containName=function(t){return 0<=this._getRawData().indexOfName(t)},eM.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},eM.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)};var tM=eM;function eM(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}var nM,iM=i(),rM=(u(oM,nM=im),oM.prototype.init=function(t){nM.prototype.init.apply(this,arguments),this.legendVisualProvider=new tM(I(this.getData,this),I(this.getRawData,this)),this._defaultLabelLine(t)},oM.prototype.mergeOption=function(){nM.prototype.mergeOption.apply(this,arguments)},oM.prototype.getInitialData=function(){return JS(this,{coordDimensions:["value"],encodeDefaulter:S(Mf,this)})},oM.prototype.getDataParams=function(t){var e,n=this.getData(),i=iM(n),r=i.seats,i=(r||(e=[],n.each(n.mapDimension("value"),function(t){e.push(t)}),r=i.seats=Oo(e,n.hostModel.get("percentPrecision"))),nM.prototype.getDataParams.call(this,t));return i.percent=r[t]||0,i.$vars.push("percent"),i},oM.prototype._defaultLabelLine=function(t){jo(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},oM.type="series.pie",oM.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},oM);function oM(){return null!==nM&&nM.apply(this,arguments)||this}Tp={fullType:rM.type,getCoord2:function(t){return t.getShallow("center")}},zd.set(Tp.fullType,{getCoord2:void 0}).getCoord2=Tp.getCoord2,g1(function(t){t.registerChartView($S),t.registerSeriesModel(rM),i0("pie",t.registerAction),t.registerLayout(S(ES,"pie")),t.registerProcessor(BS("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),e=n.get(e,t);return!(H(e)&&!isNaN(e)&&e<0)})}})});var aM=["itemStyle","borderColor"],sM=["itemStyle","borderColor0"],lM=["itemStyle","borderColorDoji"],uM=["itemStyle","color"],hM=["itemStyle","color0"];function cM(t,e){return e.get(0i[1],i="start"===e&&!t||"start"!==e&&t;e=No(n-eT/2)?(r=i?"bottom":"top","center"):No(n-1.5*eT)?(r=i?"top":"bottom","center"):(r="middle",n<1.5*eT&&eT/2l[0]&&isFinite(c)&&isFinite(l[0]);)h=tx(h),c=l[1]-h*a;else{e=(h=a "+p)),u++)}var d,f,g,i=n.get("coordinateSystem"),i=("cartesian2d"===i||"polar"===i||"matrix"===i?d=$_(t,n):(D(i=(i=Rd.get(i))&&i.dimensions||[],"value")<0&&i.concat(["value"]),i=U_(t,{coordDimensions:i,encodeDefine:n.getEncode()}).dimensions,(d=new W_(i,n)).initData(t)),new W_(["value"],n));return i.initData(l,s),r&&r(d,i),g=(f={mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:i},datasAttr:{node:"data",edge:"edgeData"}}).mainData,(n=f.datas)||(n={main:g},f.datasAttr={main:"data"}),f.datas=f.mainData=null,TC(g,n,f),B(n,function(e){B(g.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,S(xC,f))})}),g.wrapMethod("cloneShallow",S(wC,f)),B(g.CHANGABLE_METHODS,function(t){g.wrapMethod(t,S(bC,f))}),Tt(n[g.dataType]===g),o.update(),o}u(AC,DC=im),AC.prototype.init=function(t){DC.prototype.init.apply(this,arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new tM(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},AC.prototype.mergeOption=function(t){DC.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},AC.prototype.mergeDefaultAndTheme=function(t){DC.prototype.mergeDefaultAndTheme.apply(this,arguments),jo(t,"edgeLabel",["show"])},AC.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],t=t.data||t.nodes||[],o=this;if(t&&i)return FT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},GT(n)),B((n=CC(t,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=Rp.prototype.getModel;function i(t,e){t=n.call(this,t,e);return t.resolveParentPath=r,t}function r(t){var e;return!t||"label"!==t[0]&&"label"!==t[1]?t:(e=t.slice(),"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e)}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=r,t.getModel=i,t})})).edges,function(t){var e,n,i;e=t.node1,n=t.node2,i=this,t=t.dataIndex,FT(i)&&(e=HT(e,n,i),i=(n=i.__edgeMap)[WT(e)],n[e]&&!i?n[e].isForward=!0:i&&n[e]&&(i.isForward=!0,n[e].isForward=!1),n[e]=n[e]||[],n[e].push(t))},this),n.data},AC.prototype.getGraph=function(){return this.getData().graph},AC.prototype.getEdgeData=function(){return this.getGraph().edgeData},AC.prototype.getCategoriesData=function(){return this._categoriesData},AC.prototype.formatTooltip=function(t,e,n){var i,r,o;return"edge"===n?(r=this.getData(),n=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),i=r.getName(o.node1.dataIndex),r=r.getName(o.node2.dataIndex),o=[],null!=i&&o.push(i),null!=r&&o.push(r),Gy("nameValue",{name:o.join(" > "),value:n.value,noValue:null==n.value})):Jy({series:this,dataIndex:t,multipleSeries:e})},AC.prototype._updateCategoriesData=function(){var t=V(this.option.categories||[],function(t){return null!=t.value?t:P({value:0},t)}),e=new W_(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},AC.prototype.setZoom=function(t){this.option.zoom=t},AC.prototype.setCenter=function(t){this.option.center=t},AC.prototype.isAnimationEnabled=function(){return DC.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},AC.type="series.graph",AC.dependencies=["grid","polar","geo","singleAxis","calendar"],AC.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:_.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:_.color.primary}}};var DC,kC=AC;function AC(){var t=null!==DC&&DC.apply(this,arguments)||this;return t.type=AC.type,t.hasSymbolVisual=!0,t}g1(function(t){t.registerChartView(uC),t.registerSeriesModel(kC),t.registerProcessor(NT),t.registerVisual(ET),t.registerVisual(BT),t.registerLayout(KT),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,rI),t.registerLayout(aI),t.registerCoordinateSystem("graphView",{dimensions:pI.dimensions,create:yI}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Vt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Vt),t.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(s,t,l){t.eachComponent({mainType:"series",query:s},function(t){var e,n,i,r,o=l.getViewOfSeriesModel(t),o=(o&&(null!=s.dx&&null!=s.dy&&o.updateViewOnPan(t,l,s),null!=s.zoom)&&null!=s.originX&&null!=s.originY&&o.updateViewOnZoom(t,l,s),t.coordinateSystem),a=(o=o,e=s,a=t.get("scaleLimit"),n=o.getZoom(),i=o.getCenter(),r=e.zoom,i=o.projectedToPoint?o.projectedToPoint(i):o.dataToPoint(i),null!=e.dx&&null!=e.dy&&(i[0]-=e.dx,i[1]-=e.dy,o.setCenter(sI(o,i))),null!=r&&(r=uI(n*r,a)/n,lI(o,e.originX,e.originY,r),o.updateTransform(),o.setCenter(sI(o,i)),o.setZoom(r*n)),{center:o.getCenter(),zoom:o.getZoom()});t.setCenter&&t.setCenter(a.center),t.setZoom&&t.setZoom(a.zoom)})})});u(OC,LC=ym),OC.prototype.render=function(x,t,e){var b=x.getData(),w=this,S=this.group,M=x.getLayerSeries(),n=b.getLayout("layoutInfo"),i=n.rect,n=n.boundaryGap;function r(t){return t.name}S.x=0,S.y=i.y+n[0];var i=new y_(this._layersSeries||[],M,r,r),T=[];function o(t,e,n){var i=w._layers;if("remove"===t)S.remove(i[e]);else{for(var r,o=[],a=[],s=M[e].indices,l=0;le[1]&&e.reverse(),e},r2.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},r2.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)};var n2,i2=r2;function r2(t,e,n,i,r){t=n2.call(this,t,e,n)||this;return t.index=0,t.type=i||"value",t.position=r||"bottom",t}function o2(t,e,n){n=n||{};var i=e.axis,r={},o=i.getAxesOnZeroOf()[0],a=i.position,s=o?"onZero":a,i=i.dim,t=[t.x,t.x+t.width,t.y,t.y+t.height],l={left:0,right:1,top:0,bottom:1,onZero:2},u=e.get("offset")||0,u="x"===i?[t[2]-u,t[3]+u]:[t[0]-u,t[1]+u],h=(o&&(h=o.toGlobalCoord(o.dataToCoord(0)),u[l.onZero]=Math.max(Math.min(h,u[1]),u[0])),r.position=["y"===i?u[l[s]]:t[0],"x"===i?u[l[s]]:t[3]],r.rotation=Math.PI/2*("x"===i?0:1),r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,left:-1,right:1}[a],r.labelOffset=o?u[l[a]]-u[l.onZero]:0,e.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),bt(n.labelInside,e.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection),e.get(["axisLabel","rotate"]));return r.labelRotate="top"===s?-h:h,r.z2=1,r}function a2(i){var r={xAxisModel:null,yAxisModel:null};return B(r,function(t,e){var n=e.replace(/Model$/,""),n=i.getReferringComponents(n,la).models[0];r[e]=n}),r}var s2=[[3,1],[0,2]],l2=(u2.prototype.getRect=function(){return this._rect},u2.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=pt(t),i=n.length;if(i){for(var r=[],o=i-1;0<=o;o--){var a=t[+n[o]],s=a.model,l=a.scale;Q_(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(e1(l,s),Q_(l)&&(e=a))}r.length&&(e||e1((e=r.pop()).scale,e.model),B(r,function(t){LT(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};B(n.x,function(t){c2(n,"y",t,r)}),B(n.y,function(t){c2(n,"x",t,r)}),this.resize(this.model,e)},u2.prototype.resize=function(t,e,n){var i,r,o,a,s,l=Kd(t,e),u=this._rect=Zd(t.getBoxLayoutParams(),l.refContainer),h=this._axesMap,c=this._coordsList,p=t.get("containLabel");d2(h,u),n||(i=u,r=c,n=h,o=p,a=e,s=new aT(m2),B(n,function(t){return B(t,function(t){u1(t.model)&&(t.axisBuilder=function(t,e,n,i,r,o){for(var t=o2(t,n),a=!1,s=!1,l=0;lu[1]&&u.reverse(),(s=null==s||s>u[1]?u[1]:s)n||!!e&&(o=x2(t).seriesDataCount,e=r.getExtent(),Math.abs(e[0]-e[1])/o>n)):!0===i)},Z2.prototype.makeElOption=function(t,e,n,i,r){},Z2.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;r&&(r=U2(t).pointerEl=new op[r.type](X2(e.pointer)),t.add(r))},Z2.prototype.createLabelEl=function(t,e,n,i){e.label&&(e=U2(t).labelEl=new _l(X2(e.label)),t.add(e),q2(e,i))},Z2.prototype.updatePointerEl=function(t,e,n){t=U2(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},Z2.prototype.updateLabelEl=function(t,e,n,i){t=U2(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{x:e.label.x,y:e.label.y}),q2(t,i))},Z2.prototype._renderHandle=function(t){var e,n,i,r,o,a;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,r=e.getModel("handle"),a=e.get("status"),r.get("show")&&a&&"hide"!==a?(this._handle||(o=!0,i=this._handle=Yc(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Le(t.event)},onmousedown:Y2(this._onHandleDragMove,this,0,0),drift:Y2(this._onHandleDragMove,this),ondragend:Y2(this._onHandleDragEnd,this)}),n.add(i)),$2(i,e,!1),i.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),F(a=r.get("size"))||(a=[a,a]),i.scaleX=a[0]/2,i.scaleY=a[1]/2,Cm(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,o)):(i&&n.remove(i),this._handle=null))},Z2.prototype._moveHandleToValue=function(t,e){j2(this._axisPointerModel,!e&&this._moveAnimation,this._handle,K2(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},Z2.prototype._onHandleDragMove=function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(K2(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(K2(t)),U2(n).lastProp=null,this._doDispatchAxisPointer())},Z2.prototype._doDispatchAxisPointer=function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},Z2.prototype._onHandleDragEnd=function(){var t;this._dragging=!1,this._handle&&(t=this._axisPointerModel.get("value"),this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"}))},Z2.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var t=t.getZr(),e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Dm(this,"_doDispatchAxisPointer")},Z2.prototype.doClear=function(){},Z2.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},Z2);function Z2(){this._dragging=!1,this.animationThreshold=15}function j2(t,e,n,i){!function n(i,t){{var r;return E(i)&&E(t)?(r=!0,B(t,function(t,e){r=r&&n(i[e],t)}),!!r):i===t}}(U2(n).lastProp,i)&&(U2(n).lastProp=i,e?vc(n,i,t):(n.stopAnimation(),n.attr(i)))}function q2(t,e){t[e.get(["label","show"])?"show":"hide"]()}function K2(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function $2(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function Q2(t){var e,n=t.get("type"),t=t.getModel(n+"Style");return"line"===n?(e=t.getLineStyle()).fill=null:"shadow"===n&&((e=t.getAreaStyle()).stroke=null),e}function J2(t,e,n,i,r){var o=tD(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),n=n.getModel("label"),a=Md(n.get("padding")||0),s=n.getFont(),l=Xr(o,s),u=r.position,h=l.width+a[1]+a[3],l=l.height+a[0]+a[2],c=r.align,c=("right"===c&&(u[0]-=h),"center"===c&&(u[0]-=h/2),r.verticalAlign),i=("bottom"===c&&(u[1]-=l),"middle"===c&&(u[1]-=l/2),r=u,c=h,h=l,i=(l=i).getWidth(),l=l.getHeight(),r[0]=Math.min(r[0]+c,i)-c,r[1]=Math.min(r[1]+h,l)-h,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0),n.get("backgroundColor"));i&&"auto"!==i||(i=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:cp(n,{text:o,font:s,fill:n.getTextColor(),padding:a,backgroundColor:i}),z2:10}}function tD(t,e,n,i,r){t=e.scale.parse(t);var o,a=e.scale.getLabel({value:t},{precision:r.precision}),r=r.formatter;return r&&(o={value:r1(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},B(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&o.seriesData.push(e)}),G(r)?a=r.replace("{value}",a):N(r)&&(a=r(o))),a}function eD(t,e,n){var i=ze();return He(i,i,n.rotation),Ge(i,i,n.position),Gc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function nD(t,e,n,i,r,o){var a=dT.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),J2(e,i,r,o,{position:eD(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function iD(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function rD(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function oD(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}u(lD,aD=Xl),lD.prototype.makeElOption=function(t,e,n,i,r){var o,a=n.axis,s=("angle"===a.dim&&(this.animationThreshold=Math.PI/18),a.polar),l=s.getOtherAxis(a).getExtent(),u=a.dataToCoord(e),h=i.get("type"),a=(h&&"none"!==h&&(o=Q2(i),(h=hD[h](a,s,u,l)).style=o,t.graphicKey=h.type,t.pointer=h),i.get(["label","margin"]));J2(t,n,i,r,function(t,e,n,i){var r,o,a=e.axis,t=a.dataToCoord(t),s=(l=(l=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());{var l;s="radius"===a.dim?(a=ze(),He(a,a,l),Ge(a,a,[n.cx,n.cy]),r=Gc([t,-i],a),a=e.getModel("axisLabel").get("rotate")||0,e=dT.innerTextLayout(l,a*Math.PI/180,-1),o=e.textAlign,e.textVerticalAlign):(l=s[1],r=n.coordToPoint([l+i,t]),a=n.cx,e=n.cy,o=Math.abs(r[0]-a)/l<.3?"center":r[0]>a?"left":"right",Math.abs(r[1]-e)/l<.3?"middle":r[1]>e?"top":"bottom")}return{position:r,align:o,verticalAlign:s}}(e,n,s,a))};var aD,sD=lD;function lD(){return null!==aD&&aD.apply(this,arguments)||this}var uD,hD={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:iD(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:oD(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:oD(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},cD=(u(pD,uD=Xl),pD.prototype.makeElOption=function(t,e,n,i,r){var o,a=n.axis,s=a.grid,l=i.get("type"),u=dD(s,a).getOtherAxis(a).getGlobalExtent(),h=a.toGlobalCoord(a.dataToCoord(e,!0)),a=(l&&"none"!==l&&(o=Q2(i),(l=fD[l](a,h,u)).style=o,t.graphicKey=l.type,t.pointer=l),o2(s.getRect(),n));nD(e,t,a,n,i,r)},pD.prototype.getHandleTransform=function(t,e,n){var i=o2(e.axis.grid.getRect(),e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),eD(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},pD.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,r=n.grid,o=n.getGlobalExtent(!0),r=dD(r,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(o[1],a[n]),a[n]=Math.max(o[0],a[n]),(r[1]+r[0])/2),o=[e,e];o[n]=a[n];return{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:o,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}},pD);function pD(){return null!==uD&&uD.apply(this,arguments)||this}function dD(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var fD={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:iD([e,n[0]],[e,n[1]],gD(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:rD([e-i/2,n[0]],[i,r],gD(t))}}};function gD(t){return"x"===t.dim?0:1}u(vD,yD=g),vD.type="axisPointer",vD.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:_.color.border,width:1,type:"dashed"},shadowStyle:{color:_.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:_.color.neutral00,padding:[5,7,5,7],backgroundColor:_.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:_.color.accent40,throttle:40}};var yD,mD=vD;function vD(){var t=null!==yD&&yD.apply(this,arguments)||this;return t.type=vD.type,t}var _D=i(),xD=B;function bD(t,e,n){var i,c,p;function r(t,h){c.on(t,function(e){n=p;var n,i,r={dispatchAction:o,pendings:i={showTip:[],hideTip:[]}};function o(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=o,n.dispatchAction(t))}xD(_D(c).records,function(t){t&&h(t,e,r.dispatchAction)});var t,a=r.pendings,s=p,l=a.showTip.length,u=a.hideTip.length;l?t=a.showTip[l-1]:u&&(t=a.hideTip[u-1]),t&&(t.dispatchAction=null,s.dispatchAction(t))})}w.node||(i=e.getZr(),_D(i).records||(_D(i).records={}),p=e,_D(c=i).initialized||(_D(c).initialized=!0,r("click",S(SD,"click")),r("mousemove",S(SD,"mousemove")),r("globalout",wD)),(_D(i).records[t]||(_D(i).records[t]={})).handler=n)}function wD(t,e,n){t.handler("leave",null,n)}function SD(t,e,n,i){e.handler(t,n,i)}function MD(t,e){w.node||(e=e.getZr(),(_D(e).records||{})[t]&&(_D(e).records[t]=null))}u(CD,TD=cm),CD.prototype.render=function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";bD("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},CD.prototype.remove=function(t,e){MD("axisPointer",e)},CD.prototype.dispose=function(t,e){MD("axisPointer",e)},CD.type="axisPointer";var TD,ID=CD;function CD(){var t=null!==TD&&TD.apply(this,arguments)||this;return t.type=CD.type,t}function DD(t,e){var n,i,r,o,a=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||null==(s=ra(n=e.getData(),t))||s<0||F(s)?{point:[]}:(i=n.getItemGraphicEl(s),r=e.coordinateSystem,e.getTooltipPosition?a=e.getTooltipPosition(s)||[]:r&&r.dataToPoint?a=t.isStacked?(e=r.getBaseAxis(),t=r.getOtherAxis(e).dim,e=e.dim,t="x"===t||"radius"===t?1:0,e=n.mapDimension(e),(o=[])[t]=n.get(e,s),o[1-t]=n.get(n.getCalculationInfo("stackResultDimension"),s),r.dataToPoint(o)||[]):r.dataToPoint(n.getValues(V(r.dimensions,function(t){return n.mapDimension(t)}),s))||[]:i&&((e=i.getBoundingRect().clone()).applyTransform(i.transform),a=[e.x+e.width/2,e.y+e.height/2]),{point:a,el:i})}var kD=i();function AD(t,e,n){var o,a,i,s,l,r,u,h,c,p,d,f,g,y,m=t.currTrigger,v=[t.x,t.y],_=t,x=t.dispatchAction||I(n.dispatchAction,n),b=e.getComponent("axisPointer").coordSysAxesInfo;if(b)return ND(v)&&(v=DD({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},e).point),o=ND(v),a=_.axesInfo,i=b.axesInfo,s="leave"===m||ND(v),l={},e={list:[],map:{}},u={showPointer:S(PD,r={}),showTooltip:S(OD,e)},B(b.coordSysMap,function(t,e){var r=o||t.containPoint(v);B(b.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);s||!r||a&&!i||null!=(i=null!=(i=i&&i.value)||o?i:n.pointToData(v))&&LD(t,i,u,!1,l)})}),h={},B(i,function(n,t){var i=n.linkGroup;i&&!r[t]&&B(i.axesInfo,function(t,e){var e=r[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,RD(t),RD(n)))),h[n.key]=e)})}),B(h,function(t,e){LD(i[e],t,u,!0,l)}),c=r,_=i,p=l.axesInfo=[],B(_,function(t,e){var n=t.axisPointerModel.option,e=c[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&p.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),m=e,_=t,e=x,ND(t=v)||!m.list.length?e({type:"hideTip"}):(x=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:x.dataIndexInside,dataIndex:x.dataIndex,seriesIndex:x.seriesIndex,dataByCoordSys:m.list})),e=i,_=(t=n).getZr(),x="axisPointerLastHighlights",d=kD(_)[x]||{},f=kD(_)[x]={},B(e,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&B(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;f[e]=t})}),g=[],y=[],B(d,function(t,e){f[e]||y.push(t)}),B(f,function(t,e){d[e]||g.push(t)}),y.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),l}function LD(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(a=e,s=t.axis,l=s.dim,u=a,h=[],c=Number.MAX_VALUE,p=-1,B(t.seriesModels,function(e,t){var n,i=e.getData().mapDimensionsAll(l);if(e.getAxisTooltipData)var r=e.getAxisTooltipData(i,a,s),o=r.dataIndices,r=r.nestestValue;else{if(!(o=e.indicesOfNearest(l,i[0],a,"category"===s.type?.5:null)).length)return;r=e.getData().get(i[0],o[0])}null!=r&&isFinite(r)&&(i=a-r,(n=Math.abs(i))<=c)&&((ne[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var t=t-this.cx,e=e-this.cy,t=t*t+e*e,e=this.r,n=this.r0;return e!==n&&t-1e-4<=e*e&&n*n<=1e-4+t},x:this.cx-e[1],y:this.cy-e[1],width:2*e[1],height:2*e[1]}},ik.prototype.convertToPixel=function(t,e,n){return rk(e)===this?this.dataToPoint(n):null},ik.prototype.convertFromPixel=function(t,e,n){return rk(e)===this?this.pointToData(n):null},ik);function ik(t){this.dimensions=ek,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new qD,this._angleAxis=new JD,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}function rk(t){var e=t.seriesModel,t=t.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function ok(t,e){var n,i=this,r=i.getAngleAxis(),o=i.getRadiusAxis();r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){var e;t.coordinateSystem===i&&(B(s1(e=t.getData(),"radius"),function(t){o.scale.unionExtentFromData(e,t)}),B(s1(e,"angle"),function(t){r.scale.unionExtentFromData(e,t)}))}),e1(r.scale,r.model),e1(o.scale,o.model),"category"!==r.type||r.onBand||(t=r.getExtent(),n=360/r.scale.count(),r.inverse?t[1]+=n:t[1]-=n,r.setExtent(t[0],t[1]))}function ak(t,e){var n,i;t.type=e.get("type"),t.scale=n1(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse=t.inverse!==e.get("clockwise"),n=e.get("startAngle"),i=null!=(i=e.get("endAngle"))?i:n+(t.inverse?-360:360),t.setExtent(n,i)),(e.axis=t).model=e}var sk={dimensions:ek,create:function(t,a){var s=[];return t.eachComponent("polar",function(t,e){var e=new nk(e+""),n=(e.update=ok,e.getRadiusAxis()),i=e.getAngleAxis(),r=t.findAxisModel("radiusAxis"),o=t.findAxisModel("angleAxis");ak(n,r),ak(i,o),n=e,r=a,o=(i=t).get("center"),r=Kd(i,r).refContainer,n.cx=Y(o[0],r.width)+r.x,n.cy=Y(o[1],r.height)+r.y,o=n.getRadiusAxis(),n=Math.min(r.width,r.height)/2,null==(r=i.get("radius"))?r=[0,"100%"]:F(r)||(r=[0,r]),i=[Y(r[0],n),Y(r[1],n)],o.inverse?o.setExtent(i[1],i[0]):o.setExtent(i[0],i[1]),s.push(e),(t.coordinateSystem=e).model=t}),t.eachSeries(function(t){var e;"polar"===t.get("coordinateSystem")&&(e=t.getReferringComponents("polar",la).models[0],t.coordinateSystem=e.coordinateSystem)}),s}},lk=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function uk(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function hk(t){return t.getRadiusAxis().inverse?0:1}function ck(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}u(fk,pk=T2),fk.prototype.render=function(e,t){var n,i,r,o,a,s;this.group.removeAll(),e.get("show")&&(n=e.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords({breakTicks:"none"}),a=n.getMinorTicksCoords(),ck(s=V(n.getViewLabels(),function(t){t=v(t);var e=n.scale,e="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(e),t})),ck(o),B(lk,function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||yk[t](this.group,e,i,o,a,r,s)},this))},fk.type="angleAxis";var pk,dk=fk;function fk(){var t=null!==pk&&pk.apply(this,arguments)||this;return t.type=fk.type,t.axisPointerClass="PolarAxisPointer",t}var gk,yk={axisLine:function(t,e,n,i,r,o){var e=e.getModel(["axisLine","lineStyle"]),a=n.getAngleAxis(),s=Math.PI/180,l=a.getExtent(),u=hk(n),h=u?0:1,c=360===Math.abs(l[1]-l[0])?"Circle":"Arc",c=0===o[h]?new op[c]({shape:{cx:n.cx,cy:n.cy,r:o[u],startAngle:-l[0]*s,endAngle:-l[1]*s,clockwise:a.inverse},style:e.getLineStyle(),z2:1,silent:!0}):new bh({shape:{cx:n.cx,cy:n.cy,r:o[u],r0:o[h]},style:e.getLineStyle(),z2:1,silent:!0});c.style.fill=null,t.add(c)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[hk(n)],o=V(i,function(t){return new Nh({shape:uk(n,[l,l+s],t.coord)})});t.add(Ec(o,{style:z(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[hk(n)],h=[],c=0;ca?"left":"right",r=Math.abs(o[1]-s)/r<.3?"middle":o[1]>s?"top":"bottom",l=(d&&d[i]&&E(s=d[i])&&s.textStyle&&(n=new Rp(s.textStyle,f,f.ecModel)),new _l({silent:dT.isLabelSilent(h),style:cp(n,{x:o[0],y:o[1],fill:n.getTextColor()||h.get(["axisLine","lineStyle","color"]),text:t.formattedLabel,align:a,verticalAlign:r})}));u.add(l),$c({el:l,componentModel:h,itemName:t.formattedLabel,formatterParamsExtra:{isTruncated:function(){return l.isTruncated},value:t.rawLabel,tickIndex:e}}),y&&((i=dT.makeAxisEventDataBase(h)).targetType="axisLabel",i.value=t.rawLabel,Z(l).eventData=i)},this)},splitLine:function(t,e,n,i,r,o){for(var a=e.getModel("splitLine").getModel("lineStyle"),s=0,l=(l=a.get("color"))instanceof Array?l:[l],u=[],h=0;h=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},Wk.prototype.pointToData=function(t,e,n){n=n||[];var i=this.getAxis();return n[0]=i.coordToData(i.toLocalCoord(t["horizontal"===i.orient?0:1])),n},Wk.prototype.dataToPoint=function(t,e,n){var i=this.getAxis(),r=this.getRect(),o=(n=n||[],"horizontal"===i.orient?0:1);return t instanceof Array&&(t=t[0]),n[o]=i.toGlobalCoord(i.dataToCoord(+t)),n[1-o]=0==o?r.y+r.height/2:r.x+r.width/2,n},Wk.prototype.convertToPixel=function(t,e,n){return Uk(e)===this?this.dataToPoint(n):null},Wk.prototype.convertFromPixel=function(t,e,n){return Uk(e)===this?this.pointToData(n):null},Wk);function Wk(t,e,n){this.type="single",this.dimension="single",this.dimensions=Gk,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}function Uk(t){var e=t.seriesModel,t=t.singleAxisModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}var Xk,Yk={create:function(i,r){var o=[];return i.eachComponent("singleAxis",function(t,e){var n=new Hk(t,i,r);n.name="single_"+e,n.resize(t,r),t.coordinateSystem=n,o.push(n)}),i.eachSeries(function(t){var e;"singleAxis"===t.get("coordinateSystem")&&(e=t.getReferringComponents("singleAxis",la).models[0],t.coordinateSystem=e&&e.coordinateSystem)}),o},dimensions:Gk},Zk=["x","y"],jk=["width","height"],qk=(u(Kk,Xk=Xl),Kk.prototype.makeElOption=function(t,e,n,i,r){var o,a=n.axis,s=a.coordinateSystem,l=Jk(s,1-Qk(a)),s=s.dataToPoint(e)[0],u=i.get("type"),a=(u&&"none"!==u&&(o=Q2(i),(u=$k[u](a,s,l)).style=o,t.graphicKey=u.type,t.pointer=u),kk(n));nD(e,t,a,n,i,r)},Kk.prototype.getHandleTransform=function(t,e,n){var i=kk(e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),eD(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},Kk.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,r=n.coordinateSystem,n=Qk(n),o=Jk(r,n),a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(o[1],a[n]),a[n]=Math.max(o[0],a[n]),Jk(r,1-n)),o=(e[1]+e[0])/2,r=[o,o];return r[n]=a[n],{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:r,tooltipOption:{verticalAlign:"middle"}}},Kk);function Kk(){return null!==Xk&&Xk.apply(this,arguments)||this}var $k={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:iD([e,n[0]],[e,n[1]],Qk(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:rD([e-i/2,n[0]],[i,r],Qk(t))}}};function Qk(t){return t.isHorizontal()?0:1}function Jk(t,e){t=t.getRect();return[t[Zk[e]],t[Zk[e]]+t[jk[e]]]}u(nA,tA=cm),nA.type="single";var tA,eA=nA;function nA(){var t=null!==tA&&tA.apply(this,arguments)||this;return t.type=nA.type,t}g1(function(t){g1(ED),T2.registerAxisPointerClass("SingleAxisPointer",qk),t.registerComponentView(eA),t.registerComponentView(Pk),t.registerComponentModel(Ek),jC(t,"single",Ek,Ek.defaultOption),t.registerCoordinateSystem("single",Yk)});u(oA,iA=g),oA.type="title",oA.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:_.size.m,backgroundColor:_.color.transparent,borderColor:_.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:_.color.primary},subtextStyle:{fontSize:12,color:_.color.quaternary}};var iA,rA=oA;function oA(){var t=null!==iA&&iA.apply(this,arguments)||this;return t.type=oA.type,t.layoutMode={type:"box",ignoreSize:!0},t}u(lA,aA=cm),lA.prototype.render=function(t,e,n){var i,r,o,a,s,l,u,h,c;this.group.removeAll(),t.get("show")&&(i=this.group,u=t.getModel("textStyle"),r=t.getModel("subtextStyle"),h=t.get("textAlign"),c=W(t.get("textBaseline"),t.get("textVerticalAlign")),s=(u=new _l({style:cp(u,{text:t.get("text"),fill:u.getTextColor()},{disableBox:!0}),z2:10})).getBoundingRect(),l=t.get("subtext"),r=new _l({style:cp(r,{text:l,fill:r.getTextColor(),y:s.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),o=t.get("link"),a=t.get("sublink"),s=t.get("triggerEvent",!0),u.silent=!o&&!s,r.silent=!a&&!s,o&&u.on("click",function(){Ld(o,"_"+t.get("target"))}),a&&r.on("click",function(){Ld(a,"_"+t.get("subtarget"))}),Z(u).eventData=Z(r).eventData=s?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(u),l&&i.add(r),s=i.getBoundingRect(),(l=t.getBoxLayoutParams()).width=s.width,l.height=s.height,l=Zd(l,Kd(t,n).refContainer,t.get("padding")),h||("right"===(h="middle"===(h=t.get("left")||t.get("right"))?"center":h)?l.x+=l.width:"center"===h&&(l.x+=l.width/2)),c||("bottom"===(c="center"===(c=t.get("top")||t.get("bottom"))?"middle":c)?l.y+=l.height:"middle"===c&&(l.y+=l.height/2),c=c||"top"),i.x=l.x,i.y=l.y,i.markRedraw(),u.setStyle(n={align:h,verticalAlign:c}),r.setStyle(n),s=i.getBoundingRect(),u=l.margin,(h=t.getItemStyle(["color","opacity"])).fill=t.get("backgroundColor"),c=new dl({shape:{x:s.x-u[3],y:s.y-u[0],width:s.width+u[1]+u[3],height:s.height+u[0]+u[2],r:t.get("borderRadius")},style:h,subPixelOptimize:!0,silent:!0}),i.add(c))},lA.type="title";var aA,sA=lA;function lA(){var t=null!==aA&&aA.apply(this,arguments)||this;return t.type=lA.type,t}g1(function(t){t.registerComponentModel(rA),t.registerComponentView(sA)});u(cA,uA=g),cA.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},cA.prototype.mergeOption=function(t,e){uA.prototype.mergeOption.call(this,t,e),this._updateSelector(t)},cA.prototype._updateSelector=function(t){var n=t.selector,i=this.ecModel;F(n=!0===n?t.selector=["all","inverse"]:n)&&B(n,function(t,e){G(t)&&(t={type:t}),n[e]=d(t,(e=i,"all"===(t=t.type)?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0))})},cA.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;nn[r],f=[-c.x,-c.y],e=(e||(f[i]=l[s]),[0,0]),s=[-p.x,-p.y],g=W(t.get("pageButtonGap",!0),t.get("itemGap",!0)),f=(d&&("end"===t.get("pageButtonPosition",!0)?s[i]+=n[r]-p[r]:e[i]+=p[r]+g),s[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(e),h.setPosition(s),{x:0,y:0}),c=(f[r]=(d?n:c)[r],f[o]=Math.max(c[o],p[o]),f[a]=Math.min(0,p[a]+s[1-i]),u.__rectSize=n[r],d?((e={x:0,y:0})[r]=Math.max(n[r]-p[r]-g,0),e[o]=f[o],u.setClipPath(new dl({shape:e})),u.__rectSize=e[r]):h.eachChild(function(t){t.attr({invisible:!0,silent:!0})}),this._getPageInfo(t));return null!=c.pageIndex&&vc(l,{x:c.contentPosition[0],y:c.contentPosition[1]},d?t:null),this._updatePageInfoView(t,c),f},NA.prototype._pageGo=function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},NA.prototype._updatePageInfoView=function(n,i){var r=this._controllerGroup,t=(B(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=r.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")}),r.childOfName("pageText")),e=n.get("pageFormatter"),o=i.pageIndex,o=null!=o?o+1:0,a=i.pageCount;t&&e&&t.setStyle("text",G(e)?e.replace("{current}",null==o?"":o+"").replace("{total}",null==a?"":a+""):e({current:o,total:a}))},NA.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,t=t.getOrient().index,r=PA[t],o=OA[t],e=this._findTargetItemIndex(e),a=n.children(),s=a[e],l=a.length,u=l?1:0,h={contentPosition:[n.x,n.y],pageCount:u,pageIndex:u-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s);h.contentPosition[t]=-n.s;for(var c=e+1,p=n,d=n,f=null;c<=l;++c)(!(f=g(a[c]))&&d.e>p.s+i||f&&!y(f,p.s))&&(p=d.i>p.i?d:f)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=p.i),++h.pageCount),d=f;for(c=e-1,p=n,d=n,f=null;-1<=c;--c)(f=g(a[c]))&&y(d,f.s)||!(p.i=e&&t.s<=e+i}},NA.prototype._findTargetItemIndex=function(n){var i,r;return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==r&&null!=t&&(r=e),t===n&&(i=e)}),null!=i?i:r):0},NA.type="legend.scroll",NA);function NA(){var t=null!==AA&&AA.apply(this,arguments)||this;return t.type=NA.type,t.newlineDisabled=!0,t._currentIndex=0,t}g1(function(t){g1(TA),t.registerComponentModel(CA),t.registerComponentView(RA),t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})});u(BA,EA=g),BA.type="tooltip",BA.dependencies=["axisPointer"],BA.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:_.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:_.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:_.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:_.color.tertiary,fontSize:14}};var EA,zA=BA;function BA(){var t=null!==EA&&EA.apply(this,arguments)||this;return t.type=BA.type,t}function VA(t){var e=t.get("confine");return null!=e?e:"richText"===t.get("renderMode")}function FA(t){if(w.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n'):""),G(t))o.innerHTML=t+c;else if(t){o.innerHTML="",F(t)||(t=[t]);for(var p,d=0;d"),o=f.join(e);this._showOrMove(i,function(){this._updateContentNotChangedOnAxis(t,p)?this._updatePosition(i,r,n[0],n[1],this._tooltipContent,p):this._showTooltipContent(i,o,p,Math.random()+"",n[0],n[1],r,null,g)})},oL.prototype._showSeriesItemTooltip=function(t,e,n){var i,r,o,a,s,l=this._ecModel,e=Z(e),u=e.seriesIndex,h=l.getSeriesByIndex(u),c=e.dataModel||h,p=e.dataIndex,e=e.dataType,d=c.getData(e),f=this._renderMode,g=t.positionDefault,y=aL([d.getItemModel(p),c,h&&(h.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null),h=y.get("trigger");null!=h&&"item"!==h||(i=c.getDataParams(p,e),r=new $y,i.marker=r.makeTooltipMarker("item",Ad(i.color),f),g=Wg(c.formatTooltip(p,!1,e)),h=y.get("order"),e=y.get("valueFormatter"),o=g.frag,a=o?Yy(e?P({valueFormatter:e},o):o,r,f,h,l.get("useUTC"),y.get("textStyle")):g.text,s="item_"+c.name+"_"+p,this._showOrMove(y,function(){this._showTooltipContent(y,a,i,s,t.offsetX,t.offsetY,t.position,t.target,r)}),n({type:"showTip",dataIndexInside:p,dataIndex:d.getRawIndex(p),seriesIndex:u,from:this.uid}))},oL.prototype._showComponentItemTooltip=function(e,n,t){var i="html"===this._renderMode,r=Z(n),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent,a=(G(o)&&(o={content:o,formatter:o},a=!0),a&&i&&o.content&&((o=v(o)).content=Se(o.content)),[o]),i=this._ecModel.getComponent(r.componentMainType,r.componentIndex),r=(i&&a.push(i),a.push({formatter:o.content}),e.positionDefault),s=aL(a,this._tooltipModel,r?{position:r}:null),l=s.get("content"),u=Math.random()+"",h=new $y;this._showOrMove(s,function(){var t=v(s.get("formatterParams")||{});this._showTooltipContent(s,l,t,u,e.offsetX,e.offsetY,e.position,n,h)}),t({type:"showTip",from:this.uid})},oL.prototype._showTooltipContent=function(n,t,i,e,r,o,a,s,l){var u,h,c,p,d;this._ticket="",n.get("showContent")&&n.get("show")&&((u=this._tooltipContent).setEnterable(n.get("enterable")),h=n.get("formatter"),a=a||n.get("position"),t=t,c=this._getNearestPoint([r,o],i,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)).color,h&&(t=G(h)?(p=n.ecModel.get("useUTC"),t=h,Dd(t=(d=F(i)?i[0]:i)&&d.axisType&&0<=d.axisType.indexOf("time")?ad(d.axisValue,t,p):t,i,!0)):N(h)?(d=I(function(t,e){t===this._ticket&&(u.setContent(e,l,n,c,a),this._updatePosition(n,a,r,o,u,i,s))},this),this._ticket=e,h(i,e,d)):h),u.setContent(t,l,n,c,a),u.show(n,c),this._updatePosition(n,a,r,o,u,i,s))},oL.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||F(e)?{color:i||r}:F(e)?void 0:{color:i||e.color||e.borderColor}},oL.prototype._updatePosition=function(t,e,n,i,r,o,a){var s,l=this._api.getWidth(),u=this._api.getHeight(),h=(e=e||t.get("position"),r.getSize()),c=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();a&&d.applyTransform(a.transform),F(e=N(e)?e([n,i],o,r.el,d,{viewSize:[l,u],contentSize:h.slice()}):e)?(n=Y(e[0],l),i=Y(e[1],u)):E(e)?((o=e).width=h[0],o.height=h[1],n=(o=Zd(o,{width:l,height:u})).x,i=o.y,p=c=null):i=(n=(s=G(e)&&a?function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,h,t.get("borderWidth")):function(t,e,n,i,r,o,a){var n=n.getSize(),s=n[0],n=n[1];null!=o&&(ih[0]?s:r)[0]:o[0]=(a[0]>h[0]?r:s)[0],"y0"===n[1]?o[1]=(a[1]>h[1]?s:r)[1]:o[1]=(a[1]>h[1]?r:s)[1],i.getMarkerPosition(o,n,!0)):(a=[l=t.get(n[0],e),u=t.get(n[1],e)],c.clampData&&c.clampData(a,a),c.dataToPoint(a,!0)),vw(c,"cartesian2d")&&(r=c.getAxis("x"),s=c.getAxis("y"),l=t.get(n[0],e),u=t.get(n[1],e),KL(l)?h[0]=r.toGlobalCoord(r.getExtent()["x0"===n[0]?0:1]):KL(u)&&(h[1]=s.toGlobalCoord(s.getExtent()["y0"===n[1]?0:1]))),isNaN(d)||(h[0]=d),isNaN(p)||(h[1]=p)):h=[d,p],h}var tP,eP=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],nP=(u(iP,tP=_a),iP.prototype.updateTransform=function(t,e,r){e.eachSeries(function(n){var i,t=dL.getMarkerModelFromSeries(n,"markArea");t&&(i=t.getData()).each(function(e){var t=V(eP,function(t){return JL(i,e,t,n,r)});i.setItemLayout(e,t),i.getItemGraphicEl(e).setShape("points",t)})},this)},iP.prototype.renderSeries=function(a,r,t,s){var l=a.coordinateSystem,e=a.id,u=a.getData(),n=this.markerGroupMap,o=n.get(e)||n.set(e,{group:new ho}),h=(this.group.add(o.group),this.markKeep(o),function(t,n,e){var i,r;{var o;i=t?(o=V(t&&t.dimensions,function(t){var e=n.getData();return P(P({},e.getDimensionInfo(e.mapDimension(t))||{}),{name:t,ordinalMeta:null})}),r=V(["x0","y0","x1","y1"],function(t,e){return{name:t,type:o[e%2].type}}),new W_(r,e)):new W_(r=[{name:"value",type:"float"}],e)}e=V(e.get("data"),S(jL,n,t,e));t&&(e=ht(e,S(QL,t)));t=t?function(t,e,n,i){return ny(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return ny(t.value,r[i])};return i.initData(e,null,t),i.hasItemOption=!0,i}(l,a,r));r.setData(h),h.each(function(e){var t=V(eP,function(t){return JL(h,e,t,a,s)}),n=l.getAxis("x").scale,i=l.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),n=[n.parse(h.get("x0",e)),n.parse(h.get("x1",e))],i=[i.parse(h.get("y0",e)),i.parse(h.get("y1",e))],r=(ko(n),ko(i),!(r[0]>n[1]||r[1]i[1]||o[1]":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},oP=(aP.prototype.evaluate=function(t){var e=typeof t;return G(e)?this._condVal.test(t):!!H(e)&&this._condVal.test(t+"")},aP);function aP(t){null==(this._condVal=G(t)?new RegExp(t):_t(t)?t:null)&&f("")}lP.prototype.evaluate=function(){return this.value};var sP=lP;function lP(){}hP.prototype.evaluate=function(){for(var t=this.children,e=0;e>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",o[u]+":0",i[1-l]+":auto",o[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}e.clearMarkers=function(){nt(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})}}return n}(e,r),r,o);if(e)return e(t,n,i),!0}return!1}function xe(t){return"CANVAS"===t.nodeName.toUpperCase()}var be=/([&<>"'])/g,we={"&":"&","<":"<",">":">",'"':""","'":"'"};function Se(t){return null==t?"":(t+"").replace(be,function(t,e){return we[e]})}var Me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=[],Ie=w.browser.firefox&&+w.browser.version.split(".")[0]<39;function Ce(t,e,n,i){return n=n||{},i?De(t,e,n):Ie&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):De(t,e,n),n}function De(t,e,n){if(w.domSupported&&t.getBoundingClientRect){var i,o=e.clientX,e=e.clientY;if(xe(t))return i=t.getBoundingClientRect(),n.zrX=o-i.left,void(n.zrY=e-i.top);if(_e(Te,t,o,e))return n.zrX=Te[0],void(n.zrY=Te[1])}n.zrX=n.zrY=0}function ke(t){return t||window.event}function Ae(t,e,n){var i;return null==(e=ke(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&Ce(t,i,e,n):(Ce(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},sn.prototype.contain=function(t,e){return sn.contain(this,t,e)},sn.prototype.clone=function(){return new sn(this.x,this.y,this.width,this.height)},sn.prototype.copy=function(t){sn.copy(this,t)},sn.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},sn.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},sn.prototype.isZero=function(){return 0===this.width||0===this.height},sn.create=function(t){return new sn(t.x,t.y,t.width,t.height)},sn.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},sn.applyTransform=function(t,e,n){var i,o,r,a;n?n[1]<1e-5&&-1e-5t.getWidth()||n<0||n>t.getHeight()}nt(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){bn.prototype[a]=function(t){var e,n,i=t.zrX,o=t.zrY,r=Mn(this,i,o);if("mouseup"===a&&r||(n=(e=this.findHover(i,o)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4>>1])<0?l=r:s=1+r;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);r(t,e[n+h])<0?l=h:a=h+1}return l}function Ln(A,L){var P,O,R=In,N=0,E=[];function e(t){var e=P[t],n=O[t],i=P[t+1],o=O[t+1],t=(O[t]=n+o,t===N-3&&(P[t+1]=P[t+2],O[t+1]=O[t+2]),N--,An(A[i],A,e,n,0,L));if(e+=t,0!=(n-=t)&&0!==(o=kn(A[e+n-1],A,i,o,o-1,L)))if(n<=o){var r=e,a=n,t=i,s=o,l=0;for(l=0;lO[t+1])break;e(t)}},forceMergeRuns:function(){for(;1>=1;return t+e}(o);do{}while((r=Cn(t,n,i,e))=this._maxSize&&0>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===i?parseInt(n.slice(4),16)/15:1),ki(t,e),e):void Ti(e,0,0,0,1):7===i||9===i?0<=(o=parseInt(n.slice(1,7),16))&&o<=16777215?(Ti(e,(16711680&o)>>16,(65280&o)>>8,255&o,9===i?parseInt(n.slice(7),16)/255:1),ki(t,e),e):void Ti(e,0,0,0,1):void 0;var o=n.indexOf("("),r=n.indexOf(")");if(-1!==o&&r+1===i){var i=n.substr(0,o),a=n.substr(o+1,r-(o+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?Ti(e,+a[0],+a[1],+a[2],1):Ti(e,0,0,0,1);s=wi(a.pop());case"rgb":return 3<=a.length?(Ti(e,bi(a[0]),bi(a[1]),bi(a[2]),3===a.length?s:wi(a[3])),ki(t,e),e):void Ti(e,0,0,0,1);case"hsla":return 4!==a.length?void Ti(e,0,0,0,1):(a[3]=wi(a[3]),Li(a,e),ki(t,e),e);case"hsl":return 3!==a.length?void Ti(e,0,0,0,1):(Li(a,e),ki(t,e),e);default:return}}Ti(e,0,0,0,1)}}function Li(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=wi(t[1]),o=wi(t[2]),i=o<=.5?o*(i+1):o+i-o*i,o=2*o-i;return Ti(e=e||[],_i(255*Si(o,i,n+1/3)),_i(255*Si(o,i,n)),_i(255*Si(o,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Pi(t,e){var n=Ai(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255e);g++);g=f(g-1,h-2)}i=u[g+1],n=u[g]}n&&i&&(this._lastFr=g,this._lastFrP=e,p=i.percent-n.percent,o=0==p?1:f((e-n.percent)/p,1),i.easingFunc&&(o=i.easingFunc(o)),f=a?this._additiveValue:d?$i:t[c],(Ki(l)||d)&&(f=f||(this._additiveValue=[])),this.discrete?t[c]=(o<1?n:i).rawValue:Ki(l)?(1===l?Yi:function(t,e,n,i){for(var o=e.length,r=o&&e[0].length,a=0;athis._sleepAfterStill)&&this.animation.stop()},mr.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},mr.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},mr.prototype.refreshHover=function(){this._needsRefreshHover=!0},mr.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},mr.prototype.resize=function(t){this._disposed||(this.painter.resize((t=t||{}).width,t.height),this.handler.resize())},mr.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},mr.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},mr.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},mr.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},mr.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},mr.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},mr.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},mr.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},mr.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;el&&(l=s[h],u=h);++r[u],s[u]=0,++a}return B(r,function(t){return t/i})}function Rr(t){var e=2*Math.PI;return(t%e+e)%e}function Nr(t){return-1e-4=n.maxIterations){e+=n.ellipsis;break}var s=0===a?function(t,e,n){for(var i=0,o=0,r=t.length;oh){C=r.lines.length;0i.width&&(r=e.split("\n"),c=!0),i.accumWidth=s):(s=Ga(e,t,i.width,i.breakAll,i.accumWidth),i.accumWidth=s.accumWidth+n,a=s.linesWidths,r=s.lines)),r=r||e.split("\n"),Go(t)),p=0;pthis._ux||i>this._uy;return this.addData(fs.L,t,e),this._ctx&&o&&this._ctx.lineTo(t,e),o?(this._xi=t,this._yi=e,this._pendingPtDist=0):(o=n*n+i*i)>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o),this},o.prototype.bezierCurveTo=function(t,e,n,i,o,r){return this._drawPendingPt(),this.addData(fs.C,t,e,n,i,o,r),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,o,r),this._xi=o,this._yi=r,this},o.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(fs.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},o.prototype.arc=function(t,e,n,i,o,r){return this._drawPendingPt(),ks[0]=i,ks[1]=o,Ls(ks,r),this.addData(fs.A,t,e,n,n,i=ks[0],(o=ks[1])-i,0,r?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,r),this._xi=Ss(o)*n+t,this._yi=Ms(o)*n+e,this},o.prototype.arcTo=function(t,e,n,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},o.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(fs.R,t,e,n,i),this},o.prototype.closePath=function(){this._drawPendingPt(),this.addData(fs.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},o.prototype.fill=function(t){t&&t.fill(),this.toStatic()},o.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},o.prototype.len=function(){return this._len},o.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!Ds||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;hn||Ts(y)>i||c===e-1)&&(f=Math.sqrt(C*C+y*y),o=g,r=_);break;case fs.C:var m=t[c++],v=t[c++],g=t[c++],_=t[c++],x=t[c++],b=t[c++],f=function(t,e,n,i,o,r,a,s,l){for(var u=t,h=e,c=0,d=1/l,p=1;p<=l;p++){var f=p*d,g=Qn(t,n,o,a,f),f=Qn(e,i,r,s,f),y=g-u,m=f-h;c+=Math.sqrt(y*y+m*m),u=g,h=f}return c}(o,r,m,v,g,_,x,b,10),o=x,r=b;break;case fs.Q:f=function(t,e,n,i,o,r,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var d=c*h,p=oi(t,n,o,d),d=oi(e,i,r,d),f=p-s,g=d-l;u+=Math.sqrt(f*f+g*g),s=p,l=d}return u}(o,r,m=t[c++],v=t[c++],g=t[c++],_=t[c++],10),o=g,r=_;break;case fs.A:var x=t[c++],b=t[c++],w=t[c++],S=t[c++],M=t[c++],T=t[c++],I=T+M;c+=1,p&&(a=Ss(M)*w+x,s=Ms(M)*S+b),f=ws(w,S)*bs(Cs,Math.abs(T)),o=Ss(I)*w+x,r=Ms(I)*S+b;break;case fs.R:a=o=t[c++],s=r=t[c++];f=2*t[c++]+2*t[c++];break;case fs.Z:var C=a-o,y=s-r;f=Math.sqrt(C*C+y*y),o=a,r=s}0<=f&&(u+=l[h++]=f)}return this._pathLen=u},o.prototype.rebuildPath=function(t,e){var n,i,o,r,a,s,l,u,h=this.data,E=this._ux,z=this._uy,B=this._len,c=e<1,d=0,p=0,f=0;if(!c||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=e*this._pathLen))t:for(var g=0;g=Gs[i=0]+t&&a<=Gs[1]+t?h:0;oMath.PI/2&&c<1.5*Math.PI?-h:h)}return l}(y,m,_,x,x+b,w,T,o);u=Math.cos(x+b)*v+y,h=Math.sin(x+b)*_+m;break;case Bs.R:c=u=a[p++],d=h=a[p++];if(S=c+a[p++],M=d+a[p++],n){if(Os(c,d,S,d,e,i,o)||Os(S,d,S,M,e,i,o)||Os(S,M,c,M,e,i,o)||Os(c,M,c,d,e,i,o))return!0}else l=(l+=zs(S,d,S,M,i,o))+zs(c,M,c,d,i,o);break;case Bs.Z:if(n){if(Os(u,h,c,d,e,i,o))return!0}else l+=zs(u,h,c,d,i,o);u=c,h=d}}return n||(t=h,r=d,Math.abs(t-r)n,i=(o=o.slice(0,n)).length*c),t&&u&&null!=f)for(var y=Oa(f,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;vhc.len()&&(sTr(i[1])?0':'':{renderMode:o,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function Lp(t,e){return e=e||"transparent",F(t)?t:E(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Pp(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location.href=t):window.open(t,e)}var Op={},Rp={},Np=(Ep.prototype.create=function(i,o){function t(t){var n=[];return nt(t,function(t,e){t=t.create(i,o);n=n.concat(t||[])}),n}this._nonSeriesBoxMasterList=t(Op),this._normalMasterList=t(Rp)},Ep.prototype.update=function(e,n){nt(this._normalMasterList,function(t){t.update&&t.update(e,n)})},Ep.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},Ep.register=function(t,e){"matrix"===t||"calendar"===t?Op[t]=e:Rp[t]=e},Ep.get=function(t){return Rp[t]||Op[t]},Ep);function Ep(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}var zp={coord:1,coord2:2};var Bp=it();var Vp={none:0,dataCoordSys:1,boxCoordSys:2};function Fp(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=Vp.none;return e&&(t="series"===t.mainType,"data"===(n=null==n?t?"data":"box":n)?(i=Vp.dataCoordSys,t||(i=Vp.none)):"box"===n&&(i=Vp.boxCoordSys,t||Op[e]||(i=Vp.none))),{coordSysType:e,kind:i}}function Gp(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,o=t.isDefaultDataCoordSys,t=(t.allowNotFound,Fp(e)),r=t.kind,t=t.coordSysType;o&&r!==Vp.dataCoordSys&&(r=Vp.dataCoordSys,t=n),r!==Vp.none&&t===n&&(o=i(n,e))&&(r===Vp.dataCoordSys?e.coordinateSystem=o:e.boxCoordinateSystem=o)}var Wp=nt,Hp=["left","right","top","bottom","width","height"],Yp=[["width","left","right"],["height","top","bottom"]];function Xp(a,s,l,u,h){var c=0,d=0,p=(null==u&&(u=1/0),null==h&&(h=1/0),0);s.eachChild(function(t,e){var n,i,o,r=t.getBoundingRect(),e=s.childAt(e+1),e=e&&e.getBoundingRect();p="horizontal"===a?(i=r.width+(e?-e.x+r.x:0),u<(n=c+i)||t.newline?(c=0,n=i,d+=p+l,r.height):Math.max(p,r.height)):(i=r.height+(e?-e.y+r.y:0),h<(o=d+i)||t.newline?(c+=p+l,d=0,o=i,r.width):Math.max(p,r.width)),t.newline||(t.x=c,t.y=d,t.markRedraw(),"horizontal"===a?c=n+l:d=o+l)})}var Up=Xp;function Zp(t,e){o=Kp(r=t,n=e,{enableLayoutOnlyByCenter:!0}),i=r.getBoxLayoutParams(),o.type===qp.point?(s=o.refPoint,a=jp(i,{width:n.getWidth(),height:n.getHeight()})):(r=V(n=r.get("center"))?n:[n,n],a=jp(i,o.refContainer),s=o.boxCoordFrom===zp.coord2?o.refPoint:[Y(r[0],a.width)+a.x,Y(r[1],a.height)+a.y]);var n={viewRect:a,center:s},i=n.viewRect,o=n.center,r=t.get("radius"),a=(V(r)||(r=[0,r]),Y(i.width,e.getWidth())),s=Y(i.height,e.getHeight()),n=Math.min(a,s),t=Y(r[0],n/2),e=Y(r[1],n/2);return{cx:o[0],cy:o[1],r0:t,r:e,viewRect:i}}function jp(t,e,n){n=Tp(n||0);var i=e.width,o=e.height,r=Y(t.left,i),a=Y(t.top,o),s=Y(t.right,i),l=Y(t.bottom,o),u=Y(t.width,i),h=Y(t.height,o),c=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-r),isNaN(h)&&(h=o-l-c-a),null!=p&&(isNaN(u)&&isNaN(h)&&(i/oe)return t[i];return t[n-1]}var Ef,zf="\0_ec_inner",Bf=(u(Vf,Ef=Nd),Vf.prototype.init=function(t,e,n,i,o,r){i=i||{},this.option=null,this._theme=new Nd(i),this._locale=new Nd(o),this._optionManager=r},Vf.prototype.setOption=function(t,e,n){e=Wf(e);this._optionManager.setOption(t,n,e),this._resetOption(null,e)},Vf.prototype.resetOption=function(t,e){return this._resetOption(t,Wf(e))},Vf.prototype._resetOption=function(t,e){var n,i=!1,o=this._optionManager;return t&&"recreate"!==t||(n=o.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(n,e)):Lf(this,n),i=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(n=o.getTimelineOption(this))&&(i=!0,this._mergeOption(n,e)),t&&"recreate"!==t&&"media"!==t||(n=o.getMediaOption(this)).length&&nt(n,function(t){i=!0,this._mergeOption(t,e)},this),i},Vf.prototype.mergeOption=function(t){this._mergeOption(t,null)},Vf.prototype._mergeOption=function(i,t){var o=this.option,h=this._componentsMap,c=this._componentsCount,n=[],r=it(),d=t&&t.replaceMergeMainTypeMap;wf(this).datasetMap=it(),nt(i,function(t,e){null!=t&&(g.hasClass(e)?e&&(n.push(e),r.set(e,!0)):o[e]=null==o[e]?v(t):p(o[e],t,!0))}),d&&d.each(function(t,e){g.hasClass(e)&&!r.get(e)&&(n.push(e),r.set(e,!0))}),g.topologicalTravel(n,g.getAllClassMainTypes(),function(r){var a,t=function(t,e,n){return(e=(e=Df.get(e))&&e(t))?n.concat(e):n}(this,r,Zr(i[r])),e=h.get(r),n=e?d&&d.get(r)?"replaceMerge":"normalMerge":"replaceAll",e=$r(e,t,n),s=(ia(e,r,g),o[r]=null,h.set(r,null),c.set(r,0),[]),l=[],u=0;nt(e,function(t,e){var n=t.existing,i=t.newOption;if(i){var o=g.getClass(r,t.keyInfo.subType,!("series"===r));if(!o)return;if("tooltip"===r){if(a)return;a=!0}n&&n.constructor===o?(n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1)):(e=P({componentIndex:e},t.keyInfo),P(n=new o(i,this,this,e),e),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0))}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(s.push(n.option),l.push(n),u++):(s.push(void 0),l.push(void 0))},this),o[r]=s,h.set(r,l),c.set(r,u),"series"===r&&kf(this)},this),this._seriesIndices||kf(this)},Vf.prototype.getOption=function(){var a=v(this.option);return nt(a,function(t,e){if(g.hasClass(e)){for(var n=Zr(t),i=n.length,o=!1,r=i-1;0<=r;r--)n[r]&&!na(n[r])?o=!0:(n[r]=null,o||i--);n.length=i,a[e]=n}}),delete a[zf],a},Vf.prototype.setTheme=function(t){this._theme=new Nd(t),this._resetOption("recreate",null)},Vf.prototype.getTheme=function(){return this._theme},Vf.prototype.getLocaleModel=function(){return this._locale},Vf.prototype.setUpdatePayload=function(t){this._payload=t},Vf.prototype.getUpdatePayload=function(){return this._payload},Vf.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){t=n[e||0];if(t)return t;if(null==e)for(var i=0;ig[1]&&(g[1]=f)}return{start:a,end:this._rawCount=this._count=s}},l.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,r=this._dimensions,a=r.length,s=this._rawExtent,l=B(r,function(t){return t.property}),u=0;uf[1]&&(f[1]=g)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},l.prototype.count=function(){return this._count},l.prototype.get=function(t,e){return 0<=e&&e=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return r;o=r-1}}}return-1},l.prototype.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array)for(var i=new e(n),o=0;ot[S][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(f))}return sy[1]&&(y[1]=g)}}}},l.prototype.lttbDownSample=function(t,e){var n,i=this.clone([t],!0),o=i._chunks[t],r=this.count(),a=0,s=Math.floor(1/e),l=this.getRawIndex(0),u=new(Iy(this._rawCount))(Math.min(2*(Math.ceil(r/s)+2),r));u[a++]=l;for(var h=1;hh[1]&&(h[1]=y),c[d++]=m}return o._count=d,o._indices=c,o._updateGetRawIdx(),o},l.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,o=0,r=this.count();o'+Se(u)+""+h,t))}function Xy(t,e,n,i){var o,r,a,s,l,u=t.renderMode,h=e.noName,c=e.noValue,d=!e.markerType,p=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return B(t=V(t)?t:[t],function(t,e){return Ip(t,V(r)?r[e]:r,f)})};if(!h||!c)return o=d?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||_.color.secondary,u),p=h?"":Ip(p,"ordinal",f),r=e.valueType,g=c?[]:g(e.value,e.dataIndex),e=!d||!h,a=!d&&h,l=By(i,u),s=l.nameStyle,l=l.valueStyle,"richText"===u?(d?"":o)+(h?"":jy(t,p,s))+(c?"":function(t,e,n,i,o){o=[o],i=i?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(V(e)?e.join(" "):e,o)}(t,g,e,a,l)):Zy(i,(d?"":o)+(h?"":''+Se(p)+"")+(c?"":function(t,e,n,i){n=n?"10px":"20px",e=e?"float:right;margin-left:"+n:"";return t=V(t)?t:[t],''+B(t,Se).join("  ")+""}(g,e,a,l)),n)}function Uy(t,e,n,i,o,r){if(t)return Hy(t)({useUTC:o,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,r)}function Zy(t,e,n){return'
'+e+'
'}function jy(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function qy(t,e){return Lp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Ky(t,e){t=t.get("padding");return null!=t?t:"richText"===e?[8,10]:10}Qy.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},Qy.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,e=Ap({color:e,type:t,renderMode:n,markerId:i});return F(e)?e:(this.richTextStyles[i]=e.style,e.content)},Qy.prototype.wrapRichTextStyle=function(t,e){var n={},e=(V(e)?nt(e,function(t){return P(n,t)}):P(n,e),this._generateStyleName());return this.richTextStyles[e]=n,"{"+e+"|"+t+"}"};var $y=Qy;function Qy(){this.richTextStyles={},this._nextStyleNameId=Hr()}function Jy(t){var e,n,i,o,r,a,s,l,u,h,c,d=t.series,p=t.dataIndex,t=t.multipleSeries,f=d.getData(),g=f.mapDimensionsAll("defaultedTooltip"),y=g.length,m=d.getRawValue(p),v=V(m),_=qy(d,p);function x(t,e){e=s.getDimensionInfo(e);e&&!1!==e.otherDims.tooltip&&(l?c.push(Gy("nameValue",{markerType:"subItem",markerColor:a,name:e.displayName,value:t,valueType:e.type})):(u.push(t),h.push(e.type)))}1this.getShallow("animationThreshold")?!1:t)},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel;return Of.prototype.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},r.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},r.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,o=this.getData(e);if("series"===i||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var r=0;re.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function lm(e,n){nt(Nt(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(t){e.wrapMethod(t,M(um,n))})}function um(t,e){t=hm(t);return t&&t.setOutputEnd((e||this).count()),e}function hm(t){var e,n=(t.ecModel||{}).scheduler,n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}st(im,Gg),st(im,Of),va(im,g);dm.prototype.init=function(t,e){},dm.prototype.render=function(t,e,n,i){},dm.prototype.dispose=function(t,e){},dm.prototype.updateView=function(t,e,n,i){},dm.prototype.updateLayout=function(t,e,n,i){},dm.prototype.updateVisual=function(t,e,n,i){},dm.prototype.toggleBlurSeries=function(t,e,n){},dm.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)};var cm=dm;function dm(){this.group=new cr,this.uid=Bd("viewComponent")}function pm(){var r=i();return function(t){var e=r(t),t=t.pipelineContext,n=!!e.large,i=!!e.progressiveRender,o=e.large=!(!t||!t.large),e=e.progressiveRender=!(!t||!t.progressiveRender);return!(n==o&&i==e)&&"reset"}}ma(cm),wa(cm);var fm=i(),gm=pm(),ym=(mm.prototype.init=function(t,e){},mm.prototype.render=function(t,e,n,i){},mm.prototype.highlight=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"emphasis")},mm.prototype.downplay=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"normal")},mm.prototype.remove=function(t,e){this.group.removeAll()},mm.prototype.dispose=function(t,e){},mm.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.eachRendered=function(t){td(this.group,t)},mm.markUpdateMethod=function(t,e){fm(t).updateMethod=e},mm.protoInitialize=void(mm.prototype.type="chart"),mm);function mm(){this.group=new cr,this.uid=Bd("viewChart"),this.renderTask=Yg({plan:xm,reset:bm}),this.renderTask.context={view:this}}function vm(t,e,n){t&&Iu(t)&&("emphasis"===e?lu:uu)(t,n)}function _m(e,t,n){var i,o=oa(e,t),r=t&&null!=t.highlightKey?(t=t.highlightKey,i=null==(i=Pl[t])&&Ll<=32?Pl[t]=Ll++:i):null;null!=o?nt(Zr(o),function(t){vm(e.getItemGraphicEl(t),n,r)}):e.eachItemGraphicEl(function(t){vm(t,n,r)})}function xm(t){return gm(t.model)}function bm(t){var e=t.model,n=t.ecModel,i=t.api,o=t.payload,r=e.pipelineContext.progressiveRender,t=t.view,a=o&&fm(o).updateMethod,r=r?"incrementalPrepareRender":a&&t[a]?a:"render";return"render"!==r&&t[r](e,n,i,o),wm[r]}ma(ym),wa(ym);var wm={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Sm="\0__throttleOriginMethod",Mm="\0__throttleRate",Tm="\0__throttleType";function Im(t,o,r){var a,s,l,u,h,c=0,d=0,p=null;function f(){d=(new Date).getTime(),p=null,t.apply(l,u||[])}o=o||0;function e(){for(var t=[],e=0;en.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},zm.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},zm.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:o}},zm.prototype.restorePipelines=function(t){var i=this,o=i._pipelineMap=it();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;o.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),i._pipe(t,t.dataTask)})},zm.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.api.getModel(),o=this.api;nt(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,{});Tt(!(t.reset&&t.overallReset),""),t.reset&&this._createSeriesStageTask(t,e,i,o),t.overallReset&&this._createOverallStageTask(t,e,i,o)},this)},zm.prototype.prepareView=function(t,e,n,i){var o=t.renderTask,r=o.context;r.model=e,r.ecModel=n,r.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(e,o)},zm.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},zm.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},zm.prototype._performStageTasks=function(t,s,l,u){u=u||{};var h=!1,c=this;function d(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}nt(t,function(i,t){var e,n,o,r,a;u.visualType&&u.visualType!==i.visualType||(e=(n=c._stageTaskMap.get(i.uid)).seriesTaskMap,(n=n.overallTask)?((r=n.agentStubMap).each(function(t){d(u,t)&&(t.dirty(),o=!0)}),o&&n.dirty(),c.updatePayload(n,l),a=c.getPerformArgs(n,u.block),r.each(function(t){t.perform(a)}),n.perform(a)&&(h=!0)):e&&e.each(function(t,e){d(u,t)&&t.dirty();var n=c.getPerformArgs(t,u.block);n.skip=!i.performRawSeries&&s.isSeriesFiltered(t.context.model),c.updatePayload(t,l),t.perform(n)&&(h=!0)}))}),this.unfinished=h||this.unfinished},zm.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},zm.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})},zm.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},zm.prototype._createSeriesStageTask=function(n,t,i,o){var r=this,a=t.seriesTaskMap,s=t.seriesTaskMap=it(),t=n.seriesType,e=n.getTargetSeries;function l(t){var e=t.uid,e=s.set(e,a&&a.get(e)||Yg({plan:Wm,reset:Hm,count:Um}));e.context={model:t,ecModel:i,api:o,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:r},r._pipe(t,e)}n.createOnAllSeries?i.eachRawSeries(l):t?i.eachRawSeriesByType(t,l):e&&e(i,o).each(l)},zm.prototype._createOverallStageTask=function(t,e,n,i){var o=this,r=e.overallTask=e.overallTask||Yg({reset:Bm}),a=(r.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:o},r.agentStubMap),s=r.agentStubMap=it(),e=t.seriesType,l=t.getTargetSeries,u=!0,h=!1;function c(t){var e=t.uid,e=s.set(e,a&&a.get(e)||(h=!0,Yg({reset:Vm,onDirty:Gm})));e.context={model:t,overallProgress:u},e.agent=r,e.__block=u,o._pipe(t,e)}Tt(!t.createOnAllSeries,""),e?n.eachRawSeriesByType(e,c):l?l(n,i).each(c):(u=!1,nt(n.getSeries(),c)),h&&r.dirty()},zm.prototype._pipe=function(t,e){t=t.uid,t=this._pipelineMap.get(t);t.head||(t.head=e),t.tail&&t.tail.pipe(e),(t.tail=e).__idxInPipeline=t.count++,e.__pipeline=t},zm.wrapStageHandler=function(t,e){return(t=N(t)?{overallReset:t,seriesType:function(t){Zm=null;try{t(jm,qm)}catch(t){}return Zm}(t)}:t).uid=Bd("stageHandler"),e&&(t.visualType=e),t};var Em=zm;function zm(t,e,n,i){this._stageTaskMap=it(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}function Bm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Vm(t){return t.overallProgress&&Fm}function Fm(){this.agent.dirty(),this.getDownstream().dirty()}function Gm(){this.agent&&this.agent.dirty()}function Wm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Hm(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=Zr(t.reset(t.model,t.ecModel,t.api,t.payload));return 1'+t.dom+""}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()):(i.connectedBackgroundColor&&f.add(new pl({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),nt(d,function(t){t=new ol({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(i&&i.type||"png")))):this.getDataURL(i);this.id},h.prototype.convertToPixel=function(t,e,n){return fv(this,"convertToPixel",t,e,n)},h.prototype.convertToLayout=function(t,e,n){return fv(this,"convertToLayout",t,e,n)},h.prototype.convertFromPixel=function(t,e,n){return fv(this,"convertFromPixel",t,e,n)},h.prototype.containPixel=function(t,i){var o;if(!this._disposed)return nt(aa(this._model,t),function(t,n){0<=n.indexOf("Models")&&nt(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?o=o||!!e.containPoint(i):"seriesModels"===n&&(e=this._chartsMap[t.__viewId])&&e.containPoint&&(o=o||e.containPoint(i,t))},this)},this),!!o;this.id},h.prototype.getVisual=function(t,e){var t=aa(this._model,t,{defaultMainType:"series"}),n=t.seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;if(null==t)return n0(n,e);var i=n,o=t,r=e;switch(r){case"color":return i.getItemVisual(o,"style")[i.getVisual("drawType")];case"opacity":return i.getItemVisual(o,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return i.getItemVisual(o,r)}},h.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},h.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},h.prototype._initEvents=function(){var n,i,s=this,o=(nt(Ev,function(a){function t(t){var n,e,i,o=s.getModel(),r=t.target;"globalout"===a?n={}:r&&r0(r,function(t){var e,t=U(t);return t&&null!=t.dataIndex?(e=t.dataModel||o.getSeriesByIndex(t.seriesIndex),n=e&&e.getDataParams(t.dataIndex,t.dataType,r)||{},1):t.eventData&&(n=P({},t.eventData),1)},!0),n&&(e=n.componentType,i=n.componentIndex,"markLine"!==e&&"markPoint"!==e&&"markArea"!==e||(e="series",i=n.seriesIndex),i=(e=e&&null!=i&&o.getComponent(e,i))&&s["series"===e.mainType?"_chartsMap":"_componentsMap"][e.__viewId],n.event=t,n.type=a,s._$eventProcessor.eventInfo={targetEl:r,packedEvent:n,model:e,view:i},s.trigger(a,n))}t.zrEventfulCallAtLast=!0,s._zr.on(a,t,s)}),this._messageCenter);nt(Vv,function(t,e){o.on(e,function(t){s.trigger(e,t)})}),i=(n=this)._api,o.on("selectchanged",function(t){var e=i.getModel();t.isFromClick?(o0("map","selectchanged",n,e,t),o0("pie","selectchanged",n,e,t)):"select"===t.fromAction?(o0("map","selected",n,e,t),o0("pie","selected",n,e,t)):"unselect"===t.fromAction&&(o0("map","unselected",n,e,t),o0("pie","unselected",n,e,t))})},h.prototype.isDisposed=function(){return this._disposed},h.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},h.prototype.dispose=function(){var t,e,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&ca(this.getDom(),qv,""),e=(t=this)._api,n=t._model,nt(t._componentsViews,function(t){t.dispose(n,e)}),nt(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Xv[t.id])},h.prototype.resize=function(t){if(!this[Q0])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var e=e.resetOption("media"),n=t&&t.silent;this[tv]&&(null==n&&(n=this[tv].silent),e=!0,this[tv]=null),this[Q0]=!0,Dv(this);try{e&&hv(this),pv.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this[Q0]=!1,t}this[Q0]=!1,mv.call(this,n),vv.call(this,n)}}},h.prototype.showLoading=function(t,e){this._disposed?this.id:(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Yv[t]&&(t=Yv[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},h.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},h.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=Bv[t.type],e},h.prototype.dispatchAction=function(t,e){var n;this._disposed?this.id:(E(e)||(e={silent:!!e}),zv[t.type]&&this._model&&(this[Q0]?this._pendingActions.push(t):(n=e.silent,yv.call(this,t,n),(t=e.flush)?this._zr.flush():!1!==t&&w.browser.weChat&&this._throttledZrFlush(),mv.call(this,n),vv.call(this,n))))},h.prototype.updateLabelLayout=function(){K0.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},h.prototype.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp())},h.internalField=(hv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cv(t,!0),cv(t,!1),e.plan()},cv=function(t,o){for(var r=t._model,a=t._scheduler,s=o?t._componentsViews:t._chartsViews,l=o?t._componentsMap:t._chartsMap,u=t._zr,h=t._api,e=0;es.get("hoverLayerThreshold")&&!w.node&&!w.worker&&s.eachSeries(function(t){t.preventUsingHoverLayer||(t=i._chartsMap[t.__viewId]).__alive&&t.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}),K0.trigger("series:afterupdate",t,e,n)},Iv=function(t){t[ev]=!0,t.getZr().wakeUp()},Dv=function(t){t[J0]=(t[J0]+1)%1e3},Cv=function(t){t[ev]&&(t.getZr().storage.traverse(function(t){xc(t)||Pv(t)}),t[ev]=!1)},Mv=function(n){return u(t,e=Hf),t.prototype.getCoordinateSystems=function(){return n._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return n._model.getComponent(e.mainType,e.index);t=t.parent}},t.prototype.enterEmphasis=function(t,e){lu(t,e),Iv(n)},t.prototype.leaveEmphasis=function(t,e){uu(t,e),Iv(n)},t.prototype.enterBlur=function(t){hu(t),Iv(n)},t.prototype.leaveBlur=function(t){cu(t),Iv(n)},t.prototype.enterSelect=function(t){du(t),Iv(n)},t.prototype.leaveSelect=function(t){pu(t),Iv(n)},t.prototype.getModel=function(){return n.getModel()},t.prototype.getViewOfComponentModel=function(t){return n.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return n.getViewOfSeriesModel(t)},t.prototype.getMainProcessVersion=function(){return n[J0]},new t(n);function t(){return null!==e&&e.apply(this,arguments)||this}var e},void(Tv=function(i){function o(t,e){for(var n=0;no[1]&&(o[0]=o[1]),r}function tx(t){var e=Math.pow(10,Vr(t)),t=t/e;return t?2===t?t=3:3===t?t=5:t*=2:t=1,Dr(t*e)}function ex(t){return Ar(t)+2}function nx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function ix(t,e){return t>=e[0]&&t<=e[1]}rx.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=S(t.normalize,t),this.scale=S(t.scale,t)):(this.normalize=ax,this.scale=sx)};var ox=rx;function rx(){this.normalize=ax,this.scale=sx}function ax(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function sx(t,e){return t*(e[1]-e[0])+e[0]}function lx(t,e,n){t=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/t,Math.log(n?e[1]:Math.max(0,e[1]))/t]}hx.prototype.getSetting=function(t){return this._setting[t]},hx.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent((t[0]e[1]?t:e)[1])},hx.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},hx.prototype.getExtent=function(){return this._extent.slice()},hx.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},hx.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},hx.prototype.setBreaksFromOption=function(t){},hx.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},hx.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},hx.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},hx.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},hx.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},hx.prototype.isBlank=function(){return this._isBlank},hx.prototype.setBlank=function(t){this._isBlank=t};var ux=hx;function hx(t){this._calculator=new ox,this._setting=t||{},this._extent=[1/0,-1/0]}wa(ux);var cx=0,dx=(px.createByAxisModel=function(t){var t=t.option,e=t.data,e=e&&B(e,fx);return new px({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},px.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},px.prototype.parseAndCollect=function(t){var e,n,i=this._needCollect;return F(t)||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n)):null==(n=(e=this._getOrCreateMap()).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n):t},px.prototype._getOrCreateMap=function(){return this._map||(this._map=it(this.categories))},px);function px(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cx,this._onCollect=t.onCollect}function fx(t){return E(t)&&null!=t.value?t.value:t+""}u(mx,gx=ux),mx.prototype.parse=function(t){return null==t?NaN:F(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},mx.prototype.contain=function(t){return ix(t,this._extent)&&0<=t&&t=t},mx.prototype.getOrdinalMeta=function(){return this._ordinalMeta},mx.prototype.calcNiceTicks=function(){},mx.prototype.calcNiceExtent=function(){},mx.type="ordinal";var gx,yx=mx;function mx(t){var t=gx.call(this,t)||this,e=(t.type="ordinal",t.getSetting("ordinalMeta"));return V(e=e||new dx({}))&&(e=new dx({categories:B(e,function(t){return E(t)?t.value:t})})),t._ordinalMeta=e,t._extent=t.getSetting("extent")||[0,e.categories.length-1],t}ux.registerClass(yx);var vx,_x=Dr,xx=(u(bx,vx=ux),bx.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},bx.prototype.contain=function(t){return ix(t,this._extent)},bx.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},bx.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},bx.prototype.getInterval=function(){return this._interval},bx.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=ex(t)},bx.prototype.getTicks=function(t){t=t||{};var n=this._interval,e=this._extent,i=this._niceExtent,o=this._intervalPrecision,r=Zd,a=[];if(n)if("only_break"===t.breakTicks&&r)r.addBreaksToTicks(a,this._brkCtx.breaks,this._extent);else{e[0]h&&(t.expandToNicedExtent?a.push({value:_x(h+n,o)}):a.push({value:e[1]})),"none"!==t.breakTicks&&r&&r.addBreaksToTicks(a,this._brkCtx.breaks,this._extent)}return a},bx.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),o=1;oi[0]&&cx));)g[o](g[i]()+t),f=g.getTime(),y&&0<(d=y.calcNiceTickMultiple(f,p))&&(g[o](g[i]()+d*t),f=g.getTime());a.push({value:f,notAdd:!0})}function i(t,e,n){var i,o,r,a,s=[],l=!e.length;if(i=ap(t),o=_[0],r=_[1],a=v,up(new Date(o),i,a).getTime()!==up(new Date(r),i,a).getTime()){l&&(e=[{value:function(t,e,n){e=Math.max(0,D(np,e)-1);return up(new Date(t),np[e],n).getTime()}(_[0],t,v)},{value:_[1]}]);for(var u,h,c=0;c=_[0]&&d<=_[1]&&w(f,d,p,g,y,0,s),"year"===t&&1=_[0]&&p<=_[1]&&a++)}u=e/m;if(1.5*u=_[0]&&t.value<=_[1]&&!t.notAdd})}),function(t){return 0n&&(this._approxInterval=n),Bx.length),t=Math.min(function(t,e,n,i){for(;n>>1;t[o][1]>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);i.push([(o=s+=o)/n,(r=l+=r)/n])}return i}function O1(t,r){var e,n,o;return B(ht((t=(e=t).UTF8Encoding?(null==(o=(n=e).UTF8Scale)&&(o=1024),nt(n.features,function(t){var e=t.geometry,n=e.encodeOffsets,i=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=P1(i,n,o);break;case"Polygon":case"MultiLineString":L1(i,n,o);break;case"MultiPolygon":nt(i,function(t,e){return L1(t,n[e],o)})}}),n.UTF8Encoding=!1,n):e).features,function(t){return t.geometry&&t.properties&&0=e[0]&&t<=e[1]}),function(t){var e={value:t};return{formattedLabel:i(e),rawLabel:n.scale.getLabel(e),tickValue:t,time:void 0,break:void 0}})}):"category"===n.type?(s=t,a=(t=n).getLabelModel(),s=G1(t,a,s),!a.get("show")||t.scale.isBlank()?{labels:[]}:s):(a=(o=n).scale.getTicks(),r=o1(o),{labels:B(a,function(t,e){return{formattedLabel:r(t,e),rawLabel:o.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function F1(t,e,n){var i,o,r,a,s,l,u=t.getTickModel().get("customValues");return u?(i=t.scale.getExtent(),{ticks:ht(B1(t,u),function(t){return t>=i[0]&&t<=i[1]})}):"category"===t.type?(u=e,a=W1(e=t),s=a1(u),(l=X1(a,s))||(u.get("show")&&!e.scale.isBlank()||(o=[]),o=N(s)?K1(e,s,!0):"auto"===s?(l=G1(e,e.getLabelModel(),z1(E1.determine)),r=l.labelCategoryInterval,B(l.labels,function(t){return t.tickValue})):q1(e,r=s,!0),U1(a,s,{ticks:o,tickCategoryInterval:r}))):{ticks:B(t.scale.getTicks(n),function(t){return t.value})}}function G1(t,e,n){var i,o=H1(t),r=a1(e),e=n.kind===E1.estimate;if(!e){var a=X1(o,r);if(a)return a}var s={labels:N(r)?K1(t,r):q1(t,i="auto"===r?function(t,e){{var n;if(e.kind===E1.estimate)return n=t.calculateCategoryInterval(e),e.out.noPxChangeTryDetermine.push(function(){return N1(t).autoInterval=n,!0}),n}var i=N1(t).autoInterval;return null!=i?i:N1(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):r),labelCategoryInterval:i};return e?n.out.noPxChangeTryDetermine.push(function(){return U1(o,r,s),!0}):U1(o,r,s),s}var W1=Y1("axisTick"),H1=Y1("axisLabel");function Y1(e){return function(t){return N1(t)[e]||(N1(t)[e]={list:[]})}}function X1(t,e){for(var n=0;nl[1],h(n[0].coord,l[0])&&(t?n[0].coord=l[0]:n.shift()),t&&h(l[0],n[0].coord)&&n.unshift({coord:l[0],onBand:!0}),h(l[1],i.coord)&&(t?i.coord=l[1]:n.pop()),t)&&h(i.coord,l[1])&&n.push({coord:l[1],onBand:!0}),u},Q1.prototype.getMinorTicksCoords=function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),B(this.scale.getMinorTicks(t=0=u}}for(var r,a=this.__startIndex;ao[0]){for(l=0;lt);l++);s=i[o[l]]}o.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(e.dom,n.nextSibling):a.appendChild(e.dom):a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom)),e.painter||(e.painter=this)}},Kb.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":a?0<=o.height?"bottom":"top":0<=o.width?"right":"left"),h=cd(i),l=(hd(t,h,{labelFetcher:r,labelDataIndex:n,defaultText:xw(r.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u}),t.getTextContent()),h=(s&&l&&(s=i.get(["label","position"]),t.textConfig.inside="middle"===s||null,function(t,e,n,i){if(G(i))t.setTextConfig({rotation:i});else if(V(e))t.setTextConfig({rotation:0});else{var o,i=t.shape,r=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(r+a)/2,i=n(e);switch(i){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=s;break;case"startAngle":case"insideStartAngle":o=r;break;case"endAngle":case"insideEndAngle":o=a;break;default:return t.setTextConfig({rotation:0})}n=1.5*Math.PI-o;"middle"===i&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),t.setTextConfig({rotation:n})}}(t,"outside"===s?u:s,Bw(a),i.get(["label","rotate"]))),u=l,s=h,a=r.getRawValue(n),l=function(t){return bw(e,t)},u&&((u=vd(u)).prevValue=u.value,u.value=a,a=s.normal,u.valueAnimation=a.get("valueAnimation"),u.valueAnimation)&&(u.precision=a.get("precision"),u.defaultInterpolatedText=l,u.statesModels=s),i.getModel(["emphasis"]));bu(t,h.get("focus"),h.get("blurScope"),h.get("disabled")),Mu(t,i),null!=(r=o).startAngle&&null!=r.endAngle&&r.startAngle===r.endAngle&&(t.style.fill="none",t.style.stroke="none",nt(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var Fw,Gw=function(){},Ww=(u(Hw,Fw=Ks),Hw.prototype.getDefaultShape=function(){return new Gw},Hw.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,o=1-this.baseDimIdx,r=[],a=[],s=this.barWidth,l=0;le[u-1].coord&&(e.reverse(),h.reverse()),function(t,e){var n,i,o=[],r=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Ni((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;si)return;return 1}(a,e))return o=e.mapDimension(a.dim),r={},nt(a.getViewLabels(),function(t){t=a.scale.getRawOrdinalNumber(t.tickValue);r[t]=1}),function(t){return!r.hasOwnProperty(e.get(o,t))}}}function DS(t){for(var e,n,i=t.length/2;0l?x:_,(g=Math.abs(p.label.y-l))>=f.maxY&&(m=p.label.x-s-p.len2*h,y=u+p.len,m=Math.abs(m)t.unconstrainedWidth)?null:s,i.setStyle("width",l)),HS(o,i))}function HS(t,e){XS.rect=t,Ib(XS,e,YS)}var YS={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},XS={};function US(t){return"center"===t.position}function ZS(t){var S,M,T=t.getData(),I=[],C=!1,E=(t.get("minShowLabelAngle")||0)*FS,e=T.getLayout("viewRect"),D=T.getLayout("r"),k=e.width,A=e.x,n=e.y,L=e.height;function P(t){t.ignore=!0}if(T.each(function(t){var e,n,i,o,r,a,s,l,u,h,c=T.getItemGraphicEl(t),d=c.shape,p=c.getTextContent(),f=c.getTextGuideLine(),t=T.getItemModel(t),g=t.getModel("label"),y=g.get("position")||t.get(["emphasis","label","position"]),m=g.get("distanceToLabelLine"),v=g.get("alignTo"),_=Y(g.get("edgeDistance"),k),x=g.get("bleedMargin"),t=(null==x&&(x=200=e.r0},JS.type="pie";var $S,QS=JS;function JS(){var t=null!==$S&&$S.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}function tM(t,e,n){e=V(e)?{coordDimensions:e}:P({encodeDefine:t.getEncode()},e);var i=t.getSource(),e=Y_(i,e).dimensions,e=new H_(e,t);return e.initData(i,n),e}nM.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},nM.prototype.containName=function(t){return 0<=this._getRawData().indexOfName(t)},nM.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},nM.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)};var eM=nM;function nM(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}var iM,oM=i(),rM=(u(aM,iM=im),aM.prototype.init=function(t){iM.prototype.init.apply(this,arguments),this.legendVisualProvider=new eM(S(this.getData,this),S(this.getRawData,this)),this._defaultLabelLine(t)},aM.prototype.mergeOption=function(){iM.prototype.mergeOption.apply(this,arguments)},aM.prototype.getInitialData=function(){return tM(this,{coordDimensions:["value"],encodeDefaulter:M(Mf,this)})},aM.prototype.getDataParams=function(t){var e,n=this.getData(),i=oM(n),o=i.seats,i=(o||(e=[],n.each(n.mapDimension("value"),function(t){e.push(t)}),o=i.seats=Or(e,n.hostModel.get("percentPrecision"))),iM.prototype.getDataParams.call(this,t));return i.percent=o[t]||0,i.$vars.push("percent"),i},aM.prototype._defaultLabelLine=function(t){jr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},aM.type="series.pie",aM.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},aM);function aM(){return null!==iM&&iM.apply(this,arguments)||this}Id={fullType:rM.type,getCoord2:function(t){return t.getShallow("center")}},Bp.set(Id.fullType,{getCoord2:void 0}).getCoord2=Id.getCoord2,y1(function(t){t.registerChartView(QS),t.registerSeriesModel(rM),i0("pie",t.registerAction),t.registerLayout(M(zS,"pie")),t.registerProcessor(VS("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),e=n.get(e,t);return!(G(e)&&!isNaN(e)&&e<0)})}})});var sM=["itemStyle","borderColor"],lM=["itemStyle","borderColor0"],uM=["itemStyle","borderColorDoji"],hM=["itemStyle","color"],cM=["itemStyle","color0"];function dM(t,e){return e.get(0i[1],i="start"===e&&!t||"start"!==e&&t;e=Nr(n-nT/2)?(o=i?"bottom":"top","center"):Nr(n-1.5*nT)?(o=i?"top":"bottom","center"):(o="middle",n<1.5*nT&&nT/2l[0]&&isFinite(c)&&isFinite(l[0]);)h=tx(h),c=l[1]-h*a;else{e=(h=a "+d)),u++)}var p,f,g,i=n.get("coordinateSystem"),i=("cartesian2d"===i||"polar"===i||"matrix"===i?p=$_(t,n):(D(i=(i=Np.get(i))&&i.dimensions||[],"value")<0&&i.concat(["value"]),i=Y_(t,{coordDimensions:i,encodeDefine:n.getEncode()}).dimensions,(p=new H_(i,n)).initData(t)),new H_(["value"],n));return i.initData(l,s),o&&o(p,i),g=(f={mainData:p,struct:r,structAttr:"graph",datas:{node:p,edge:i},datasAttr:{node:"data",edge:"edgeData"}}).mainData,(n=f.datas)||(n={main:g},f.datasAttr={main:"data"}),f.datas=f.mainData=null,kC(g,n,f),nt(n,function(e){nt(g.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,M(MC,f))})}),g.wrapMethod("cloneShallow",M(IC,f)),nt(g.CHANGABLE_METHODS,function(t){g.wrapMethod(t,M(TC,f))}),Tt(n[g.dataType]===g),r.update(),r}u(RC,PC=im),RC.prototype.init=function(t){PC.prototype.init.apply(this,arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new eM(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},RC.prototype.mergeOption=function(t){PC.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},RC.prototype.mergeDefaultAndTheme=function(t){PC.prototype.mergeDefaultAndTheme.apply(this,arguments),jr(t,"edgeLabel",["show"])},RC.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],t=t.data||t.nodes||[],r=this;if(t&&i)return GT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},WT(n)),nt((n=LC(t,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=Nd.prototype.getModel;function i(t,e){t=n.call(this,t,e);return t.resolveParentPath=o,t}function o(t){var e;return!t||"label"!==t[0]&&"label"!==t[1]?t:(e=t.slice(),"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e)}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=o,t.getModel=i,t})})).edges,function(t){var e,n,i;e=t.node1,n=t.node2,i=this,t=t.dataIndex,GT(i)&&(e=HT(e,n,i),i=(n=i.__edgeMap)[YT(e)],n[e]&&!i?n[e].isForward=!0:i&&n[e]&&(i.isForward=!0,n[e].isForward=!1),n[e]=n[e]||[],n[e].push(t))},this),n.data},RC.prototype.getGraph=function(){return this.getData().graph},RC.prototype.getEdgeData=function(){return this.getGraph().edgeData},RC.prototype.getCategoriesData=function(){return this._categoriesData},RC.prototype.formatTooltip=function(t,e,n){var i,o,r;return"edge"===n?(o=this.getData(),n=this.getDataParams(t,n),r=o.graph.getEdgeByIndex(t),i=o.getName(r.node1.dataIndex),o=o.getName(r.node2.dataIndex),r=[],null!=i&&r.push(i),null!=o&&r.push(o),Gy("nameValue",{name:r.join(" > "),value:n.value,noValue:null==n.value})):Jy({series:this,dataIndex:t,multipleSeries:e})},RC.prototype._updateCategoriesData=function(){var t=B(this.option.categories||[],function(t){return null!=t.value?t:P({value:0},t)}),e=new H_(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},RC.prototype.setZoom=function(t){this.option.zoom=t},RC.prototype.setCenter=function(t){this.option.center=t},RC.prototype.isAnimationEnabled=function(){return PC.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},RC.type="series.graph",RC.dependencies=["grid","polar","geo","singleAxis","calendar"],RC.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:_.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:_.color.primary}}};var PC,OC=RC;function RC(){var t=null!==PC&&PC.apply(this,arguments)||this;return t.type=RC.type,t.hasSymbolVisual=!0,t}y1(function(t){t.registerChartView(pC),t.registerSeriesModel(OC),t.registerProcessor(ET),t.registerVisual(zT),t.registerVisual(VT),t.registerLayout($T),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,rI),t.registerLayout(sI),t.registerCoordinateSystem("graphView",{dimensions:yI.dimensions,create:xI}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Vt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Vt),t.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(n,t,i){t.eachComponent({mainType:"series",query:n},function(t){var e=i.getViewOfSeriesModel(t);e&&(null!=n.dx&&null!=n.dy&&e.updateViewOnPan(t,i,n),null!=n.zoom)&&null!=n.originX&&null!=n.originY&&e.updateViewOnZoom(t,i,n);e=cI(t.coordinateSystem,n,t.get("scaleLimit"));t.setCenter&&t.setCenter(e.center),t.setZoom&&t.setZoom(e.zoom)})})});var NC,EC=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},zC=(u(BC,NC=Ks),BC.prototype.getDefaultShape=function(){return new EC},BC.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},BC.prototype.highlight=function(){lu(this)},BC.prototype.downplay=function(){uu(this)},BC);function BC(t){return NC.call(this,t)||this}u(GC,VC=ym),GC.prototype.init=function(t,e){this._controller=new ZI(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},GC.prototype.render=function(b,t,i){var e,n,o,r,a,s,l,u,h,c=this,d=b.getGraph(),w=this._mainGroup,p=b.layoutInfo,S=p.width,M=p.height,f=b.getData(),T=b.getData("edge"),I=b.get("orient");this._model=b,w.removeAll(),w.x=p.x,w.y=p.y,this._updateViewCoordSys(b,i),e=b,n=i,o=w,p=this._controller,r=this._controllerHost,a=null,s=new X(0,0,0,0),p.enable(e.get("roam"),{api:n,zInfo:{component:e},triggerInfo:{roamTrigger:e.get("roamTrigger"),isInSelf:function(t,e,n){return s.copy(o.getBoundingRect()),s.applyTransform(o.getComputedTransform()),s.contain(e,n)},isInClip:function(t,e,n){return!a||a.contain(e,n)}}}),r.zoomLimit=e.get("scaleLimit"),u=e.coordinateSystem,r.zoom=u?u.getZoom():1,l=e.subType+"Roam",p.off("pan").off("zoom").on("pan",function(t){lI(r,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:l,dx:t.dx,dy:t.dy})}).on("zoom",function(t){uI(r,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:l,zoom:t.scale,originX:t.originX,originY:t.originY}),n.updateLabelLayout()}),d.eachEdge(function(e){var t,n,i,o,r,a,s,l=new zC,u=U(l),u=(u.dataIndex=e.dataIndex,u.seriesIndex=b.seriesIndex,u.dataType="edge",e.getModel()),h=u.getModel("lineStyle"),c=h.get("curveness"),d=e.node1.getLayout(),p=e.node1.getModel(),f=p.get("localX"),p=p.get("localY"),g=e.node2.getLayout(),y=e.node2.getModel(),m=y.get("localX"),y=y.get("localY"),v=e.getLayout(),_=(l.shape.extent=Math.max(1,v.dy),f="vertical"===(l.shape.orient=I)?(t=(null!=f?f*S:d.x)+v.sy,n=(null!=p?p*M:d.y)+d.dy,i=(null!=m?m*S:g.x)+v.ty,r=t,a=n*(1-c)+(o=null!=y?y*M:g.y)*c,s=i,n*c+o*(1-c)):(t=(null!=f?f*S:d.x)+d.dx,n=(null!=p?p*M:d.y)+v.sy,r=t*(1-c)+(i=null!=m?m*S:g.x)*c,a=n,s=t*c+i*(1-c),o=(null!=y?y*M:g.y)+v.ty),l.setShape({x1:t,y1:n,x2:i,y2:o,cpx1:r,cpy1:a,cpx2:s,cpy2:f}),l.useStyle(h.getItemStyle()),WC(l.style,I,e),""+u.get("value")),x=cd(u,"edgeLabel"),p=(hd(l,x,{labelFetcher:{getFormattedLabel:function(t,e,n,i,o,r){return b.getFormattedLabel(t,e,"edge",i,wt(o,x.normal&&x.normal.get("formatter"),_),r)}},labelDataIndex:e.dataIndex,defaultText:_}),l.setTextConfig({position:"inside"}),u.getModel("emphasis")),d=(Mu(l,u,"lineStyle",function(t){t=t.getItemStyle();return WC(t,I,e),t}),w.add(l),T.setItemGraphicEl(e.dataIndex,l),p.get("focus"));bu(l,"adjacency"===d?e.getAdjacentDataIndices():"trajectory"===d?e.getTrajectoryDataIndices():d,p.get("blurScope"),p.get("disabled"))}),d.eachNode(function(t){var e=t.getLayout(),n=t.getModel(),i=n.get("localX"),o=n.get("localY"),r=n.getModel("emphasis"),a=n.get(["itemStyle","borderRadius"])||0,i=new pl({shape:{x:null!=i?i*S:e.x,y:null!=o?o*M:e.y,width:e.dx,height:e.dy,r:a},style:n.getModel("itemStyle").getItemStyle(),z2:10}),o=(hd(i,cd(n),{labelFetcher:{getFormattedLabel:function(t,e){return b.getFormattedLabel(t,e,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),i.disableLabelAnimation=!0,i.setStyle("fill",t.getVisual("color")),i.setStyle("decal",t.getVisual("style").decal),Mu(i,n),w.add(i),f.setItemGraphicEl(t.dataIndex,i),U(i).dataType="node",r.get("focus"));bu(i,"adjacency"===o?t.getAdjacentDataIndices():"trajectory"===o?t.getTrajectoryDataIndices():o,r.get("blurScope"),r.get("disabled"))}),f.eachItemGraphicEl(function(t,n){f.getItemModel(n).get("draggable")&&(t.drift=function(t,e){c._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=e,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:b.id,dataIndex:f.getRawIndex(n),localX:this.shape.x/S,localY:this.shape.y/M})},t.ondragend=function(){c._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")}),!this._data&&b.isAnimationEnabled()&&w.setClipPath((u=w.getBoundingRect(),p=b,d=function(){w.removeClipPath()},_c(h=new pl({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}}),{shape:{width:u.width+20}},p,d),h)),this._data=b.getData()},GC.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},GC.prototype._updateViewCoordSys=function(t,e){var n=t.layoutInfo,i=n.width,n=n.height,e=t.coordinateSystem=new yI(null,{api:e,ecModel:t.ecModel});e.zoomLimit=t.get("scaleLimit"),e.setBoundingRect(0,0,i,n),e.setCenter(t.get("center")),e.setZoom(t.get("zoom")),this._controllerHost.target.attr({x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY})},GC.type="sankey";var VC,FC=GC;function GC(){var t=null!==VC&&VC.apply(this,arguments)||this;return t.type=GC.type,t._mainGroup=new cr,t._focusAdjacencyDisabled=!1,t}function WC(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),o=n.node2.getVisual("color");F(i)&&F(o)&&(t.fill=new Jh(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:o,offset:1}]))}}u(XC,HC=im),XC.prototype.getInitialData=function(t,e){for(var n=t.edges||t.links||[],i=t.data||t.nodes||[],o=t.levels||[],r=(this.levelModels=[],this.levelModels),a=0;av&&(v=b.depth),x.setLayout({depth:B?b.depth:y},!0),"vertical"===c?x.setLayout({dy:h},!0):x.setLayout({dx:h},!0);for(var w=0;we[1]&&e.reverse(),e},B2.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},B2.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)};var E2,z2=B2;function B2(t,e,n,i,o){t=E2.call(this,t,e,n)||this;return t.index=0,t.type=i||"value",t.position=o||"bottom",t}function V2(t,e,n){n=n||{};var i=e.axis,o={},r=i.getAxesOnZeroOf()[0],a=i.position,s=r?"onZero":a,i=i.dim,t=[t.x,t.x+t.width,t.y,t.y+t.height],l={left:0,right:1,top:0,bottom:1,onZero:2},u=e.get("offset")||0,u="x"===i?[t[2]-u,t[3]+u]:[t[0]-u,t[1]+u],h=(r&&(h=r.toGlobalCoord(r.dataToCoord(0)),u[l.onZero]=Math.max(Math.min(h,u[1]),u[0])),o.position=["y"===i?u[l[s]]:t[0],"x"===i?u[l[s]]:t[3]],o.rotation=Math.PI/2*("x"===i?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[a],o.labelOffset=r?u[l[a]]-u[l.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),bt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection),e.get(["axisLabel","rotate"]));return o.labelRotate="top"===s?-h:h,o.z2=1,o}function F2(i){var o={xAxisModel:null,yAxisModel:null};return nt(o,function(t,e){var n=e.replace(/Model$/,""),n=i.getReferringComponents(n,la).models[0];o[e]=n}),o}var G2=[[3,1],[0,2]],W2=(H2.prototype.getRect=function(){return this._rect},H2.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=dt(t),i=n.length;if(i){for(var o=[],r=i-1;0<=r;r--){var a=t[+n[r]],s=a.model,l=a.scale;Q_(l)&&s.get("alignTicks")&&null==s.get("interval")?o.push(a):(n1(l,s),Q_(l)&&(e=a))}o.length&&(e||n1((e=o.pop()).scale,e.model),nt(o,function(t){PT(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var o={};nt(n.x,function(t){X2(n,"y",t,o)}),nt(n.y,function(t){X2(n,"x",t,o)}),this.resize(this.model,e)},H2.prototype.resize=function(t,e,n){var i,o,r,a,s,l=Kp(t,e),u=this._rect=jp(t.getBoxLayoutParams(),l.refContainer),h=this._axesMap,c=this._coordsList,d=t.get("containLabel");Z2(h,u),n||(i=u,o=c,n=h,r=d,a=e,s=new sT($2),nt(n,function(t){return nt(t,function(t){h1(t.model)&&(t.axisBuilder=function(t,e,n,i,o,r){for(var t=V2(t,n),a=!1,s=!1,l=0;lu[1]&&u.reverse(),(s=null==s||s>u[1]?u[1]:s)n||!!e&&(r=tD(t).seriesDataCount,e=o.getExtent(),Math.abs(e[0]-e[1])/r>n)):!0===i)},TD.prototype.makeElOption=function(t,e,n,i,o){},TD.prototype.createPointerEl=function(t,e,n,i){var o=e.pointer;o&&(o=wD(t).pointerEl=new ad[o.type](SD(e.pointer)),t.add(o))},TD.prototype.createLabelEl=function(t,e,n,i){e.label&&(e=wD(t).labelEl=new _l(SD(e.label)),t.add(e),CD(e,i))},TD.prototype.updatePointerEl=function(t,e,n){t=wD(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},TD.prototype.updateLabelEl=function(t,e,n,i){t=wD(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{x:e.label.x,y:e.label.y}),CD(t,i))},TD.prototype._renderHandle=function(t){var e,n,i,o,r,a;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,o=e.getModel("handle"),a=e.get("status"),o.get("show")&&a&&"hide"!==a?(this._handle||(r=!0,i=this._handle=Zc(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Le(t.event)},onmousedown:MD(this._onHandleDragMove,this,0,0),drift:MD(this._onHandleDragMove,this),ondragend:MD(this._onHandleDragEnd,this)}),n.add(i)),kD(i,e,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),V(a=o.get("size"))||(a=[a,a]),i.scaleX=a[0]/2,i.scaleY=a[1]/2,Cm(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,r)):(i&&n.remove(i),this._handle=null))},TD.prototype._moveHandleToValue=function(t,e){ID(this._axisPointerModel,!e&&this._moveAnimation,this._handle,DD(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},TD.prototype._onHandleDragMove=function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(DD(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(DD(t)),wD(n).lastProp=null,this._doDispatchAxisPointer())},TD.prototype._doDispatchAxisPointer=function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},TD.prototype._onHandleDragEnd=function(){var t;this._dragging=!1,this._handle&&(t=this._axisPointerModel.get("value"),this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"}))},TD.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var t=t.getZr(),e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Dm(this,"_doDispatchAxisPointer")},TD.prototype.doClear=function(){},TD.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},TD);function TD(){this._dragging=!1,this.animationThreshold=15}function ID(t,e,n,i){!function n(i,t){{var o;return E(i)&&E(t)?(o=!0,nt(t,function(t,e){o=o&&n(i[e],t)}),!!o):i===t}}(wD(n).lastProp,i)&&(wD(n).lastProp=i,e?vc(n,i,t):(n.stopAnimation(),n.attr(i)))}function CD(t,e){t[e.get(["label","show"])?"show":"hide"]()}function DD(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function kD(t,e,n){var i=e.get("z"),o=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=o&&(t.zlevel=o),t.silent=n)})}function AD(t){var e,n=t.get("type"),t=t.getModel(n+"Style");return"line"===n?(e=t.getLineStyle()).fill=null:"shadow"===n&&((e=t.getAreaStyle()).stroke=null),e}function LD(t,e,n,i,o){var r=PD(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),n=n.getModel("label"),a=Tp(n.get("padding")||0),s=n.getFont(),l=Uo(r,s),u=o.position,h=l.width+a[1]+a[3],l=l.height+a[0]+a[2],c=o.align,c=("right"===c&&(u[0]-=h),"center"===c&&(u[0]-=h/2),o.verticalAlign),i=("bottom"===c&&(u[1]-=l),"middle"===c&&(u[1]-=l/2),o=u,c=h,h=l,i=(l=i).getWidth(),l=l.getHeight(),o[0]=Math.min(o[0]+c,i)-c,o[1]=Math.min(o[1]+h,l)-h,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0),n.get("backgroundColor"));i&&"auto"!==i||(i=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:dd(n,{text:r,font:s,fill:n.getTextColor(),padding:a,backgroundColor:i}),z2:10}}function PD(t,e,n,i,o){t=e.scale.parse(t);var r,a=e.scale.getLabel({value:t},{precision:o.precision}),o=o.formatter;return o&&(r={value:r1(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},nt(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&r.seriesData.push(e)}),F(o)?a=o.replace("{value}",a):N(o)&&(a=o(r))),a}function OD(t,e,n){var i=ze();return We(i,i,n.rotation),Ge(i,i,n.position),Gc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function RD(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function ND(t,e,n,i,o,r){return{cx:t,cy:e,r0:n,r:i,startAngle:o,endAngle:r,clockwise:!0}}u(BD,ED=Xl),BD.prototype.makeElOption=function(t,e,n,i,o){var r,a=n.axis,s=("angle"===a.dim&&(this.animationThreshold=Math.PI/18),a.polar),l=s.getOtherAxis(a).getExtent(),u=a.dataToCoord(e),h=i.get("type"),a=(h&&"none"!==h&&(r=AD(i),(h=FD[h](a,s,u,l)).style=r,t.graphicKey=h.type,t.pointer=h),i.get(["label","margin"]));LD(t,n,i,o,function(t,e,n,i){var o,r,a=e.axis,t=a.dataToCoord(t),s=(l=(l=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());{var l;s="radius"===a.dim?(a=ze(),We(a,a,l),Ge(a,a,[n.cx,n.cy]),o=Gc([t,-i],a),a=e.getModel("axisLabel").get("rotate")||0,e=fT.innerTextLayout(l,a*Math.PI/180,-1),r=e.textAlign,e.textVerticalAlign):(l=s[1],o=n.coordToPoint([l+i,t]),a=n.cx,e=n.cy,r=Math.abs(o[0]-a)/l<.3?"center":o[0]>a?"left":"right",Math.abs(o[1]-e)/l<.3?"middle":o[1]>e?"top":"bottom")}return{position:o,align:r,verticalAlign:s}}(e,n,s,a))};var ED,zD=BD;function BD(){return null!==ED&&ED.apply(this,arguments)||this}var VD,FD={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:RD(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var o=Math.max(1,t.getBandWidth()),r=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:ND(e.cx,e.cy,i[0],i[1],(-n-o/2)*r,(o/2-n)*r)}:{type:"Sector",shape:ND(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}},GD=(u(WD,VD=Xl),WD.prototype.makeElOption=function(t,e,n,i,o){var r,a=n.axis,s=a.grid,l=i.get("type"),u=HD(s,a).getOtherAxis(a).getGlobalExtent(),h=a.toGlobalCoord(a.dataToCoord(e,!0)),a=(l&&"none"!==l&&(r=AD(i),(l=YD[l](a,h,u)).style=r,t.graphicKey=l.type,t.pointer=l),V2(s.getRect(),n));h=e,u=t,r=a,l=n,s=i,e=o,t=fT.innerTextLayout(r.rotation,0,r.labelDirection),r.labelMargin=s.get(["label","margin"]),LD(u,l,s,e,{position:OD(l.axis,h,r),align:t.textAlign,verticalAlign:t.textVerticalAlign})},WD.prototype.getHandleTransform=function(t,e,n){var i=V2(e.axis.grid.getRect(),e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),OD(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},WD.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,o=n.grid,r=n.getGlobalExtent(!0),o=HD(o,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(r[1],a[n]),a[n]=Math.max(r[0],a[n]),(o[1]+o[0])/2),r=[e,e];r[n]=a[n];return{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:r,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}},WD);function WD(){return null!==VD&&VD.apply(this,arguments)||this}function HD(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var YD={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:RD([e,n[0]],[e,n[1]],XD(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:(e=[e-i/2,n[0]],n=[i,o],i=XD(t),{x:e[i=i||0],y:e[1-i],width:n[i],height:n[1-i]})}}};function XD(t){return"x"===t.dim?0:1}u(jD,UD=g),jD.type="axisPointer",jD.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:_.color.border,width:1,type:"dashed"},shadowStyle:{color:_.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:_.color.neutral00,padding:[5,7,5,7],backgroundColor:_.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:_.color.accent40,throttle:40}};var UD,ZD=jD;function jD(){var t=null!==UD&&UD.apply(this,arguments)||this;return t.type=jD.type,t}var qD=i(),KD=nt;function $D(t,e,n){var i,c,d;function o(t,h){c.on(t,function(e){n=d;var n,i,o={dispatchAction:r,pendings:i={showTip:[],hideTip:[]}};function r(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=r,n.dispatchAction(t))}KD(qD(c).records,function(t){t&&h(t,e,o.dispatchAction)});var t,a=o.pendings,s=d,l=a.showTip.length,u=a.hideTip.length;l?t=a.showTip[l-1]:u&&(t=a.hideTip[u-1]),t&&(t.dispatchAction=null,s.dispatchAction(t))})}w.node||(i=e.getZr(),qD(i).records||(qD(i).records={}),d=e,qD(c=i).initialized||(qD(c).initialized=!0,o("click",M(JD,"click")),o("mousemove",M(JD,"mousemove")),o("globalout",QD)),(qD(i).records[t]||(qD(i).records[t]={})).handler=n)}function QD(t,e,n){t.handler("leave",null,n)}function JD(t,e,n,i){e.handler(t,n,i)}function tk(t,e){w.node||(e=e.getZr(),(qD(e).records||{})[t]&&(qD(e).records[t]=null))}u(ik,ek=cm),ik.prototype.render=function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";$D("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},ik.prototype.remove=function(t,e){tk("axisPointer",e)},ik.prototype.dispose=function(t,e){tk("axisPointer",e)},ik.type="axisPointer";var ek,nk=ik;function ik(){var t=null!==ek&&ek.apply(this,arguments)||this;return t.type=ik.type,t}function ok(t,e){var n,i,o,r,a=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||null==(s=oa(n=e.getData(),t))||s<0||V(s)?{point:[]}:(i=n.getItemGraphicEl(s),o=e.coordinateSystem,e.getTooltipPosition?a=e.getTooltipPosition(s)||[]:o&&o.dataToPoint?a=t.isStacked?(e=o.getBaseAxis(),t=o.getOtherAxis(e).dim,e=e.dim,t="x"===t||"radius"===t?1:0,e=n.mapDimension(e),(r=[])[t]=n.get(e,s),r[1-t]=n.get(n.getCalculationInfo("stackResultDimension"),s),o.dataToPoint(r)||[]):o.dataToPoint(n.getValues(B(o.dimensions,function(t){return n.mapDimension(t)}),s))||[]:i&&((e=i.getBoundingRect().clone()).applyTransform(i.transform),a=[e.x+e.width/2,e.y+e.height/2]),{point:a,el:i})}var rk=i();function ak(t,e,n){var r,a,i,s,l,o,u,h,c,d,p,f,g,y,m=t.currTrigger,v=[t.x,t.y],_=t,x=t.dispatchAction||S(n.dispatchAction,n),b=e.getComponent("axisPointer").coordSysAxesInfo;if(b)return ck(v)&&(v=ok({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},e).point),r=ck(v),a=_.axesInfo,i=b.axesInfo,s="leave"===m||ck(v),l={},e={list:[],map:{}},u={showPointer:M(lk,o={}),showTooltip:M(uk,e)},nt(b.coordSysMap,function(t,e){var o=r||t.containPoint(v);nt(b.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);s||!o||a&&!i||null!=(i=null!=(i=i&&i.value)||r?i:n.pointToData(v))&&sk(t,i,u,!1,l)})}),h={},nt(i,function(n,t){var i=n.linkGroup;i&&!o[t]&&nt(i.axesInfo,function(t,e){var e=o[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,hk(t),hk(n)))),h[n.key]=e)})}),nt(h,function(t,e){sk(i[e],t,u,!0,l)}),c=o,_=i,d=l.axesInfo=[],nt(_,function(t,e){var n=t.axisPointerModel.option,e=c[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&d.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),m=e,_=t,e=x,ck(t=v)||!m.list.length?e({type:"hideTip"}):(x=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:x.dataIndexInside,dataIndex:x.dataIndex,seriesIndex:x.seriesIndex,dataByCoordSys:m.list})),e=i,_=(t=n).getZr(),x="axisPointerLastHighlights",p=rk(_)[x]||{},f=rk(_)[x]={},nt(e,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&nt(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;f[e]=t})}),g=[],y=[],nt(p,function(t,e){f[e]||y.push(t)}),nt(f,function(t,e){p[e]||g.push(t)}),y.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),l}function sk(t,e,n,i,o){var r,a,s,l,u,h,c,d,p,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(a=e,s=t.axis,l=s.dim,u=a,h=[],c=Number.MAX_VALUE,d=-1,nt(t.seriesModels,function(e,t){var n,i=e.getData().mapDimensionsAll(l);if(e.getAxisTooltipData)var o=e.getAxisTooltipData(i,a,s),r=o.dataIndices,o=o.nestestValue;else{if(!(r=e.indicesOfNearest(l,i[0],a,"category"===s.type?.5:null)).length)return;o=e.getData().get(i[0],r[0])}null!=o&&isFinite(o)&&(i=a-o,(n=Math.abs(i))<=c)&&((ne[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var t=t-this.cx,e=e-this.cy,t=t*t+e*e,e=this.r,n=this.r0;return e!==n&&t-1e-4<=e*e&&n*n<=1e-4+t},x:this.cx-e[1],y:this.cy-e[1],width:2*e[1],height:2*e[1]}},Ok.prototype.convertToPixel=function(t,e,n){return Rk(e)===this?this.dataToPoint(n):null},Ok.prototype.convertFromPixel=function(t,e,n){return Rk(e)===this?this.pointToData(n):null},Ok);function Ok(t){this.dimensions=Lk,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Tk,this._angleAxis=new kk,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}function Rk(t){var e=t.seriesModel,t=t.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function Nk(t,e){var n,i=this,o=i.getAngleAxis(),r=i.getRadiusAxis();o.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){var e;t.coordinateSystem===i&&(nt(l1(e=t.getData(),"radius"),function(t){r.scale.unionExtentFromData(e,t)}),nt(l1(e,"angle"),function(t){o.scale.unionExtentFromData(e,t)}))}),n1(o.scale,o.model),n1(r.scale,r.model),"category"!==o.type||o.onBand||(t=o.getExtent(),n=360/o.scale.count(),o.inverse?t[1]+=n:t[1]-=n,o.setExtent(t[0],t[1]))}function Ek(t,e){var n,i;t.type=e.get("type"),t.scale=i1(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse=t.inverse!==e.get("clockwise"),n=e.get("startAngle"),i=null!=(i=e.get("endAngle"))?i:n+(t.inverse?-360:360),t.setExtent(n,i)),(e.axis=t).model=e}var zk={dimensions:Lk,create:function(t,a){var s=[];return t.eachComponent("polar",function(t,e){var e=new Pk(e+""),n=(e.update=Nk,e.getRadiusAxis()),i=e.getAngleAxis(),o=t.findAxisModel("radiusAxis"),r=t.findAxisModel("angleAxis");Ek(n,o),Ek(i,r),n=e,o=a,r=(i=t).get("center"),o=Kp(i,o).refContainer,n.cx=Y(r[0],o.width)+o.x,n.cy=Y(r[1],o.height)+o.y,r=n.getRadiusAxis(),n=Math.min(o.width,o.height)/2,null==(o=i.get("radius"))?o=[0,"100%"]:V(o)||(o=[0,o]),i=[Y(o[0],n),Y(o[1],n)],r.inverse?r.setExtent(i[1],i[0]):r.setExtent(i[0],i[1]),s.push(e),(t.coordinateSystem=e).model=t}),t.eachSeries(function(t){var e;"polar"===t.get("coordinateSystem")&&(e=t.getReferringComponents("polar",la).models[0],t.coordinateSystem=e.coordinateSystem)}),s}},Bk=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function Vk(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function Fk(t){return t.getRadiusAxis().inverse?0:1}function Gk(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}u(Yk,Wk=rD),Yk.prototype.render=function(e,t){var n,i,o,r,a,s;this.group.removeAll(),e.get("show")&&(n=e.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),r=n.getTicksCoords({breakTicks:"none"}),a=n.getMinorTicksCoords(),Gk(s=B(n.getViewLabels(),function(t){t=v(t);var e=n.scale,e="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(e),t})),Gk(r),nt(Bk,function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||Uk[t](this.group,e,i,r,a,o,s)},this))},Yk.type="angleAxis";var Wk,Hk=Yk;function Yk(){var t=null!==Wk&&Wk.apply(this,arguments)||this;return t.type=Yk.type,t.axisPointerClass="PolarAxisPointer",t}var Xk,Uk={axisLine:function(t,e,n,i,o,r){var e=e.getModel(["axisLine","lineStyle"]),a=n.getAngleAxis(),s=Math.PI/180,l=a.getExtent(),u=Fk(n),h=u?0:1,c=360===Math.abs(l[1]-l[0])?"Circle":"Arc",c=0===r[h]?new ad[c]({shape:{cx:n.cx,cy:n.cy,r:r[u],startAngle:-l[0]*s,endAngle:-l[1]*s,clockwise:a.inverse},style:e.getLineStyle(),z2:1,silent:!0}):new bh({shape:{cx:n.cx,cy:n.cy,r:r[u],r0:r[h]},style:e.getLineStyle(),z2:1,silent:!0});c.style.fill=null,t.add(c)},axisTick:function(t,e,n,i,o,r){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=r[Fk(n)],r=B(i,function(t){return new Nh({shape:Vk(n,[l,l+s],t.coord)})});t.add(Ec(r,{style:z(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,o,r){if(o.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=r[Fk(n)],h=[],c=0;ca?"left":"right",o=Math.abs(r[1]-s)/o<.3?"middle":r[1]>s?"top":"bottom",l=(p&&p[i]&&E(s=p[i])&&s.textStyle&&(n=new Nd(s.textStyle,f,f.ecModel)),new _l({silent:fT.isLabelSilent(h),style:dd(n,{x:r[0],y:r[1],fill:n.getTextColor()||h.get(["axisLine","lineStyle","color"]),text:t.formattedLabel,align:a,verticalAlign:o})}));u.add(l),Qc({el:l,componentModel:h,itemName:t.formattedLabel,formatterParamsExtra:{isTruncated:function(){return l.isTruncated},value:t.rawLabel,tickIndex:e}}),y&&((i=fT.makeAxisEventDataBase(h)).targetType="axisLabel",i.value=t.rawLabel,U(l).eventData=i)},this)},splitLine:function(t,e,n,i,o,r){for(var a=e.getModel("splitLine").getModel("lineStyle"),s=0,l=(l=a.get("color"))instanceof Array?l:[l],u=[],h=0;hn[o],f=[-c.x,-c.y],e=(e||(f[i]=l[s]),[0,0]),s=[-d.x,-d.y],g=W(t.get("pageButtonGap",!0),t.get("itemGap",!0)),f=(p&&("end"===t.get("pageButtonPosition",!0)?s[i]+=n[o]-d[o]:e[i]+=d[o]+g),s[1-i]+=c[r]/2-d[r]/2,l.setPosition(f),u.setPosition(e),h.setPosition(s),{x:0,y:0}),c=(f[o]=(p?n:c)[o],f[r]=Math.max(c[r],d[r]),f[a]=Math.min(0,d[a]+s[1-i]),u.__rectSize=n[o],p?((e={x:0,y:0})[o]=Math.max(n[o]-d[o]-g,0),e[r]=f[r],u.setClipPath(new pl({shape:e})),u.__rectSize=e[o]):h.eachChild(function(t){t.attr({invisible:!0,silent:!0})}),this._getPageInfo(t));return null!=c.pageIndex&&vc(l,{x:c.contentPosition[0],y:c.contentPosition[1]},p?t:null),this._updatePageInfoView(t,c),f},zA.prototype._pageGo=function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},zA.prototype._updatePageInfoView=function(n,i){var o=this._controllerGroup,t=(nt(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=o.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")}),o.childOfName("pageText")),e=n.get("pageFormatter"),r=i.pageIndex,r=null!=r?r+1:0,a=i.pageCount;t&&e&&t.setStyle("text",F(e)?e.replace("{current}",null==r?"":r+"").replace("{total}",null==a?"":a+""):e({current:r,total:a}))},zA.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,t=t.getOrient().index,o=RA[t],r=NA[t],e=this._findTargetItemIndex(e),a=n.children(),s=a[e],l=a.length,u=l?1:0,h={contentPosition:[n.x,n.y],pageCount:u,pageIndex:u-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s);h.contentPosition[t]=-n.s;for(var c=e+1,d=n,p=n,f=null;c<=l;++c)(!(f=g(a[c]))&&p.e>d.s+i||f&&!y(f,d.s))&&(d=p.i>d.i?p:f)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=d.i),++h.pageCount),p=f;for(c=e-1,d=n,p=n,f=null;-1<=c;--c)(f=g(a[c]))&&y(p,f.s)||!(d.i=e&&t.s<=e+i}},zA.prototype._findTargetItemIndex=function(n){var i,o;return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==o&&null!=t&&(o=e),t===n&&(i=e)}),null!=i?i:o):0},zA.type="legend.scroll",zA);function zA(){var t=null!==PA&&PA.apply(this,arguments)||this;return t.type=zA.type,t.newlineDisabled=!0,t._currentIndex=0,t}y1(function(t){y1(CA),t.registerComponentModel(kA),t.registerComponentView(EA),t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})});u(FA,BA=g),FA.type="tooltip",FA.dependencies=["axisPointer"],FA.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:_.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:_.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:_.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:_.color.tertiary,fontSize:14}};var BA,VA=FA;function FA(){var t=null!==BA&&BA.apply(this,arguments)||this;return t.type=FA.type,t}function GA(t){var e=t.get("confine");return null!=e?e:"richText"===t.get("renderMode")}function WA(t){if(w.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n'):""),F(t))r.innerHTML=t+c;else if(t){r.innerHTML="",V(t)||(t=[t]);for(var d,p=0;p"),r=f.join(e);this._showOrMove(i,function(){this._updateContentNotChangedOnAxis(t,d)?this._updatePosition(i,o,n[0],n[1],this._tooltipContent,d):this._showTooltipContent(i,r,d,Math.random()+"",n[0],n[1],o,null,g)})},sL.prototype._showSeriesItemTooltip=function(t,e,n){var i,o,r,a,s,l=this._ecModel,e=U(e),u=e.seriesIndex,h=l.getSeriesByIndex(u),c=e.dataModel||h,d=e.dataIndex,e=e.dataType,p=c.getData(e),f=this._renderMode,g=t.positionDefault,y=lL([p.getItemModel(d),c,h&&(h.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null),h=y.get("trigger");null!=h&&"item"!==h||(i=c.getDataParams(d,e),o=new $y,i.marker=o.makeTooltipMarker("item",Lp(i.color),f),g=Hg(c.formatTooltip(d,!1,e)),h=y.get("order"),e=y.get("valueFormatter"),r=g.frag,a=r?Uy(e?P({valueFormatter:e},r):r,o,f,h,l.get("useUTC"),y.get("textStyle")):g.text,s="item_"+c.name+"_"+d,this._showOrMove(y,function(){this._showTooltipContent(y,a,i,s,t.offsetX,t.offsetY,t.position,t.target,o)}),n({type:"showTip",dataIndexInside:d,dataIndex:p.getRawIndex(d),seriesIndex:u,from:this.uid}))},sL.prototype._showComponentItemTooltip=function(e,n,t){var i="html"===this._renderMode,o=U(n),r=o.tooltipConfig.option||{},a=r.encodeHTMLContent,a=(F(r)&&(r={content:r,formatter:r},a=!0),a&&i&&r.content&&((r=v(r)).content=Se(r.content)),[r]),i=this._ecModel.getComponent(o.componentMainType,o.componentIndex),o=(i&&a.push(i),a.push({formatter:r.content}),e.positionDefault),s=lL(a,this._tooltipModel,o?{position:o}:null),l=s.get("content"),u=Math.random()+"",h=new $y;this._showOrMove(s,function(){var t=v(s.get("formatterParams")||{});this._showTooltipContent(s,l,t,u,e.offsetX,e.offsetY,e.position,n,h)}),t({type:"showTip",from:this.uid})},sL.prototype._showTooltipContent=function(n,t,i,e,o,r,a,s,l){var u,h,c,d,p;this._ticket="",n.get("showContent")&&n.get("show")&&((u=this._tooltipContent).setEnterable(n.get("enterable")),h=n.get("formatter"),a=a||n.get("position"),t=t,c=this._getNearestPoint([o,r],i,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)).color,h&&(t=F(h)?(d=n.ecModel.get("useUTC"),t=h,kp(t=(p=V(i)?i[0]:i)&&p.axisType&&0<=p.axisType.indexOf("time")?sp(p.axisValue,t,d):t,i,!0)):N(h)?(p=S(function(t,e){t===this._ticket&&(u.setContent(e,l,n,c,a),this._updatePosition(n,a,o,r,u,i,s))},this),this._ticket=e,h(i,e,p)):h),u.setContent(t,l,n,c,a),u.show(n,c),this._updatePosition(n,a,o,r,u,i,s))},sL.prototype._getNearestPoint=function(t,e,n,i,o){return"axis"===n||V(e)?{color:i||o}:V(e)?void 0:{color:i||e.color||e.borderColor}},sL.prototype._updatePosition=function(t,e,n,i,o,r,a){var s,l=this._api.getWidth(),u=this._api.getHeight(),h=(e=e||t.get("position"),o.getSize()),c=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();a&&p.applyTransform(a.transform),V(e=N(e)?e([n,i],r,o.el,p,{viewSize:[l,u],contentSize:h.slice()}):e)?(n=Y(e[0],l),i=Y(e[1],u)):E(e)?((r=e).width=h[0],r.height=h[1],n=(r=jp(r,{width:l,height:u})).x,i=r.y,d=c=null):i=(n=(s=F(e)&&a?function(t,e,n,i){var o=n[0],r=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-o/2,l=e.y+h/2-r/2;break;case"top":s=e.x+u/2-o/2,l=e.y-r-a;break;case"bottom":s=e.x+u/2-o/2,l=e.y+h+a;break;case"left":s=e.x-o-a,l=e.y+h/2-r/2;break;case"right":s=e.x+u+a,l=e.y+h/2-r/2}return[s,l]}(e,p,h,t.get("borderWidth")):function(t,e,n,i,o,r,a){var n=n.getSize(),s=n[0],n=n[1];null!=r&&(ih[0]?s:o)[0]:r[0]=(a[0]>h[0]?o:s)[0],"y0"===n[1]?r[1]=(a[1]>h[1]?s:o)[1]:r[1]=(a[1]>h[1]?o:s)[1],i.getMarkerPosition(r,n,!0)):(a=[l=t.get(n[0],e),u=t.get(n[1],e)],c.clampData&&c.clampData(a,a),c.dataToPoint(a,!0)),_w(c,"cartesian2d")&&(o=c.getAxis("x"),s=c.getAxis("y"),l=t.get(n[0],e),u=t.get(n[1],e),QL(l)?h[0]=o.toGlobalCoord(o.getExtent()["x0"===n[0]?0:1]):QL(u)&&(h[1]=s.toGlobalCoord(s.getExtent()["y0"===n[1]?0:1]))),isNaN(p)||(h[0]=p),isNaN(d)||(h[1]=d)):h=[p,d],h}var nP,iP=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],oP=(u(rP,nP=_a),rP.prototype.updateTransform=function(t,e,o){e.eachSeries(function(n){var i,t=gL.getMarkerModelFromSeries(n,"markArea");t&&(i=t.getData()).each(function(e){var t=B(iP,function(t){return eP(i,e,t,n,o)});i.setItemLayout(e,t),i.getItemGraphicEl(e).setShape("points",t)})},this)},rP.prototype.renderSeries=function(a,o,t,s){var l=a.coordinateSystem,e=a.id,u=a.getData(),n=this.markerGroupMap,r=n.get(e)||n.set(e,{group:new cr}),h=(this.group.add(r.group),this.markKeep(r),function(t,n,e){var i,o;{var r;i=t?(r=B(t&&t.dimensions,function(t){var e=n.getData();return P(P({},e.getDimensionInfo(e.mapDimension(t))||{}),{name:t,ordinalMeta:null})}),o=B(["x0","y0","x1","y1"],function(t,e){return{name:t,type:r[e%2].type}}),new H_(o,e)):new H_(o=[{name:"value",type:"float"}],e)}e=B(e.get("data"),M(KL,n,t,e));t&&(e=ht(e,M(tP,t)));t=t?function(t,e,n,i){return ny(t.coord[Math.floor(i/2)][i%2],o[i])}:function(t,e,n,i){return ny(t.value,o[i])};return i.initData(e,null,t),i.hasItemOption=!0,i}(l,a,o));o.setData(h),h.each(function(e){var t=B(iP,function(t){return eP(h,e,t,a,s)}),n=l.getAxis("x").scale,i=l.getAxis("y").scale,o=n.getExtent(),r=i.getExtent(),n=[n.parse(h.get("x0",e)),n.parse(h.get("x1",e))],i=[i.parse(h.get("y0",e)),i.parse(h.get("y1",e))],o=(kr(n),kr(i),!(o[0]>n[1]||o[1]i[1]||r[1]r&&(e[1-i]=e[i]+n.sign*r)}function wP(t,e){t=t[e]-t[1-e];return{span:Math.abs(t),sign:0e[1]&&(e[1]=t[1])})}),[(e=Jx((n=e.getAxisModel()).axis.scale,n,o).calculate()).min,e.max]),this._updateMinMaxSpan(),n=this.calculateDataWindow(t.settledOption),this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel())},BP.prototype.filterData=function(t,e){var o,n,r,c;t===this._dataZoomModel&&(o=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),c=this._valueWindow,"none"!==r)&&NP(n,function(n){var l,u,i=n.getData(),h=i.mapDimensionsAll(o);h.length&&("weakFilter"===r?(l=i.getStore(),u=B(h,function(t){return i.getDimensionIndex(t)},i),i.filterSelf(function(t){for(var e,n,i,o=0;oc[1];if(a&&!s&&!r)return!0;a&&(i=!0),s&&(e=!0),r&&(n=!0)}return i&&e&&n})):NP(h,function(t){var e;"empty"===r?n.setData(i=i.map(t,function(t){return(e=t)>=c[0]&&e<=c[1]?t:NaN;var e})):((e={})[t]=c,i.selectRange(e))}),NP(h,function(t){i.setApproximateExtent(c,t)}))})},BP.prototype._updateMinMaxSpan=function(){var i=this._minMaxSpan={},o=this._dataZoomModel,r=this._dataExtent;NP(["min","max"],function(t){var e=o.get(t+"Span"),n=o.get(t+"ValueSpan");null!=(n=null!=n?this.getAxisModel().axis.scale.parse(n):n)?e=Ir(r[0]+n,r,[0,100],!0):null!=e&&(n=Ir(e,[0,100],r,!0)-r[0]),i[t+"Span"]=e,i[t+"ValueSpan"]=n},this)},BP.prototype._setAxisModel=function(){var t,e=this.getAxisModel(),n=this._percentWindow,i=this._valueWindow;n&&(t=Pr(i,[0,500]),t=Math.min(t,20),e=e.axis.scale.rawExtentInfo,0!==n[0]&&e.setDeterminedMinMax("min",+i[0].toFixed(t)),100!==n[1]&&e.setDeterminedMinMax("max",+i[1].toFixed(t)),e.freeze())},BP);function BP(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}var VP={getTargetSeries:function(r){function t(o){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(t,e){var n=r.getComponent(lP(t),e);o(t,e,n,i)})})}t(function(t,e,n,i){n.__dzAxisProxy=null});var o=[],e=(t(function(t,e,n,i){n.__dzAxisProxy||(n.__dzAxisProxy=new zP(t,e,i,r),o.push(n.__dzAxisProxy))}),it());return nt(o,function(t){nt(t.getTargetSeriesModels(),function(t){e.set(t.uid,t)})}),e},overallReset:function(t,i){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(t,e){n.getAxisProxy(t,e).reset(n)}),n.eachTargetAxis(function(t,e){n.getAxisProxy(t,e).filterData(n,i)})}),t.eachComponent("dataZoom",function(t){var e,n=t.findRepresentativeAxisProxy();n&&(e=n.getDataPercentWindow(),n=n.getDataValueWindow(),t.setCalculatedRange({start:e[0],end:e[1],startValue:n[0],endValue:n[1]}))})}};var FP=!1;function GP(t){FP||(FP=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,VP),t.registerAction("dataZoom",function(e,t){nt(uP(t,e),function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function WP(t){GP(t),t.registerComponentModel(mP),t.registerComponentView(AP),DP(t)}u(XP,HP=c0),XP.type="dataZoom.slider",XP.layoutMode="box",XP.defaultOption=Vd(c0.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:_.color.accent10,borderRadius:0,backgroundColor:_.color.transparent,dataBackground:{lineStyle:{color:_.color.accent30,width:.5},areaStyle:{color:_.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:_.color.accent40,width:.5},areaStyle:{color:_.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:_.color.neutral00,borderColor:_.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:_.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:_.color.tertiary},brushSelect:!0,brushStyle:{color:_.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:_.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15});var HP,YP=XP;function XP(){var t=null!==HP&&HP.apply(this,arguments)||this;return t.type=XP.type,t}var UP,ZP=pl,jP="horizontal",qP="vertical",KP=["line","bar","candlestick","scatter"],$P={easing:"cubicOut",duration:100,delay:0},QP=(u(JP,UP=jh),JP.prototype.init=function(t,e){this.api=e,this._onBrush=S(this._onBrush,this),this._onBrushEnd=S(this._onBrushEnd,this)},JP.prototype.render=function(t,e,n,i){UP.prototype.render.apply(this,arguments),Cm(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1===t.get("show")?this.group.removeAll():t.noTarget()?(this._clear(),this.group.removeAll()):(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView())},JP.prototype.dispose=function(){this._clear(),UP.prototype.dispose.apply(this,arguments)},JP.prototype._clear=function(){Dm(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},JP.prototype._buildView=function(){var t=this.group,e=(t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval(),this._displayables.sliderGroup=new cr);this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},JP.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,e=Kp(t,e).refContainer,i=this._findCoordRect(),o=t.get("defaultLocationEdgeGap",!0)||0,r=this._orient===jP?{right:e.width-i.x-i.width,top:e.height-30-o-n,width:i.width,height:30}:{right:o,top:i.y,width:30,height:i.height},a=Jp(t.option),n=(nt(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=r[t])}),jp(a,e));this._location={x:n.x,y:n.y},this._size=[n.width,n.height],this._orient===qP&&this._size.reverse()},JP.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),i=i&&i.get("inverse"),o=this._displayables.sliderGroup,r=(this._dataShadowInfo||{}).otherAxisInverse,n=(o.attr(n!==jP||i?n===jP&&i?{scaleY:r?1:-1,scaleX:-1}:n!==qP||i?{scaleY:r?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:r?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:r?1:-1,scaleX:1}),t.getBoundingRect([o]));t.x=e.x-n.x,t.y=e.y-n.y,t.markRedraw()},JP.prototype._getViewExtent=function(){return[0,this._size[0]]},JP.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect"),t=(n.add(new ZP({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),new ZP({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:S(this._onClickPanel,this)})),e=this.api.getZr();i?(t.on("mousedown",this._onBrushStart,this),t.cursor="crosshair",e.on("mousemove",this._onBrush),e.on("mouseup",this._onBrushEnd)):(e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)),n.add(t)},JP.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,o=i.getRawData(),r=i.getShadowDim&&i.getShadowDim(),r=r&&o.getDimensionInfo(r)?i.getShadowDim():t.otherDim;if(null!=r)for(var a,s,l,u,h,c,d,p,f,g,y,m,v,_=this._shadowPolygonPts,x=this._shadowPolylinePts,b=(o===this._shadowData&&r===this._shadowDim&&e[0]===n[0]&&e[1]===n[1]||(a=o.getDataExtent(t.thisDim),i=.3*((s=o.getDataExtent(r))[1]-s[0]),s=[s[0]-i,s[1]+i],l=[0,e[1]],n=[0,e[0]],u=[[e[0],0],[0,0]],h=[],c=n[1]/Math.max(1,o.count()-1),d=e[0]/(a[1]-a[0]),p="time"===t.thisAxis.type,f=-c,g=Math.round(o.count()/e[0]),o.each([t.thisDim,r],function(t,e,n){0e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,t=this._updateInterval("all",t[0]-e),this._updateView(),t&&this._dispatchZoomAction(!1))},JP.prototype._onBrushStart=function(t){var e=t.offsetX,t=t.offsetY;this._brushStart=new H(e,t),this._brushing=!0,this._brushStartTime=+new Date},JP.prototype._onBrushEnd=function(t){var e,n,i,o;this._brushing&&(i=this._displayables.brushRect,this._brushing=!1,i)&&(i.attr("ignore",!0),i=i.shape,+new Date-this._brushStartTime<200&&Math.abs(i.width)<5||(e=this._getViewExtent(),n=[0,100],bP(0,i=this._handleEnds=[i.x,i.x+i.width],e,0,null!=(o=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan()).minSpan?Ir(o.minSpan,n,e,!0):null,null!=o.maxSpan?Ir(o.maxSpan,n,e,!0):null),this._range=kr([Ir(i[0],e,n,!0),Ir(i[1],e,n,!0)]),this._updateView(),this._dispatchZoomAction(!1)))},JP.prototype._onBrush=function(t){this._brushing&&(Le(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},JP.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,o=n.brushRect,i=(o||(o=n.brushRect=new ZP({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(o)),o.attr("ignore",!1),this._brushStart),n=this._displayables.sliderGroup,t=n.transformCoordToLocal(t,e),e=n.transformCoordToLocal(i.x,i.y),n=this._size;t[0]=Math.max(Math.min(n[0],t[0]),0),o.setShape({x:e[0],y:0,width:t[0]-e[0],height:n[1]})},JP.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?$P:null,start:e[0],end:e[1]})},JP.prototype._findCoordRect=function(){var t,e,n=hP(this.dataZoomModel).infoList;return t=(t=!t&&n.length?(n=n[0].model.coordinateSystem).getRect&&n.getRect():t)?t:{x:.2*(n=this.api.getWidth()),y:.2*(e=this.api.getHeight()),width:.6*n,height:.6*e}},JP.type="dataZoom.slider",JP);function JP(){var t=null!==UP&&UP.apply(this,arguments)||this;return t.type=JP.type,t._displayables={},t}function tO(t){t.registerComponentModel(YP),t.registerComponentView(QP),GP(t)}y1(function(t){y1(WP),y1(tO)}),y1(iw);var eO={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},nO=(iO.prototype.evaluate=function(t){var e=typeof t;return F(e)?this._condVal.test(t):!!G(e)&&this._condVal.test(t+"")},iO);function iO(t){null==(this._condVal=F(t)?new RegExp(t):_t(t)?t:null)&&f("")}rO.prototype.evaluate=function(){return this.value};var oO=rO;function rO(){}sO.prototype.evaluate=function(){for(var t=this.children,e=0;e[]},width:{type:Number,default:300},height:{type:Number,default:300},colorList:{type:Array,default:()=>["#60A5FA","#FEC200","#EF4444"]},fontSizeConfig:{type:Object,default:()=>({minSize:12,maxSize:40,scaleFactor:.1})}},data(){return{canvasWidth:this.width,canvasHeight:this.height,ctx:null,placedWords:[]}},watch:{wordData:{handler(){this.drawWordCloud()},deep:!0}},mounted(){this.initCanvas()},methods:{async initCanvas(){await new Promise((t=>setTimeout(t,50)));t.index.createSelectorQuery().in(this).select(".word-cloud-canvas").fields({node:!0,size:!0}).exec((async e=>{if(!e||!e[0]||!e[0].node)return void console.error("获取canvas节点失败,请检查canvas是否正确渲染");const a=e[0].node;let i=null;try{i=a.getContext("2d")}catch(o){console.warn("获取2d上下文失败,尝试兼容处理",o),i=t.index.createCanvasContext("wordCloudCanvas",this)}if(!i)return void console.error("无法获取canvas 2d上下文");const s=t.index.getSystemInfoSync().pixelRatio||1;a.width=this.canvasWidth*s,a.height=this.canvasHeight*s,i.scale(s,s),this.ctx=i,this.drawWordCloud()}))},drawWordCloud(){if(!this.ctx||!this.wordData.length)return;this.ctx.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.placedWords=[];const t=[...this.wordData].sort(((t,e)=>e.value-t.value)),e=t.map((t=>t.value));this.valueMax=Math.max(...e),this.valueMin=Math.min(...e),t.forEach(((t,e)=>{this.placeWord(t,e)}))},placeWord(t,e){const a=this.ctx,{minSize:i,maxSize:s,scaleFactor:o}=this.fontSizeConfig;let n=1;this.valueMax!==this.valueMin&&(n=(t.value-this.valueMin)/(this.valueMax-this.valueMin));const h=Math.min(i+(s-i)*n*o,s),r=120*(Math.random()-.5)*Math.PI/180;a.font=`${h}px sans-serif`;const c=a.measureText(t.text||t.name).width,d=1.05*h;for(let l=0;l<150;l++){const e=.05*this.canvasWidth+Math.random()*this.canvasWidth*.9,i=.05*this.canvasHeight+Math.random()*this.canvasHeight*.9;if(!this.checkOverlap(e,i,c,d,r,2)){const s=this.canvasWidth/2,o=this.canvasHeight/2,n=Math.sqrt(Math.pow(e-s,2)+Math.pow(i-o,2)),l=Math.sqrt(Math.pow(s,2)+Math.pow(o,2));let u;u=n>.66*l?this.colorList[0]:n>.33*l?this.colorList[1]:this.colorList[2],a.fillStyle=u,this.drawTextAtPosition(t.text||t.name,e,i,r,h),this.placedWords.push({x:e,y:i,width:c,height:d,angle:r});break}}},checkOverlap(t,e,a,i,s,o=2){const n=this.getBoundingRect(t,e,a,i,s,o);for(const h of this.placedWords){const t=this.getBoundingRect(h.x,h.y,h.width,h.height,h.angle,o);if(n.leftt.left&&n.topt.top)return!0}return!1},getBoundingRect(t,e,a,i,s,o=2){const n=Math.cos(s),h=Math.sin(s),r=(a-o)/2,c=(i-o)/2,d=[{x:-r,y:-c},{x:-r,y:c},{x:r,y:c},{x:r,y:-c}].map((a=>({x:t+a.x*n-a.y*h,y:e+a.x*h+a.y*n})));return{left:Math.min(...d.map((t=>t.x))),right:Math.max(...d.map((t=>t.x))),top:Math.min(...d.map((t=>t.y))),bottom:Math.max(...d.map((t=>t.y)))}},drawTextAtPosition(t,e,a,i,s){const o=this.ctx;o.save(),o.translate(e,a),o.rotate(i),o.textAlign="center",o.textBaseline="middle",o.fillText(t,0,0),o.restore()}}};const a=t._export_sfc(e,[["render",function(t,e,a,i,s,o){return{a:s.canvasWidth+"px",b:s.canvasHeight+"px"}}],["__scopeId","data-v-e748f4a2"]]);exports.MiniProgramPage=a; diff --git a/unpackage/dist/build/mp-weixin/app.js b/unpackage/dist/build/mp-weixin/app.js new file mode 100644 index 0000000..08a981b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/app.js @@ -0,0 +1 @@ +"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js"),t=require("./utils/share.js");Math;const o={onLaunch:function(){console.log("App Launch");let t=e.index.getWindowInfo();e.provide("statusHeight",t.statusBarHeight),e.provide("windowWidth",t.windowWidth),e.provide("safeAreaTop",t.safeArea.top);var o=t.safeAreaInsets.bottom;let n=e.index.getMenuButtonBoundingClientRect();e.provide("navHeight",n.bottom+n.top-t.statusBarHeight),e.provide("menuTop",n.top),e.provide("menuHeight",n.height),e.provide("isiPhoneX",34==o)},onShow:function(){console.log("App Show"),this.updateManager()},onHide:function(){console.log("App Hide")},globalData:{mobileReg:/^1[3456789][0-9]{9}$/},methods:{updateManager(){const t=e.index.getUpdateManager();t.onCheckForUpdate((o=>{o.hasUpdate&&e.index.showModal({title:"更新提示",content:"检测到新版本,是否下载新版本并重启小程序?",success(o){o.confirm&&t.onUpdateReady((()=>{e.index.showModal({title:"更新提示",content:"新版本已经准备好,即将重启应用",showCancel:!1,success(e){e.confirm&&t.applyUpdate()}})}))},fail(e){}}),t.onUpdateFailed((()=>{e.index.showModal({title:"更新提示",content:"新版本下载失败",showCancel:!1})}))}))}}};function n(){const n=e.createSSRApp(o);return n.mixin(t.share),{app:n}}n().app.mount("#app"),exports.createApp=n; diff --git a/unpackage/dist/build/mp-weixin/app.json b/unpackage/dist/build/mp-weixin/app.json new file mode 100644 index 0000000..5fa8baf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/app.json @@ -0,0 +1,88 @@ +{ + "pages": [ + "pages/index/index", + "pages/invest/invest", + "pages/concept/concept", + "pages/mine/mine", + "pages/mine/basicInfo/basicInfo", + "pages/mine/feedback/feedback", + "pages/mine/commentReply/commentReply", + "pages/mine/investPreference/investPreference", + "pages/index/eventDetails/eventDetails", + "pages/invest/investDetails/investDetails", + "pages/index/stockDetails/stockDetails", + "pages/index/conceptDetails/conceptDetails", + "pages/mine/followCollect/followCollect", + "pages/mine/myLike/myLike", + "pages/login/login", + "pages/login/codeLogin/codeLogin", + "pages/mine/web/web", + "pages/concept/historicalTimeline/historicalTimeline", + "pages/concept/hotStock/hotStock", + "pages/concept/newsDetails/newsDetails", + "pages/concept/reportDetails/reportDetails", + "pages/geGuCenter/geGuCenter", + "pages/ztfx/ztfx", + "pages/geGuCenter/detail", + "components/WordCloud/WordCloud" + ], + "subPackages": [ + { + "root": "pagesMine", + "pages": [ + "vip/vip", + "vipMeal/vipMeal" + ] + }, + { + "root": "pagesStock", + "pages": [ + "stockCenterDetails/stockCenterDetails", + "stockCenterDetails/cwDetails", + "stockCenterDetails/ztfx", + "stockCenterDetails/bkydmx", + "stockCenterDetails/webView/webView" + ] + } + ], + "window": { + "navigationStyle": "custom", + "backgroundColor": "#F8F8F8" + }, + "tabBar": { + "custom": true, + "list": [ + { + "iconPath": "/static/icon/tabbar/home.png", + "selectedIconPath": "/static/icon/tabbar/home_s.png", + "text": "首页", + "pagePath": "pages/index/index" + }, + { + "iconPath": "/static/icon/tabbar/invest.png", + "selectedIconPath": "/static/icon/tabbar/invest_s.png", + "text": "投资", + "pagePath": "pages/concept/concept" + }, + { + "iconPath": "/static/icon/tabbar/invest.png", + "selectedIconPath": "/static/icon/tabbar/invest_s.png", + "text": "个股中心", + "pagePath": "pages/geGuCenter/geGuCenter" + }, + { + "iconPath": "/static/icon/tabbar/invest.png", + "selectedIconPath": "/static/icon/tabbar/invest_s.png", + "text": "投资", + "pagePath": "pages/ztfx/ztfx" + }, + { + "iconPath": "/static/icon/tabbar/mine.png", + "selectedIconPath": "/static/icon/tabbar/mine_s.png", + "text": "我的", + "pagePath": "pages/mine/mine" + } + ] + }, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/app.wxss b/unpackage/dist/build/mp-weixin/app.wxss new file mode 100644 index 0000000..84b2285 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/app.wxss @@ -0,0 +1,2 @@ +.flex{display:flex;align-items:center}.flexCenter{display:flex;align-items:center;justify-content:center}.flexColumn{display:flex;flex-direction:column}.flexColumnCenter{display:flex;flex-direction:column;align-items:center}.flex1{flex:1}.flexWrap{display:flex;flex-wrap:wrap}.flexStretch{display:flex;align-items:stretch}.between{justify-content:space-between}.flexEnd{display:flex;align-items:center;justify-content:flex-end}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}view,input,textarea,scroll-view,swiper{box-sizing:border-box}button{background-color:transparent}button:after{border:none}::-webkit-scrollbar{color:transparent;width:0} +page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/assets/ydjk-icon.9712ef19.png b/unpackage/dist/build/mp-weixin/assets/ydjk-icon.9712ef19.png new file mode 100644 index 0000000..90fdb18 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/assets/ydjk-icon.9712ef19.png differ diff --git a/unpackage/dist/build/mp-weixin/assets/ydjk-zs.f6ba6c32.png b/unpackage/dist/build/mp-weixin/assets/ydjk-zs.f6ba6c32.png new file mode 100644 index 0000000..feacba9 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/assets/ydjk-zs.f6ba6c32.png differ diff --git a/unpackage/dist/build/mp-weixin/common/assets.js b/unpackage/dist/build/mp-weixin/common/assets.js new file mode 100644 index 0000000..408b135 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/common/assets.js @@ -0,0 +1 @@ +"use strict";exports._imports_0="/static/image/index/conceptTopBg.png",exports._imports_0$1="/static/icon/home/conceptCenter/pre.png",exports._imports_0$2="/static/image/login/logo.png",exports._imports_0$3="/pagesStock/static/icon/female.png",exports._imports_0$4="/pagesStock/static/icon/logOffStatus.png",exports._imports_0$5="/pagesStock/static/icon/industryRank.png",exports._imports_0$6="/pagesStock/static/icon/rightArrow.png",exports._imports_0$7="/pagesStock/static/icon/shangJiantou.png",exports._imports_0$8="/pagesStock/static/icon/cwfx-1.png",exports._imports_0$9="/pagesStock/static/icon/news-search.png",exports._imports_1="/static/icon/home/conceptCenter/search.png",exports._imports_1$1="/static/icon/home/downArrow.png",exports._imports_1$10="/pagesStock/static/icon/ai-icon.png",exports._imports_1$11="/pagesStock/static/icon/all-icon-4.png",exports._imports_1$12="/pagesMine/static/image/vip/vipTopBg.png",exports._imports_1$13="/pagesStock/static/icon/existStatus.png",exports._imports_1$14="/pagesStock/static/icon/all-down-ed.png",exports._imports_1$15="/static/icon/back.png",exports._imports_1$16="/pagesStock/static/icon/all-icon-2.png",exports._imports_1$17="/pagesStock/static/icon/male.png",exports._imports_1$18="/pagesStock/static/icon/xiaJiantou.png",exports._imports_1$19="/pagesStock/static/icon/newsTime.png",exports._imports_1$2="/static/icon/home/conceptCenter/next.png",exports._imports_1$3="/static/icon/home/conceptCenter/timeAxis.png",exports._imports_1$4="/static/icon/mine/infoArrow.png",exports._imports_1$5="/static/icon/mine/basicInfo/edit.png",exports._imports_1$6="/static/icon/home/conceptCenter/lock.png",exports._imports_1$7="/static/icon/home/like_s.png",exports._imports_1$8="/static/icon/login/mobile.png",exports._imports_1$9="/static/icon/home/conceptCenter/timeScreenArrow.png",exports._imports_10="/static/icon/home/industrySearch.png",exports._imports_10$1="/static/icon/home/conceptCenter/rank3.png",exports._imports_10$2="/pagesMine/static/icon/vip/step2.png",exports._imports_10$3="/pagesStock/static/icon/yRightArrow.png",exports._imports_11="/static/icon/home/like.png",exports._imports_11$1="/static/icon/home/industry_s.png",exports._imports_11$2="/static/icon/home/conceptCenter/rankChg.png",exports._imports_11$3="/pagesMine/static/icon/vip/step3_v.png",exports._imports_12="/static/icon/home/level_s.png",exports._imports_12$1="/static/icon/home/sortArrow.png",exports._imports_12$2="/static/icon/home/conceptCenter/calendar.png",exports._imports_12$3="/pagesMine/static/icon/vip/step3.png",exports._imports_13="/static/icon/home/conceptCenter/timeScreenArrow.png",exports._imports_13$1="/static/icon/home/conceptCenter/browse.png",exports._imports_13$2="/pagesMine/static/icon/vip/step4_v.png",exports._imports_14="/static/icon/home/conceptCenter/timeScreenArrow.png",exports._imports_14$1="/pagesMine/static/icon/vip/step4.png",exports._imports_15="/static/icon/home/conceptCenter/free_s.png",exports._imports_15$1="/pagesMine/static/icon/vip/investQuestion.png",exports._imports_16="/static/icon/home/conceptCenter/pro_s.png",exports._imports_16$1="/pagesMine/static/icon/vip/industrialResearch.png",exports._imports_17="/pagesMine/static/icon/vip/operatingDecision.png",exports._imports_2="/static/icon/backBlack.png",exports._imports_2$1="/static/icon/home/upArrow.png",exports._imports_2$10="/pagesStock/static/icon/contrast.png",exports._imports_2$11="/pagesStock/static/icon/establishedTime.png",exports._imports_2$12="/pagesStock/static/icon/downArrow.png",exports._imports_2$13="/pagesStock/static/icon/lookMoreArrow.png",exports._imports_2$14="/pagesStock/static/icon/all-icon.png",exports._imports_2$15="/pagesStock/static/icon/newsEyes.png",exports._imports_2$2="/static/icon/invest/upArrow.png",exports._imports_2$3="/static/icon/home/conceptCenter/sortType.png",exports._imports_2$4="/static/image/mine/vipBg.png",exports._imports_2$5="/static/icon/mine/basicInfo/downArrow.png",exports._imports_2$6="/static/icon/login/code.png",exports._imports_2$7="/static/icon/home/conceptCenter/reasonExpand.png",exports._imports_2$8="/pagesStock/static/icon/ai-icon-1.png",exports._imports_2$9="/pagesMine/static/image/vip/noVipTopBg.png",exports._imports_3="/static/icon/home/conceptCenter/conceptScreenArrow.png",exports._imports_3$1="/static/icon/home/browser.png",exports._imports_3$10="/pagesStock/static/icon/optional.png",exports._imports_3$11="/pagesStock/static/icon/registeredCapital.png",exports._imports_3$12="/pagesStock/static/icon/upArrow.png",exports._imports_3$13="/pagesStock/static/icon/all-down.png",exports._imports_3$14="/pagesStock/static/icon/newsFire.png",exports._imports_3$2="/static/icon/mine/menuArrow.png",exports._imports_3$3="/static/icon/home/expectScore.png",exports._imports_3$4="/static/icon/login/select_s.png",exports._imports_3$5="/static/icon/home/conceptCenter/chgDown.png",exports._imports_3$6="/static/icon/home/conceptCenter/reasonRetract.png",exports._imports_3$7="/assets/ydjk-icon.9712ef19.png",exports._imports_3$8="/pagesStock/static/icon/all-icon-3.png",exports._imports_3$9="/pagesMine/static/icon/vip/titleLeft_v.png",exports._imports_4="/static/image/index/noData.png",exports._imports_4$1="/static/icon/invest/downArrow.png",exports._imports_4$10="/pagesStock/static/icon/location.png",exports._imports_4$11="/pagesStock/static/icon/yuan_shang.png",exports._imports_4$12="/pagesStock/static/icon/cwfx-2.png",exports._imports_4$2="/static/icon/home/conceptCenter/timeScreenArrow.png",exports._imports_4$3="/static/image/mine/service.png",exports._imports_4$4="/static/icon/home/expectScoreTips.png",exports._imports_4$5="/static/icon/home/collect_s.png",exports._imports_4$6="/static/icon/login/select.png",exports._imports_4$7="/static/icon/home/conceptCenter/chgUp.png",exports._imports_4$8="/pagesMine/static/icon/vip/titleLeft.png",exports._imports_4$9="/pagesStock/static/icon/share.png",exports._imports_5="/static/icon/home/monthLeftArrow.png",exports._imports_5$1="/static/icon/home/expectScoreDot.png",exports._imports_5$2="/static/icon/home/conceptCenter/newsReport.png",exports._imports_5$3="/assets/ydjk-zs.f6ba6c32.png",exports._imports_5$4="/pagesStock/static/icon/all-icon-5.png",exports._imports_5$5="/pagesMine/static/icon/vip/titleRight_v.png",exports._imports_5$6="/pagesStock/static/icon/yuan_jiang.png",exports._imports_6="/static/icon/home/monthRightArrow.png",exports._imports_6$1="/pagesMine/static/icon/vip/titleRight.png",exports._imports_7="/static/icon/home/collect.png",exports._imports_7$1="/static/icon/home/conceptCenter/statistics.png",exports._imports_7$2="/pagesMine/static/icon/vip/step1_v.png",exports._imports_7$3="/pagesMine/static/icon/vip/notContain.png",exports._imports_8="/static/icon/home/close.png",exports._imports_8$1="/static/icon/home/conceptCenter/rank1.png",exports._imports_8$2="/static/icon/home/eventDetails/like.png",exports._imports_8$3="/pagesMine/static/icon/vip/step1.png",exports._imports_8$4="/pagesMine/static/icon/vip/contain.png",exports._imports_9="/static/icon/home/dateRange.png",exports._imports_9$1="/static/icon/home/conceptCenter/rank2.png",exports._imports_9$2="/static/icon/home/eventDetails/collect.png",exports._imports_9$3="/pagesMine/static/icon/vip/step2_v.png"; diff --git a/unpackage/dist/build/mp-weixin/common/vendor.js b/unpackage/dist/build/mp-weixin/common/vendor.js new file mode 100644 index 0000000..8a84bd8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/common/vendor.js @@ -0,0 +1,24 @@ +"use strict"; +/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t={},n=[],r=()=>{},o=()=>!1,i=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith("onUpdate:"),c=Object.assign,a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),f=Array.isArray,p=e=>"[object Map]"===x(e),h=e=>"[object Set]"===x(e),d=e=>"function"==typeof e,v=e=>"string"==typeof e,g=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,y=e=>(_(e)||d(e))&&d(e.then)&&d(e.catch),m=Object.prototype.toString,x=e=>m.call(e),w=e=>"[object Object]"===x(e),b=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},B=/-(\w)/g,$=S((e=>e.replace(B,((e,t)=>t?t.toUpperCase():"")))),C=/\B([A-Z])/g,A=S((e=>e.replace(C,"-$1").toLowerCase())),O=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),E=S((e=>e?`on${O(e)}`:"")),P=(e,t)=>!Object.is(e,t),H=(e,t)=>{for(let n=0;n{const t=parseFloat(e);return isNaN(t)?e:t};function R(e){if(f(e)){const t={};for(let n=0;n{if(e){const n=e.split(j);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function L(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;nt&&t.__v_isRef?T(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[V(t,r)+" =>"]=n,e)),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>V(e)))}:g(t)?V(t):!_(t)||f(t)||w(t)?t:String(t),V=(e,t="")=>{var n;return g(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function U(e,t=null){let n;return(...r)=>(e&&(n=e.apply(t,r),e=null),n)}function W(e,t){if(!v(t))return;const n=(t=t.replace(/\[(\d+)\]/g,".$1")).split(".");let r=n[0];return e||(e={}),1===n.length?e[r]:W(e[r],n.slice(1).join("."))}function N(e){let t={};return w(e)&&Object.keys(e).sort().forEach((n=>{const r=n;t[r]=e[r]})),Object.keys(t)?t:e}const F=/:/g;const K=encodeURIComponent;function X(e,t=K){const n=e?Object.keys(e).map((n=>{let r=e[n];return void 0===typeof r||null===r?r="":w(r)&&(r=JSON.stringify(r)),t(n)+"="+t(r)})).filter((e=>e.length>0)).join("&"):null;return n?`?${n}`:""}const q=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Z=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"],J=(()=>({onPageScroll:1,onShareAppMessage:2,onShareTimeline:4,onShareChat:8}))();function G(e,t,n=!0){return!(n&&!d(t))&&(Z.indexOf(e)>-1||0===e.indexOf("on"))}let Q;const Y=[];const ee=U(((e,t)=>t(e))),te=function(){};te.prototype={_id:1,on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r=0;i--)if(r[i].fn===t||r[i].fn._===t||r[i]._id===t){r.splice(i,1);break}o=r}return o.length?n[e]=o:delete n[e],this}};var ne=te;function re(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let r=["en","fr","es"];t&&Object.keys(t).length>0&&(r=Object.keys(t));const o=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,r);return o||void 0}function oe(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let ie=1;const se={};function ce(e,t,n){if("number"==typeof e){const r=se[e];if(r)return r.keepAlive||delete se[e],r.callback(t,n)}return t}const ae="success",le="fail",ue="complete";function fe(e,t={},{beforeAll:n,beforeSuccess:r}={}){w(t)||(t={});const{success:o,fail:i,complete:s}=function(e){const t={};for(const n in e){const r=e[n];d(r)&&(t[n]=oe(r),delete e[n])}return t}(t),c=d(o),a=d(i),l=d(s),u=ie++;return function(e,t,n,r=!1){se[e]={name:t,keepAlive:r,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),d(n)&&n(u),u.errMsg===e+":ok"?(d(r)&&r(u,t),c&&o(u)):a&&i(u),l&&s(u)})),u}const pe="success",he="fail",de="complete",ve={},ge={};function _e(e,t){return function(n){return e(n,t)||n}}function ye(e,t,n){let r=!1;for(let o=0;oe(t),catch(){}}}function me(e,t={}){return[pe,he,de].forEach((n=>{const r=e[n];if(!f(r))return;const o=t[n];t[n]=function(e){ye(r,e,t).then((e=>d(o)&&o(e)||e))}})),t}function xe(e,t){const n=[];f(ve.returnValue)&&n.push(...ve.returnValue);const r=ge[e];return r&&f(r.returnValue)&&n.push(...r.returnValue),n.forEach((e=>{t=e(t)||t})),t}function we(e){const t=Object.create(null);Object.keys(ve).forEach((e=>{"returnValue"!==e&&(t[e]=ve[e].slice())}));const n=ge[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function be(e,t,n,r){const o=we(e);if(o&&Object.keys(o).length){if(f(o.invoke)){return ye(o.invoke,n).then((n=>t(me(we(e),n),...r)))}return t(me(o,n),...r)}return t(n,...r)}function ke(e,t){return(n={},...r)=>function(e){return!(!w(e)||![ae,le,ue].find((t=>d(e[t]))))}(n)?xe(e,be(e,t,c({},n),r)):xe(e,new Promise(((o,i)=>{be(e,t,c({},n,{success:o,fail:i}),r)})))}function Se(e,t,n,r={}){const o=t+":fail";let i="";return i=n?0===n.indexOf(o)?n:o+" "+n:o,delete r.errCode,ce(e,c({errMsg:i},r))}function Be(e,t,n,r){const o=function(e,t){e[0]}(t);if(o)return o}function $e(e,t,n,r){return n=>{const o=fe(e,n,r),i=Be(0,[n]);return i?Se(o,e,i):t(n,{resolve:t=>function(e,t,n){return ce(e,c(n||{},{errMsg:t+":ok"}))}(o,e,t),reject:(t,n)=>Se(o,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Ce(e,t,n,r){return function(e,t,n,r){return(...e)=>{const n=Be(0,e);if(n)throw new Error(n);return t.apply(null,e)}}(0,t)}let Ae=!1,Oe=0,Ee=0;const Pe=Ce(0,((e,t)=>{if(0===Oe&&function(){var e,t;let n,r,o;{const i=(null===(e=wx.getWindowInfo)||void 0===e?void 0:e.call(wx))||wx.getSystemInfoSync(),s=(null===(t=wx.getDeviceInfo)||void 0===t?void 0:t.call(wx))||wx.getSystemInfoSync();n=i.windowWidth,r=i.pixelRatio,o=s.platform}Oe=n,Ee=r,Ae="ios"===o}(),0===(e=Number(e)))return 0;let n=e/750*(t||Oe);return n<0&&(n=-n),n=Math.floor(n+1e-4),0===n&&(n=1!==Ee&&Ae?.5:1),e<0?-n:n}));function He(e,t){Object.keys(t).forEach((n=>{d(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):f(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n{const r=e[n],o=t[n];f(r)&&d(o)&&a(r,o)}))}const Re=Ce(0,((e,t)=>{v(e)&&w(t)?He(ge[e]||(ge[e]={}),t):w(e)&&He(ve,e)})),Me=Ce(0,((e,t)=>{v(e)?w(t)?Ie(ge[e],t):delete ge[e]:w(e)&&Ie(ve,e)}));const je=new class{constructor(){this.$emitter=new ne}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},ze=Ce(0,((e,t)=>(je.on(e,t),()=>je.off(e,t)))),De=Ce(0,((e,t)=>(je.once(e,t),()=>je.off(e,t)))),Le=Ce(0,((e,t)=>{f(e)||(e=e?[e]:[]),e.forEach((e=>{je.off(e,t)}))})),Te=Ce(0,((e,...t)=>{je.emit(e,...t)}));let Ve,Ue,We;function Ne(e){try{return JSON.parse(e)}catch(t){}return e}const Fe=[];function Ke(e,t){Fe.forEach((n=>{n(e,t)})),Fe.length=0}const Xe=ke(qe="getPushClientId",function(e,t,n,r){return $e(e,t,0,r)}(qe,((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{void 0===We&&(We=!1,Ve="",Ue="uniPush is not enabled"),Fe.push(((e,r)=>{e?t({cid:e}):n(r)})),void 0!==Ve&&Ke(Ve,Ue)}))}),0,Ze));var qe,Ze;const Je=[],Ge=/^\$|__f__|getLocale|setLocale|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|rpx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getDeviceInfo|getAppBaseInfo|getWindowInfo|getSystemSetting|getAppAuthorizeSetting/,Qe=/^create|Manager$/,Ye=["createBLEConnection"],et=["request","downloadFile","uploadFile","connectSocket"],tt=["createBLEConnection"],nt=/^on|^off/;function rt(e){return Qe.test(e)&&-1===Ye.indexOf(e)}function ot(e){return Ge.test(e)&&-1===tt.indexOf(e)}function it(e){return-1!==et.indexOf(e)}function st(e){return!(rt(e)||ot(e)||function(e){return nt.test(e)&&"onPush"!==e}(e))}function ct(e,t){return st(e)&&d(t)?function(n={},...r){return d(n.success)||d(n.fail)||d(n.complete)?xe(e,be(e,t,c({},n),r)):xe(e,new Promise(((o,i)=>{be(e,t,c({},n,{success:o,fail:i}),r)})))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((n=>t.resolve(e&&e()).then((()=>n))),(n=>t.resolve(e&&e()).then((()=>{throw n}))))});const at=["success","fail","cancel","complete"];const lt=()=>{const e=d(getApp)&&getApp({allowDefault:!0});return e&&e.$vm?e.$vm.$locale:function(){var e;let t="";{const n=(null===(e=wx.getAppBaseInfo)||void 0===e?void 0:e.call(wx))||wx.getSystemInfoSync();t=re(n&&n.language?n.language:"en")||"en"}return t}()},ut=[];"undefined"!=typeof global&&(global.getLocale=lt);let ft;function pt(e=wx){return function(t,n){ft=ft||e.getStorageSync("__DC_STAT_UUID"),ft||(ft=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:"__DC_STAT_UUID",data:ft})),n.deviceId=ft}}function ht(e,t){if(e.safeArea){const n=e.safeArea;t.safeAreaInsets={top:n.top,left:n.left,right:e.windowWidth-n.right,bottom:e.screenHeight-n.bottom}}}function dt(e,t){let n="",r="";switch(n=e.split(" ")[0]||t,r=e.split(" ")[1]||"",n=n.toLowerCase(),n){case"harmony":case"ohos":case"openharmony":n="harmonyos";break;case"iphone os":n="ios";break;case"mac":case"darwin":n="macos";break;case"windows_nt":n="windows"}return{osName:n,osVersion:r}}function vt(e,t){let n=e.deviceType||"phone";{const e={ipad:"pad",windows:"pc",mac:"pc"},r=Object.keys(e),o=t.toLowerCase();for(let t=0;t{ht(e,t),pt()(e,t),function(e,t){const{brand:n="",model:r="",system:o="",language:i="",theme:s,version:a,platform:l,fontSizeSetting:u,SDKVersion:f,pixelRatio:p,deviceOrientation:h}=e,{osName:d,osVersion:v}=dt(o,l);let g=a,_=vt(e,r),y=gt(n),m=yt(e),x=h,w=p,b=f;const k=(i||"").replace(/_/g,"-"),S={appId:"__UNI__1836EC9",appName:"JiaZhiQianYan",appVersion:"1.0.0",appVersionCode:"100",appLanguage:_t(k),uniCompileVersion:"4.87",uniCompilerVersion:"4.87",uniRuntimeVersion:"4.87",uniPlatform:"mp-weixin",deviceBrand:y,deviceModel:r,deviceType:_,devicePixelRatio:w,deviceOrientation:x,osName:d,osVersion:v,hostTheme:s,hostVersion:g,hostLanguage:k,hostName:m,hostSDKVersion:b,hostFontSizeSetting:u,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0,isUniAppX:!1};c(t,S)}(e,t)}},xt=mt,wt={args(e,t){let n=parseInt(e.current);if(isNaN(n))return;const r=e.urls;if(!f(r))return;const o=r.length;return o?(n<0?n=0:n>=o&&(n=o-1),n>0?(t.current=r[n],t.urls=r.filter(((e,t)=>!(t{const{brand:n,model:r,system:o="",platform:i=""}=e;let s=vt(e,r),a=gt(n);pt()(e,t);const{osName:l,osVersion:u}=dt(o,i);t=N(c(t,{deviceType:s,deviceBrand:a,deviceModel:r,osName:l,osVersion:u}))}},St={returnValue:(e,t)=>{const{version:n,language:r,SDKVersion:o,theme:i}=e;let s=yt(e),a=(r||"").replace(/_/g,"-");const l={hostVersion:n,hostLanguage:a,hostName:s,hostSDKVersion:o,hostTheme:i,appId:"__UNI__1836EC9",appName:"JiaZhiQianYan",appVersion:"1.0.0",appVersionCode:"100",appLanguage:_t(a),isUniAppX:!1,uniPlatform:"mp-weixin",uniCompileVersion:"4.87",uniCompilerVersion:"4.87",uniRuntimeVersion:"4.87"};c(t,l)}},Bt={returnValue:(e,t)=>{ht(e,t),t=N(c(t,{windowTop:0,windowBottom:0}))}},$t={args(e){const t=getApp({allowDefault:!0})||{};t.$vm?ao("onError",e,t.$vm.$):(wx.$onErrorHandlers||(wx.$onErrorHandlers=[]),wx.$onErrorHandlers.push(e))}},Ct={args(e){const t=getApp({allowDefault:!0})||{};if(t.$vm){if(e.__weh){const n=t.$vm.$.onError;if(n){const t=n.indexOf(e.__weh);t>-1&&n.splice(t,1)}}}else{if(!wx.$onErrorHandlers)return;const t=wx.$onErrorHandlers.findIndex((t=>t===e));-1!==t&&wx.$onErrorHandlers.splice(t,1)}}},At={args(){if(wx.__uni_console__){if(wx.__uni_console_warned__)return;wx.__uni_console_warned__=!0,console.warn("开发模式下小程序日志回显会使用 socket 连接,为了避免冲突,建议使用 SocketTask 的方式去管理 WebSocket 或手动关闭日志回显功能。[详情](https://uniapp.dcloud.net.cn/tutorial/run/mp-log.html)")}}},Ot=At,Et={$on:ze,$off:Le,$once:De,$emit:Te,upx2px:Pe,rpx2px:Pe,interceptors:{},addInterceptor:Re,removeInterceptor:Me,onCreateVueApp:function(e){if(Q)return e(Q);Y.push(e)},invokeCreateVueAppHook:function(e){Q=e,Y.forEach((t=>t(e)))},getLocale:lt,setLocale:e=>{const t=d(getApp)&&getApp();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,ut.forEach((t=>t({locale:e}))),!0)},onLocaleChange:e=>{-1===ut.indexOf(e)&&ut.push(e)},getPushClientId:Xe,onPushMessage:e=>{-1===Je.indexOf(e)&&Je.push(e)},offPushMessage:e=>{if(e){const t=Je.indexOf(e);t>-1&&Je.splice(t,1)}else Je.length=0},invokePushCallback:function(e){if("enabled"===e.type)We=!0;else if("clientId"===e.type)Ve=e.cid,Ue=e.errMsg,Ke(Ve,e.errMsg);else if("pushMsg"===e.type){const t={type:"receive",data:Ne(e.message)};for(let e=0;e{t({type:"click",data:Ne(e.message)})}))},__f__:function(e,t,...n){t&&n.push(t),console[e].apply(console,n)}};const Pt=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],Ht=["lanDebug","router","worklet"],It=wx.getLaunchOptionsSync?wx.getLaunchOptionsSync():null;function Rt(e){return(!It||1154!==It.scene||!Ht.includes(e))&&(Pt.indexOf(e)>-1||"function"==typeof wx[e])}function Mt(){const e={};for(const t in wx)Rt(t)&&(e[t]=wx[t]);return"undefined"!=typeof globalThis&&"undefined"==typeof requireMiniProgram&&(globalThis.wx=e),e}const jt=["__route__","__wxExparserNodeId__","__wxWebviewId__"],zt=(Dt={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]},function({service:e,success:t,fail:n,complete:r}){let o;Dt[e]?(o={errMsg:"getProvider:ok",service:e,provider:Dt[e]},d(t)&&t(o)):(o={errMsg:"getProvider:fail:服务["+e+"]不存在"},d(n)&&n(o)),d(r)&&r(o)});var Dt;const Lt=Mt();Lt.canIUse("getAppBaseInfo")||(Lt.getAppBaseInfo=Lt.getSystemInfoSync),Lt.canIUse("getWindowInfo")||(Lt.getWindowInfo=Lt.getSystemInfoSync),Lt.canIUse("getDeviceInfo")||(Lt.getDeviceInfo=Lt.getSystemInfoSync);let Tt=Lt.getAppBaseInfo&&Lt.getAppBaseInfo();Tt||(Tt=Lt.getSystemInfoSync());const Vt=Tt?Tt.host:null,Ut=Vt&&"SAAASDK"===Vt.env?Lt.miniapp.shareVideoMessage:Lt.shareVideoMessage;var Wt=Object.freeze({__proto__:null,createSelectorQuery:function(){const e=Lt.createSelectorQuery(),t=e.in;return e.in=function(e){return e.$scope?t.call(this,e.$scope):t.call(this,function(e){const t=Object.create(null);return jt.forEach((n=>{t[n]=e[n]})),t}(e))},e},getProvider:zt,shareVideoMessage:Ut});const Nt={args(e,t){e.compressedHeight&&!t.compressHeight&&(t.compressHeight=e.compressedHeight),e.compressedWidth&&!t.compressWidth&&(t.compressWidth=e.compressedWidth)}};var Ft=Object.freeze({__proto__:null,compressImage:Nt,getAppAuthorizeSetting:{returnValue:function(e,t){const{locationReducedAccuracy:n}=e;t.locationAccuracy="unsupported",!0===n?t.locationAccuracy="reduced":!1===n&&(t.locationAccuracy="full")}},getAppBaseInfo:St,getDeviceInfo:kt,getSystemInfo:mt,getSystemInfoSync:xt,getWindowInfo:Bt,offError:Ct,onError:$t,onSocketMessage:Ot,onSocketOpen:At,previewImage:wt,redirectTo:{},showActionSheet:bt});const Kt=Mt();var Xt=function(e,t,n=wx){const r=function(e){function t(e,t,n){return function(o){return t(r(e,o,n))}}function n(e,n,r={},o={},i=!1){if(w(n)){const s=!0===i?n:{};d(r)&&(r=r(n,s)||{});for(const c in n)if(u(r,c)){let t=r[c];d(t)&&(t=t(n[c],n,s)),t?v(t)?s[t]=n[c]:w(t)&&(s[t.name?t.name:c]=t.value):console.warn(`微信小程序 ${e} 暂不支持 ${c}`)}else if(-1!==at.indexOf(c)){const r=n[c];d(r)&&(s[c]=t(e,r,o))}else i||u(s,c)||(s[c]=n[c]);return s}return d(n)&&(d(r)&&r(n,{}),n=t(e,n,o)),n}function r(t,r,o,i=!1){return d(e.returnValue)&&(r=e.returnValue(t,r)),n(t,r,o,{},i||!1)}return function(t,o){const i=u(e,t);if(!i&&"function"!=typeof wx[t])return o;const s=i||d(e.returnValue)||rt(t)||it(t),c=i||d(o);if(!i&&!o)return function(){console.error(`微信小程序 暂不支持${t}`)};if(!s||!c)return o;const a=e[t];return function(e,o){let i=a||{};d(a)&&(i=a(e));const s=[e=n(t,e,i.args,i.returnValue)];void 0!==o&&s.push(o);const c=wx[i.name||t].apply(wx,s);return(rt(t)||it(t))&&c&&!c.__v_skip&&(c.__v_skip=!0),ot(t)?r(t,c,i.returnValue,rt(t)):c}}}(t);return new Proxy({},{get:(t,o)=>u(t,o)?t[o]:u(e,o)?ct(o,e[o]):u(Et,o)?ct(o,Et[o]):ct(o,r(o,n[o]))})}(Wt,Ft,Kt);let qt,Zt;class Jt{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=qt,!e&&qt&&(this.index=(qt.scopes||(qt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=qt;try{return qt=this,e()}finally{qt=t}}}on(){qt=this}off(){qt=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),sn()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=tn,t=Zt;try{return tn=!0,Zt=this,this._runnings++,Qt(this),this.fn()}finally{Yt(this),this._runnings--,Zt=t,tn=e}}stop(){var e;this.active&&(Qt(this),Yt(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Qt(e){e._trackId++,e._depsLength=0}function Yt(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},hn=new WeakMap,dn=Symbol(""),vn=Symbol("");function gn(e,t,n){if(tn&&Zt){let t=hn.get(e);t||hn.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=pn((()=>t.delete(n)))),ln(Zt,r)}}function _n(e,t,n,r,o,i){const s=hn.get(e);if(!s)return;let c=[];if("clear"===t)c=[...s.values()];else if("length"===n&&f(e)){const e=Number(r);s.forEach(((t,n)=>{("length"===n||!g(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(s.get(n)),t){case"add":f(e)?b(n)&&c.push(s.get("length")):(c.push(s.get(dn)),p(e)&&c.push(s.get(vn)));break;case"delete":f(e)||(c.push(s.get(dn)),p(e)&&c.push(s.get(vn)));break;case"set":p(e)&&c.push(s.get(dn))}cn();for(const a of c)a&&fn(a,4);an()}const yn=e("__proto__,__v_isRef,__isVue"),mn=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(g)),xn=wn();function wn(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=cr(this);for(let t=0,o=this.length;t{e[t]=function(...e){on(),cn();const n=cr(this)[t].apply(this,e);return an(),sn(),n}})),e}function bn(e){const t=cr(this);return gn(t,0,e),t.hasOwnProperty(e)}class kn{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Yn:Qn:o?Gn:Jn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=f(e);if(!r){if(i&&u(xn,t))return Reflect.get(xn,t,n);if("hasOwnProperty"===t)return bn}const s=Reflect.get(e,t,n);return(g(t)?mn.has(t):yn(t))?s:(r||gn(e,0,t),o?s:dr(s)?i&&b(t)?s:s.value:_(s)?r?nr(s):tr(s):s)}}class Sn extends kn{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=ir(o);if(sr(n)||ir(n)||(o=cr(o),n=cr(n)),!f(e)&&dr(o)&&!dr(n))return!t&&(o.value=n,!0)}const i=f(e)&&b(t)?Number(t)e,En=e=>Reflect.getPrototypeOf(e);function Pn(e,t,n=!1,r=!1){const o=cr(e=e.__v_raw),i=cr(t);n||(P(t,i)&&gn(o,0,t),gn(o,0,i));const{has:s}=En(o),c=r?On:n?ur:lr;return s.call(o,t)?c(e.get(t)):s.call(o,i)?c(e.get(i)):void(e!==o&&e.get(t))}function Hn(e,t=!1){const n=this.__v_raw,r=cr(n),o=cr(e);return t||(P(e,o)&&gn(r,0,e),gn(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function In(e,t=!1){return e=e.__v_raw,!t&&gn(cr(e),0,dn),Reflect.get(e,"size",e)}function Rn(e){e=cr(e);const t=cr(this);return En(t).has.call(t,e)||(t.add(e),_n(t,"add",e,e)),this}function Mn(e,t){t=cr(t);const n=cr(this),{has:r,get:o}=En(n);let i=r.call(n,e);i||(e=cr(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?P(t,s)&&_n(n,"set",e,t):_n(n,"add",e,t),this}function jn(e){const t=cr(this),{has:n,get:r}=En(t);let o=n.call(t,e);o||(e=cr(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&_n(t,"delete",e,void 0),i}function zn(){const e=cr(this),t=0!==e.size,n=e.clear();return t&&_n(e,"clear",void 0,void 0),n}function Dn(e,t){return function(n,r){const o=this,i=o.__v_raw,s=cr(i),c=t?On:e?ur:lr;return!e&&gn(s,0,dn),i.forEach(((e,t)=>n.call(r,c(e),c(t),o)))}}function Ln(e,t,n){return function(...r){const o=this.__v_raw,i=cr(o),s=p(i),c="entries"===e||e===Symbol.iterator&&s,a="keys"===e&&s,l=o[e](...r),u=n?On:t?ur:lr;return!t&&gn(i,0,a?vn:dn),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Tn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Vn(){const e={get(e){return Pn(this,e)},get size(){return In(this)},has:Hn,add:Rn,set:Mn,delete:jn,clear:zn,forEach:Dn(!1,!1)},t={get(e){return Pn(this,e,!1,!0)},get size(){return In(this)},has:Hn,add:Rn,set:Mn,delete:jn,clear:zn,forEach:Dn(!1,!0)},n={get(e){return Pn(this,e,!0)},get size(){return In(this,!0)},has(e){return Hn.call(this,e,!0)},add:Tn("add"),set:Tn("set"),delete:Tn("delete"),clear:Tn("clear"),forEach:Dn(!0,!1)},r={get(e){return Pn(this,e,!0,!0)},get size(){return In(this,!0)},has(e){return Hn.call(this,e,!0)},add:Tn("add"),set:Tn("set"),delete:Tn("delete"),clear:Tn("clear"),forEach:Dn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Ln(o,!1,!1),n[o]=Ln(o,!0,!1),t[o]=Ln(o,!1,!0),r[o]=Ln(o,!0,!0)})),[e,n,t,r]}const[Un,Wn,Nn,Fn]=Vn();function Kn(e,t){const n=t?e?Fn:Nn:e?Wn:Un;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(u(n,r)&&r in t?n:t,r,o)}const Xn={get:Kn(!1,!1)},qn={get:Kn(!1,!0)},Zn={get:Kn(!0,!1)},Jn=new WeakMap,Gn=new WeakMap,Qn=new WeakMap,Yn=new WeakMap;function er(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function tr(e){return ir(e)?e:rr(e,!1,$n,Xn,Jn)}function nr(e){return rr(e,!0,Cn,Zn,Qn)}function rr(e,t,n,r,o){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=er(e);if(0===s)return e;const c=new Proxy(e,2===s?r:n);return o.set(e,c),c}function or(e){return ir(e)?or(e.__v_raw):!(!e||!e.__v_isReactive)}function ir(e){return!(!e||!e.__v_isReadonly)}function sr(e){return!(!e||!e.__v_isShallow)}function cr(e){const t=e&&e.__v_raw;return t?cr(t):e}function ar(e){return Object.isExtensible(e)&&((e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})})(e,"__v_skip",!0),e}const lr=e=>_(e)?tr(e):e,ur=e=>_(e)?nr(e):e;class fr{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Gt((()=>e(this._value)),(()=>hr(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=cr(this);return e._cacheable&&!e.effect.dirty||!P(e._value,e._value=e.effect.run())||hr(e,4),pr(e),e.effect._dirtyLevel>=2&&hr(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function pr(e){var t;tn&&Zt&&(e=cr(e),ln(Zt,null!=(t=e.dep)?t:e.dep=pn((()=>e.dep=void 0),e instanceof fr?e:void 0)))}function hr(e,t=4,n){const r=(e=cr(e)).dep;r&&fn(r,t)}function dr(e){return!(!e||!0!==e.__v_isRef)}function vr(e){return function(e,t){if(dr(e))return e;return new gr(e,t)}(e,!1)}class gr{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:cr(e),this._value=t?e:lr(e)}get value(){return pr(this),this._value}set value(e){const t=this.__v_isShallow||sr(e)||ir(e);e=t?e:cr(e),P(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:lr(e),hr(this,4))}}function _r(e){return dr(e)?e.value:e}const yr={get:(e,t,n)=>_r(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return dr(o)&&!dr(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function mr(e){return or(e)?e:new Proxy(e,yr)}function xr(e,t,n,r){try{return r?e(...r):e()}catch(o){br(o,t,n)}}function wr(e,t,n,r){if(d(e)){const o=xr(e,t,n,r);return o&&y(o)&&o.catch((e=>{br(e,t,n)})),o}const o=[];for(let i=0;i>>1,o=$r[r],i=Dr(o);inull==e.id?1/0:e.id,Lr=(e,t)=>{const n=Dr(e)-Dr(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Tr(e){Br=!1,Sr=!0,$r.sort(Lr);try{for(Cr=0;Cr<$r.length;Cr++){const e=$r[Cr];e&&!1!==e.active&&xr(e,null,14)}}finally{Cr=0,$r.length=0,function(e){if(Ar.length){const e=[...new Set(Ar)].sort(((e,t)=>Dr(e)-Dr(t)));if(Ar.length=0,Or)return void Or.push(...e);for(Or=e,Er=0;Erv(e)?e.trim():e))),n&&(i=r.map(I))}let a,l=o[a=E(n)]||o[a=E($(n))];!l&&s&&(l=o[a=E(A(n))]),l&&wr(l,e,6,i);const u=o[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,wr(u,e,6,i)}}function Ur(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let s={},a=!1;if(!d(e)){const r=e=>{const n=Ur(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||a?(f(i)?i.forEach((e=>s[e]=null)):c(s,i),_(e)&&r.set(e,s),s):(_(e)&&r.set(e,null),null)}function Wr(e,t){return!(!e||!i(t))&&(t=t.slice(2).replace(/Once$/,""),u(e,t[0].toLowerCase()+t.slice(1))||u(e,A(t))||u(e,t))}let Nr=null;function Fr(e){const t=Nr;return Nr=e,e&&e.type.__scopeId,t}function Kr(e,t){return e&&(e[t]||e[$(t)]||e[O($(t))])}const Xr={};function qr(e,t,n){return Zr(e,t,n)}function Zr(e,n,{immediate:o,deep:i,flush:s,once:c,onTrack:l,onTrigger:u}=t){if(n&&c){const e=n;n=(...t)=>{e(...t),B()}}const p=Go,h=e=>!0===i?e:Qr(e,!1===i?1:void 0);let v,g,_=!1,y=!1;if(dr(e)?(v=()=>e.value,_=sr(e)):or(e)?(v=()=>h(e),_=!0):f(e)?(y=!0,_=e.some((e=>or(e)||sr(e))),v=()=>e.map((e=>dr(e)?e.value:or(e)?h(e):d(e)?xr(e,p,2):void 0))):v=d(e)?n?()=>xr(e,p,2):()=>(g&&g(),wr(e,p,3,[m])):r,n&&i){const e=v;v=()=>Qr(e())}let m=e=>{g=k.onStop=()=>{xr(e,p,4),g=k.onStop=void 0}},x=y?new Array(e.length).fill(Xr):Xr;const w=()=>{if(k.active&&k.dirty)if(n){const e=k.run();(i||_||(y?e.some(((e,t)=>P(e,x[t]))):P(e,x)))&&(g&&g(),wr(n,p,3,[e,x===Xr?void 0:y&&x[0]===Xr?[]:x,m]),x=e)}else k.run()};let b;w.allowRecurse=!!n,"sync"===s?b=w:"post"===s?b=()=>Ko(w,p&&p.suspense):(w.pre=!0,p&&(w.id=p.uid),b=()=>Rr(w));const k=new Gt(v,r,b),S=qt,B=()=>{k.stop(),S&&a(S.effects,k)};return n?o?w():x=k.run():"post"===s?Ko(k.run.bind(k),p&&p.suspense):k.run(),B}function Jr(e,t,n){const r=this.proxy,o=v(e)?e.includes(".")?Gr(r,e):()=>r[e]:e.bind(r,r);let i;d(t)?i=t:(i=t.handler,n=t);const s=ti(this),c=Zr(o,i.bind(r),n);return s(),c}function Gr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((r=r||new Set).has(e))return e;if(r.add(e),dr(e))Qr(e.value,t,n,r);else if(f(e))for(let o=0;o{Qr(e,t,n,r)}));else if(w(e))for(const o in e)Qr(e[o],t,n,r);return e}function Yr(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let eo=0;let to=null;function no(e,t){if(Go){let n=Go.provides;const r=Go.parent&&Go.parent.provides;r===n&&(n=Go.provides=Object.create(r)),n[e]=t,"app"===Go.type.mpType&&Go.appContext.app.provide(e,t)}else;}function ro(e,t,n=!1){const r=Go||Nr;if(r||to){const o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:to._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&d(t)?t.call(r&&r.proxy):t}}function oo(e,t){so(e,"a",t)}function io(e,t){so(e,"da",t)}function so(e,t,n=Go){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ao(t,r,n),n){let e=n.parent;for(;e&&e.parent;)e.parent.vnode.type.__isKeepAlive&&co(r,t,n,e),e=e.parent}}function co(e,t,n,r){const o=ao(t,e,r,!0);go((()=>{a(r[t],o)}),n)}function ao(e,t,n=Go,r=!1){if(n){(function(e){return q.indexOf(e)>-1})(e)&&(n=n.root);const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;on();const o=ti(n),i=wr(t,n,e,r);return o(),sn(),i});return r?o.unshift(i):o.push(i),i}}const lo=e=>(t,n=Go)=>(!oi||"sp"===e)&&ao(e,((...e)=>t(...e)),n),uo=lo("bm"),fo=lo("m"),po=lo("bu"),ho=lo("u"),vo=lo("bum"),go=lo("um"),_o=lo("sp"),yo=lo("rtg"),mo=lo("rtc");function xo(e,t=Go){ao("ec",e,t)}const wo=e=>e?ri(e)?ci(e)||e.proxy:wo(e.parent):null;const bo=c(Object.create(null),{$:function(e){return e},$el:e=>e.__$el||(e.__$el={}),$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>wo(e.parent),$root:e=>wo(e.root),$emit:e=>e.emit,$options:e=>Eo(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Rr(e.update)}),$watch:e=>Jr.bind(e)}),ko=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),So={get({_:e},n){const{ctx:r,setupState:o,data:i,props:s,accessCache:c,type:a,appContext:l}=e;let f;if("$"!==n[0]){const a=c[n];if(void 0!==a)switch(a){case 1:return o[n];case 2:return i[n];case 4:return r[n];case 3:return s[n]}else{if(ko(o,n))return c[n]=1,o[n];if(i!==t&&u(i,n))return c[n]=2,i[n];if((f=e.propsOptions[0])&&u(f,n))return c[n]=3,s[n];if(r!==t&&u(r,n))return c[n]=4,r[n];$o&&(c[n]=0)}}const p=bo[n];let h,d;return p?("$attrs"===n&&gn(e,0,n),p(e)):(h=a.__cssModules)&&(h=h[n])?h:r!==t&&u(r,n)?(c[n]=4,r[n]):(d=l.config.globalProperties,u(d,n)?d[n]:void 0)},set({_:e},n,r){const{data:o,setupState:i,ctx:s}=e;return ko(i,n)?(i[n]=r,!0):o!==t&&u(o,n)?(o[n]=r,!0):!u(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(s[n]=r,!0))},has({_:{data:e,setupState:n,accessCache:r,ctx:o,appContext:i,propsOptions:s}},c){let a;return!!r[c]||e!==t&&u(e,c)||ko(n,c)||(a=s[0])&&u(a,c)||u(o,c)||u(bo,c)||u(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Bo(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let $o=!0;function Co(e){const t=Eo(e),n=e.proxy,o=e.ctx;$o=!1,t.beforeCreate&&Ao(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:c,watch:a,provide:l,inject:u,created:p,beforeMount:h,mounted:v,beforeUpdate:g,updated:y,activated:m,deactivated:x,beforeDestroy:w,beforeUnmount:b,destroyed:k,unmounted:S,render:B,renderTracked:$,renderTriggered:C,errorCaptured:A,serverPrefetch:O,expose:E,inheritAttrs:P,components:H,directives:I,filters:R}=t;if(u&&function(e,t,n=r){f(e)&&(e=Ro(e));for(const r in e){const n=e[r];let o;o=_(n)?"default"in n?ro(n.from||r,n.default,!0):ro(n.from||r):ro(n),dr(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[r]=o}}(u,o,null),c)for(const r in c){const e=c[r];d(e)&&(o[r]=e.bind(n))}if(i){const t=i.call(n,n);_(t)&&(e.data=tr(t))}if($o=!0,s)for(const f in s){const e=s[f],t=d(e)?e.bind(n,n):d(e.get)?e.get.bind(n,n):r,i=!d(e)&&d(e.set)?e.set.bind(n):r,c=ai({get:t,set:i});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e})}if(a)for(const r in a)Oo(a[r],o,n,r);function M(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(function(){if(l){const e=d(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{no(t,e[t])}))}}(),p&&Ao(p,e,"c"),M(uo,h),M(fo,v),M(po,g),M(ho,y),M(oo,m),M(io,x),M(xo,A),M(mo,$),M(yo,C),M(vo,b),M(go,S),M(_o,O),f(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});B&&e.render===r&&(e.render=B),null!=P&&(e.inheritAttrs=P),H&&(e.components=H),I&&(e.directives=I),e.ctx.$onApplyOptions&&e.ctx.$onApplyOptions(t,e,n)}function Ao(e,t,n){wr(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Oo(e,t,n,r){const o=r.includes(".")?Gr(n,r):()=>n[r];if(v(e)){const n=t[e];d(n)&&qr(o,n)}else if(d(e))qr(o,e.bind(n));else if(_(e))if(f(e))e.forEach((e=>Oo(e,t,n,r)));else{const r=d(e.handler)?e.handler.bind(n):t[e.handler];d(r)&&qr(o,r,e)}}function Eo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,c=i.get(t);let a;return c?a=c:o.length||n||r?(a={},o.length&&o.forEach((e=>Po(a,e,s,!0))),Po(a,t,s)):a=t,_(t)&&i.set(t,a),a}function Po(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Po(e,i,n,!0),o&&o.forEach((t=>Po(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=Ho[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const Ho={data:Io,props:zo,emits:zo,methods:jo,computed:jo,beforeCreate:Mo,created:Mo,beforeMount:Mo,mounted:Mo,beforeUpdate:Mo,updated:Mo,beforeDestroy:Mo,beforeUnmount:Mo,destroyed:Mo,unmounted:Mo,activated:Mo,deactivated:Mo,errorCaptured:Mo,serverPrefetch:Mo,components:jo,directives:jo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const r in t)n[r]=Mo(e[r],t[r]);return n},provide:Io,inject:function(e,t){return jo(Ro(e),Ro(t))}};function Io(e,t){return t?e?function(){return c(d(e)?e.call(this,this):e,d(t)?t.call(this,this):t)}:t:e}function Ro(e){if(f(e)){const t={};for(let n=0;n{h=!0;const[t,n]=Vo(e,r,!0);c(l,t),n&&p.push(...n)};!o&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!a&&!h)return _(e)&&i.set(e,n),n;if(f(a))for(let n=0;n-1,r[1]=n<0||t-1||u(r,"default"))&&p.push(e)}}}const v=[l,p];return _(e)&&i.set(e,v),v}function Uo(e){return"$"!==e[0]&&!k(e)}function Wo(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function No(e,t){return Wo(e)===Wo(t)}function Fo(e,t){return f(t)?t.findIndex((t=>No(t,e))):d(t)&&No(t,e)?0:-1}const Ko=jr;function Xo(e){return e?or(t=e)||ir(t)||"__vInternal"in e?c({},e):e:null;var t}const qo=Yr();let Zo=0;function Jo(e,n,r){const o=e.type,i=(n?n.appContext:e.appContext)||qo,s={uid:Zo++,vnode:e,type:o,parent:n,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Jt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Vo(o,i),emitsOptions:Ur(o,i),emit:null,emitted:null,propsDefaults:t,inheritAttrs:o.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null,$uniElements:new Map,$templateUniElementRefs:[],$templateUniElementStyles:{},$eS:{},$eA:{}};return s.ctx={_:s},s.root=n?n.root:s,s.emit=Vr.bind(null,s),e.ce&&e.ce(s),s}let Go=null;const Qo=()=>Go||Nr;let Yo,ei;Yo=e=>{Go=e},ei=e=>{oi=e};const ti=e=>{const t=Go;return Yo(e),e.scope.on(),()=>{e.scope.off(),Yo(t)}},ni=()=>{Go&&Go.scope.off(),Yo(null)};function ri(e){return 4&e.vnode.shapeFlag}let oi=!1;function ii(e,t=!1){t&&ei(t);const{props:n}=e.vnode,r=ri(e);Do(e,n,r,t);const o=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ar(new Proxy(e.ctx,So));const{setup:r}=n;if(r){const t=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(gn(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,n=ti(e);on();const o=xr(r,e,0,[e.props,t]);sn(),n(),y(o)?o.then(ni,ni):function(e,t,n){d(t)?e.render=t:_(t)&&(e.setupState=mr(t));si(e)}(e,o)}else si(e)}(e):void 0;return t&&ei(!1),o}function si(e,t,n){const o=e.type;e.render||(e.render=o.render||r);{const t=ti(e);on();try{Co(e)}finally{sn(),t()}}}function ci(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(mr(ar(e.exposed)),{get:(t,n)=>n in t?t[n]:e.proxy[n],has:(e,t)=>t in e||t in bo}))}const ai=(e,t)=>{const n=function(e,t,n=!1){let o,i;const s=d(e);return s?(o=e,i=r):(o=e.get,i=e.set),new fr(o,i,s||!i,n)}(e,0,oi);return n},li="3.4.21";function ui(e){return _r(e)}const fi="[object Array]",pi="[object Object]";function hi(e,t){const n={};return di(e,t),vi(e,t,"",n),n}function di(e,t){if((e=ui(e))===t)return;const n=x(e),r=x(t);if(n==pi&&r==pi)for(let o in t){const n=e[o];void 0===n?e[o]=null:di(n,t[o])}else n==fi&&r==fi&&e.length>=t.length&&t.forEach(((t,n)=>{di(e[n],t)}))}function vi(e,t,n,r){if((e=ui(e))===t)return;const o=x(e),i=x(t);if(o==pi)if(i!=pi||Object.keys(e).length{vi(e,i[t],(""==n?"":n+".")+s+"["+t+"]",r)}));else if(c==pi)if(a!=pi||Object.keys(o).length{vi(e,t[o],n+"["+o+"]",r)})):gi(r,n,e)}function gi(e,t,n){e[t]=n}function _i(e){const t=e.ctx.__next_tick_callbacks;if(t&&t.length){const e=t.slice(0);t.length=0;for(let t=0;t{t?xr(t.bind(e.proxy),e,14):r&&r(e.proxy)})),new Promise((e=>{r=e}))}function mi(e,t){const n=typeof(e=ui(e));if("object"===n&&null!==e){let n=t.get(e);if(void 0!==n)return n;if(f(e)){const r=e.length;n=new Array(r),t.set(e,n);for(let o=0;o{r[e]=n[e]})),r}(o,i));Object.keys(s).length?(r.__next_tick_pending=!0,o.setData(s,(()=>{r.__next_tick_pending=!1,_i(e)})),zr()):_i(e)}}function bi(e,t,n){t.appContext.config.globalProperties.$applyOptions(e,t,n);const r=e.computed;if(r){const e=Object.keys(r);if(e.length){const n=t.ctx;n.$computedKeys||(n.$computedKeys=[]),n.$computedKeys.push(...e)}}delete t.ctx.$onApplyOptions}function ki(e,t=!1){const{setupState:n,$templateRefs:r,$templateUniElementRefs:o,ctx:{$scope:i,$mpPlatform:s}}=e;if("mp-alipay"===s)return;if(!i||!r&&!o)return;if(t)return r&&r.forEach((e=>Si(e,null,n))),void(o&&o.forEach((e=>Si(e,null,n))));const c="mp-baidu"===s||"mp-toutiao"===s,a=e=>{if(0===e.length)return[];const t=(i.selectAllComponents(".r")||[]).concat(i.selectAllComponents(".r-i-f")||[]);return e.filter((e=>{const r=function(e,t){const n=e.find((e=>e&&(e.properties||e.props).uI===t));if(n){const e=n.$vm;return e?ci(e.$)||e:function(e){_(e)&&ar(e);return e}(n)}return null}(t,e.i);return!(!c||null!==r)||(Si(e,r,n),!1)}))},l=()=>{if(r){const t=a(r);t.length&&e.proxy&&e.proxy.$scope&&e.proxy.$scope.setData({r1:1},(()=>{a(t)}))}};o&&o.length&&yi(e,(()=>{o.forEach((e=>{f(e.v)?e.v.forEach((t=>{Si(e,t,n)})):Si(e,e.v,n)}))})),i._$setRef?i._$setRef(l):yi(e,l)}function Si({r:e,f:t},n,r){if(d(e))e(n,{});else{const o=v(e),i=dr(e);if(o||i)if(t){if(!i)return;f(e.value)||(e.value=[]);const t=e.value;if(-1===t.indexOf(n)){if(t.push(n),!n)return;n.$&&vo((()=>a(t,n)),n.$)}}else o?u(r,e)&&(r[e]=n):dr(e)&&(e.value=n)}}const Bi=jr;function $i(e,t){const n=e.component=Jo(e,t.parentComponent,null);return n.renderer=t.mpType?t.mpType:"component",n.ctx.$onApplyOptions=bi,n.ctx.$children=[],"app"===t.mpType&&(n.render=r),t.onBeforeSetup&&t.onBeforeSetup(n,t),ii(n),t.parentComponent&&n.proxy&&t.parentComponent.ctx.$children.push(ci(n)||n.proxy),function(e){const t=Oi.bind(e);e.$updateScopedSlots=()=>Ir((()=>Rr(t)));const n=()=>{if(e.isMounted){const{next:t,bu:n,u:r}=e;Ei(e,!1),on(),zr(),sn(),n&&H(n),Ei(e,!0),wi(e,Ci(e)),r&&Bi(r)}else vo((()=>{ki(e,!0)}),e),wi(e,Ci(e))},o=e.effect=new Gt(n,r,(()=>Rr(i)),e.scope),i=e.update=()=>{o.dirty&&o.run()};i.id=e.uid,Ei(e,!0),i()}(n),n.proxy}function Ci(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[c],slots:a,attrs:l,emit:u,render:f,renderCache:p,data:h,setupState:d,ctx:v,uid:g,appContext:{app:{config:{globalProperties:{pruneComponentPropsCache:_}}}},inheritAttrs:y}=e;let m;e.$uniElementIds=new Map,e.$templateRefs=[],e.$templateUniElementRefs=[],e.$templateUniElementStyles={},e.$ei=0,_(g),e.__counter=0===e.__counter?1:0;const x=Fr(e);try{if(4&n.shapeFlag){Ai(y,s,c,l);const e=o||r;m=f.call(e,e,p,s,d,h,v)}else{Ai(y,s,c,t.props?l:(e=>{let t;for(const n in e)("class"===n||"style"===n||i(n))&&((t||(t={}))[n]=e[n]);return t})(l));const e=t;m=e.length>1?e(s,{attrs:l,slots:a,emit:u}):e(s,null)}}catch(w){br(w,e,1),m=!1}return ki(e),Fr(x),m}function Ai(e,t,n,r){if(t&&r&&!1!==e){const e=Object.keys(r).filter((e=>"class"!==e&&"style"!==e));if(!e.length)return;n&&e.some(s)?e.forEach((e=>{s(e)&&e.slice(9)in n||(t[e]=r[e])})):e.forEach((e=>t[e]=r[e]))}}function Oi(){const e=this.$scopedSlotsData;if(!e||0===e.length)return;const t=this.ctx.$scope,n=t.data,r=Object.create(null);e.forEach((({path:e,index:t,data:o})=>{const i=W(n,e),s=v(t)?`${e}.${t}`:`${e}[${t}]`;if(void 0===i||void 0===i[t])r[s]=o;else{const e=hi(o,i[t]);Object.keys(e).forEach((t=>{r[s+"."+t]=e[t]}))}})),e.length=0,Object.keys(r).length&&t.setData(r)}function Ei({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}const Pi=function(e,t=null){d(e)||(e=c({},e)),null==t||_(t)||(t=null);const n=Yr(),r=new WeakSet,o=n.app={_uid:eo++,_component:e,_props:t,_container:null,_context:n,_instance:null,version:li,get config(){return n.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&d(e.install)?(r.add(e),e.install(o,...t)):d(e)&&(r.add(e),e(o,...t))),o),mixin:e=>(n.mixins.includes(e)||n.mixins.push(e),o),component:(e,t)=>t?(n.components[e]=t,o):n.components[e],directive:(e,t)=>t?(n.directives[e]=t,o):n.directives[e],mount(){},unmount(){},provide:(e,t)=>(n.provides[e]=t,o),runWithContext(e){const t=to;to=o;try{return e()}finally{to=t}}};return o};function Hi(e,t=null){("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof my?my:void 0).__VUE__=!0;const n=Pi(e,t),o=n._context;o.config.globalProperties.$nextTick=function(e){return yi(this.$,e)};const i=e=>(e.appContext=o,e.shapeFlag=6,e),s=function(e,t){return $i(i(e),t)},c=function(e){return e&&function(e){const{bum:t,scope:n,update:r,um:o}=e;t&&H(t);{const t=e.parent;if(t){const n=t.ctx.$children,r=ci(e)||e.proxy,o=n.indexOf(r);o>-1&&n.splice(o,1)}}n.stop(),r&&(r.active=!1),o&&Bi(o),Bi((()=>{e.isUnmounted=!0}))}(e.$)};return n.mount=function(){e.render=r;const t=$i(i({type:e}),{mpType:"app",mpInstance:null,parentComponent:null,slots:[],props:null});return n._instance=t.$,t.$app=n,t.$createComponent=s,t.$destroyComponent=c,o.$appInstance=t,t},n.unmount=function(){},n}function Ii(e,t,n,r){d(t)&&ao(e,t.bind(n),r)}function Ri(e,t,n){!function(e,t,n){const r=e.mpType||n.$mpType;!r||"component"===r||"page"===r&&"component"===t.renderer||Object.keys(e).forEach((r=>{if(G(r,e[r],!1)){const o=e[r];f(o)?o.forEach((e=>Ii(r,e,n,t))):Ii(r,o,n,t)}}))}(e,t,n)}function Mi(e,t,n){return e[t]=n}function ji(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function zi(e){const t=e.config.errorHandler;return function(n,r,o){t&&t(n,r,o);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?i.proxy.$callHook("onError",n):kr(n,0,r&&r.$.vnode,!1)}}function Di(e,t){return e?[...new Set([].concat(e,t))]:t}let Li;const Ti="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Vi=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Ui(){const e=Xt.getStorageSync("uni_id_token")||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((r=t[1],decodeURIComponent(Li(r).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}var r;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}function Wi(e){const t=e.config;var n;t.errorHandler=ee(e,zi),n=t.optionMergeStrategies,Z.forEach((e=>{n[e]=Di}));const r=t.globalProperties;!function(e){e.uniIDHasRole=function(e){const{role:t}=Ui();return t.indexOf(e)>-1},e.uniIDHasPermission=function(e){const{permission:t}=Ui();return this.uniIDHasRole("admin")||t.indexOf(e)>-1},e.uniIDTokenValid=function(){const{tokenExpired:e}=Ui();return e>Date.now()}}(r),r.$set=Mi,r.$applyOptions=Ri,r.$callMethod=ji,Xt.invokeCreateVueAppHook(e)}Li="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Vi.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,r,o="",i=0;i>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;const Ni=Object.create(null);function Fi(e){delete Ni[e]}function Ki(e){if(!e)return;const[t,n]=e.split(",");return Ni[t]?Ni[t][parseInt(n)]:void 0}var Xi={install(e){Wi(e),e.config.globalProperties.pruneComponentPropsCache=Fi;const t=e.mount;e.mount=function(n){const r=t.call(e,n),o=function(){const e="createApp";if("undefined"!=typeof global&&void 0!==global[e])return global[e];if("undefined"!=typeof my)return my[e]}();return o?o(r):"undefined"!=typeof createMiniProgramApp&&createMiniProgramApp(r),r}}};function qi(e){return v(e)?e:function(e){let t="";if(!e||v(e))return t;for(const n in e)t+=`${n.startsWith("--")?n:A(n)}:${e[n]};`;return t}(R(e))}function Zi(e,t){const n=Qo(),o=n.ctx,i=void 0===t||"mp-weixin"!==o.$mpPlatform&&"mp-qq"!==o.$mpPlatform&&"mp-xhs"!==o.$mpPlatform||!v(t)&&"number"!=typeof t?"":"_"+t,s="e"+n.$ei+++i,a=o.$scope;if(!e)return delete a[s],s;const l=a[s];return l?l.value=e:a[s]=function(e,t){const n=e=>{var o;(o=e).type&&o.target&&(o.preventDefault=r,o.stopPropagation=r,o.stopImmediatePropagation=r,u(o,"detail")||(o.detail={}),u(o,"markerId")&&(o.detail="object"==typeof o.detail?o.detail:{},o.detail.markerId=o.markerId),w(o.detail)&&u(o.detail,"checked")&&!u(o.detail,"value")&&(o.detail.value=o.detail.checked),w(o.detail)&&(o.target=c({},o.target,o.detail)));let i=[e];t&&t.ctx.$getTriggerEventDetail&&"number"==typeof e.detail&&(e.detail=t.ctx.$getTriggerEventDetail(e.detail)),e.detail&&e.detail.__args__&&(i=e.detail.__args__);const s=n.value,a=()=>wr(function(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n&&n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,s),t,5,i),l=e.target,p=!!l&&(!!l.dataset&&"true"===String(l.dataset.eventsync));if(!Ji.includes(e.type)||p){const t=a();if("input"===e.type&&(f(t)||y(t)))return;return t}setTimeout(a)};return n.value=e,n}(e,n),s}const Ji=["tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend","touchforcechange"];const Gi=function(e,t=null){return e&&(e.mpType="app"),Hi(e,t).use(Xi)};const Qi=["externalClasses"];const Yi=/_(.*)_worklet_factory_/;function es(e,t){const n=e.$children;for(let o=n.length-1;o>=0;o--){const e=n[o];if(e.$scope._$vueId===t)return e}let r;for(let o=n.length-1;o>=0;o--)if(r=es(n[o],t),r)return r}const ts=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function ns(e,t){const n=e.ctx;n.mpType=t.mpType,n.$mpType=t.mpType,n.$mpPlatform="mp-weixin",n.$scope=t.mpInstance,Object.defineProperties(n,{virtualHostId:{get(){const e=this.$scope.data.virtualHostId;return void 0===e?"":e}}}),n.$mp={},n._self={},e.slots={},f(t.slots)&&t.slots.length&&(t.slots.forEach((t=>{e.slots[t]=!0})),e.slots.d&&(e.slots.default=!0)),n.getOpenerEventChannel=function(){return t.mpInstance.getOpenerEventChannel()},n.$hasHook=rs,n.$callHook=os,e.emit=function(e,t){return function(n,...r){const o=t.$scope;if(o&&n){const e={__args__:r};o.triggerEvent(n,e)}return e.apply(this,[n,...r])}}(e.emit,n)}function rs(e){const t=this.$[e];return!(!t||!t.length)}function os(e,t){"mounted"===e&&(os.call(this,"bm"),this.$.isMounted=!0,e="m");const n=this.$[e];return n&&((e,t)=>{let n;for(let r=0;r{G(n,e[n])&&t.add(n)}));{const{extends:n,mixins:r}=e;r&&r.forEach((e=>ss(e,t))),n&&ss(n,t)}}return t}function cs(e,t,n){-1!==n.indexOf(t)||u(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.$callHook(t,e)})}const as=["onReady"];function ls(e,t,n=as){t.forEach((t=>cs(e,t,n)))}function us(e,t,n=as){ss(t).forEach((t=>cs(e,t,n)))}const fs=U((()=>{const e=[],t=d(getApp)&&getApp({allowDefault:!0});if(t&&t.$vm&&t.$vm.$){const n=t.$vm.$.appContext.mixins;if(f(n)){const t=Object.keys(J);n.forEach((n=>{t.forEach((t=>{u(n,t)&&!e.includes(t)&&e.push(t)}))}))}}return e}));const ps=["onShow","onHide","onError","onThemeChange","onPageNotFound","onUnhandledRejection"];function hs(e,t){const n=e.$,r={globalData:e.$options&&e.$options.globalData||{},$vm:e,onLaunch(t){this.$vm=e;const r=n.ctx;this.$vm&&r.$scope&&r.$callHook||(ns(n,{mpType:"app",mpInstance:this,slots:[]}),r.globalData=this.globalData,e.$callHook("onLaunch",t))}},o=wx.$onErrorHandlers;o&&(o.forEach((e=>{ao("onError",e,n)})),o.length=0),function(e){const t=vr(function(){var e;let t="";{const n=(null===(e=wx.getAppBaseInfo)||void 0===e?void 0:e.call(wx))||wx.getSystemInfoSync();t=re(n&&n.language?n.language:"en")||"en"}return t}());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(e);const i=e.$.type;ls(r,ps),us(r,i);{const e=i.methods;e&&c(r,e)}return r}function ds(e,t){if(d(e.onLaunch)){const t=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.onLaunch(t)}d(e.onShow)&&wx.onAppShow&&wx.onAppShow((e=>{t.$callHook("onShow",e)})),d(e.onHide)&&wx.onAppHide&&wx.onAppHide((e=>{t.$callHook("onHide",e)}))}const vs=["eO","uR","uRIF","uI","uT","uP","uS"];function gs(e){e.properties||(e.properties={}),c(e.properties,function(e,t=!1){const n={};if(!t){let e=function(e){const t=Object.create(null);e&&e.forEach((e=>{t[e]=!0})),this.setData({$slots:t})};vs.forEach((e=>{n[e]={type:null,value:""}})),n.uS={type:null,value:[]},n.uS.observer=e}return e.behaviors&&e.behaviors.includes("wx://form-field")&&(e.properties&&e.properties.name||(n.name={type:null,value:""}),e.properties&&e.properties.value||(n.value={type:null,value:""})),n}(e),function(e){const t={};return e&&e.virtualHost&&(t.virtualHostStyle={type:null,value:""},t.virtualHostClass={type:null,value:""},t.virtualHostHidden={type:null,value:""},t.virtualHostId={type:null,value:""}),t}(e.options))}const _s=[String,Number,Boolean,Object,Array,null];function ys(e,t){const n=function(e,t){return f(e)&&1===e.length?e[0]:e}(e);return-1!==_s.indexOf(n)?n:null}function ms(e,t){return(t?function(e){const t={};w(e)&&Object.keys(e).forEach((n=>{-1===vs.indexOf(n)&&(t[n]=e[n])}));return t}(e):Ki(e.uP))||{}}function xs(e){const t=function(){const e=this.properties.uP;e&&(this.$vm?function(e,t){const n=cr(t.props),r=Ki(e)||{};ws(n,r)&&(!function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,c=cr(o),[a]=e.propsOptions;let l=!1;if(!(r||s>0)||16&s){let r;Lo(e,t,o,i)&&(l=!0);for(const i in c)t&&(u(t,i)||(r=A(i))!==i&&u(t,r))||(a?!n||void 0===n[i]&&void 0===n[r]||(o[i]=To(a,c,i,void 0,e,!0)):delete o[i]);if(i!==c)for(const e in i)t&&u(t,e)||(delete i[e],l=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r-1&&function(e){const t=$r.indexOf(e);t>Cr&&$r.splice(t,1)}(t.update),t.update());var o}(e,this.$vm.$):"m"===this.properties.uT&&function(e,t){const n=t.properties,r=Ki(e)||{};ws(n,r,!1)&&t.setData(r)}(e,this))};e.observers||(e.observers={}),e.observers.uP=t}function ws(e,t,n=!0){const r=Object.keys(t);if(n&&r.length!==Object.keys(e).length)return!0;for(let o=0;o{r.push(e.replace("uni://","wx://")),"uni://form-field"===e&&(f(n)?(n.push("name"),n.push("modelValue")):(n.name={type:String,default:""},n.modelValue={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),r}(t)}function ks(e,{parse:t,mocks:n,isPage:r,isPageInProject:o,initRelation:i,handleLink:s,initLifetimes:a}){e=e.default||e;const l={multipleSlots:!0,addGlobalClass:!0,pureDataPattern:/^uP$/};f(e.mixins)&&e.mixins.forEach((e=>{_(e.options)&&c(l,e.options)})),e.options&&c(l,e.options);const p={options:l,lifetimes:a({mocks:n,isPage:r,initRelation:i,vueOptions:e}),pageLifetimes:{show(){this.$vm&&this.$vm.$callHook("onPageShow")},hide(){this.$vm&&this.$vm.$callHook("onPageHide")},resize(e){this.$vm&&this.$vm.$callHook("onPageResize",e)}},methods:{__l:s}};var h,d,v,g;return bs(p,e),gs(p),xs(p),function(e,t){Qi.forEach((n=>{u(t,n)&&(e[n]=t[n])}))}(p,e),h=p.methods,d=e.wxsCallMethods,f(d)&&d.forEach((e=>{h[e]=function(t){return this.$vm[e](t)}})),v=p.methods,(g=e.methods)&&Object.keys(g).forEach((e=>{const t=e.match(Yi);if(t){const n=t[1];v[e]=g[e],v[n]=g[n]}})),t&&t(p,{handleLink:s}),p}let Ss,Bs;function $s(){return getApp().$vm}function Cs(e,t){const{parse:n,mocks:r,isPage:o,initRelation:i,handleLink:s,initLifetimes:c}=t,a=ks(e,{mocks:r,isPage:o,isPageInProject:!0,initRelation:i,handleLink:s,initLifetimes:c});!function({properties:e},t){f(t)?t.forEach((t=>{e[t]={type:String,value:""}})):w(t)&&Object.keys(t).forEach((n=>{const r=t[n];if(w(r)){let t=r.default;d(t)&&(t=t());const o=r.type;r.type=ys(o),e[n]={type:r.type,value:t}}else e[n]={type:ys(r)}}))}(a,(e.default||e).props);const l=a.methods;return l.onLoad=function(e){var t;return this.options=e,this.$page={fullPath:(t=this.route+X(e),function(e){return 0===e.indexOf("/")}(t)?t:"/"+t)},this.$vm&&this.$vm.$callHook("onLoad",e)},ls(l,is),us(l,e),function(e,t){if(!t)return;Object.keys(J).forEach((n=>{t&J[n]&&cs(e,n,[])}))}(l,e.__runtimeHooks),ls(l,fs()),n&&n(a,{handleLink:s}),a}const As=Page,Os=Component;function Es(e){const t=e.triggerEvent,n=function(n,...r){return t.apply(e,[(o=n,$(o.replace(F,"-"))),...r]);var o};try{e.triggerEvent=n}catch(r){e._triggerEvent=n}}function Ps(e,t,n){const r=t[e];t[e]=r?function(...e){return Es(this),r.apply(this,e)}:function(){Es(this)}}Page=function(e){return Ps("onLoad",e),As(e)},Component=function(e){Ps("created",e);return e.properties&&e.properties.uP||(gs(e),xs(e)),Os(e)};var Hs=Object.freeze({__proto__:null,handleLink:function(e){const t=e.detail||e.value,n=t.vuePid;let r;n&&(r=es(this.$vm,n)),r||(r=this.$vm),t.parent=r},initLifetimes:function({mocks:e,isPage:t,initRelation:n,vueOptions:r}){return{attached(){let o=this.properties;!function(e,t){if(!e)return;const n=e.split(","),r=n.length;1===r?t._$vueId=n[0]:2===r&&(t._$vueId=n[0],t._$vuePid=n[1])}(o.uI,this);const i={vuePid:this._$vuePid};n(this,i);const s=this,c=t(s);let a=o;this.$vm=function(e,t){Ss||(Ss=$s().$createComponent);const n=Ss(e,t);return ci(n.$)||n}({type:r,props:ms(a,c)},{mpType:c?"page":"component",mpInstance:s,slots:o.uS||{},parentComponent:i.parent&&i.parent.$,onBeforeSetup(t,n){!function(e,t){Object.defineProperty(e,"refs",{get(){const e={};return function(e,t,n){e.selectAllComponents(t).forEach((e=>{const t=e.properties.uR;n[t]=e.$vm||e}))}(t,".r",e),t.selectAllComponents(".r-i-f").forEach((t=>{const n=t.properties.uR;n&&(e[n]||(e[n]=[]),e[n].push(t.$vm||t))})),e}})}(t,s),function(e,t,n){const r=e.ctx;n.forEach((n=>{u(t,n)&&(e[n]=r[n]=t[n])}))}(t,s,e),function(e,t){ns(e,t);const n=e.ctx;ts.forEach((e=>{n[e]=function(...t){const r=n.$scope;if(r&&r[e])return r[e].apply(r,t)}}))}(t,n)}}),c||function(e){const t=e.$options;f(t.behaviors)&&t.behaviors.includes("uni://form-field")&&e.$watch("modelValue",(()=>{e.$scope&&e.$scope.setData({name:e.name,value:e.modelValue})}),{immediate:!0})}(this.$vm)},ready(){this.$vm&&(this.$vm.$callHook("mounted"),this.$vm.$callHook("onReady"))},detached(){var e;this.$vm&&(Fi(this.$vm.$.uid),e=this.$vm,Bs||(Bs=$s().$destroyComponent),Bs(e))}}},initRelation:function(e,t){e.triggerEvent("__l",t)},isPage:function(e){return!!e.route},mocks:["__route__","__wxExparserNodeId__","__wxWebviewId__"]});const Is=function(e){return App(hs(e))},Rs=(Ms=Hs,function(e){return Component(Cs(e,Ms))});var Ms;const js=function(e){return function(t){return Component(ks(t,e))}}(Hs),zs=function(e){ds(hs(e),e)},Ds=function(e){const t=hs(e),n=d(getApp)&&getApp({allowDefault:!0});if(!n)return;e.$.ctx.$scope=n;const r=n.globalData;r&&Object.keys(t.globalData).forEach((e=>{u(r,e)||(r[e]=t.globalData[e])})),Object.keys(t).forEach((e=>{u(n,e)||(n[e]=t[e])})),ds(t,e)};!function(){if(d(wx.preloadAssets)){const e=String.fromCharCode(99,100,110,49,46,100,99,108,111,117,100,46,110,101,116,46,99,110);setTimeout((()=>{wx.preloadAssets({data:[{type:"image",src:"https://"+e+"/4d54677a4e6b56444f53556c643367775a57526c595746694e7a5a6b4e475a684e444530/img/shadow-grey.png"}]})}),3e3)}}(),wx.createApp=global.createApp=Is,wx.createPage=Rs,wx.createComponent=js,wx.createPluginApp=global.createPluginApp=zs,wx.createSubpackageApp=global.createSubpackageApp=Ds;var Ls="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vs(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var Us={exports:{}};var Ws={exports:{}};const Ns=Vs(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Fs;function Ks(){return Fs?Ws.exports:(Fs=1,Ws.exports=(e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==Ls&&Ls.crypto&&(n=Ls.crypto),!n)try{n=Ns}catch(v){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(v){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(v){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},s=i.lib={},c=s.Base=function(){return{extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),a=s.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var c=0;c>>2]=n[c>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},f=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},p=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,c=i/(4*s),l=(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0))*s,u=e.min(4*l,i);if(l){for(var f=0;f>>2]|=e[o]<<24-o%4*8;n.call(this,r,t)}else n.apply(this,arguments)};r.prototype=t}}(),e.lib.WordArray));var e}var Ys,ec={exports:{}};function tc(){return Ys?ec.exports:(Ys=1,ec.exports=(e=Ks(),function(){var t=e,n=t.lib.WordArray,r=t.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return n.create(r,2*t)}},r.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return n.create(r,2*t)}}}(),e.enc.Utf16));var e}var nc,rc={exports:{}};function oc(){return nc?rc.exports:(nc=1,rc.exports=(e=Ks(),function(){var t=e,n=t.lib.WordArray;function r(e,t,r){for(var o=[],i=0,s=0;s>>6-s%4*2;o[i>>>2]|=c<<24-i%4*8,i++}return n.create(o,i)}t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,c=0;c<4&&i+.75*c>>6*(3-c)&63));var a=r.charAt(64);if(a)for(;o.length%4;)o.push(a);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>6-s%4*2;o[i>>>2]|=c<<24-i%4*8,i++}return n.create(o,i)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,a=0;a<4&&s+.75*a>>6*(3-a)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=e[t+0],a=e[t+1],h=e[t+2],d=e[t+3],v=e[t+4],g=e[t+5],_=e[t+6],y=e[t+7],m=e[t+8],x=e[t+9],w=e[t+10],b=e[t+11],k=e[t+12],S=e[t+13],B=e[t+14],$=e[t+15],C=i[0],A=i[1],O=i[2],E=i[3];C=l(C,A,O,E,s,7,c[0]),E=l(E,C,A,O,a,12,c[1]),O=l(O,E,C,A,h,17,c[2]),A=l(A,O,E,C,d,22,c[3]),C=l(C,A,O,E,v,7,c[4]),E=l(E,C,A,O,g,12,c[5]),O=l(O,E,C,A,_,17,c[6]),A=l(A,O,E,C,y,22,c[7]),C=l(C,A,O,E,m,7,c[8]),E=l(E,C,A,O,x,12,c[9]),O=l(O,E,C,A,w,17,c[10]),A=l(A,O,E,C,b,22,c[11]),C=l(C,A,O,E,k,7,c[12]),E=l(E,C,A,O,S,12,c[13]),O=l(O,E,C,A,B,17,c[14]),C=u(C,A=l(A,O,E,C,$,22,c[15]),O,E,a,5,c[16]),E=u(E,C,A,O,_,9,c[17]),O=u(O,E,C,A,b,14,c[18]),A=u(A,O,E,C,s,20,c[19]),C=u(C,A,O,E,g,5,c[20]),E=u(E,C,A,O,w,9,c[21]),O=u(O,E,C,A,$,14,c[22]),A=u(A,O,E,C,v,20,c[23]),C=u(C,A,O,E,x,5,c[24]),E=u(E,C,A,O,B,9,c[25]),O=u(O,E,C,A,d,14,c[26]),A=u(A,O,E,C,m,20,c[27]),C=u(C,A,O,E,S,5,c[28]),E=u(E,C,A,O,h,9,c[29]),O=u(O,E,C,A,y,14,c[30]),C=f(C,A=u(A,O,E,C,k,20,c[31]),O,E,g,4,c[32]),E=f(E,C,A,O,m,11,c[33]),O=f(O,E,C,A,b,16,c[34]),A=f(A,O,E,C,B,23,c[35]),C=f(C,A,O,E,a,4,c[36]),E=f(E,C,A,O,v,11,c[37]),O=f(O,E,C,A,y,16,c[38]),A=f(A,O,E,C,w,23,c[39]),C=f(C,A,O,E,S,4,c[40]),E=f(E,C,A,O,s,11,c[41]),O=f(O,E,C,A,d,16,c[42]),A=f(A,O,E,C,_,23,c[43]),C=f(C,A,O,E,x,4,c[44]),E=f(E,C,A,O,k,11,c[45]),O=f(O,E,C,A,$,16,c[46]),C=p(C,A=f(A,O,E,C,h,23,c[47]),O,E,s,6,c[48]),E=p(E,C,A,O,y,10,c[49]),O=p(O,E,C,A,B,15,c[50]),A=p(A,O,E,C,g,21,c[51]),C=p(C,A,O,E,k,6,c[52]),E=p(E,C,A,O,d,10,c[53]),O=p(O,E,C,A,w,15,c[54]),A=p(A,O,E,C,a,21,c[55]),C=p(C,A,O,E,m,6,c[56]),E=p(E,C,A,O,$,10,c[57]),O=p(O,E,C,A,_,15,c[58]),A=p(A,O,E,C,S,21,c[59]),C=p(C,A,O,E,v,6,c[60]),E=p(E,C,A,O,b,10,c[61]),O=p(O,E,C,A,h,15,c[62]),A=p(A,O,E,C,x,21,c[63]),i[0]=i[0]+C|0,i[1]=i[1]+A|0,i[2]=i[2]+O|0,i[3]=i[3]+E|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var i=t.floor(r/4294967296),s=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(n.length+1),this._process();for(var c=this._hash,a=c.words,l=0;l<4;l++){var u=a[l];a[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return c},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,i,s){var c=e+(t&n|~t&r)+o+s;return(c<>>32-i)+t}function u(e,t,n,r,o,i,s){var c=e+(t&r|n&~r)+o+s;return(c<>>32-i)+t}function f(e,t,n,r,o,i,s){var c=e+(t^n^r)+o+s;return(c<>>32-i)+t}function p(e,t,n,r,o,i,s){var c=e+(n^(t|~r))+o+s;return(c<>>32-i)+t}n.MD5=i._createHelper(a),n.HmacMD5=i._createHmacHelper(a)}(Math),e.MD5));var e}var fc,pc={exports:{}};function hc(){return fc?pc.exports:(fc=1,pc.exports=(c=Ks(),t=(e=c).lib,n=t.WordArray,r=t.Hasher,o=e.algo,i=[],s=o.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],s=n[2],c=n[3],a=n[4],l=0;l<80;l++){if(l<16)i[l]=0|e[t+l];else{var u=i[l-3]^i[l-8]^i[l-14]^i[l-16];i[l]=u<<1|u>>>31}var f=(r<<5|r>>>27)+a+i[l];f+=l<20?1518500249+(o&s|~o&c):l<40?1859775393+(o^s^c):l<60?(o&s|o&c|s&c)-1894007588:(o^s^c)-899497514,a=c,c=s,s=o<<30|o>>>2,o=r,r=f}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+s|0,n[3]=n[3]+c|0,n[4]=n[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=r._createHelper(s),e.HmacSHA1=r._createHmacHelper(s),c.SHA1));var e,t,n,r,o,i,s,c}var dc,vc={exports:{}};function gc(){return dc?vc.exports:(dc=1,vc.exports=(e=Ks(),function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,c=[],a=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)e(r)&&(o<8&&(c[o]=n(t.pow(r,.5))),a[o]=n(t.pow(r,1/3)),o++),r++}();var l=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],c=n[4],u=n[5],f=n[6],p=n[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var d=l[h-15],v=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,g=l[h-2],_=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[h]=v+l[h-7]+_+l[h-16]}var y=r&o^r&i^o&i,m=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),x=p+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&f)+a[h]+l[h];p=f,f=u,u=c,c=s+x|0,s=i,i=o,o=r,r=x+(m+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+c|0,n[5]=n[5]+u|0,n[6]=n[6]+f|0,n[7]=n[7]+p|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(u),n.HmacSHA256=i._createHmacHelper(u)}(Math),e.SHA256));var e}var _c,yc={exports:{}};var mc,xc={exports:{}};function wc(){return mc?xc.exports:(mc=1,xc.exports=(e=Ks(),Zs(),function(){var t=e,n=t.lib.Hasher,r=t.x64,o=r.Word,i=r.WordArray,s=t.algo;function c(){return o.create.apply(o,arguments)}var a=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=c()}();var u=s.SHA512=n.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],c=n[4],u=n[5],f=n[6],p=n[7],h=r.high,d=r.low,v=o.high,g=o.low,_=i.high,y=i.low,m=s.high,x=s.low,w=c.high,b=c.low,k=u.high,S=u.low,B=f.high,$=f.low,C=p.high,A=p.low,O=h,E=d,P=v,H=g,I=_,R=y,M=m,j=x,z=w,D=b,L=k,T=S,V=B,U=$,W=C,N=A,F=0;F<80;F++){var K,X,q=l[F];if(F<16)X=q.high=0|e[t+2*F],K=q.low=0|e[t+2*F+1];else{var Z=l[F-15],J=Z.high,G=Z.low,Q=(J>>>1|G<<31)^(J>>>8|G<<24)^J>>>7,Y=(G>>>1|J<<31)^(G>>>8|J<<24)^(G>>>7|J<<25),ee=l[F-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=l[F-7],se=ie.high,ce=ie.low,ae=l[F-16],le=ae.high,ue=ae.low;X=(X=(X=Q+se+((K=Y+ce)>>>0>>0?1:0))+re+((K+=oe)>>>0>>0?1:0))+le+((K+=ue)>>>0>>0?1:0),q.high=X,q.low=K}var fe,pe=z&L^~z&V,he=D&T^~D&U,de=O&P^O&I^P&I,ve=E&H^E&R^H&R,ge=(O>>>28|E<<4)^(O<<30|E>>>2)^(O<<25|E>>>7),_e=(E>>>28|O<<4)^(E<<30|O>>>2)^(E<<25|O>>>7),ye=(z>>>14|D<<18)^(z>>>18|D<<14)^(z<<23|D>>>9),me=(D>>>14|z<<18)^(D>>>18|z<<14)^(D<<23|z>>>9),xe=a[F],we=xe.high,be=xe.low,ke=W+ye+((fe=N+me)>>>0>>0?1:0),Se=_e+ve;W=V,N=U,V=L,U=T,L=z,T=D,z=M+(ke=(ke=(ke=ke+pe+((fe+=he)>>>0>>0?1:0))+we+((fe+=be)>>>0>>0?1:0))+X+((fe+=K)>>>0>>0?1:0))+((D=j+fe|0)>>>0>>0?1:0)|0,M=I,j=R,I=P,R=H,P=O,H=E,O=ke+(ge+de+(Se>>>0<_e>>>0?1:0))+((E=fe+Se|0)>>>0>>0?1:0)|0}d=r.low=d+E,r.high=h+O+(d>>>0>>0?1:0),g=o.low=g+H,o.high=v+P+(g>>>0>>0?1:0),y=i.low=y+R,i.high=_+I+(y>>>0>>0?1:0),x=s.low=x+j,s.high=m+M+(x>>>0>>0?1:0),b=c.low=b+D,c.high=w+z+(b>>>0>>0?1:0),S=u.low=S+T,u.high=k+L+(S>>>0>>0?1:0),$=f.low=$+U,f.high=B+V+($>>>0>>0?1:0),A=p.low=A+N,p.high=C+W+(A>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(u),t.HmacSHA512=n._createHmacHelper(u)}(),e.SHA512));var e}var bc,kc={exports:{}};var Sc,Bc={exports:{}};function $c(){return Sc?Bc.exports:(Sc=1,Bc.exports=(e=Ks(),Zs(),function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.x64.Word,c=n.algo,a=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){a[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var c=0,f=0,p=0;p<7;p++){if(1&o){var h=(1<>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(A=n[o]).high^=s,A.low^=i}for(var c=0;c<24;c++){for(var p=0;p<5;p++){for(var h=0,d=0,v=0;v<5;v++)h^=(A=n[p+5*v]).high,d^=A.low;var g=f[p];g.high=h,g.low=d}for(p=0;p<5;p++){var _=f[(p+4)%5],y=f[(p+1)%5],m=y.high,x=y.low;for(h=_.high^(m<<1|x>>>31),d=_.low^(x<<1|m>>>31),v=0;v<5;v++)(A=n[p+5*v]).high^=h,A.low^=d}for(var w=1;w<25;w++){var b=(A=n[w]).high,k=A.low,S=a[w];S<32?(h=b<>>32-S,d=k<>>32-S):(h=k<>>64-S,d=b<>>64-S);var B=f[l[w]];B.high=h,B.low=d}var $=f[0],C=n[0];for($.high=C.high,$.low=C.low,p=0;p<5;p++)for(v=0;v<5;v++){var A=n[w=p+5*v],O=f[w],E=f[(p+1)%5+5*v],P=f[(p+2)%5+5*v];A.high=O.high^~E.high&P.high,A.low=O.low^~E.low&P.low}A=n[0];var H=u[c];A.high^=H.high,A.low^=H.low}},_doFinalize:function(){var e=this._data,n=e.words;this._nDataBytes;var r=8*e.sigBytes,i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,c=this.cfg.outputLength/8,a=c/8,l=[],u=0;u>>24)|4278255360&(p<<24|p>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),l.push(h),l.push(p)}return new o.init(l,c)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(p),n.HmacSHA3=i._createHmacHelper(p)}(Math),e.SHA3));var e}var Cc,Ac={exports:{}};var Oc,Ec={exports:{}};function Pc(){return Oc?Ec.exports:(Oc=1,Ec.exports=(e=Ks(),n=(t=e).lib.Base,r=t.enc.Utf8,void(t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),s=this._iKey=t.clone(),c=i.words,a=s.words,l=0;l>>2];e.sigBytes-=t}};r.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:d}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var v=r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(a)},parse:function(e){var t,n=a.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),v.create({ciphertext:n,salt:t})}},_=r.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),s=o.cfg;return v.create({ciphertext:i,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(n.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)s=l.create({keySize:t+n,hasher:o}).compute(e,r);else var s=l.create({keySize:t+n}).compute(e,r);var c=i.create(s.words.slice(t),4*n);return s.sigBytes=4*t,v.create({key:s,iv:c,salt:r})}},m=r.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=_.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=o.iv,_.decrypt.call(this,e,t,o.key,r)}})}())));var e}var Tc,Vc={exports:{}};var Uc,Wc={exports:{}};var Nc,Fc={exports:{}};function Kc(){return Nc?Fc.exports:(Nc=1,Fc.exports=(e=Ks(),Lc(), +/** @preserve + * Counter block mode compatible with Dr Brian Gladman fileenc.c + * derived from CryptoJS.mode.CTR + * Jan Hruby jhruby.web@gmail.com + */ +e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var o=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),r(s);var c=s.slice(0);n.encryptBlock(c,0);for(var a=0;a>>5]>>>31-r%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var l=o[i]=[],u=a[i];for(n=0;n<24;n++)l[n/6|0]|=t[(c[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(c[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var f=this._invSubKeys=[];for(n=0;n<16;n++)f[n]=o[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,252645135),p.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),p.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,s=this._rBlock,c=0,a=0;a<8;a++)c|=l[a][((s^o[a])&u[a])>>>0];this._lBlock=s,this._rBlock=i^c}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,p.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=f.createEncryptor(r.create(t)),this._des2=f.createEncryptor(r.create(n)),this._des3=f.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(d)}(),e.TripleDES));var e}var da,va={exports:{}};var ga,_a={exports:{}};var ya,ma={exports:{}};var xa,wa,ba,ka,Sa,Ba,$a,Ca={exports:{}};function Aa(){return xa?Ca.exports:(xa=1,Ca.exports=(e=Ks(),oc(),uc(),jc(),Lc(),function(){var t=e,n=t.lib.BlockCipher,r=t.algo;const o=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function a(e,t){let n=t>>24&255,r=t>>16&255,o=t>>8&255,i=255&t,s=e.sbox[0][n]+e.sbox[1][r];return s^=e.sbox[2][o],s+=e.sbox[3][i],s}function l(e,t,n){let r,i=t,s=n;for(let c=0;c1;--c)i^=e.pbox[c],s=a(e,i)^s,r=i,i=s,s=r;return r=i,i=s,s=r,s^=e.pbox[1],i^=e.pbox[0],{left:i,right:s}}function f(e,t,n){for(let o=0;o<4;o++){e.sbox[o]=[];for(let t=0;t<256;t++)e.sbox[o][t]=s[o][t]}let r=0;for(let s=0;s=n&&(r=0);let c=0,a=0,u=0;for(let i=0;i>>24)|4278255360&(o<<24|o>>>8)}var i,s,h,x,w,b,k,S,B,$,C,A=this._hash.words,O=f.words,E=p.words,P=c.words,H=a.words,I=l.words,R=u.words;for(b=i=A[0],k=s=A[1],S=h=A[2],B=x=A[3],$=w=A[4],n=0;n<80;n+=1)C=i+e[t+P[n]]|0,C+=n<16?d(s,h,x)+O[0]:n<32?v(s,h,x)+O[1]:n<48?g(s,h,x)+O[2]:n<64?_(s,h,x)+O[3]:y(s,h,x)+O[4],C=(C=m(C|=0,I[n]))+w|0,i=w,w=x,x=m(h,10),h=s,s=C,C=b+e[t+H[n]]|0,C+=n<16?y(k,S,B)+E[0]:n<32?_(k,S,B)+E[1]:n<48?g(k,S,B)+E[2]:n<64?v(k,S,B)+E[3]:d(k,S,B)+E[4],C=(C=m(C|=0,R[n]))+$|0,b=$,$=B,B=m(S,10),S=k,k=C;C=A[1]+h+B|0,A[1]=A[2]+x+$|0,A[2]=A[3]+w+b|0,A[3]=A[4]+i+k|0,A[4]=A[0]+s+S|0,A[0]=C},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var c=i[s];i[s]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function d(e,t,n){return e^t^n}function v(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function _(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function m(e,t){return e<>>32-t}n.RIPEMD160=i._createHelper(h),n.HmacRIPEMD160=i._createHmacHelper(h)}(),e.RIPEMD160));var e}(),Pc(),function(){return Hc?Ic.exports:(Hc=1,Ic.exports=(a=Ks(),gc(),Pc(),t=(e=a).lib,n=t.Base,r=t.WordArray,o=e.algo,i=o.SHA256,s=o.HMAC,c=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:i,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,o=s.create(n.hasher,e),i=r.create(),c=r.create([1]),a=i.words,l=c.words,u=n.keySize,f=n.iterations;a.length>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923));var e}(),function(){return Yc?ea.exports:(Yc=1,ea.exports=(e=Ks(),Lc(),e.pad.Iso10126={pad:function(t,n){var r=4*n,o=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126));var e}(),function(){return ta?na.exports:(ta=1,na.exports=(e=Ks(),Lc(),e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971));var e}(),function(){return ra?oa.exports:(ra=1,oa.exports=(e=Ks(),Lc(),e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding));var e}(),function(){return ia?sa.exports:(ia=1,sa.exports=(e=Ks(),Lc(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding));var e}(),function(){return ca?aa.exports:(ca=1,aa.exports=(r=Ks(),Lc(),t=(e=r).lib.CipherParams,n=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(n)},parse:function(e){var r=n.parse(e);return t.create({ciphertext:r})}},r.format.Hex));var e,t,n,r}(),function(){return la?ua.exports:(la=1,ua.exports=(e=Ks(),oc(),uc(),jc(),Lc(),function(){var t=e,n=t.lib.BlockCipher,r=t.algo,o=[],i=[],s=[],c=[],a=[],l=[],u=[],f=[],p=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var d=r^r<<1^r<<2^r<<3^r<<4;d=d>>>8^255&d^99,o[n]=d,i[d]=n;var v=e[n],g=e[v],_=e[g],y=257*e[d]^16843008*d;s[n]=y<<24|y>>>8,c[n]=y<<16|y>>>16,a[n]=y<<8|y>>>24,l[n]=y,y=16843009*_^65537*g^257*v^16843008*n,u[d]=y<<24|y>>>8,f[d]=y<<16|y>>>16,p[d]=y<<8|y>>>24,h[d]=y,n?(n=v^e[e[e[_^v]]],r^=e[e[r]]):n=r=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=r.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],s=0;s6&&s%n==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=o[(l=l<<8|l>>>24)>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=d[s/n|0]<<24),i[s]=i[s-n]^l);for(var c=this._invKeySchedule=[],a=0;a>>24]]^f[o[l>>>16&255]]^p[o[l>>>8&255]]^h[o[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,c,a,l,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,f,p,h,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,s,c){for(var a=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],f=e[t+2]^n[2],p=e[t+3]^n[3],h=4,d=1;d>>24]^o[u>>>16&255]^i[f>>>8&255]^s[255&p]^n[h++],g=r[u>>>24]^o[f>>>16&255]^i[p>>>8&255]^s[255&l]^n[h++],_=r[f>>>24]^o[p>>>16&255]^i[l>>>8&255]^s[255&u]^n[h++],y=r[p>>>24]^o[l>>>16&255]^i[u>>>8&255]^s[255&f]^n[h++];l=v,u=g,f=_,p=y}v=(c[l>>>24]<<24|c[u>>>16&255]<<16|c[f>>>8&255]<<8|c[255&p])^n[h++],g=(c[u>>>24]<<24|c[f>>>16&255]<<16|c[p>>>8&255]<<8|c[255&l])^n[h++],_=(c[f>>>24]<<24|c[p>>>16&255]<<16|c[l>>>8&255]<<8|c[255&u])^n[h++],y=(c[p>>>24]<<24|c[l>>>16&255]<<16|c[u>>>8&255]<<8|c[255&f])^n[h++],e[t]=v,e[t+1]=g,e[t+2]=_,e[t+3]=y},keySize:8});t.AES=n._createHelper(v)}(),e.AES));var e}(),ha(),function(){return da?va.exports:(da=1,va.exports=(e=Ks(),oc(),uc(),jc(),Lc(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=r.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var s=o%n,c=t[s>>>2]>>>24-s%4*8&255;i=(i+r[o]+c)%256;var a=r[o];r[o]=r[i],r[i]=a}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}t.RC4=n._createHelper(o);var s=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});t.RC4Drop=n._createHelper(s)}(),e.RC4));var e}(),function(){return ga?_a.exports:(ga=1,_a.exports=(e=Ks(),oc(),uc(),jc(),Lc(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=[],i=[],s=[],c=r.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)a.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,s=i[0],c=i[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=l>>>16|4294901760&u,p=u<<16|65535&l;for(o[0]^=l,o[1]^=f,o[2]^=u,o[3]^=p,o[4]^=l,o[5]^=f,o[6]^=u,o[7]^=p,n=0;n<4;n++)a.call(this)}},_doProcessBlock:function(e,t){var n=this._X;a.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,c=r>>>16,a=((o*o>>>17)+o*c>>>15)+c*c,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=a^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=n._createHelper(c)}(),e.Rabbit));var e}(),function(){return ya?ma.exports:(ya=1,ma.exports=(e=Ks(),oc(),uc(),jc(),Lc(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=[],i=[],s=[],c=r.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)a.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(t){var i=t.words,s=i[0],c=i[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=l>>>16|4294901760&u,p=u<<16|65535&l;for(r[0]^=l,r[1]^=f,r[2]^=u,r[3]^=p,r[4]^=l,r[5]^=f,r[6]^=u,r[7]^=p,o=0;o<4;o++)a.call(this)}},_doProcessBlock:function(e,t){var n=this._X;a.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,c=r>>>16,a=((o*o>>>17)+o*c>>>15)+c*c,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=a^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=n._createHelper(c)}(),e.RabbitLegacy));var e}(),Aa()));exports.CryptoJS=Oa,exports._export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},exports.createSSRApp=Gi,exports.e=(e,...t)=>c(e,...t),exports.f=(e,t)=>function(e,t){let n;if(f(e)||v(e)){n=new Array(e.length);for(let r=0,o=e.length;rt(e,n,n)));else{const r=Object.keys(e);n=new Array(r.length);for(let o=0,i=r.length;oL(e),exports.o=(e,t)=>Zi(e,t),exports.p=e=>function(e){const{uid:t,__counter:n}=Qo();return t+","+((Ni[t]||(Ni[t]=[])).push(Xo(e))-1)+","+n}(e),exports.provide=no,exports.resolveComponent=function(e,t){return function(e,t,n=!0,r=!1){const o=Nr||Go;if(o){const n=o.type;if("components"===e){const e=function(e,t=!0){return d(e)?e.displayName||e.name:e.name||t&&e.__name}(n,!1);if(e&&(e===t||e===$(t)||e===O($(t))))return n}const i=Kr(o[e]||n[e],t)||Kr(o.appContext[e],t);return!i&&r?n:i}}("components",e,!0,t)||e},exports.s=e=>qi(e),exports.sr=(e,t,n)=>function(e,t,n={}){const{$templateRefs:r}=Qo();r.push({i:t,r:e,k:n.k,f:n.f})}(e,t,n),exports.t=e=>(e=>v(e)?e:null==e?"":f(e)||_(e)&&(e.toString===m||!d(e.toString))?JSON.stringify(e,T,2):String(e))(e),exports.wx$1=Kt; diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.js b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.js new file mode 100644 index 0000000..faa06f8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.js @@ -0,0 +1 @@ +"use strict";const t=require("../../request/api.js"),e=require("../../common/vendor.js"),a=require("../../common/assets.js"),n={name:"LCCalendar",data:()=>({weekList:["日","一","二","三","四","五","六"],monthDateList:[],selectMonthIndex:0,selectMonth:"",selectDateStr:"",startDateStr:"",endDateStr:"",selectYear:"",Month:"",calendarApiData:[]}),created(){let t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=t.getDate();this.selectMonthIndex=240+a-1,this.selectMonth=e+"年"+a+"月",this.startDateStr=e+"-"+(a>9?a:"0"+a)+"-01",this.endDateStr=this.selectDateStr=`${e}-${a>9?a:"0"+a}-${n>9?n:"0"+n}`,this.getYesterdayDateData(),this.generateMonthDateListData(),this.emitDateChange(e,a,n,this.getTodayItem(e,a,n),this.getPrevDayItem(e,a,n))},mounted(){this.getCalendarCombinedData()},methods:{getPrevDayItem(t,e,a){const n=new Date(new Date(`${t}-${e}-${a}`).getTime()-864e5),s=n.getFullYear(),o=n.getMonth()+1,r=n.getDate(),l=`${s}-${o>9?o:"0"+o}-${r>9?r:"0"+r}`,i=(this.monthDateList[this.selectMonthIndex]||[]).find((t=>t.date===l))||null,h=this.getCalendarItemByDate(l)||{};return{...i,zt_count:h.zt_count||0,top_sector:h.top_sector||"-",zaban_rate:h.zaban_rate||"0%"}},getTodayItem(t,e,a){const n=`${t}-${e>9?e:"0"+e}-${a>9?a:"0"+a}`,s=(this.monthDateList[this.selectMonthIndex]||[]).find((t=>t.date===n))||null;if(!s)return null;const o=this.getCalendarItemByDate(n)||{};return{...s,zt_count:o.zt_count||0,top_sector:o.top_sector||"-",zaban_rate:o.zaban_rate||"0%"}},emitDateChange(t,e,a,n,s={zt_count:0}){const o=`${t}-${e>9?e:"0"+e}`,r=`${t}-${e>9?e:"0"+e}-${a>9?a:"0"+a}`;this.$emit("date-change",{yearMonth:o,fullDate:r,item:n||{date:r,year:t,month:e,day:a,zt_count:0,top_sector:"-",zaban_rate:"0%"},prevItem:s||{zt_count:0,top_sector:"-",zaban_rate:"0%"},year:t,month:e,day:a})},getYesterdayDateData(){let t=new Date(new Date);t.setDate(t.getDate()-1),t.getFullYear(),t.getMonth(),t.getDate(),this.selectYear=t.getFullYear(),this.Month=t.getMonth()+1},getCalendarItemByDate(t){if(!t||!this.calendarApiData.length)return null;const e=t.replace(/-/g,"");return this.calendarApiData.find((t=>t.date===e))||null},getZtCountBgClass:(t,e)=>e%7==0||e%7==6||0===t||null==t?"":t>=80?"zt-bg-80":t>=60?"zt-bg-60":t>=40?"zt-bg-40":"zt-bg-40-less",getZtCountTextColor:(t,e)=>void 0===e||e%7!=0&&e%7!=6?null==t||0===t?"#2A2A2A":t>=80?"#5D288F":t>=60?"#BE1B1B":t>=40?"#F59B38":"#2958AA":"#999999",async getCalendarCombinedData(){try{let e={year:this.selectYear,month:this.Month};const a=await t.calendarCombinedData(e);if(a.success&&Array.isArray(a.data)){if(this.calendarApiData=a.data,this.selectDateStr){const[t,e,a]=this.selectDateStr.split("-").map(Number);this.emitDateChange(t,e,a,this.getTodayItem(t,e,a),this.getPrevDayItem(t,e,a))}}else this.calendarApiData=[],console.warn("日历接口返回数据格式异常",a)}catch(e){this.calendarApiData=[],console.error("获取日历数据失败",e)}},generateMonthDateListData(){let t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=t.getDate(),s=[];for(var o=e-20;o9?s:"0"+s)+"-"+(i>9?i:"0"+i);c.push({date:D,year:o,month:s,day:i,isToday:o==e&&s==a&&i==n,isCurrentMonth:!0,isLastDay:i==h,timestamp:d})}for(l=0;l9?s:"0"+s)+"-"+(i>9?i:"0"+i);c.unshift({date:d,year:t,month:s,day:i,isToday:!1,isCurrentMonth:!1,isLastDay:!1,timestamp:h})}let D=new Date(o,r+1,1),g=new Date(D-864e5).getDay()+1;for(l=1;l<8-g;l++){let t=o,e=r;e>11&&(e=0,t++);let a=new Date(t,e+1,l),n=a.getMonth()+1,s=a.getDate(),i=a.getTime(),h=t+"-"+(n>9?n:"0"+n)+"-"+(s>9?s:"0"+s);c.push({date:h,year:t,month:n,day:s,isToday:!1,isCurrentMonth:!1,isLastDay:!1,timestamp:i})}s.push(c)}this.monthDateList=s},clickPreMonth(){if(this.selectMonthIndex>0){this.selectMonthIndex--;let t=this.monthDateList[this.selectMonthIndex],e="",a="";for(let s of t)if(s.isCurrentMonth){e=s.year,a=s.month;break}let n="";for(let s of t)if(s.isLastDay){n=s.day;break}this.selectMonth=e+"年"+a+"月",this.startDateStr=e+"-"+(a>9?a:"0"+a)+"-01",this.endDateStr=e+"-"+(a>9?a:"0"+a)+"-"+n,this.selectYear=e,this.Month=a,this.getCalendarCombinedData(),console.log("点击上个月")}},clickNextMonth(){if(this.selectMonthIndex9?a:"0"+a)+"-01",this.endDateStr=e+"-"+(a>9?a:"0"+a)+"-"+n,console.log("点击下个月"),this.selectYear=e,this.Month=a,this.getCalendarCombinedData()}},monthChange(t){let e=(new Date).getFullYear(),a=t.detail.value,n=parseInt(a.split("-")[0]),s=parseInt(a.split("-")[1]);this.selectMonthIndex=12*(n-(e-20))+s-1,this.selectMonth=n+"年"+s+"月",this.startDateStr=n+"-"+(s>9?s:"0"+s)+"-01";let o=new Date(n,s,0);this.endDateStr=n+"-"+(s>9?s:"0"+s)+"-"+o.getDate(),console.log("月份变更"),this.selectYear=n,this.Month=s,this.getCalendarCombinedData()},clickSelectDate(t,e){if(t.isCurrentMonth&&this.selectDateStr!=t.date){this.selectDateStr=t.date;const a=this.getCalendarItemByDate(t.date)||{},n={...t,zt_count:a.zt_count||0,top_sector:a.top_sector||"-",zaban_rate:a.zaban_rate||"0%",isWeekend:e%7==0||e%7==6},s=new Date(t.date),o=new Date(s.getTime()-864e5),r=o.getFullYear(),l=o.getMonth()+1,i=o.getDate(),h=`${r}-${l>9?l:"0"+l}-${i>9?i:"0"+i}`,d=this.getCalendarItemByDate(h)||{};let c=null;if(c=(this.monthDateList[this.selectMonthIndex]||[]).find((t=>t.date===h)),!c){const e=this.selectMonthIndex-(lt.date===h))}const D={...c||{},zt_count:d.zt_count||0,top_sector:d.top_sector||"-",zaban_rate:d.zaban_rate||"0%",isWeekend:!1};this.chgStockData=n;const[g,u,m]=t.date.split("-").map(Number);this.emitDateChange(g,u,m,n,D),console.log("点击某天(含接口数据)",{current:n,prev:D})}}}};const s=e._export_sfc(n,[["render",function(t,n,s,o,r,l){return{a:a._imports_0$1,b:e.o((t=>l.clickPreMonth())),c:a._imports_1$16,d:e.t(r.selectDateStr),e:a._imports_1$2,f:e.o((t=>l.clickNextMonth())),g:e.f(r.weekList,((t,a,n)=>({a:e.t(t),b:a}))),h:e.f(r.monthDateList[r.selectMonthIndex],((t,a,n)=>{var s,o,i,h,d,c,D,g,u,m,C,y,_,M;return e.e({a:t.date==r.selectDateStr},t.date==r.selectDateStr?e.e({b:e.t(t.day),c:a%7==0||a%7==6},a%7==0||a%7==6?{}:e.e({d:(null==(s=l.getCalendarItemByDate(t.date))?void 0:s.zt_count)>0},(null==(o=l.getCalendarItemByDate(t.date))?void 0:o.zt_count)>0?{e:e.t(null==(i=l.getCalendarItemByDate(t.date))?void 0:i.zt_count),f:l.getZtCountTextColor(null==(h=l.getCalendarItemByDate(t.date))?void 0:h.zt_count),g:e.t((null==(d=l.getCalendarItemByDate(t.date))?void 0:d.top_sector)||"-"),h:l.getZtCountTextColor(null==(c=l.getCalendarItemByDate(t.date))?void 0:c.zt_count)}:{}),{i:e.n(l.getZtCountBgClass(null==(D=l.getCalendarItemByDate(t.date))?void 0:D.zt_count))}):e.e({j:!t.isCurrentMonth},t.isCurrentMonth?e.e({k:e.t(t.day),l:a%7==0||a%7==6?"#999999":"#2A2A2A",m:a%7==0||a%7==6},a%7==0||a%7==6?{}:e.e({n:(null==(g=l.getCalendarItemByDate(t.date))?void 0:g.zt_count)>0},(null==(u=l.getCalendarItemByDate(t.date))?void 0:u.zt_count)>0?{o:e.t(null==(m=l.getCalendarItemByDate(t.date))?void 0:m.zt_count),p:l.getZtCountTextColor(null==(C=l.getCalendarItemByDate(t.date))?void 0:C.zt_count),q:e.t((null==(y=l.getCalendarItemByDate(t.date))?void 0:y.top_sector)||"-"),r:l.getZtCountTextColor(null==(_=l.getCalendarItemByDate(t.date))?void 0:_.zt_count)}:{}),{s:e.n(l.getZtCountBgClass(null==(M=l.getCalendarItemByDate(t.date))?void 0:M.zt_count))}):{}),{t:a,v:e.o((e=>l.clickSelectDate(t)),a)})}))}}]]);wx.createComponent(s); diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.json b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.wxml b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.wxml new file mode 100644 index 0000000..592bdd8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.wxml @@ -0,0 +1 @@ +{{d}}{{item.a}}{{item.b}} 休市 {{item.e}}家 {{item.g}}{{item.k}}休市 {{item.o}}家 {{item.q}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.wxss b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.wxss new file mode 100644 index 0000000..5bb58f4 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar/LCCalendar.wxss @@ -0,0 +1 @@ +.dateC{background-color:#fff;box-shadow:0 5rpx 10rpx rgba(127,127,127,.1);box-sizing:border-box}.dateC .yearMonthC{height:70rpx;border-radius:35rpx}.dateC .yearMonthC .btn{padding:0 32rpx}.dateC .yearMonthC .btn .icon{width:13rpx;height:auto}.dateC .yearMonthC .yearMonth{font-size:32rpx;font-weight:500;color:#070707;text-align:center}.dateC .weekList .item{line-height:72rpx;font-size:26rpx;font-weight:500;color:#a7a7a7;text-align:center}.dateC .monthDateList .item .date{background-color:#f8f8f8;padding:10rpx 0;border-radius:10rpx;font-size:26rpx;font-weight:700;color:#2a2a2a;display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%}.dateC .monthDateList .item .date .chg{font-size:18rpx}.dateC .monthDateList .item .date .chg.up{color:#ec3440}.dateC .monthDateList .item .date .chg.down{color:#38a169}.dateC .monthDateList .item .date.zt-bg-80{background-color:#faeeff}.dateC .monthDateList .item .date.zt-bg-60{background-color:#ffe9e9}.dateC .monthDateList .item .date.zt-bg-40{background-color:#fff8f0}.dateC .monthDateList .item .date.zt-bg-40-less{background-color:#eef4ff}.dateC .monthDateList .item .date.up{background-color:#ffd6d9}.dateC .monthDateList .item .date.down{background-color:#cef1de}.dateC .monthDateList .item .date.select.up{background-color:#ec3440;color:#fff}.dateC .monthDateList .item .date.select.up .chg{color:#fff}.dateC .monthDateList .item .date.select.down{background-color:#38a169;color:#fff}.dateC .monthDateList .item .date.select.down .chg{color:#fff}.dateC .monthDateList .item .date.notCurrentMonth{background-color:#fcfcfc;color:#999} diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.js b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.js new file mode 100644 index 0000000..9bf44b9 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),a={name:"LCCalendar",data:()=>({weekList:["日","一","二","三","四","五","六"],monthDateList:[],selectMonthIndex:0,selectMonth:"",selectDateStr:"",startDateStr:"",endDateStr:""}),created(){let t=new Date,e=t.getFullYear(),a=t.getMonth()+1,s=t.getDate();this.selectMonthIndex=240+a-1,this.selectMonth=e+"年"+a+"月",this.startDateStr=e+"-"+(a>9?a:"0"+a)+"-01",this.endDateStr=this.selectDateStr=e+"-"+(a>9?a:"0"+a)+"-"+(s>9?s:"0"+s),this.generateMonthDateListData(),this.$emit("date-change",this.selectDateStr)},methods:{getYesterdayDateData(){let t=new Date(new Date);t.setDate(t.getDate()-1);let e=t.getFullYear(),a=t.getMonth()+1,s=t.getDate();this.selectDateStr=e+"-"+(a>9?a:"0"+a)+"-"+(s>9?s:"0"+s),this.$emit("date-change",this.selectDateStr)},generateMonthDateListData(){let t=new Date,e=t.getFullYear(),a=t.getMonth()+1,s=t.getDate(),n=[];for(var h=e-20;h9?n:"0"+n)+"-"+(r>9?r:"0"+r);c.push({date:d,year:h,month:n,day:r,isToday:h==e&&n==a&&r==s,isCurrentMonth:!0,isLastDay:r==l,timestamp:D})}for(i=0;i9?n:"0"+n)+"-"+(r>9?r:"0"+r);c.unshift({date:D,year:t,month:n,day:r,isToday:!1,isCurrentMonth:!1,isLastDay:!1,timestamp:l})}let d=new Date(h,o+1,1),g=new Date(d-864e5).getDay()+1;for(i=1;i<8-g;i++){let t=h,e=o;e>11&&(e=0,t++);let a=new Date(t,e+1,i),s=a.getMonth()+1,n=a.getDate(),r=a.getTime(),l=t+"-"+(s>9?s:"0"+s)+"-"+(n>9?n:"0"+n);c.push({date:l,year:t,month:s,day:n,isToday:!1,isCurrentMonth:!1,isLastDay:!1,timestamp:r})}n.push(c)}this.monthDateList=n},clickPreMonth(){if(this.selectMonthIndex>0){this.selectMonthIndex--;let t=this.monthDateList[this.selectMonthIndex],e="",a="";for(let n of t)if(n.isCurrentMonth){e=n.year,a=n.month;break}let s="";for(let n of t)if(n.isLastDay){s=n.day;break}this.selectMonth=e+"年"+a+"月",this.startDateStr=e+"-"+(a>9?a:"0"+a)+"-01",this.endDateStr=e+"-"+(a>9?a:"0"+a)+"-"+s,console.log("点击上个月")}},clickNextMonth(){if(this.selectMonthIndex9?a:"0"+a)+"-01",this.endDateStr=e+"-"+(a>9?a:"0"+a)+"-"+s,console.log("点击下个月")}},monthChange(t){let e=(new Date).getFullYear(),a=t.detail.value,s=parseInt(a.split("-")[0]),n=parseInt(a.split("-")[1]);this.selectMonthIndex=12*(s-(e-20))+n-1,this.selectMonth=s+"年"+n+"月",this.startDateStr=s+"-"+(n>9?n:"0"+n)+"-01";let h=new Date(s,n,0);this.endDateStr=s+"-"+(n>9?n:"0"+n)+"-"+h.getDate(),console.log("月份变更")},clickSelectDate(t){t.isCurrentMonth&&this.selectDateStr!=t.date&&(this.selectDateStr=t.date,this.chgStockData=t,console.log("点击某天"),this.$emit("date-change",this.selectDateStr))}}};const s=t._export_sfc(a,[["render",function(a,s,n,h,o,i){return{a:e._imports_0$1,b:t.o((t=>i.clickPreMonth())),c:t.t(o.selectMonth),d:t.o(((...t)=>i.monthChange&&i.monthChange(...t))),e:e._imports_1$2,f:t.o((t=>i.clickNextMonth())),g:t.f(o.weekList,((e,a,s)=>({a:t.t(e),b:a}))),h:t.f(o.monthDateList[o.selectMonthIndex],((e,a,s)=>t.e({a:e.date==o.selectDateStr},e.date==o.selectDateStr?{b:t.t(e.day),c:t.n("date select up")}:t.e({d:!e.isCurrentMonth},e.isCurrentMonth?{f:t.t(e.day),g:t.n("date up")}:{e:t.t(e.day)}),{h:a,i:t.o((t=>i.clickSelectDate(e)),a)})))}}]]);wx.createComponent(s); diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.json b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.wxml b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.wxml new file mode 100644 index 0000000..9f3f1e5 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.wxml @@ -0,0 +1 @@ +{{c}}{{item.a}}{{item.b}}{{item.e}}{{item.f}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.wxss b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.wxss new file mode 100644 index 0000000..3febc65 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/LCCalendar2/LCCalendar2.wxss @@ -0,0 +1 @@ +.dateC{background-color:#fff;box-sizing:border-box}.dateC .yearMonthC{background-color:#f7f7f7;height:70rpx;border-radius:35rpx}.dateC .yearMonthC .btn{padding:0 32rpx}.dateC .yearMonthC .btn .icon{width:13rpx;height:auto}.dateC .yearMonthC .yearMonth{font-size:32rpx;font-weight:500;color:#070707;text-align:center}.dateC .weekList .item{line-height:72rpx;font-size:26rpx;font-weight:500;color:#a7a7a7;text-align:center}.dateC .monthDateList .item{height:72rpx}.dateC .monthDateList .item .date{background-color:#f8f8f8;padding:10rpx 0;border-radius:10rpx;font-size:26rpx;font-weight:700;color:#2a2a2a;display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%}.dateC .monthDateList .item .date .chg{font-size:18rpx}.dateC .monthDateList .item .date .chg.up{color:#ec3440}.dateC .monthDateList .item .date .chg.down{color:#38a169}.dateC .monthDateList .item .date.up{background-color:#f8f8f8}.dateC .monthDateList .item .date.down{background-color:#cef1de}.dateC .monthDateList .item .date.select.up{background-color:#f2c367;color:#fff}.dateC .monthDateList .item .date.select.up .chg{color:#fff}.dateC .monthDateList .item .date.select.down{background-color:#38a169;color:#fff}.dateC .monthDateList .item .date.select.down .chg{color:#fff}.dateC .monthDateList .item .date.notCurrentMonth{background-color:#fcfcfc;color:#999} diff --git a/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.js b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.js new file mode 100644 index 0000000..3b1f376 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.js @@ -0,0 +1 @@ +"use strict";const e=require("../../WordCloud.js");wx.createPage(e.MiniProgramPage); diff --git a/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.json b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.json new file mode 100644 index 0000000..a0812ee --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.wxml b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.wxml new file mode 100644 index 0000000..0793147 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.wxss b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.wxss new file mode 100644 index 0000000..dec9b9f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud.wxss @@ -0,0 +1 @@ +.word-cloud-container.data-v-e748f4a2,.word-cloud-canvas.data-v-e748f4a2{width:100%;height:100%} diff --git a/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud2.js b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud2.js new file mode 100644 index 0000000..3b1f376 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/WordCloud/WordCloud2.js @@ -0,0 +1 @@ +"use strict";const e=require("../../WordCloud.js");wx.createPage(e.MiniProgramPage); diff --git a/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.js b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.js new file mode 100644 index 0000000..d84245d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),i=require("../../common/assets.js"),e=require("../../uni_modules/lime-echart/static/echarts.min.js"),s={name:"cwfx-view",data:()=>({profitabilityIndicatorList:[{title:"净资产收益率(ROE)%"},{title:"净资产收益率(扣非)%"},{title:"净资产收益率(加权)%"},{title:"总资产报酬率(ROA)%"},{title:"毛利率%"},{title:"净利率%"},{title:"营业利润率%"},{title:"成本费用利润率%"}],profitabilityIndicatorIndex:0,perShareIndicatorList:[{title:"每股收益(EPS)"},{title:"基本每股收益"},{title:"稀释每股收益"},{title:"扣非每股收益"},{title:"每股净资产"},{title:"每股经营现金流"},{title:"每股资本公积"},{title:"每股未分配利润"}],perShareIndicatorIndex:0,option1:{legend:{show:!0,data:["ROE","同比(右)"]},grid:{left:"2%",right:"2%",top:"5%",bottom:"30%"},xAxis:{type:"category",data:[],axisLabel:{fontSize:10,rotate:45}},yAxis:[{type:"value",name:"(%)",position:"left",alignTicks:!0,axisLine:{onZero:!1}},{type:"value",name:"(%)",position:"right",alignTicks:!0,axisLine:{onZero:!1}}],dataZoom:[{type:"slider"}],series:[{type:"bar",name:"ROE",data:[],yAxisIndex:0},{type:"line",name:"同比",data:[],yAxisIndex:1}]},option2:{legend:{show:!0,data:["ROE","同比(右)"]},grid:{left:"2%",right:"2%",top:"5%",bottom:"30%"},xAxis:{type:"category",data:[],axisLabel:{rotate:45,fontSize:10}},yAxis:[{type:"value",name:"(%)",position:"left",alignTicks:!0,axisLine:{onZero:!1}},{type:"value",name:"(%)",position:"right",alignTicks:!0,axisLine:{onZero:!1}}],dataZoom:[{type:"slider"}],series:[{type:"bar",name:"ROE",data:[],yAxisIndex:0},{type:"line",name:"同比",data:[],yAxisIndex:1}]}}),props:{dataList:Array},watch:{dataList(t){let i=[],e=[],s=[];for(let a of t){var r=a.report_type;r=(r=(r=(r=r.replace("年三季报","Q3")).replace("年一季报","Q1")).replace("年中报","中报")).replace("年年报","年报"),i.push(r),a.profitability.roe?e.push(a.profitability.roe.toFixed(2)):e.push(0),a.per_share_metrics.eps?s.push(a.per_share_metrics.eps.toFixed(2)):s.push(0)}this.option1.xAxis.data=i,this.option1.series[0].data=e,this.profitabilityInit(),this.option2.xAxis.data=i,this.option2.series[0].data=s,this.perShareInit()}},methods:{async profitabilityInit(){(await this.$refs.chartRef1.init(e)).setOption(this.option1)},async perShareInit(){(await this.$refs.chartRef2.init(e)).setOption(this.option2)},clickProfitabilityIndicatorItem(t){if(this.profitabilityIndicatorIndex!=t){this.profitabilityIndicatorIndex=t;let i=[];if(0==t)for(let t of this.dataList)t.profitability.roe?i.push(t.profitability.roe.toFixed(2)):i.push(0);else if(1==t)for(let t of this.dataList)t.profitability.roe_deducted?i.push(t.profitability.roe_deducted.toFixed(2)):i.push(0);else if(2==t)for(let t of this.dataList)t.profitability.roe_deducted?i.push(t.profitability.roe_deducted.toFixed(2)):i.push(0);else if(3==t)for(let t of this.dataList)t.profitability.roa?i.push(t.profitability.roa.toFixed(2)):i.push(0);else if(4==t)for(let t of this.dataList)t.profitability.gross_margin?i.push(t.profitability.gross_margin.toFixed(2)):i.push(0);else if(5==t)for(let t of this.dataList)t.profitability.net_profit_margin?i.push(t.profitability.net_profit_margin.toFixed(2)):i.push(0);else if(6==t)for(let t of this.dataList)t.profitability.operating_profit_margin?i.push(t.profitability.operating_profit_margin.toFixed(2)):i.push(0);else if(7==t)for(let t of this.dataList)t.profitability.cost_profit_ratio?i.push(t.profitability.cost_profit_ratio.toFixed(2)):i.push(0);this.option1.series[0].data=i,this.profitabilityInit()}},clickPerShareIndicatorItem(t){if(this.perShareIndicatorIndex!=t){this.perShareIndicatorIndex=t;let i=[];if(0==t)for(let t of this.dataList)t.per_share_metrics.eps?i.push(t.per_share_metrics.eps.toFixed(2)):i.push(0);else if(1==t)for(let t of this.dataList)t.per_share_metrics.basic_eps?i.push(t.per_share_metrics.basic_eps.toFixed(2)):i.push(0);else if(2==t)for(let t of this.dataList)t.per_share_metrics.diluted_eps?i.push(t.per_share_metrics.diluted_eps.toFixed(2)):i.push(0);else if(3==t)for(let t of this.dataList)t.per_share_metrics.deducted_eps?i.push(t.per_share_metrics.deducted_eps.toFixed(2)):i.push(0);else if(4==t)for(let t of this.dataList)t.per_share_metrics.bvps?i.push(t.per_share_metrics.bvps.toFixed(2)):i.push(0);else if(5==t)for(let t of this.dataList)t.per_share_metrics.operating_cash_flow_ps?i.push(t.per_share_metrics.operating_cash_flow_ps.toFixed(2)):i.push(0);else if(6==t)for(let t of this.dataList)t.per_share_metrics.capital_reserve_ps?i.push(t.per_share_metrics.capital_reserve_ps.toFixed(2)):i.push(0);else if(7==t)for(let t of this.dataList)t.per_share_metrics.undistributed_profit_ps?i.push(t.per_share_metrics.undistributed_profit_ps.toFixed(2)):i.push(0);this.option2.series[0].data=i,this.perShareInit()}}}};if(!Array){t.resolveComponent("l-echart")()}Math;const r=t._export_sfc(s,[["render",function(e,s,r,a,o,p){return{a:i._imports_0$8,b:i._imports_1$2,c:t.f(o.profitabilityIndicatorList,((i,e,s)=>({a:t.t(i.title),b:t.n("item flex "+(o.profitabilityIndicatorIndex==e?"select":"")),c:e,d:t.o((t=>p.clickProfitabilityIndicatorItem(e)),e)}))),d:i._imports_2$14,e:i._imports_3$13,f:t.sr("chartRef1","3746da36-0"),g:i._imports_4$12,h:i._imports_1$2,i:t.f(o.perShareIndicatorList,((i,e,s)=>({a:t.t(i.title),b:t.n("item flexCenter "+(o.perShareIndicatorIndex==e?"select":"")),c:e,d:t.o((t=>p.clickPerShareIndicatorItem(e)),e)}))),j:i._imports_2$14,k:i._imports_3$13,l:t.sr("chartRef2","3746da36-1")}}]]);wx.createComponent(r); diff --git a/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.json b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.json new file mode 100644 index 0000000..61b3d8d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.wxml b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.wxml new file mode 100644 index 0000000..9aaced9 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.wxml @@ -0,0 +1 @@ +盈利能力{{item.a}}查看详细数据 单季度全部每股指标{{item.a}}查看详细数据 单季度全部 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.wxss b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.wxss new file mode 100644 index 0000000..d30da70 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwfx-view/cwfx-view.wxss @@ -0,0 +1 @@ +.indicatorC .item{background-color:#fff;padding:3rpx 5rpx;border:1rpx solid #D2D2D2;font-size:20rpx;color:#999;text-align:center}.indicatorC .item.select{background-color:#fffaf1;border:1rpx solid #F2C369;color:#bb8520} diff --git a/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.js b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.js new file mode 100644 index 0000000..9bacd41 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.js @@ -0,0 +1 @@ +"use strict";const t=require("../../utils/util.js"),i=require("../../common/vendor.js"),e=require("../../common/assets.js"),a=require("../../uni_modules/lime-echart/static/echarts.min.js"),s={name:"cwsj-view",data:()=>({profitabilityIndicatorIndex:0,profitIndicatorIndex:0,cashFlowIndicatorIndex:0,option1:{legend:{show:!0,data:["货币资金","同比(右)"]},grid:{left:"2%",right:"2%",top:"5%",bottom:"30%"},xAxis:{type:"category",data:[],axisLabel:{rotate:45,fontSize:10}},yAxis:[{type:"value",name:"(%)",position:"left",alignTicks:!0,axisLine:{onZero:!1}},{type:"value",name:"(%)",position:"right",alignTicks:!0,axisLine:{onZero:!1}}],dataZoom:[{type:"slider"}],series:[{type:"bar",name:"ROE",data:[],yAxisIndex:0},{type:"line",name:"同比",data:[],yAxisIndex:1}]},option2:{legend:{show:!0,data:["经营现金流","同比(右)"]},grid:{left:"2%",right:"2%",top:"5%",bottom:"30%"},xAxis:{type:"category",data:[],axisLabel:{fontSize:10,rotate:45}},yAxis:[{type:"value",name:"(亿)",position:"left",alignTicks:!0,axisLine:{onZero:!1}},{type:"value",name:"(%)",position:"right",alignTicks:!0,axisLine:{onZero:!1}}],dataZoom:[{type:"slider"}],series:[{type:"bar",name:"经营现金流",data:[],yAxisIndex:0},{type:"line",name:"同比",data:[],yAxisIndex:1}]},option3:{legend:{show:!0,data:["净利润","同比(右)"]},grid:{left:"2%",right:"2%",top:"5%",bottom:"30%"},xAxis:{type:"category",data:[],axisLabel:{rotate:45,fontSize:10}},yAxis:[{type:"value",name:"(亿)",position:"left",alignTicks:!0,axisLine:{onZero:!1}},{type:"value",name:"(%)",position:"right",alignTicks:!0,axisLine:{onZero:!1}}],dataZoom:[{type:"slider"}],series:[{type:"bar",name:"净利润",data:[],yAxisIndex:0},{type:"line",name:"同比",data:[],yAxisIndex:1}]},getNumStr:t.getNumStr,accDiv:t.accDiv,accSub:t.accSub,accMul:t.accMul}),props:{financialBalanceList:Array,cashFlowList:Array,incomeStatementList:Array},watch:{financialBalanceList(i){let e=[],a=[];for(let s of i)e.push(s.report_type),s.assets.current_assets.cash?a.push(t.accDiv(s.assets.current_assets.cash,1e8).toFixed(2)):a.push(0);this.option1.xAxis.data=e,this.option1.series[0].data=a,this.profitabilityInit()},cashFlowList(i){let e=[],a=[];for(let s of i)e.push(s.report_type),s.operating_activities.net_flow?a.push(t.accDiv(s.operating_activities.net_flow,1e8).toFixed(2)):a.push(0);this.option2.xAxis.data=e,this.option2.series[0].data=a,this.cashFlowInit()},incomeStatementList(i){let e=[],a=[];for(let s of i)e.push(s.report_type),s.profit.net_profit?a.push(t.accDiv(s.profit.net_profit,1e9).toFixed(2)):data1.push(0);this.option3.xAxis.data=e,this.option3.series[0].data=a,this.incomeStatementInit()}},methods:{async profitabilityInit(){(await this.$refs.chartRef1.init(a)).setOption(this.option1)},async cashFlowInit(){(await this.$refs.chartRef2.init(a)).setOption(this.option2)},async incomeStatementInit(){(await this.$refs.chartRef3.init(a)).setOption(this.option3)},caculateOperatingFlowRatio(){let i=this.cashFlowList[0].operating_activities.net_flow,e=this.cashFlowList[4].operating_activities.net_flow;return t.accMul(t.accDiv(t.accSub(i,e),e),100).toFixed(2)},caculateNetIncreaseRatio(){let i=this.cashFlowList[0].cash_changes.net_increase,e=this.cashFlowList[4].cash_changes.net_increase;return t.accMul(t.accDiv(t.accSub(i,e),e),100).toFixed(2)},getLastYearPeriod(t){t[0].period.split("-")[0]},clickCashFlowIndicatorItem(i){if(this.cashFlowIndicatorIndex!=i){this.cashFlowIndicatorIndex=i;let e=[];if(0==i)for(let i of this.cashFlowList)i.operating_activities.net_flow?e.push(t.accDiv(i.operating_activities.net_flow,1e8).toFixed(2)):e.push(0);else if(1==i)for(let i of this.cashFlowList)i.financing_activities.net_flow?e.push(t.accDiv(i.financing_activities.net_flow,1e8).toFixed(2)):e.push(0);else if(2==i)for(let i of this.cashFlowList)i.investment_activities.net_flow?e.push(t.accDiv(i.investment_activities.net_flow,1e8).toFixed(2)):e.push(0);this.option2.series[0].data=e,this.cashFlowInit()}},clickProfitIndicatorItem(t){this.profitIndicatorIndex!=t&&(this.profitIndicatorIndex=t)}}};if(!Array){i.resolveComponent("l-echart")()}Math;const n=i._export_sfc(s,[["render",function(t,a,s,n,o,c){return i.e({a:e._imports_0$8,b:e._imports_1$2,c:i.f(["货币资金","所有者权益","关键指标"],((t,e,a)=>({a:i.t(t),b:i.n("item flexCenter "+(o.cashFlowIndicatorIndex==e?"select":"")),c:e}))),d:e._imports_2$14,e:e._imports_3$13,f:i.sr("chartRef1","63ca7cac-0"),g:s.financialBalanceList.length>0},s.financialBalanceList.length>0?{h:i.t(o.getNumStr(s.financialBalanceList[0].assets.total)),i:i.t(o.getNumStr(s.financialBalanceList[0].liabilities.total)),j:i.t(o.getNumStr(s.financialBalanceList[0].equity.total)),k:i.t(o.getNumStr(s.financialBalanceList[0].assets.current_assets.cash)),l:i.t(o.getNumStr(s.financialBalanceList[0].equity.capital_reserve)),m:i.t(o.getNumStr(s.financialBalanceList[0].equity.surplus_reserve)),n:i.t(o.getNumStr(s.financialBalanceList[0].equity.undistributed_profit))}:{},{o:e._imports_0$8,p:e._imports_1$2,q:i.f(["经营现金流","筹资现金流","投资现金流"],((t,e,a)=>({a:i.t(t),b:i.n("item flexCenter "+(o.cashFlowIndicatorIndex==e?"select":"")),c:e,d:i.o((t=>c.clickCashFlowIndicatorItem(e)),e)}))),r:e._imports_2$14,s:e._imports_3$13,t:i.sr("chartRef2","63ca7cac-1"),v:s.cashFlowList.length>0},s.cashFlowList.length>0?{w:i.t(o.getNumStr(s.cashFlowList[0].operating_activities.net_flow)),x:i.t(c.caculateOperatingFlowRatio()),y:i.t(o.getNumStr(s.cashFlowList[0].investment_activities.net_flow)),z:i.t(o.getNumStr(s.cashFlowList[0].financing_activities.net_flow)),A:i.t(o.getNumStr(s.cashFlowList[0].cash_changes.net_increase)),B:i.t(c.caculateNetIncreaseRatio())}:{},{C:e._imports_0$8,D:e._imports_1$2,E:i.f(["净利润","营业收入","期间费用"],((t,e,a)=>({a:i.t(t),b:i.n("item flexCenter "+(o.profitIndicatorIndex==e?"select":"")),c:e,d:i.o((t=>c.clickProfitIndicatorItem(e)),e)}))),F:e._imports_2$14,G:e._imports_3$13,H:e._imports_2$14,I:e._imports_3$13,J:i.sr("chartRef3","63ca7cac-2"),K:s.incomeStatementList.length>0},s.incomeStatementList.length>0?{L:i.t(o.getNumStr(s.incomeStatementList[0].comprehensive_income.total_comprehensive_income)),M:i.t(o.getNumStr(s.incomeStatementList[0].revenue.total_operating_revenue)),N:i.t(o.getNumStr(s.incomeStatementList[0].profit.operating_profit))}:{})}]]);wx.createComponent(n); diff --git a/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.json b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.json new file mode 100644 index 0000000..61b3d8d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.wxml b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.wxml new file mode 100644 index 0000000..f0a5123 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.wxml @@ -0,0 +1 @@ +资产负债表{{item.a}}查看详细数据 单季度全部资产总计{{h}}负债合计{{i}}所有者权益{{j}}货币资金{{k}}资本公积金{{l}}盈余公积金{{m}}未分配利润{{n}}现金流量表{{item.a}}查看详细数据 单季度全部经营性现金流{{w}}经营性现金流增长率{{x}}%投资性现金流{{y}}筹资性现金流{{z}}合计现金流{{A}}合计现金流增长率{{B}}%利润表{{item.a}}查看详细数据 单季度全部汇总净利润{{L}}净利润增长率-1600.69%营业总收入{{M}}营业总收入增长率-26.28%营业利润{{N}}营业利润增长率-201.00% \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.wxss b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.wxss new file mode 100644 index 0000000..9f7dd73 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cwsj-view/cwsj-view.wxss @@ -0,0 +1 @@ +.indicatorC .item{padding:10rpx;border:1rpx solid #D2D2D2;font-size:20rpx;color:#999;text-align:center}.indicatorC .item.select{background-color:#fffaf1;color:#bb8520;border:1rpx solid #F2C369} diff --git a/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.js b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.js new file mode 100644 index 0000000..0edb230 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),t=require("../../common/assets.js"),n=require("../../uni_modules/lime-echart/static/echarts.min.js"),o={name:"cyl-view",data:()=>({isShow:!1,center_index:0,types:[{title:"上游供应链",count:0,desc:"原材料与供应商",type:"upstream"},{title:"核心企业",count:0,desc:"公司主体与产品",type:"core"},{title:"下游客户",count:0,desc:"客户与终端市场",type:"downstream"}],typeIndex:0,option:{legend:{show:!1},grid:{left:"2%",right:"2%",top:"5%",bottom:"30%"},series:[{type:"sankey",name:"经营现金流",data:[],links:[]}]}}),props:{valueChainAnalysisInfo:Object,upstreamList:Array,coreEnterpriseList:Array,downstreamList:Array,totalNodes:Number,valueChainFlowsList:Array},watch:{valueChainAnalysisInfo(e){this.types[0].count=e.upstream_nodes,this.types[1].count=e.company_nodes,this.types[2].count=e.downstream_nodes},valueChainFlowsList(e){let t=[],n=[],o=[];for(let s of e)-1==o.indexOf(s.source.node_name)&&(o.push(s.source.node_name),t.push({name:s.source.node_name})),n.push({source:s.source.node_name,target:s.target.node_name,value:s.flow_metrics.flow_ratio});this.option.series[0].data=t,this.option.series[0].links=n}},methods:{async init(){const e=await this.$refs.chartRef.init(n);console.log(e),console.log(this.option),e.setOption(this.option)},changeCenterIndex(e){if(this.center_index!=e&&(this.center_index=e,1==e)){let e=this;setTimeout((function(){e.init()}),500)}},clickAction(e){this.$emit("detail",e)}}};if(!Array){e.resolveComponent("l-echart")()}Math;const s=e._export_sfc(o,[["render",function(n,o,s,i,r,c){return e.e({a:e.t(s.totalNodes),b:0==r.center_index?1:"",c:e.o((e=>c.changeCenterIndex(0))),d:1==r.center_index?1:"",e:e.o((e=>c.changeCenterIndex(1))),f:0==r.center_index},0==r.center_index?e.e({g:e.f(r.types,((n,o,s)=>e.e({a:e.t(n.title),b:e.t(n.count),c:e.n("num "+(r.typeIndex==o?n.type:"")),d:e.t(n.desc),e:e.n("contentC flexColumnCenter flex1 "+(r.typeIndex==o?n.type:"")),f:e.o((e=>r.typeIndex=o),o),g:o!=r.types.length-1},o!=r.types.length-1?{h:t._imports_0$6}:{},{i:o}))),h:0==r.typeIndex},0==r.typeIndex?{i:e.f(s.upstreamList,((t,n,o)=>({a:e.t(t.node_name),b:e.t(t.node_description),c:e.t(t.node_type),d:e.t(t.market_share),e:`${t.importance_score}%`,f:e.t(t.importance_score),g:n,h:e.o((e=>c.clickAction(t)),n)})))}:{},{j:1==r.typeIndex},1==r.typeIndex?{k:e.f(s.coreEnterpriseList,((t,n,o)=>({a:e.t(t.node_name),b:e.t(t.node_description),c:e.t(t.node_type),d:e.t(t.market_share),e:`${t.importance_score}%`,f:e.t(t.importance_score),g:n,h:e.o((e=>c.clickAction(t)),n)})))}:{},{l:2==r.typeIndex},2==r.typeIndex?{m:e.f(s.downstreamList,((t,n,o)=>({a:e.t(t.node_name),b:e.t(t.node_description),c:e.t(t.node_type),d:e.t(t.market_share),e:`${t.importance_score}%`,f:e.t(t.importance_score),g:n,h:e.o((e=>c.clickAction(t)),n)})))}:{}):{},{n:1==r.center_index},1==r.center_index?{o:e.sr("chartRef","2cc4c3dc-0")}:{})}]]);wx.createComponent(s); diff --git a/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.json b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.json new file mode 100644 index 0000000..61b3d8d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.wxml b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.wxml new file mode 100644 index 0000000..68fb093 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.wxml @@ -0,0 +1 @@ +产业链分析目标公司供应链图谱节点 {{a}} 层级视图 流向关系 {{item.a}} {{item.b}}{{item.d}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.wxss b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.wxss new file mode 100644 index 0000000..9df5d05 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/cyl-view/cyl-view.wxss @@ -0,0 +1 @@ +.cyl_view{padding:20rpx}.cyl_view .top{font-weight:500}.cyl_view .top .child_1{color:#2b2b2b;font-size:28rpx;font-weight:700}.cyl_view .top .child_2{color:#71675d;font-size:24rpx;margin:0 10rpx}.cyl_view .top .child_3{border:1rpx solid #F3C368;border-radius:5rpx;padding:0 5rpx;color:#f2c369;font-size:24rpx}.cyl_view .center{margin:20rpx 0;display:flex;align-items:center;justify-content:space-evenly;font-weight:500}.cyl_view .center .child{background-color:#f5f5f5;border-radius:10rpx 10rpx 0 0;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#939393;padding:10rpx 40rpx}.cyl_view .center .child.action{background-color:#f2c369;color:#070707}.cyl_view .bottom .type .item{border-radius:10rpx;width:100%;padding:26rpx 0}.cyl_view .bottom .type .item .contentC{background-color:#fafafc;justify-content:center;height:120rpx;border-radius:10rpx}.cyl_view .bottom .type .item .contentC .titleNumC{font-size:24rpx;font-weight:700;color:#2b2b2b}.cyl_view .bottom .type .item .contentC .titleNumC .num{background-color:#f2c369;margin-left:6rpx;padding:0 5rpx;min-width:24rpx;border-radius:5rpx;font-weight:500;text-align:center}.cyl_view .bottom .type .item .contentC .titleNumC .num.upstream{background-color:#ff5501;color:#fff}.cyl_view .bottom .type .item .contentC .titleNumC .num.core{background-color:#175ce6;color:#fff}.cyl_view .bottom .type .item .contentC .titleNumC .num.downstream{background-color:#1db26f;color:#fff}.cyl_view .bottom .type .item .contentC .des{margin-top:10rpx;font-size:22rpx;font-weight:500;color:#999}.cyl_view .bottom .type .item .contentC.upstream{background-color:#fff4ef;border:solid 1rpx #FF5501}.cyl_view .bottom .type .item .contentC.core{background-color:#f2f6fd;border:solid 1rpx #175CE6}.cyl_view .bottom .type .item .contentC.downstream{background-color:#e7f5f0;border:solid 1rpx #1DB26F}.cyl_view .bottom .type .item .arrow{margin:0 6rpx;width:19rpx;height:auto}.cyl_view .list{margin-top:20rpx}.cyl_view .list .item{background-color:#fafafc;margin-bottom:20rpx;border-radius:10rpx;padding:25rpx 20rpx}.cyl_view .list .item .title{font-size:28rpx;font-weight:700;color:#2b2b2b}.cyl_view .list .item .des{margin-top:10rpx;font-size:24rpx;font-weight:500;color:#999}.cyl_view .list .item .labelC{margin-top:10rpx}.cyl_view .list .item .labelC .label{margin-right:10rpx;padding:0 10rpx;line-height:30rpx;border-radius:5rpx;font-size:20rpx;font-weight:500}.cyl_view .list .item .labelC .label.upstream{color:#ff5501}.cyl_view .list .item .labelC .label.upstream.type{background-color:#fff4ef}.cyl_view .list .item .labelC .label.upstream.market{border:solid 1rpx #FF5501}.cyl_view .list .item .labelC .label.core{color:#175ce6}.cyl_view .list .item .labelC .label.core.type{background-color:#edf2fd}.cyl_view .list .item .labelC .label.core.market{border:solid 1rpx #175CE6}.cyl_view .list .item .labelC .label.downstream{color:#1db26f}.cyl_view .list .item .labelC .label.downstream.type{background-color:#e7f5f0}.cyl_view .list .item .labelC .label.downstream.market{border:solid 1rpx #1DB26F}.cyl_view .list .item .importanceC{margin-top:20rpx}.cyl_view .list .item .importanceC .title{font-size:22rpx;font-weight:500;color:#71675d}.cyl_view .list .item .importanceC .progressBgC{background-color:#efefef;height:10rpx;border-radius:5rpx;margin:0 15rpx}.cyl_view .list .item .importanceC .progressBgC .progress{height:100%;border-radius:5rpx}.cyl_view .list .item .importanceC .progressBgC .progress.upstream{background:linear-gradient(90deg,#ff8c53,#ff5501)}.cyl_view .list .item .importanceC .progressBgC .progress.core{background:linear-gradient(90deg,#518bff,#175ce6)}.cyl_view .list .item .importanceC .progressBgC .progress.downstream{background:linear-gradient(90deg,#48d394,#1db26f)}.cyl_view .list .item .importanceC .value{font-size:24rpx;font-weight:500;color:#71675d} diff --git a/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.js b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.js new file mode 100644 index 0000000..b3d82d3 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.js @@ -0,0 +1 @@ +"use strict";const s=require("../../common/vendor.js"),t=require("../../common/assets.js"),e={name:"fzjg-view",data:()=>({}),props:{branchList:Array}};const r=s._export_sfc(e,[["render",function(e,r,n,a,i,o){return{a:s.f(n.branchList,((e,r,n)=>s.e({a:s.t(e.branch_name),b:"注销"==e.business_status},"注销"==e.business_status?{c:t._imports_0$4}:{d:t._imports_1$13},{e:s.t(e.business_status),f:s.n("statusC flex "+("注销"==e.business_status?"logOff":"exist")),g:s.t(e.register_capital),h:s.t(e.legal_person),i:s.t(e.register_date),j:s.t(e.related_company_count),k:r})))}}]]);wx.createComponent(r); diff --git a/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.json b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.wxml b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.wxml new file mode 100644 index 0000000..4a7d5d8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.wxml @@ -0,0 +1 @@ +{{item.a}}{{item.e}}注册资本{{item.g}}法人代表{{item.h}}成立日期{{item.i}}关联企业{{item.j}}家 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.wxss b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.wxss new file mode 100644 index 0000000..5d2319b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzjg-view/fzjg-view.wxss @@ -0,0 +1 @@ +.branchList{margin-top:38rpx;padding:0 20rpx}.branchList .item{background-color:#fafafc;margin-bottom:20rpx;padding:20rpx;border-radius:10rpx}.branchList .item .titleStatusC{font-size:28rpx;font-weight:700;color:#2b2b2b}.branchList .item .titleStatusC .statusC{padding:0 10rpx;line-height:28rpx;border-radius:15rpx;font-size:20rpx;font-weight:500}.branchList .item .titleStatusC .statusC .icon{margin-right:3rpx;width:16rpx;height:auto}.branchList .item .titleStatusC .statusC.exist{background-color:#fff7e9;border:solid 1rpx #F2C369;color:#f2c369}.branchList .item .titleStatusC .statusC.logOff{background-color:#fff1f1;border:solid 1rpx #EF3535;color:#ef3535}.branchList .item .infoC{height:50rpx}.branchList .item .infoC .infoItem .title{margin-right:16rpx;font-size:22rpx;font-weight:500;color:#999}.branchList .item .infoC .infoItem .content{font-size:24rpx;font-weight:700;color:#2a2a2a;text-align:right}.branchList .item .infoC .infoItem.leftInfo{margin-right:20rpx}.branchList .item .infoC .infoItem.rightInfo{margin-left:20rpx}.branchList .item .infoC.topInfo{margin-top:10rpx} diff --git a/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.js b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.js new file mode 100644 index 0000000..d93374c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.js @@ -0,0 +1 @@ +"use strict";const t=require("../../utils/util.js"),e=require("../../common/vendor.js"),i=require("../../common/assets.js"),o={name:"fzlc-view",data:()=>({getRateUpOrDown:t.getRateUpOrDown}),props:{keyFactorsInfo:null,keyFactorsList:Array,timelineInfo:null,timelineList:Array},methods:{clickAction(t){this.$emit("detail",t)}}};const n=e._export_sfc(o,[["render",function(t,o,n,r,c,a){return e.e({a:n.keyFactorsInfo},n.keyFactorsInfo?{b:e.t(n.keyFactorsInfo.total_factors)}:{},{c:e.f(n.keyFactorsList,((t,o,n)=>e.e({a:e.t(t.category_name),b:e.t(t.factors.length),c:t.show},t.show?{d:i._imports_0$7}:{e:i._imports_1$18},{f:t.show},t.show?{g:e.f(t.factors,((t,o,n)=>e.e({a:e.t(t.factor_name),b:"negative"==t.impact_direction},(t.impact_direction,{}),{c:"neutral"==t.impact_direction},(t.impact_direction,{}),{d:"positive"==t.impact_direction},(t.impact_direction,{}),{e:e.t(t.factor_value),f:e.t(t.factor_unit),g:e.n("value "+t.impact_direction),h:c.getRateUpOrDown(t.year_on_year)},c.getRateUpOrDown(t.year_on_year)?{i:i._imports_2$12}:{j:i._imports_3$12},{k:e.t(t.year_on_year?t.year_on_year:0),l:e.n("chgC flex "+(c.getRateUpOrDown(t.year_on_year)?"down":"up")),m:e.t(t.factor_desc),n:e.t(t.impact_weight),o:o})))}:{},{h:o,i:e.o((e=>t.show=!t.show),o)}))),d:n.timelineInfo},n.timelineInfo?{e:e.t(n.timelineInfo.positive_events),f:e.t(n.timelineInfo.negative_events)}:{},{g:e.f(n.timelineList,((t,o,n)=>e.e({a:1==t.impact_metrics.is_positive},1==t.impact_metrics.is_positive?{b:i._imports_4$11}:{c:i._imports_5$6},{d:e.n("line flex1 "+(1==t.impact_metrics.is_positive?"up":"down")),e:e.t(t.event_title),f:e.t(t.event_type),g:e.n("eventType "+(1==t.impact_metrics.is_positive?"up":"down")),h:e.t(t.event_date),i:e.t(t.event_desc),j:e.n("progress "+(1==t.impact_metrics.is_positive?"up":"down")),k:`${t.impact_metrics.impact_score}%`,l:e.t(t.impact_metrics.impact_score),m:o,n:e.o((e=>a.clickAction(t)),o)})))})}]]);wx.createComponent(n); diff --git a/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.json b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.wxml b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.wxml new file mode 100644 index 0000000..6536f70 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.wxml @@ -0,0 +1 @@ +关键因素{{b}}{{item.a}}{{item.b}}{{fitem.a}}负面中性正面{{fitem.e}}{{fitem.f}}{{fitem.k}}%{{fitem.m}}影响权重: {{fitem.n}}发展时间线正面 {{e}}负面 {{f}}{{item.e}}{{item.f}}{{item.h}}{{item.i}}影响度{{item.l}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.wxss b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.wxss new file mode 100644 index 0000000..4912b2e --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/fzlc-view/fzlc-view.wxss @@ -0,0 +1 @@ +.keyFactorsList .item .fitem .impact{border-radius:5rpx;padding:0 10rpx;font-size:20rpx;font-weight:500;color:#fff}.keyFactorsList .item .fitem .impact.negative,.keyFactorsList .item .fitem .impact.neutral{background-color:#345423}.keyFactorsList .item .fitem .impact.positive{background-color:#ec3440}.keyFactorsList .item .fitem .valueChgC .value{font-size:30rpx;font-weight:700;margin-right:10rpx}.keyFactorsList .item .fitem .valueChgC .value.negative,.keyFactorsList .item .fitem .valueChgC .value.neutral{color:#345423}.keyFactorsList .item .fitem .valueChgC .value.positive{color:#ec3440}.keyFactorsList .item .fitem .valueChgC .chgC{padding:0 10rpx;border-radius:5rpx;font-size:20rpx}.keyFactorsList .item .fitem .valueChgC .chgC .icon{margin-right:5rpx;width:11rpx;height:auto}.keyFactorsList .item .fitem .valueChgC .chgC.down{border:1rpx solid #345423;color:#345423}.keyFactorsList .item .fitem .valueChgC .chgC.up{border:1rpx solid #EC3440;color:#ec3440}.timelineList .item{display:flex;margin:20rpx 0;border-radius:10rpx}.timelineList .item .impactC .icon{width:30rpx;height:auto}.timelineList .item .impactC .line{margin:10rpx 0 -30rpx;width:1rpx}.timelineList .item .impactC .line.up{border-left:1rpx dashed #EC3440}.timelineList .item .impactC .line.down{border-left:1rpx dashed #345423}.timelineList .item .titleTypeC .title{margin-right:10rpx;font-size:24rpx;font-weight:700;color:#2a2a2a}.timelineList .item .titleTypeC .eventType{padding:5rpx 10rpx;border-radius:5rpx;font-size:20rpx;font-weight:500}.timelineList .item .titleTypeC .eventType.up{background-color:#ffe7e9;color:#ec3440}.timelineList .item .titleTypeC .eventType.down{background-color:#deeed6;color:#345423}.timelineList .item .progressBgC{background-color:#efefef;margin:0 15rpx;width:200rpx;height:10rpx;border-radius:5rpx;overflow:hidden}.timelineList .item .progressBgC .progress{height:100%;border-radius:5rpx}.timelineList .item .progressBgC .progress.up{background:linear-gradient(to right,#ff525d,#ec3440)}.timelineList .item .progressBgC .progress.down{background:linear-gradient(to right,#537d3d,#345423)} diff --git a/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.js b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.js new file mode 100644 index 0000000..a8f57c8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.js @@ -0,0 +1 @@ +"use strict";const e=require("../../utils/util.js"),t=require("../../common/vendor.js"),a=require("../../common/assets.js"),n={name:"gltd-view",data:()=>({getLastNameStr:e.getLastNameStr,getAgeByBirthYear:e.getAgeByBirthYear}),props:{managementList:Array},methods:{clickExpandOrRetractManagement(e){this.managementList[e].isExpand=!this.managementList[e].isExpand}}};const r=t._export_sfc(n,[["render",function(e,n,r,s,i,m){return{a:t.f(r.managementList,((e,n,r)=>t.e({a:e.list.length>0},e.list.length>0?{b:t.t(e.key),c:t.t(e.list.length)}:{},{d:e.list.length>4&&!e.isExpand},e.list.length>4&&!e.isExpand?{e:t.f(e.list.slice(0,4),((e,n,r)=>t.e({a:t.t(i.getLastNameStr(e.name)),b:"女"==e.gender},"女"==e.gender?{c:a._imports_0$3}:{d:a._imports_1$17},{e:t.n("sexC flexCenter absolute "+("女"==e.gender?"female":"male")),f:t.t(e.name),g:t.t(e.position_name),h:t.t(e.start_date),i:t.t(e.education),j:t.t(i.getAgeByBirthYear(e.birth_year))}))),f:n}:{g:t.f(e.list,((e,n,r)=>t.e({a:t.t(i.getLastNameStr(e.name)),b:"女"==e.gender},"女"==e.gender?{c:a._imports_0$3}:{d:a._imports_1$17},{e:t.n("sexC flexCenter absolute "+("女"==e.gender?"female":"male")),f:t.t(e.name),g:t.t(e.position_name),h:t.t(e.start_date),i:t.t(e.education),j:t.t(i.getAgeByBirthYear(e.birth_year))}))),h:n},{i:e.list.length>4},e.list.length>4?{j:t.t(e.isExpand?"收起":"展开查看"),k:a._imports_2$13,l:t.o((e=>m.clickExpandOrRetractManagement(n)),n)}:{},{m:n})))}}]]);wx.createComponent(r); diff --git a/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.json b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.wxml b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.wxml new file mode 100644 index 0000000..d554706 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.wxml @@ -0,0 +1 @@ +{{item.b}}{{item.c}}人{{pitem.a}} {{pitem.f}}{{pitem.g}}任职日期:{{pitem.h}}{{pitem.i}}{{pitem.j}}岁{{pitem.a}} {{pitem.f}}{{pitem.g}}任职日期:{{pitem.h}}{{pitem.i}}{{pitem.j}}岁{{item.j}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.wxss b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.wxss new file mode 100644 index 0000000..9c5a535 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gltd-view/gltd-view.wxss @@ -0,0 +1 @@ +.managementTeamList{padding:0 20rpx}.managementTeamList .positionNumC{height:70rpx}.managementTeamList .positionNumC .position{margin-right:11rpx;font-size:28rpx;font-weight:700}.managementTeamList .positionNumC .num{padding:0 14rpx;line-height:30rpx;border-radius:5rpx;font-size:20rpx;font-weight:700;color:#fff}.managementTeamList .positionNumC .num.director{background-color:#99afec}.managementTeamList .positionNumC .num.supervisor{background-color:#b499ec}.managementTeamList .positionNumC .num.other{background-color:#b5b5c9}.managementTeamList .item{background-color:#fafafc;margin-bottom:20rpx;padding:20rpx 25rpx 20rpx 20rpx;border-radius:10rpx}.managementTeamList .item .avatarC{margin-right:18rpx;width:80rpx;height:80rpx;border-radius:50%;font-size:30rpx;font-weight:700;color:#fff}.managementTeamList .item .avatarC .sexC{right:0;bottom:0;width:30rpx;height:30rpx;border-radius:50%;border:solid 2rpx white}.managementTeamList .item .avatarC .sexC .icon{width:16rpx;height:auto}.managementTeamList .item .avatarC .sexC.female{background-color:#fa5a93}.managementTeamList .item .avatarC .sexC.male{background-color:#3e6cfc}.managementTeamList .item .avatarC.director{background-color:#99afec}.managementTeamList .item .avatarC.supervisor{background-color:#b499ec}.managementTeamList .item .avatarC.other{background-color:#b5b5c9}.managementTeamList .item .name{margin-right:13rpx;font-size:24rpx;font-weight:700;color:#666}.managementTeamList .item .position{font-size:22rpx;font-weight:500;color:#999}.managementTeamList .item .date{font-size:20rpx;font-weight:500;color:#999;text-align:right}.managementTeamList .item .educationAgeC{margin-top:8rpx}.managementTeamList .item .educationAgeC .label{margin-right:10rpx;background-color:#f1f1f1;line-height:30rpx;padding:0 16rpx;font-size:20rpx;font-weight:500;color:#999}.managementTeamList .expandMoreC{height:80rpx;border-bottom:solid 1rpx #E7E7E7;font-size:24rpx;font-weight:500;color:#c9c9c9}.managementTeamList .expandMoreC .arrow{margin-left:18rpx;width:11rpx;height:auto} diff --git a/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.js b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.js new file mode 100644 index 0000000..ac13872 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.js @@ -0,0 +1 @@ +"use strict";const t=require("../../utils/util.js"),e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r={name:"gqjg-view",data:()=>({getNumStr:t.getNumStr,getRateUpOrDown:t.getRateUpOrDown,getRateStr:t.getRateStr}),props:{actualControlInfo:Object,concentrationList:Array,shareholdersList:Array,circulatingShareholdersList:Array,competitivePositionInfo:Object}};const a=e._export_sfc(r,[["render",function(t,r,a,n,i,l){return e.e({a:a.actualControlInfo},a.actualControlInfo?e.e({b:e.t(a.actualControlInfo.actual_controller_name),c:e.t(a.actualControlInfo.control_type),d:e.t(a.actualControlInfo.end_date),e:a.actualControlInfo.holding_ratio},a.actualControlInfo.holding_ratio?{f:e.t(a.actualControlInfo.holding_ratio.toFixed(2))}:{},{g:e.t(i.getNumStr(a.actualControlInfo.holding_shares))}):{},{h:a.concentrationList.length>0},a.concentrationList.length>0?{i:e.t(a.concentrationList[0].end_date)}:{},{j:e.f(a.concentrationList,((t,r,a)=>e.e({a:e.t(t.stat_item),b:e.t(t.holding_ratio.toFixed(2)),c:0!=t.ratio_change},0!=t.ratio_change?e.e({d:i.getRateUpOrDown(t.ratio_change)},i.getRateUpOrDown(t.ratio_change)?{e:o._imports_2$12}:{f:o._imports_3$12},{g:e.t(i.getRateStr(t.ratio_change)),h:e.n("shengjiang flex "+(i.getRateUpOrDown(t.ratio_change)?"down":"up"))}):{},{i:r}))),k:e.f(a.shareholdersList,((t,o,r)=>({a:e.t(t.shareholder_name),b:e.t(t.shareholder_type?t.shareholder_type:"-"),c:e.t(i.getNumStr(t.holding_shares)),d:e.t(t.total_share_ratio),e:e.t(t.share_nature),f:o,g:o%2==1?1:""}))),l:e.f(a.circulatingShareholdersList,((t,o,r)=>({a:e.t(t.shareholder_name),b:e.t(t.shareholder_type?t.shareholder_type:"-"),c:e.t(i.getNumStr(t.holding_shares)),d:e.t(t.total_share_ratio),e:e.t(t.share_nature),f:o,g:o%2==1?1:""})))})}]]);wx.createComponent(a); diff --git a/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.json b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.wxml b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.wxml new file mode 100644 index 0000000..047945a --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.wxml @@ -0,0 +1 @@ +实际控制人{{b}}{{c}}截至 {{d}}控制比例{{f}}%{{g}}股股权集中度{{i}}{{item.a}}{{item.b}}%{{item.g}}%十大股东股东名称股东类型持股数量持股比例股份性质{{item.a}}{{item.b}}{{item.c}}股{{item.d}}%{{item.e}}十大流通股东 股东名称股东类型持股数量流通股比例股份性质{{item.a}}{{item.b}}{{item.c}}股{{item.d}}%{{item.e}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.wxss b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.wxss new file mode 100644 index 0000000..60a180c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gqjg-view/gqjg-view.wxss @@ -0,0 +1 @@ +.com_list{margin-top:38rpx;padding:0 20rpx;box-sizing:border-box}.com_list .title{color:#2b2b2b;font-size:28rpx;font-weight:700}.com_list .item .com_info{margin:20rpx 0;background-color:#fafafc;border-radius:10rpx;padding:25rpx 20rpx;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:500}.com_list .item .com_info .left .l_top{color:#666;font-size:24rpx}.com_list .item .com_info .left .l_bottom{display:flex;align-items:center;margin-top:10rpx}.com_list .item .com_info .left .l_bottom .l_b_left{background-color:#99afec;border-radius:10rpx;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20rpx;padding:5rpx}.com_list .item .com_info .left .l_bottom .l_b_right{margin-left:10rpx;color:#999;font-size:22rpx}.com_list .item .com_info .right{color:#71675d;font-size:20rpx;text-align:right}.com_list .item .com_info .right .r_center{color:#bb8520;font-size:28rpx;font-weight:700;margin:5rpx 0}.com_list .item .guquan{margin:25rpx 0;font-weight:500;background-color:#fafafc;border-radius:10rpx;padding:25rpx 13rpx;box-sizing:border-box}.com_list .item .guquan .top{color:#999;font-size:22rpx}.com_list .item .guquan .bottom{display:flex}.com_list .item .guquan .bottom .b_item .item_info{margin:15rpx 15rpx 15rpx 0;width:calc((100% - 15rpx)/2)}.com_list .item .guquan .bottom .b_item .item_info .left{color:#666;font-size:20rpx}.com_list .item .guquan .bottom .b_item .item_info .right{height:35rpx;font-size:20rpx}.com_list .item .guquan .bottom .b_item .item_info .right .bili{color:#bb8520;font-weight:700}.com_list .item .guquan .bottom .b_item .item_info .right .shengjiang{margin-left:10rpx;padding:0 5rpx;height:30rpx;border-radius:5rpx;font-size:18rpx}.com_list .item .guquan .bottom .b_item .item_info .right .shengjiang .icon{width:11rpx;height:25rpx;margin-right:4rpx}.com_list .item .guquan .bottom .b_item .item_info .right .shengjiang.up{background-color:#ffdfe1;color:#ec3440}.com_list .item .guquan .bottom .b_item .item_info .right .shengjiang.down{background-color:#c6f6d5;color:#345423}.com_list .item .guquan .bottom .b_item .item_info:nth-child(2n){margin-right:0}.com_list .item .gudong{margin-top:25rpx}.com_list .item .gudong .back{margin:25rpx 0;font-weight:500;border-radius:10rpx;color:#666}.com_list .item .gudong .back .top{width:100%;display:grid;align-items:center;grid-template-columns:166rpx repeat(4,1fr);background-color:#fff;height:60rpx}.com_list .item .gudong .back .top.action{background-color:#fafafc}.com_list .item .gudong .back .top .head{padding:0 10rpx;font-size:22rpx}.com_list .item .gudong .back .top .child{padding:0 10rpx;font-size:18rpx;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.com_list .item .gudong .back .top .nature{background-color:#fff7e9;margin:10rpx;line-height:36rpx;border-radius:5rpx;font-size:18rpx;color:#e0ac4a;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis} diff --git a/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.js b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.js new file mode 100644 index 0000000..8541ddb --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.js @@ -0,0 +1 @@ +"use strict";const s=require("../../common/vendor.js"),c={name:"gsxx-view",data:()=>({}),props:{stockBasicInfo:Object}};const o=s._export_sfc(c,[["render",function(c,o,t,n,e,i){return s.e({a:t.stockBasicInfo},t.stockBasicInfo?{b:s.t(t.stockBasicInfo.credit_code),c:s.t(t.stockBasicInfo.company_size),d:s.t(t.stockBasicInfo.reg_address),e:s.t(t.stockBasicInfo.office_address),f:s.t(t.stockBasicInfo.accounting_firm),g:s.t(t.stockBasicInfo.law_firm),h:s.t(t.stockBasicInfo.main_business),i:s.t(t.stockBasicInfo.business_scope)}:{})}]]);wx.createComponent(o); diff --git a/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.json b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.wxml b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.wxml new file mode 100644 index 0000000..01d7838 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.wxml @@ -0,0 +1 @@ +工商信息统一信用代码{{b}}公司规模{{c}}注册地址{{d}}办公地址{{e}}服务机构会计师事务所{{f}}律师事务所{{g}}主营业务{{h}}经营范围{{i}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.wxss b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.wxss new file mode 100644 index 0000000..94befa8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/gsxx-view/gsxx-view.wxss @@ -0,0 +1 @@ +.businessInfoList{padding:0 20rpx}.businessInfoList .section{line-height:72rpx;font-size:28rpx;font-weight:700;color:#2b2b2b}.businessInfoList .infoC{background-color:#fafafc;border-radius:10rpx;padding:12rpx 20rpx}.businessInfoList .infoC .infoItem{line-height:46rpx}.businessInfoList .infoC .title{font-size:22rpx;font-weight:500;color:#999}.businessInfoList .infoC .content{font-size:24rpx;font-weight:500;color:#2a2a2a}.businessInfoList .infoC .content.code{color:#bb8520}.businessInfoList .infoC .content.rightAlign{text-align:right}.businessInfoList .infoC.mainBussiness{padding:20rpx} diff --git a/unpackage/dist/build/mp-weixin/components/navBar/navBar.js b/unpackage/dist/build/mp-weixin/components/navBar/navBar.js new file mode 100644 index 0000000..893eee1 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/navBar/navBar.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),t=require("../../common/assets.js");getApp();const a={name:"navBar",data(){return{navH:e.inject("navHeight"),menuH:e.inject("menuHeight"),navBarStyle:"",backTitleStyle:"",navTitleStyle:"",titleColor:this.navTitleColor,bgColor:this.navBgColor,num:this.peopleNum}},props:{leftText:{type:String,default:""},backBlack:{type:Boolean,default:!1},navTitle:{type:String,default:""},navBgColor:{type:String,default:""},navTitleColor:{type:String,default:"white"},hideBack:{type:Boolean,default:!1},hideNavBg:{type:Boolean,default:!1},backLevel:{type:Number,default:1},peopleNum:{type:Number,default:0}},mounted(){let t=this.navH,a=e.inject("menuHeight"),l=e.inject("menuTop"),i=`background-color:${this.bgColor};height:${t}px;`,n=`height:${a}px;margin-top:${l}px;color:${this.titleColor}`,o=`height:${a}px;line-height:${a}px;top:${l}px;color:${this.titleColor}`;this.navBarStyle=i,this.backTitleStyle=n,this.navTitleStyle=o},watch:{navTitleColor:{handler(e,t){this.titleColor=e}},navBgColor:{handler(e,t){this.bgColor=e}},peopleNum:{handler(e,t){this.num=e}}},methods:{clickBack(){e.index.navigateBack({fail(){e.index.switchTab({url:"/pages/index/index"})}})}}};const l=e._export_sfc(a,[["render",function(a,l,i,n,o,r){return e.e({a:!i.hideNavBg},i.hideNavBg?{}:{b:t._imports_0},{c:!i.hideBack&&!i.backBlack},i.hideBack||i.backBlack?{}:{d:t._imports_1$15},{e:!i.hideBack&&i.backBlack},!i.hideBack&&i.backBlack?{f:t._imports_2}:{},{g:e.t(i.leftText),h:e.s(o.backTitleStyle),i:e.o(((...e)=>r.clickBack&&r.clickBack(...e))),j:e.t(i.navTitle),k:o.num>0},o.num>0?{l:e.t(o.num)}:{},{m:e.s(o.navTitleStyle),n:e.s(o.navBarStyle)})}]]);wx.createComponent(l); diff --git a/unpackage/dist/build/mp-weixin/components/navBar/navBar.json b/unpackage/dist/build/mp-weixin/components/navBar/navBar.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/navBar/navBar.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/navBar/navBar.wxml b/unpackage/dist/build/mp-weixin/components/navBar/navBar.wxml new file mode 100644 index 0000000..e73d2ce --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/navBar/navBar.wxml @@ -0,0 +1 @@ +{{g}}{{j}} {{l}}人 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/navBar/navBar.wxss b/unpackage/dist/build/mp-weixin/components/navBar/navBar.wxss new file mode 100644 index 0000000..676567c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/navBar/navBar.wxss @@ -0,0 +1 @@ +.nav{top:0;left:0;right:0;z-index:99;overflow:hidden}.nav .bg{top:0;left:0;width:100%;height:auto}.nav .backC{padding:0 25rpx}.nav .backC .icon{margin-right:12rpx;width:32rpx;height:auto}.nav .title{font-size:36rpx;font-weight:700}.nav .titleC{position:absolute;left:calc((100% - 400rpx)/2);width:400rpx;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-size:36rpx;font-weight:500}.nav .titleC .peopleNum{background-color:#3b9174;top:-15rpx;left:270rpx;height:30rpx;border-radius:15px 15px 15px 0;line-height:30rpx;font-size:24rpx;color:#fff}.nav .titleC .peopleNum .num{margin:0 16rpx} diff --git a/unpackage/dist/build/mp-weixin/components/news-view/news-view.js b/unpackage/dist/build/mp-weixin/components/news-view/news-view.js new file mode 100644 index 0000000..7f0a2ea --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/news-view/news-view.js @@ -0,0 +1 @@ +"use strict";const e=require("../../utils/util.js"),t=require("../../common/vendor.js"),r=require("../../common/assets.js"),a={name:"news-view",data:()=>({showType:0,getChgRateStr:e.getChgRateStr,getRateUpOrDown:e.getRateUpOrDown}),props:{type:Number,newsList:Array,announcementList:Array},watch:{type:{handler(e,t){this.showType=e}}},methods:{}};const n=t._export_sfc(a,[["render",function(e,a,n,o,s,g){return t.e({a:0==s.showType},0==s.showType?{b:r._imports_0$9,c:t.f(n.newsList,((e,r,a)=>t.e({a:t.t(e.title),b:t.t(e.view_count),c:t.t(e.hot_score),d:t.t(e.event_type),e:t.t(e.invest_score),f:t.f(["C级","金融监管","资管行业","自律管理"],((e,r,a)=>({a:t.t(e)}))),g:t.t(e.description),h:e.related_avg_chg},(e.related_avg_chg,{}),{i:e.related_avg_chg},e.related_avg_chg?{j:t.t(s.getChgRateStr(e.related_avg_chg)),k:t.n("chg "+(s.getRateUpOrDown(e.related_avg_chg)?"down":"up")),l:t.t(s.getChgRateStr(e.related_max_chg)),m:t.n("chg "+(s.getRateUpOrDown(e.related_max_chg)?"down":"up")),n:t.t(s.getChgRateStr(e.related_week_chg)),o:t.n("chg "+(s.getRateUpOrDown(e.related_week_chg)?"down":"up"))}:{},{p:r}))),d:r._imports_1$19,e:r._imports_2$15,f:r._imports_3$14}:{},{g:1==s.showType},1==s.showType?{h:t.f(n.announcementList,((e,r,a)=>({a:t.t(e.title),b:t.t(e.announce_date),c:t.t(e.format),d:t.t(e.file_size),e:r})))}:{})}]]);wx.createComponent(n); diff --git a/unpackage/dist/build/mp-weixin/components/news-view/news-view.json b/unpackage/dist/build/mp-weixin/components/news-view/news-view.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/news-view/news-view.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/news-view/news-view.wxml b/unpackage/dist/build/mp-weixin/components/news-view/news-view.wxml new file mode 100644 index 0000000..f7feb23 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/news-view/news-view.wxml @@ -0,0 +1 @@ +{{item.a}}2025/12/16|{{item.b}}|{{item.c}}{{item.d}}投资分:{{item.e}}{{item.a}}{{item.g}}相关涨跌:平均 {{item.j}}%|最大 {{item.l}}%|{{item.n}}%{{item.a}}公告{{item.b}}|{{item.c}}|{{item.d}}KB查看 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/news-view/news-view.wxss b/unpackage/dist/build/mp-weixin/components/news-view/news-view.wxss new file mode 100644 index 0000000..48d8fbf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/news-view/news-view.wxss @@ -0,0 +1 @@ +.newsList .item .labelList .label{margin-right:10rpx;padding:0 7rpx;line-height:28rpx;border-radius:3rpx;font-size:18rpx;font-weight:500}.newsList .item .labelList .eventType{background-color:#eff6ff;color:#60a5fa}.newsList .item .labelList .investScore{background-color:#f2eeff;color:#a78bfa}.newsList .item .relatedChgC{margin:20rpx 0;color:#71675d;font-size:22rpx;font-weight:500}.newsList .item .relatedChgC .chg.up{color:#ec3440}.newsList .item .relatedChgC .chg.down{color:#1db26f} diff --git a/unpackage/dist/build/mp-weixin/components/ua-markdown/lib/highlight/uni-highlight.min.js b/unpackage/dist/build/mp-weixin/components/ua-markdown/lib/highlight/uni-highlight.min.js new file mode 100644 index 0000000..2badf8d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ua-markdown/lib/highlight/uni-highlight.min.js @@ -0,0 +1 @@ +"use strict";var u={exports:{}};function e(u){return u instanceof Map?u.clear=u.delete=u.set=()=>{throw Error("map is read-only")}:u instanceof Set&&(u.add=u.clear=u.delete=()=>{throw Error("set is read-only")}),Object.freeze(u),Object.getOwnPropertyNames(u).forEach((D=>{var n=u[D];"object"!=typeof n||Object.isFrozen(n)||e(n)})),u}u.exports=e,u.exports.default=e;class D{constructor(u){void 0===u.data&&(u.data={}),this.data=u.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(u){return u.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function t(u,...e){const D=Object.create(null);for(const n in u)D[n]=u[n];return e.forEach((u=>{for(const e in u)D[e]=u[e]})),D}const a=u=>!!u.scope||u.sublanguage&&u.language;class i{constructor(u,e){this.buffer="",this.classPrefix=e.classPrefix,u.walk(this)}addText(u){this.buffer+=n(u)}openNode(u){if(!a(u))return;let e="";e=u.sublanguage?"language-"+u.language:((u,{prefix:e})=>{if(u.includes(".")){const D=u.split(".");return[`${e}${D.shift()}`,...D.map(((u,e)=>`${u}${"_".repeat(e+1)}`))].join(" ")}return`${e}${u}`})(u.scope,{prefix:this.classPrefix}),this.span(e)}closeNode(u){a(u)&&(this.buffer+="")}value(){return this.buffer}span(u){this.buffer+=``}}const r=(u={})=>{const e={children:[]};return Object.assign(e,u),e};class s{constructor(){this.rootNode=r(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(u){this.top.children.push(u)}openNode(u){const e=r({scope:u});this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(u){return this.constructor._walk(u,this.rootNode)}static _walk(u,e){return"string"==typeof e?u.addText(e):e.children&&(u.openNode(e),e.children.forEach((e=>this._walk(u,e))),u.closeNode(e)),u}static _collapse(u){"string"!=typeof u&&u.children&&(u.children.every((u=>"string"==typeof u))?u.children=[u.children.join("")]:u.children.forEach((u=>{s._collapse(u)})))}}class o extends s{constructor(u){super(),this.options=u}addKeyword(u,e){""!==u&&(this.openNode(e),this.addText(u),this.closeNode())}addText(u){""!==u&&this.add(u)}addSublanguage(u,e){const D=u.root;D.sublanguage=!0,D.language=e,this.add(D)}toHTML(){return new i(this,this.options).value()}finalize(){return!0}}function l(u){return u?"string"==typeof u?u:u.source:null}function c(u){return A("(?=",u,")")}function F(u){return A("(?:",u,")*")}function E(u){return A("(?:",u,")?")}function A(...u){return u.map((u=>l(u))).join("")}function C(...u){return"("+((u=>{const e=u[u.length-1];return"object"==typeof e&&e.constructor===Object?(u.splice(u.length-1,1),e):{}})(u).capture?"":"?:")+u.map((u=>l(u))).join("|")+")"}function d(u){return RegExp(u.toString()+"|").exec("").length-1}const g=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(u,{joinWith:e}){let D=0;return u.map((u=>{D+=1;const e=D;let n=l(u),t="";for(;n.length>0;){const u=g.exec(n);if(!u){t+=n;break}t+=n.substring(0,u.index),n=n.substring(u.index+u[0].length),"\\"===u[0][0]&&u[1]?t+="\\"+(Number(u[1])+e):(t+=u[0],"("===u[0]&&D++)}return t})).map((u=>`(${u})`)).join(e)}const B="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",m={begin:"\\\\[\\s\\S]",relevance:0},p={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[m]},_={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[m]},h=(u,e,D={})=>{const n=t({scope:"comment",begin:u,end:e,contains:[]},D);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=C("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:A(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},f=h("//","$"),y=h("/\\*","\\*/"),w=h("#","$");var N=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:B,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(u={})=>{const e=/^#![ ]*\//;return u.binary&&(u.begin=A(e,/.*\b/,u.binary,/\b.*/)),t({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(u,e)=>{0!==u.index&&e.ignoreMatch()}},u)},BACKSLASH_ESCAPE:m,APOS_STRING_MODE:p,QUOTE_STRING_MODE:_,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:h,C_LINE_COMMENT_MODE:f,C_BLOCK_COMMENT_MODE:y,HASH_COMMENT_MODE:w,NUMBER_MODE:{scope:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},C_NUMBER_MODE:{scope:"number",begin:B,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:"\\b(0b[01]+)",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[m,{begin:/\[/,end:/\]/,relevance:0,contains:[m]}]}]},TITLE_MODE:{scope:"title",begin:"[a-zA-Z]\\w*",relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:"[a-zA-Z_]\\w*",relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:u=>Object.assign(u,{"on:begin":(u,e)=>{e.data._beginMatch=u[1]},"on:end":(u,e)=>{e.data._beginMatch!==u[1]&&e.ignoreMatch()}})});function v(u,e){"."===u.input[u.index-1]&&e.ignoreMatch()}function x(u,e){void 0!==u.className&&(u.scope=u.className,delete u.className)}function O(u,e){e&&u.beginKeywords&&(u.begin="\\b("+u.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",u.__beforeBegin=v,u.keywords=u.keywords||u.beginKeywords,delete u.beginKeywords,void 0===u.relevance&&(u.relevance=0))}function k(u,e){Array.isArray(u.illegal)&&(u.illegal=C(...u.illegal))}function M(u,e){if(u.match){if(u.begin||u.end)throw Error("begin & end are not supported with match");u.begin=u.match,delete u.match}}function S(u,e){void 0===u.relevance&&(u.relevance=1)}const T=(u,e)=>{if(!u.beforeMatch)return;if(u.starts)throw Error("beforeMatch cannot be used with starts");const D=Object.assign({},u);Object.keys(u).forEach((e=>{delete u[e]})),u.keywords=D.keywords,u.begin=A(D.beforeMatch,c(D.begin)),u.starts={relevance:0,contains:[Object.assign(D,{endsParent:!0})]},u.relevance=0,delete D.beforeMatch},R=["of","and","for","in","not","or","if","then","parent","list","value"];function I(u,e,D="keyword"){const n=Object.create(null);return"string"==typeof u?t(D,u.split(" ")):Array.isArray(u)?t(D,u):Object.keys(u).forEach((D=>{Object.assign(n,I(u[D],e,D))})),n;function t(u,D){e&&(D=D.map((u=>u.toLowerCase()))),D.forEach((e=>{const D=e.split("|");n[D[0]]=[u,L(D[0],D[1])]}))}}function L(u,e){return e?Number(e):(D=u,R.includes(D.toLowerCase())?0:1);var D}const $={},z=u=>{console.error(u)},U=(u,...e)=>{console.log("WARN: "+u,...e)},j=(u,e)=>{$[`${u}/${e}`]||(console.log(`Deprecated as of ${u}. ${e}`),$[`${u}/${e}`]=!0)},P=Error();function K(u,e,{key:D}){let n=0;const t=u[D],a={},i={};for(let r=1;r<=e.length;r++)i[r+n]=t[r],a[r+n]=!0,n+=d(e[r-1]);u[D]=i,u[D]._emit=a,u[D]._multi=!0}function H(u){var e;(e=u).scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope),"string"==typeof u.beginScope&&(u.beginScope={_wrap:u.beginScope}),"string"==typeof u.endScope&&(u.endScope={_wrap:u.endScope}),(u=>{if(Array.isArray(u.begin)){if(u.skip||u.excludeBegin||u.returnBegin)throw z("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),P;if("object"!=typeof u.beginScope||null===u.beginScope)throw z("beginScope must be object"),P;K(u,u.begin,{key:"beginScope"}),u.begin=b(u.begin,{joinWith:""})}})(u),(u=>{if(Array.isArray(u.end)){if(u.skip||u.excludeEnd||u.returnEnd)throw z("skip, excludeEnd, returnEnd not compatible with endScope: {}"),P;if("object"!=typeof u.endScope||null===u.endScope)throw z("endScope must be object"),P;K(u,u.end,{key:"endScope"}),u.end=b(u.end,{joinWith:""})}})(u)}function q(u){function e(e,D){return RegExp(l(e),"m"+(u.case_insensitive?"i":"")+(u.unicodeRegex?"u":"")+(D?"g":""))}class D{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(u,e){e.position=this.position++,this.matchIndexes[this.matchAt]=e,this.regexes.push([e,u]),this.matchAt+=d(u)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const u=this.regexes.map((u=>u[1]));this.matcherRe=e(b(u,{joinWith:"|"}),!0),this.lastIndex=0}exec(u){this.matcherRe.lastIndex=this.lastIndex;const e=this.matcherRe.exec(u);if(!e)return null;const D=e.findIndex(((u,e)=>e>0&&void 0!==u)),n=this.matchIndexes[D];return e.splice(0,D),Object.assign(e,n)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(u){if(this.multiRegexes[u])return this.multiRegexes[u];const e=new D;return this.rules.slice(u).forEach((([u,D])=>e.addRule(u,D))),e.compile(),this.multiRegexes[u]=e,e}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(u,e){this.rules.push([u,e]),"begin"===e.type&&this.count++}exec(u){const e=this.getMatcher(this.regexIndex);e.lastIndex=this.lastIndex;let D=e.exec(u);if(this.resumingScanAtSamePosition())if(D&&D.index===this.lastIndex);else{const e=this.getMatcher(0);e.lastIndex=this.lastIndex+1,D=e.exec(u)}return D&&(this.regexIndex+=D.position+1,this.regexIndex===this.count&&this.considerAll()),D}}if(u.compilerExtensions||(u.compilerExtensions=[]),u.contains&&u.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return u.classNameAliases=t(u.classNameAliases||{}),function D(a,i){const r=a;if(a.isCompiled)return r;[x,M,H,T].forEach((u=>u(a,i))),u.compilerExtensions.forEach((u=>u(a,i))),a.__beforeBegin=null,[O,k,S].forEach((u=>u(a,i))),a.isCompiled=!0;let s=null;return"object"==typeof a.keywords&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),s=a.keywords.$pattern,delete a.keywords.$pattern),s=s||/\w+/,a.keywords&&(a.keywords=I(a.keywords,u.case_insensitive)),r.keywordPatternRe=e(s,!0),i&&(a.begin||(a.begin=/\B|\b/),r.beginRe=e(r.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(r.endRe=e(r.end)),r.terminatorEnd=l(r.end)||"",a.endsWithParent&&i.terminatorEnd&&(r.terminatorEnd+=(a.end?"|":"")+i.terminatorEnd)),a.illegal&&(r.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map((u=>{return(e="self"===u?a:u).variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((u=>t(e,{variants:null},u)))),e.cachedVariants?e.cachedVariants:Z(e)?t(e,{starts:e.starts?t(e.starts):null}):Object.isFrozen(e)?t(e):e;var e}))),a.contains.forEach((u=>{D(u,r)})),a.starts&&D(a.starts,i),r.matcher=(u=>{const e=new n;return u.contains.forEach((u=>e.addRule(u.begin,{rule:u,type:"begin"}))),u.terminatorEnd&&e.addRule(u.terminatorEnd,{type:"end"}),u.illegal&&e.addRule(u.illegal,{type:"illegal"}),e})(r),r}(u)}function Z(u){return!!u&&(u.endsWithParent||Z(u.starts))}class G extends Error{constructor(u,e){super(u),this.name="HTMLInjectionError",this.html=e}}const W=n,Q=t,X=Symbol("nomatch");var V=(e=>{const n=Object.create(null),t=Object.create(null),a=[];let i=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:o};function d(u){return l.noHighlightRe.test(u)}function g(u,e,D){let n="",t="";"object"==typeof e?(n=u,D=e.ignoreIllegals,t=e.language):(j("10.7.0","highlight(lang, code, ...args) has been deprecated."),j("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),t=u,n=e),void 0===D&&(D=!0);const a={code:n,language:t};w("before:highlight",a);const i=a.result?a.result:b(a.language,a.code,D);return i.code=a.code,w("after:highlight",i),i}function b(u,e,t,a){const s=Object.create(null);function o(){if(!y.keywords)return void N.addText(v);let u=0;y.keywordPatternRe.lastIndex=0;let e=y.keywordPatternRe.exec(v),D="";for(;e;){D+=v.substring(u,e.index);const t=p.case_insensitive?e[0].toLowerCase():e[0],a=(n=t,y.keywords[n]);if(a){const[u,n]=a;if(N.addText(D),D="",s[t]=(s[t]||0)+1,s[t]<=7&&(x+=n),u.startsWith("_"))D+=e[0];else{const D=p.classNameAliases[u]||u;N.addKeyword(e[0],D)}}else D+=e[0];u=y.keywordPatternRe.lastIndex,e=y.keywordPatternRe.exec(v)}var n;D+=v.substring(u),N.addText(D)}function c(){null!=y.subLanguage?(()=>{if(""===v)return;let u=null;if("string"==typeof y.subLanguage){if(!n[y.subLanguage])return void N.addText(v);u=b(y.subLanguage,v,!0,w[y.subLanguage]),w[y.subLanguage]=u._top}else u=B(v,y.subLanguage.length?y.subLanguage:null);y.relevance>0&&(x+=u.relevance),N.addSublanguage(u._emitter,u.language)})():o(),v=""}function F(u,e){let D=1;const n=e.length-1;for(;D<=n;){if(!u._emit[D]){D++;continue}const n=p.classNameAliases[u[D]]||u[D],t=e[D];n?N.addKeyword(t,n):(v=t,o(),v=""),D++}}function E(u,e){return u.scope&&"string"==typeof u.scope&&N.openNode(p.classNameAliases[u.scope]||u.scope),u.beginScope&&(u.beginScope._wrap?(N.addKeyword(v,p.classNameAliases[u.beginScope._wrap]||u.beginScope._wrap),v=""):u.beginScope._multi&&(F(u.beginScope,e),v="")),y=Object.create(u,{parent:{value:y}}),y}function A(u,e,n){let t=((u,e)=>{const D=u&&u.exec(e);return D&&0===D.index})(u.endRe,n);if(t){if(u["on:end"]){const n=new D(u);u["on:end"](e,n),n.isMatchIgnored&&(t=!1)}if(t){for(;u.endsParent&&u.parent;)u=u.parent;return u}}if(u.endsWithParent)return A(u.parent,e,n)}function C(u){return 0===y.matcher.regexIndex?(v+=u[0],1):(M=!0,0)}function d(u){const D=u[0],n=e.substring(u.index),t=A(y,u,n);if(!t)return X;const a=y;y.endScope&&y.endScope._wrap?(c(),N.addKeyword(D,y.endScope._wrap)):y.endScope&&y.endScope._multi?(c(),F(y.endScope,u)):a.skip?v+=D:(a.returnEnd||a.excludeEnd||(v+=D),c(),a.excludeEnd&&(v=D));do{y.scope&&N.closeNode(),y.skip||y.subLanguage||(x+=y.relevance),y=y.parent}while(y!==t.parent);return t.starts&&E(t.starts,u),a.returnEnd?0:D.length}let g={};function m(n,a){const r=a&&a[0];if(v+=n,null==r)return c(),0;if("begin"===g.type&&"end"===a.type&&g.index===a.index&&""===r){if(v+=e.slice(a.index,a.index+1),!i){const e=Error(`0 width match regex (${u})`);throw e.languageName=u,e.badRule=g.rule,e}return 1}if(g=a,"begin"===a.type)return(u=>{const e=u[0],n=u.rule,t=new D(n),a=[n.__beforeBegin,n["on:begin"]];for(const D of a)if(D&&(D(u,t),t.isMatchIgnored))return C(e);return n.skip?v+=e:(n.excludeBegin&&(v+=e),c(),n.returnBegin||n.excludeBegin||(v=e)),E(n,u),n.returnBegin?0:e.length})(a);if("illegal"===a.type&&!t){const u=Error('Illegal lexeme "'+r+'" for mode "'+(y.scope||"")+'"');throw u.mode=y,u}if("end"===a.type){const u=d(a);if(u!==X)return u}if("illegal"===a.type&&""===r)return 1;if(k>1e5&&k>3*a.index)throw Error("potential infinite loop, way more iterations than matches");return v+=r,r.length}const p=h(u);if(!p)throw z(r.replace("{}",u)),Error('Unknown language: "'+u+'"');const _=q(p);let f="",y=a||_;const w={},N=new l.__emitter(l);(()=>{const u=[];for(let e=y;e!==p;e=e.parent)e.scope&&u.unshift(e.scope);u.forEach((u=>N.openNode(u)))})();let v="",x=0,O=0,k=0,M=!1;try{for(y.matcher.considerAll();;){k++,M?M=!1:y.matcher.considerAll(),y.matcher.lastIndex=O;const u=y.matcher.exec(e);if(!u)break;const D=m(e.substring(O,u.index),u);O=u.index+D}return m(e.substring(O)),N.closeAllNodes(),N.finalize(),f=N.toHTML(),{language:u,value:f,relevance:x,illegal:!1,_emitter:N,_top:y}}catch(S){if(S.message&&S.message.includes("Illegal"))return{language:u,value:W(e),illegal:!0,relevance:0,_illegalBy:{message:S.message,index:O,context:e.slice(O-100,O+100),mode:S.mode,resultSoFar:f},_emitter:N};if(i)return{language:u,value:W(e),illegal:!1,relevance:0,errorRaised:S,_emitter:N,_top:y};throw S}}function B(u,e){e=e||l.languages||Object.keys(n);const D=(u=>{const e={value:W(u),illegal:!1,relevance:0,_top:s,_emitter:new l.__emitter(l)};return e._emitter.addText(u),e})(u),t=e.filter(h).filter(y).map((e=>b(e,u,!1)));t.unshift(D);const a=t.sort(((u,e)=>{if(u.relevance!==e.relevance)return e.relevance-u.relevance;if(u.language&&e.language){if(h(u.language).supersetOf===e.language)return 1;if(h(e.language).supersetOf===u.language)return-1}return 0})),[i,r]=a,o=i;return o.secondBest=r,o}function m(u){let e=null;const D=(u=>{let e=u.className+" ";e+=u.parentNode?u.parentNode.className:"";const D=l.languageDetectRe.exec(e);if(D){const e=h(D[1]);return e||(U(r.replace("{}",D[1])),U("Falling back to no-highlight mode for this block.",u)),e?D[1]:"no-highlight"}return e.split(/\s+/).find((u=>d(u)||h(u)))})(u);if(d(D))return;if(w("before:highlightElement",{el:u,language:D}),u.children.length>0&&(l.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(u)),l.throwUnescapedHTML))throw new G("One of your code blocks includes unescaped HTML.",u.innerHTML);e=u;const n=e.textContent,a=D?g(n,{language:D,ignoreIllegals:!0}):B(n);u.innerHTML=a.value,((u,e,D)=>{const n=e&&t[e]||D;u.classList.add("hljs"),u.classList.add("language-"+n)})(u,D,a.language),u.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(u.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),w("after:highlightElement",{el:u,result:a,text:n})}let p=!1;function _(){"loading"!==document.readyState?document.querySelectorAll(l.cssSelector).forEach(m):p=!0}function h(u){return u=(u||"").toLowerCase(),n[u]||n[t[u]]}function f(u,{languageName:e}){"string"==typeof u&&(u=[u]),u.forEach((u=>{t[u.toLowerCase()]=e}))}function y(u){const e=h(u);return e&&!e.disableAutodetect}function w(u,e){const D=u;a.forEach((u=>{u[D]&&u[D](e)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{p&&_()}),!1),Object.assign(e,{highlight:g,highlightAuto:B,highlightAll:_,highlightElement:m,highlightBlock:u=>(j("10.7.0","highlightBlock will be removed entirely in v12.0"),j("10.7.0","Please use highlightElement now."),m(u)),configure:u=>{l=Q(l,u)},initHighlighting:()=>{_(),j("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:()=>{_(),j("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:(u,D)=>{let t=null;try{t=D(e)}catch(a){if(z("Language definition for '{}' could not be registered.".replace("{}",u)),!i)throw a;z(a),t=s}t.name||(t.name=u),n[u]=t,t.rawDefinition=D.bind(null,e),t.aliases&&f(t.aliases,{languageName:u})},unregisterLanguage:u=>{delete n[u];for(const e of Object.keys(t))t[e]===u&&delete t[e]},listLanguages:()=>Object.keys(n),getLanguage:h,registerAliases:f,autoDetection:y,inherit:Q,addPlugin:u=>{var e;(e=u)["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=u=>{e["before:highlightBlock"](Object.assign({block:u.el},u))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=u=>{e["after:highlightBlock"](Object.assign({block:u.el},u))}),a.push(u)}}),e.debugMode=()=>{i=!1},e.safeMode=()=>{i=!0},e.versionString="11.7.0",e.regex={concat:A,lookahead:c,either:C,optional:E,anyNumberOfTimes:F};for(const D in N)"object"==typeof N[D]&&u.exports(N[D]);return Object.assign(e,N),e})({});const J=u=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:u.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:u.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),Y=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],uu=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],eu=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Du=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],nu=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),tu=eu.concat(Du);var au="\\.([0-9](_*[0-9])*)",iu="[0-9a-fA-F](_*[0-9a-fA-F])*",ru={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${au})|\\.)?|(${au}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${au})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${au})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${iu})\\.?|(${iu})?\\.(${iu}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${iu})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function su(u,e,D){return-1===D?"":u.replace(e,(n=>su(u,e,D-1)))}const ou="[A-Za-z$_][0-9A-Za-z$_]*",lu=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],cu=["true","false","null","undefined","NaN","Infinity"],Fu=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Eu=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Au=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Cu=["arguments","this","super","console","window","document","localStorage","module","global"],du=[].concat(Au,Fu,Eu);function gu(u){const e=u.regex,D=ou,n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(u,e)=>{const D=u[0].length+u.index,n=u.input[D];if("<"===n||","===n)return void e.ignoreMatch();let t;">"===n&&(((u,{after:e})=>{const D="",y={match:[/const|var|let/,/\s+/,D,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(f)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[d]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:t,exports:{PARAMS_CONTAINS:C,CLASS_REFERENCE:b},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,o,l,c,F,{match:/\$\d+/},r,b,{className:"attr",begin:D+e.lookahead(":"),relevance:0},y,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,u.REGEXP_MODE,{className:"function",begin:f,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:C}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[d,u.inherit(u.TITLE_MODE,{begin:D,className:"title.function"})]},{match:/\.\.\./,relevance:0},_,{match:"\\$"+D,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[d]},m,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},g,h,{match:/\$[(.]/}]}}const bu=u=>A(/\b/,u,/\w$/.test(u)?/\b/:/\B/),Bu=["Protocol","Type"].map(bu),mu=["init","self"].map(bu),pu=["Any","Self"],_u=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],hu=["false","nil","true"],fu=["assignment","associativity","higherThan","left","lowerThan","none","right"],yu=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],wu=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Nu=C(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),vu=C(Nu,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),xu=A(Nu,vu,"*"),Ou=C(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),ku=C(Ou,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Mu=A(Ou,ku,"*"),Su=A(/[A-Z]/,ku,"*"),Tu=["autoclosure",A(/convention\(/,C("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",A(/objc\(/,Mu,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],Ru=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];var Iu=Object.freeze({__proto__:null,grmr_bash:u=>{const e=u.regex,D={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[D]}]};Object.assign(D,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});const t={className:"subst",begin:/\$\(/,end:/\)/,contains:[u.BACKSLASH_ESCAPE]},a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[u.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[u.BACKSLASH_ESCAPE,D,t]};t.contains.push(i);const r={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},u.NUMBER_MODE,D]},s=u.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),o={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[u.inherit(u.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[s,u.SHEBANG(),o,r,u.HASH_COMMENT_MODE,a,{match:/(\/[a-z._-]+)+/},i,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},D]}},grmr_c:u=>{const e=u.regex,D=u.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="[a-zA-Z_]\\w*::",t="(decltype\\(auto\\)|"+e.optional(n)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},i={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[u.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},u.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},u.inherit(i,{className:"string"}),{className:"string",begin:/<.*?>/},D,u.C_BLOCK_COMMENT_MODE]},o={className:"title",begin:e.optional(n)+u.IDENT_RE,relevance:0},l=e.optional(n)+u.IDENT_RE+"\\s*\\(",c={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},F=[s,a,D,u.C_BLOCK_COMMENT_MODE,r,i],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:c,contains:F.concat([{begin:/\(/,end:/\)/,keywords:c,contains:F.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+t+"[\\*&\\s]+)+"+l,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:c,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:c,relevance:0},{begin:l,returnBegin:!0,contains:[u.inherit(o,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[D,u.C_BLOCK_COMMENT_MODE,i,r,a,{begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:["self",D,u.C_BLOCK_COMMENT_MODE,i,r,a]}]},a,D,u.C_BLOCK_COMMENT_MODE,s]};return{name:"C",aliases:["h"],keywords:c,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},u.TITLE_MODE]}]),exports:{preprocessor:s,strings:i,keywords:c}}},grmr_cpp:u=>{const e=u.regex,D=u.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="[a-zA-Z_]\\w*::",t="(?!struct)(decltype\\(auto\\)|"+e.optional(n)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},i={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[u.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},u.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},u.inherit(i,{className:"string"}),{className:"string",begin:/<.*?>/},D,u.C_BLOCK_COMMENT_MODE]},o={className:"title",begin:e.optional(n)+u.IDENT_RE,relevance:0},l=e.optional(n)+u.IDENT_RE+"\\s*\\(",c={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},F={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,u.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},E=[F,s,a,D,u.C_BLOCK_COMMENT_MODE,r,i],A={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:c,contains:E.concat([{begin:/\(/,end:/\)/,keywords:c,contains:E.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+t+"[\\*&\\s]+)+"+l,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:c,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:c,relevance:0},{begin:l,returnBegin:!0,contains:[o],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[i,r]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[D,u.C_BLOCK_COMMENT_MODE,i,r,a,{begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:["self",D,u.C_BLOCK_COMMENT_MODE,i,r,a]}]},a,D,u.C_BLOCK_COMMENT_MODE,s]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:c,illegal:"",keywords:c,contains:["self",a]},{begin:u.IDENT_RE+"::",keywords:c},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},grmr_csharp:u=>{const e={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},D=u.inherit(u.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},t={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},a=u.inherit(t,{illegal:/\n/}),i={className:"subst",begin:/\{/,end:/\}/,keywords:e},r=u.inherit(i,{illegal:/\n/}),s={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},u.BACKSLASH_ESCAPE,r]},o={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},i]},l=u.inherit(o,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},r]});i.contains=[o,s,t,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,n,u.C_BLOCK_COMMENT_MODE],r.contains=[l,s,a,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,n,u.inherit(u.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const c={variants:[o,s,t,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE]},F={begin:"<",end:">",contains:[{beginKeywords:"in out"},D]},E=u.IDENT_RE+"(<"+u.IDENT_RE+"(\\s*,\\s*"+u.IDENT_RE+")*>)?(\\[\\])?",A={begin:"@"+u.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:e,illegal:/::/,contains:[u.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},c,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},D,F,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[D,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[D,F,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+E+"\\s+)+"+u.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:e,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:u.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[u.TITLE_MODE,F],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:e,relevance:0,contains:[c,n,u.C_BLOCK_COMMENT_MODE]},u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},A]}},grmr_css:u=>{const e=u.regex,D=J(u),n=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[D.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},D.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},D.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+eu.join("|")+")"},{begin:":(:)?("+Du.join("|")+")"}]},D.CSS_VARIABLE,{className:"attribute",begin:"\\b("+nu.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[D.BLOCK_COMMENT,D.HEXCOLOR,D.IMPORTANT,D.CSS_NUMBER_MODE,...n,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...n,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},D.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:uu.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...n,D.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Y.join("|")+")\\b"}]}},grmr_diff:u=>{const e=u.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},grmr_go:u=>{const e={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:e,illegal:"{const e=u.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[u.HASH_COMMENT_MODE,u.QUOTE_STRING_MODE,u.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:e.concat(/[_A-Za-z][_0-9A-Za-z]*/,e.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}},grmr_ini:u=>{const e=u.regex,D={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:u.NUMBER_RE}]},n=u.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const t={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},i={className:"string",contains:[u.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},r={begin:/\[/,end:/\]/,contains:[n,a,t,i,D,"self"],relevance:0},s=e.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:e.concat(s,"(\\s*\\.\\s*",s,")*",e.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[n,r,a,t,i,D]}}]}},grmr_java:u=>{const e=u.regex,D="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=D+su("(?:<"+D+"~~~(?:\\s*,\\s*"+D+"~~~)*>)?",/~~~/g,2),t={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},a={className:"meta",begin:"@"+D,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},i={className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[u.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:t,illegal:/<\/|#/,contains:[u.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[u.BACKSLASH_ESCAPE]},u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,D],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,D),/\s+/,D,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,D],className:{1:"keyword",3:"title.class"},contains:[i,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",u.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:t,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[a,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,ru,u.C_BLOCK_COMMENT_MODE]},u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},ru,a]}},grmr_javascript:gu,grmr_json:u=>{const e=["true","false","null"],D={scope:"literal",beginKeywords:e.join(" ")};return{name:"JSON",keywords:{literal:e},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},u.QUOTE_STRING_MODE,D,u.C_NUMBER_MODE,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE],illegal:"\\S"}},grmr_kotlin:u=>{const e={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},D={className:"symbol",begin:u.UNDERSCORE_IDENT_RE+"@"},n={className:"subst",begin:/\$\{/,end:/\}/,contains:[u.C_NUMBER_MODE]},t={className:"variable",begin:"\\$"+u.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[t,n]},{begin:"'",end:"'",illegal:/\n/,contains:[u.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[u.BACKSLASH_ESCAPE,t,n]}]};n.contains.push(a);const i={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+u.UNDERSCORE_IDENT_RE+")?"},r={className:"meta",begin:"@"+u.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[u.inherit(a,{className:"string"}),"self"]}]},s=ru,o=u.COMMENT("/\\*","\\*/",{contains:[u.C_BLOCK_COMMENT_MODE]}),l={variants:[{className:"type",begin:u.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},c=l;return c.variants[1].contains=[l],l.variants[1].contains=[c],{name:"Kotlin",aliases:["kt","kts"],keywords:e,contains:[u.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),u.C_LINE_COMMENT_MODE,o,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},D,i,r,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:u.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[u.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[l,u.C_LINE_COMMENT_MODE,o],relevance:0},u.C_LINE_COMMENT_MODE,o,i,r,a,u.C_NUMBER_MODE]},o]},{begin:[/class|interface|trait/,/\s+/,u.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},u.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},i,r]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},s]}},grmr_less:u=>{const e=J(u),D=tu,n="([\\w-]+|@\\{[\\w-]+\\})",t=[],a=[],i=u=>({className:"string",begin:"~?"+u+".*?"+u}),r=(u,e,D)=>({className:u,begin:e,relevance:D}),s={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:uu.join(" ")},o={begin:"\\(",end:"\\)",contains:a,keywords:s,relevance:0};a.push(u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,i("'"),i('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.HEXCOLOR,o,r("variable","@@?[\\w-]+",10),r("variable","@\\{[\\w-]+\\}"),r("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);const l=a.concat({begin:/\{/,end:/\}/,contains:t}),c={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},F={begin:n+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+nu.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},E={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:s,returnEnd:!0,contains:a,relevance:0}},A={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:l}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,c,r("keyword","all\\b"),r("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+Y.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,r("selector-tag",n,0),r("selector-id","#"+n),r("selector-class","\\."+n,0),r("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+eu.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Du.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:l},{begin:"!important"},e.FUNCTION_DISPATCH]},d={begin:`[\\w-]+:(:)?(${D.join("|")})`,returnBegin:!0,contains:[C]};return t.push(u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,E,A,d,F,C,c,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:t}},grmr_lua:u=>{const e="\\[=*\\[",D="\\]=*\\]",n={begin:e,end:D,contains:["self"]},t=[u.COMMENT("--(?!\\[=*\\[)","$"),u.COMMENT("--\\[=*\\[",D,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:u.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:t.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[u.inherit(u.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:t}].concat(t)},u.C_NUMBER_MODE,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,{className:"string",begin:e,end:D,contains:[n],relevance:5}])}},grmr_makefile:u=>{const e={className:"variable",variants:[{begin:"\\$\\("+u.UNDERSCORE_IDENT_RE+"\\)",contains:[u.BACKSLASH_ESCAPE]},{begin:/\$[@%{const e=u.regex,D=e.concat(/(?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\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C20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/,e.optional(/(?:[\x2D\.0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA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-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uD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DFFF]|\uD888[\uDC00-\uDFAF])*:/),/(?:[\x2D\.0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8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DF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*/),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=u.inherit(t,{begin:/\(/,end:/\)/}),i=u.inherit(u.APOS_STRING_MODE,{className:"string"}),r=u.inherit(u.QUOTE_STRING_MODE,{className:"string"}),s={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[t,r,i,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[t,a,r,i]}]}]},u.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[r]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[s],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[s],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:D,relevance:0,starts:s}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(D,/>/))),contains:[{className:"name",begin:D,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},grmr_markdown:u=>{const e={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},D={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:u.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},n={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},t={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},a=u.inherit(n,{contains:[]}),i=u.inherit(t,{contains:[]});n.contains.push(i),t.contains.push(a);let r=[e,D];return[n,t,a,i].forEach((u=>{u.contains=u.contains.concat(r)})),r=r.concat(n,t),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:r},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:r}]}]},e,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},n,t,{className:"quote",begin:"^>\\s+",contains:r,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},D,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_objectivec:u=>{const e=/[a-zA-Z@][a-zA-Z0-9_]*/,D={$pattern:e,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:e,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"/,end:/$/,illegal:"\\n"},u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+D.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:D,contains:[u.UNDERSCORE_TITLE_MODE]},{begin:"\\."+u.UNDERSCORE_IDENT_RE,relevance:0}]}},grmr_perl:u=>{const e=u.regex,D=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},t={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},a={begin:/->\{/,end:/\}/},i={variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},r=[u.BACKSLASH_ESCAPE,t,i],s=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],o=(u,n,t="\\1")=>{const a="\\1"===t?t:e.concat(t,n);return e.concat(e.concat("(?:",u,")"),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,t,D)},l=(u,n,t)=>e.concat(e.concat("(?:",u,")"),n,/(?:\\.|[^\\\/])*?/,t,D),c=[i,u.HASH_COMMENT_MODE,u.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:r,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[u.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+u.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[u.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:o("s|tr|y",e.either(...s,{capture:!0}))},{begin:o("s|tr|y","\\(","\\)")},{begin:o("s|tr|y","\\[","\\]")},{begin:o("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:l("(?:m|qr)?",/\//,/\//)},{begin:l("m|qr",e.either(...s,{capture:!0}),/\1/)},{begin:l("m|qr",/\(/,/\)/)},{begin:l("m|qr",/\[/,/\]/)},{begin:l("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[u.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return t.contains=c,a.contains=c,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:c}},grmr_php:u=>{const e=u.regex,D=/(?![A-Za-z0-9])(?![$])/,n=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,D),t=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,D),a={scope:"variable",match:"\\$+"+n},i={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},r=u.inherit(u.APOS_STRING_MODE,{illegal:null}),s="[ \t\n]",o={scope:"string",variants:[u.inherit(u.QUOTE_STRING_MODE,{illegal:null,contains:u.QUOTE_STRING_MODE.contains.concat(i)}),r,u.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:u.QUOTE_STRING_MODE.contains.concat(i)})]},l={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},c=["false","null","true"],F=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],E=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],A={keyword:F,literal:(u=>{const e=[];return u.forEach((u=>{e.push(u),u.toLowerCase()===u?e.push(u.toUpperCase()):e.push(u.toLowerCase())})),e})(c),built_in:E},C=u=>u.map((u=>u.replace(/\|\d+$/,""))),d={variants:[{match:[/new/,e.concat(s,"+"),e.concat("(?!",C(E).join("\\b|"),"\\b)"),t],scope:{1:"keyword",4:"title.class"}}]},g=e.concat(n,"\\b(?!\\()"),b={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),g],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[t,e.concat(/::/,e.lookahead(/(?!class\b)/)),g],scope:{1:"title.class",3:"variable.constant"}},{match:[t,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[t,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},B={scope:"attr",match:e.concat(n,e.lookahead(":"),e.lookahead(/(?!::)/))},m={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[B,a,b,u.C_BLOCK_COMMENT_MODE,o,l,d]},p={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",C(F).join("\\b|"),"|",C(E).join("\\b|"),"\\b)"),n,e.concat(s,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[m]};m.contains.push(p);const _=[B,b,u.C_BLOCK_COMMENT_MODE,o,l,d];return{case_insensitive:!1,keywords:A,contains:[{begin:e.concat(/#\[\s*/,t),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:c,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:c,keyword:["new","array"]},contains:["self",..._]},..._,{scope:"meta",match:t}]},u.HASH_COMMENT_MODE,u.COMMENT("//","$"),u.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:u.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},a,p,b,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},d,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},u.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",a,b,u.C_BLOCK_COMMENT_MODE,o,l]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},u.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[u.inherit(u.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},u.UNDERSCORE_TITLE_MODE]},o,l]}},grmr_php_template:u=>({name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},u.inherit(u.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),u.inherit(u.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}),grmr_plaintext:u=>({name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}),grmr_python:u=>{const e=u.regex,D=/(?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\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F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-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F1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD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D4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037B-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u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0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\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\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF50-\uDF59\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00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E6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAE\uDEC0-\uDEF9]|\uD839[\uDCD0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])*/,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],t={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,end:/\}/,keywords:t,illegal:/#/},r={begin:/\{\{/,relevance:0},s={className:"string",contains:[u.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[u.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[u.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[u.BACKSLASH_ESCAPE,a,r,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[u.BACKSLASH_ESCAPE,a,r,i]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[u.BACKSLASH_ESCAPE,r,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[u.BACKSLASH_ESCAPE,r,i]},u.APOS_STRING_MODE,u.QUOTE_STRING_MODE]},o="[0-9](_?[0-9])*",l=`(\\b(${o}))?\\.(${o})|\\b(${o})\\.`,c="\\b|"+n.join("|"),F={className:"number",relevance:0,variants:[{begin:`(\\b(${o})|(${l}))[eE][+-]?(${o})[jJ]?(?=${c})`},{begin:`(${l})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${c})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${c})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${c})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${c})`},{begin:`\\b(${o})[jJ](?=${c})`}]},E={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:t,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},A={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:["self",a,F,s,u.HASH_COMMENT_MODE]}]};return i.contains=[s,F,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:t,illegal:/(<\/|->|\?)|=>/,contains:[a,F,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},s,E,u.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,D],scope:{1:"keyword",3:"title.function"},contains:[A]},{variants:[{match:[/\bclass/,/\s+/,D,/\s*/,/\(\s*/,D,/\s*\)/]},{match:[/\bclass/,/\s+/,D]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[F,A,s]}]}},grmr_python_repl:u=>({aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}),grmr_r:u=>{const e=u.regex,D=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=e.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),t=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:D,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[u.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:D},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),u.HASH_COMMENT_MODE,{scope:"string",contains:[u.BACKSLASH_ESCAPE],variants:[u.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),u.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),u.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),u.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),u.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),u.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[t,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[a,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[D,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:t},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},grmr_ruby:u=>{const e=u.regex,D="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),t=e.concat(n,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},i={className:"doctag",begin:"@[A-Za-z]+"},r={begin:"#<",end:">"},s=[u.COMMENT("#","$",{contains:[i]}),u.COMMENT("^=begin","^=end",{contains:[i],relevance:10}),u.COMMENT("^__END__",u.MATCH_NOTHING_RE)],o={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"string",contains:[u.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[u.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[u.BACKSLASH_ESCAPE,o]})]}]},c="[0-9](_?[0-9])*",F={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${c}))?([eE][+-]?(${c})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},E={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},A=[l,{variants:[{match:[/class\s+/,t,/\s+<\s+/,t]},{match:[/\b(class|module)\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,t],scope:{2:"title.class"},keywords:a},{relevance:0,match:[t,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,D],scope:{1:"keyword",3:"title.function"},contains:[E]},{begin:u.IDENT_RE+"::"},{className:"symbol",begin:u.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[l,{begin:D}],relevance:0},F,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+u.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[u.BACKSLASH_ESCAPE,o],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(r,s),relevance:0}].concat(r,s);o.contains=A,E.contains=A;const C=[{begin:/^\s*=>/,starts:{end:"$",contains:A}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:a,contains:A}}];return s.unshift(r),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[u.SHEBANG({binary:"ruby"})].concat(C).concat(s).concat(A)}},grmr_rust:u=>{const e=u.regex,D={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let\b)/,u.IDENT_RE,e.lookahead(/\s*\(/))},n="([ui](8|16|32|64|128|size)|f(32|64))?",t=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],a=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:u.IDENT_RE+"!?",type:a,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:t},illegal:""},D]}},grmr_scss:u=>{const e=J(u),D=Du,n=eu,t="@[a-z-]+",a={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Y.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+D.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+nu.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[e.BLOCK_COMMENT,a,e.HEXCOLOR,e.CSS_NUMBER_MODE,u.QUOTE_STRING_MODE,u.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:t,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:uu.join(" ")},contains:[{begin:t,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,u.QUOTE_STRING_MODE,u.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}},grmr_shell:u=>({name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}),grmr_sql:u=>{const e=u.regex,D=u.COMMENT("--","$"),n=["true","false","unknown"],t=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],a=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],i=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],r=a,s=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((u=>!a.includes(u))),o={begin:e.concat(/\b/,e.either(...r),/\s*\(/),relevance:0,keywords:{built_in:r}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:((u,{exceptions:e,when:D}={})=>{const n=D;return e=e||[],u.map((u=>u.match(/\|\d+$/)||e.includes(u)?u:n(u)?u+"|0":u))})(s,{when:u=>u.length<3}),literal:n,type:t,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:e.either(...i),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:s.concat(i),literal:n,type:t}},{className:"type",begin:e.either("double precision","large object","with timezone","without timezone")},o,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},u.C_NUMBER_MODE,u.C_BLOCK_COMMENT_MODE,D,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},grmr_swift:u=>{const e={match:/\s+/,relevance:0},D=u.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[u.C_LINE_COMMENT_MODE,D],t={match:[/\./,C(...Bu,...mu)],className:{2:"keyword"}},a={match:A(/\./,C(..._u)),relevance:0},i=_u.filter((u=>"string"==typeof u)).concat(["_|0"]),r={variants:[{className:"keyword",match:C(..._u.filter((u=>"string"!=typeof u)).concat(pu).map(bu),...mu)}]},s={$pattern:C(/\b\w+/,/#\w+/),keyword:i.concat(yu),literal:hu},o=[t,a,r],l=[{match:A(/\./,C(...wu)),relevance:0},{className:"built_in",match:A(/\b/,C(...wu),/(?=\()/)}],F={match:/->/,relevance:0},E=[F,{className:"operator",relevance:0,variants:[{match:xu},{match:`\\.(\\.|${vu})+`}]}],d="([0-9a-fA-F]_*)+",g={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:`\\b0x(${d})(\\.(${d}))?([pP][+-]?(([0-9]_*)+))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},b=(u="")=>({className:"subst",variants:[{match:A(/\\/,u,/[0\\tnr"']/)},{match:A(/\\/,u,/u\{[0-9a-fA-F]{1,8}\}/)}]}),B=(u="")=>({className:"subst",match:A(/\\/,u,/[\t ]*(?:[\r\n]|\r\n)/)}),m=(u="")=>({className:"subst",label:"interpol",begin:A(/\\/,u,/\(/),end:/\)/}),p=(u="")=>({begin:A(u,/"""/),end:A(/"""/,u),contains:[b(u),B(u),m(u)]}),_=(u="")=>({begin:A(u,/"/),end:A(/"/,u),contains:[b(u),m(u)]}),h={className:"string",variants:[p(),p("#"),p("##"),p("###"),_(),_("#"),_("##"),_("###")]},f={match:A(/`/,Mu,/`/)},y=[f,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${ku}+`}],w=[{match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Ru,contains:[...E,g,h]}]}},{className:"keyword",match:A(/@/,C(...Tu))},{className:"meta",match:A(/@/,Mu)}],N={match:c(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:A(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,ku,"+")},{className:"type",match:Su,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:A(/\s+&\s+/,c(Su)),relevance:0}]},v={begin://,keywords:s,contains:[...n,...o,...w,F,N]};N.contains.push(v);const x={begin:/\(/,end:/\)/,relevance:0,keywords:s,contains:["self",{match:A(Mu,/\s*:/),keywords:"_|0",relevance:0},...n,...o,...l,...E,g,h,...y,...w,N]},O={begin://,contains:[...n,N]},k={begin:/\(/,end:/\)/,keywords:s,contains:[{begin:C(c(A(Mu,/\s*:/)),c(A(Mu,/\s+/,Mu,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Mu}]},...n,...o,...E,g,h,...w,N,x],endsParent:!0,illegal:/["']/},M={match:[/func/,/\s+/,C(f.match,Mu,xu)],className:{1:"keyword",3:"title.function"},contains:[O,k,e],illegal:[/\[/,/%/]},S={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[O,k,e],illegal:/\[|%/},T={match:[/operator/,/\s+/,xu],className:{1:"keyword",3:"title"}},R={begin:[/precedencegroup/,/\s+/,Su],className:{1:"keyword",3:"title"},contains:[N],keywords:[...fu,...hu],end:/}/};for(const c of h.variants){const u=c.contains.find((u=>"interpol"===u.label));u.keywords=s;const e=[...o,...l,...E,g,h,...y];u.contains=[...e,{begin:/\(/,end:/\)/,contains:["self",...e]}]}return{name:"Swift",keywords:s,contains:[...n,M,S,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:s,contains:[u.inherit(u.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...o]},T,R,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},...o,...l,...E,g,h,...y,...w,N,x]}},grmr_typescript:u=>{const e=gu(u),D=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],n={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},t={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:D},contains:[e.exports.CLASS_REFERENCE]},a={$pattern:ou,keyword:lu.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:cu,built_in:du.concat(D),"variable.language":Cu},i={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},r=(u,e,D)=>{const n=u.contains.findIndex((u=>u.label===e));if(-1===n)throw Error("can not find mode to replace");u.contains.splice(n,1,D)};return Object.assign(e.keywords,a),e.exports.PARAMS_CONTAINS.push(i),e.contains=e.contains.concat([i,n,t]),r(e,"shebang",u.SHEBANG()),r(e,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),e.contains.find((u=>"func.def"===u.label)).relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx"]}),e},grmr_vbnet:u=>{const e=u.regex,D=/\d{1,2}\/\d{1,2}\/\d{4}/,n=/\d{4}-\d{1,2}-\d{1,2}/,t=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,i={className:"literal",variants:[{begin:e.concat(/# */,e.either(n,D),/ *#/)},{begin:e.concat(/# */,a,/ *#/)},{begin:e.concat(/# */,t,/ *#/)},{begin:e.concat(/# */,e.either(n,D),/ +/,e.either(t,a),/ *#/)}]},r=u.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),s=u.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},r,s,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[s]}]}},grmr_wasm:u=>{u.regex;const e=u.COMMENT(/\(;/,/;\)/);return e.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[u.COMMENT(/;;/,/$/),e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},u.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}},grmr_yaml:u=>{const e="true false yes no null",D="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[u.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},t=u.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},i={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},r={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},s=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+D},{className:"type",begin:"!<"+D+">"},{className:"type",begin:"!"+D},{className:"type",begin:"!!"+D},{className:"meta",begin:"&"+u.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+u.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},u.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:u.C_NUMBER_RE+"\\b",relevance:0},i,r,n],o=[...s];return o.pop(),o.push(t),a.contains=o,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:s}}});const Lu=V;for(const $u of Object.keys(Iu)){const u=$u.replace("grmr_","").replace("_","-");Lu.registerLanguage(u,Iu[$u])}exports.$e=Lu; diff --git a/unpackage/dist/build/mp-weixin/components/ua-markdown/lib/html-parser.js b/unpackage/dist/build/mp-weixin/components/ua-markdown/lib/html-parser.js new file mode 100644 index 0000000..0d1e8fd --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ua-markdown/lib/html-parser.js @@ -0,0 +1 @@ +"use strict";function e(e){for(var t={},a=e.split(","),r=0;r",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},t=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,n={},s={};function o(e,r,t){var n,i,a,c,l,u="";for("string"!=typeof r&&(t=r,r=o.defaultChars),void 0===t&&(t=!0),l=function(e){var r,t,n=s[e];if(n)return n;for(n=s[e]=[],r=0;r<128;r++)t=String.fromCharCode(r),/^[0-9a-z]$/i.test(t)?n.push(t):n.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&a<=57343){if(a>=55296&&a<=56319&&n+1=56320&&c<=57343){u+=encodeURIComponent(e[n]+e[n+1]),n++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[n]);return u}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()";var i=o,a={};function c(e,r){var t;return"string"!=typeof r&&(r=c.defaultChars),t=function(e){var r,t,n=a[e];if(n)return n;for(n=a[e]=[],r=0;r<128;r++)t=String.fromCharCode(r),n.push(t);for(r=0;r=55296&&c<=57343?"���":String.fromCharCode(c),r+=6):240==(248&s)&&r+91114111?l+="����":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),r+=9):l+="�";return l}))}c.defaultChars=";/?:@&=+$,#",c.componentChars="";var l=c;function u(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var p=/^([a-z0-9.+-]+:)/i,h=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),m=["'"].concat(d),g=["%","/","?",";","#"].concat(m),_=["/","?","#"],k=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},C={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};u.prototype.parse=function(e,r){var t,n,s,o,i,a=e;if(a=a.trim(),!r&&1===e.split("#").length){var c=f.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var l=p.exec(a);if(l&&(s=(l=l[0]).toLowerCase(),this.protocol=l,a=a.substr(l.length)),(r||l||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||l&&v[l]||(a=a.substr(2),this.slashes=!0)),!v[l]&&(i||l&&!C[l])){var u,h,d=-1;for(t=0;t<_.length;t++)-1!==(o=a.indexOf(_[t]))&&(-1===d||o127?D+="x":D+=x[w];if(!D.match(k)){var q=A.slice(0,t),S=A.slice(t+1),F=x.match(b);F&&(q.push(F[1]),S.unshift(F[2])),S.length&&(a=S.join(".")+a),this.hostname=q.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=a.indexOf("#");-1!==L&&(this.hash=a.substr(L),a=a.slice(0,L));var z=a.indexOf("?");return-1!==z&&(this.search=a.substr(z),a=a.slice(0,z)),a&&(this.pathname=a),C[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},u.prototype.parseHost=function(e){var r=h.exec(e);r&&(":"!==(r=r[0])&&(this.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(this.hostname=e)};n.encode=i,n.decode=l,n.format=function(e){var r="";return r+=e.protocol||"",r+=e.slashes?"//":"",r+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?r+="["+e.hostname+"]":r+=e.hostname||"",r+=e.port?":"+e.port:"",r+=e.pathname||"",(r+=e.search||"")+(e.hash||"")},n.parse=function(e,r){if(e&&e instanceof u)return e;var t=new u;return t.parse(e,r),t};var y={},A=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,x=/[\0-\x1F\x7F-\x9F]/,D=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;y.Any=A,y.Cc=x,y.Cf=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,y.P=t,y.Z=D,function(e){var s=Object.prototype.hasOwnProperty;function o(e,r){return s.call(e,r)}function i(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function a(e){if(e>65535){var r=55296+((e-=65536)>>10),t=56320+(1023&e);return String.fromCharCode(r,t)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=r,h=/[&<>"]/,f=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function m(e){return d[e]}var g=/[.?*+^$[\]\\(){}|-]/g,_=t;e.lib={},e.lib.mdurl=n,e.lib.ucmicro=y,e.assign=function(e){var r=Array.prototype.slice.call(arguments,1);return r.forEach((function(r){if(r){if("object"!=typeof r)throw new TypeError(r+"must be object");Object.keys(r).forEach((function(t){e[t]=r[t]}))}})),e},e.isString=function(e){return"[object String]"===(r=e,Object.prototype.toString.call(r));var r},e.has=o,e.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},e.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,r,t){return r||(n=e,c=0,o(p,s=t)?p[s]:35===s.charCodeAt(0)&&u.test(s)&&i(c="x"===s[1].toLowerCase()?parseInt(s.slice(2),16):parseInt(s.slice(1),10))?a(c):n);var n,s,c}))},e.isValidEntityCode=i,e.fromCodePoint=a,e.escapeHtml=function(e){return h.test(e)?e.replace(f,m):e},e.arrayReplaceAt=function(e,r,t){return[].concat(e.slice(0,r),t,e.slice(r+1))},e.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(e){return _.test(e)},e.escapeRE=function(e){return e.replace(g,"\\$&")},e.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}}(e);var w={},E=e.unescapeAll,q=e.unescapeAll;w.parseLinkLabel=function(e,r,t){var n,s,o,i,a=-1,c=e.posMax,l=e.pos;for(e.pos=r+1,n=1;e.pos32)return i;if(41===n){if(0===s)break;s--}r++}return o===r||0!==s||(i.str=E(e.slice(o,r)),i.lines=0,i.pos=r,i.ok=!0),i},w.parseLinkTitle=function(e,r,t){var n,s,o=0,i=r,a={ok:!1,pos:0,lines:0,str:""};if(r>=t)return a;if(34!==(s=e.charCodeAt(r))&&39!==s&&40!==s)return a;for(r++,40===s&&(s=41);r"+L(e[r].content)+""},z.code_block=function(e,r,t,n,s){var o=e[r];return""+L(e[r].content)+"\n"},z.fence=function(e,r,t,n,s){var o,i,a,c,l,u=e[r],p=u.info?F(u.info).trim():"",h="",f="";return p&&(h=(a=p.split(/(\s+)/g))[0],f=a.slice(2).join("")),0===(o=t.highlight&&t.highlight(u.content,h,f)||L(u.content)).indexOf(""+o+"\n"):"
"+o+"
\n"},z.image=function(e,r,t,n,s){var o=e[r];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,t,n),s.renderToken(e,r,t)},z.hardbreak=function(e,r,t){return t.xhtmlOut?"
\n":"
\n"},z.softbreak=function(e,r,t){return t.breaks?t.xhtmlOut?"
\n":"
\n":"\n"},z.text=function(e,r){return L(e[r].content)},z.html_block=function(e,r){return e[r].content},z.html_inline=function(e,r){return e[r].content},T.prototype.renderAttrs=function(e){var r,t,n;if(!e.attrs)return"";for(n="",r=0,t=e.attrs.length;r\n":">")},T.prototype.renderInline=function(e,r,t){for(var n,s="",o=this.rules,i=0,a=e.length;i/i.test(e)}var j=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,U=/\((c|tm|r)\)/i,V=/\((c|tm|r)\)/gi,Z={c:"©",r:"®",tm:"™"};function $(e,r){return Z[r.toLowerCase()]}function G(e){var r,t,n=0;for(r=e.length-1;r>=0;r--)"text"!==(t=e[r]).type||n||(t.content=t.content.replace(V,$)),"link_open"===t.type&&"auto"===t.info&&n--,"link_close"===t.type&&"auto"===t.info&&n++}function H(e){var r,t,n=0;for(r=e.length-1;r>=0;r--)"text"!==(t=e[r]).type||n||j.test(t.content)&&(t.content=t.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===t.type&&"auto"===t.info&&n--,"link_close"===t.type&&"auto"===t.info&&n++}var J=e.isWhiteSpace,W=e.isPunctChar,Y=e.isMdAsciiPunct,K=/['"]/,Q=/['"]/g;function X(e,r,t){return e.slice(0,r)+t+e.slice(r+1)}function ee(e,r){var t,n,s,o,i,a,c,l,u,p,h,f,d,m,g,_,k,b,v,C,y;for(v=[],t=0;t=0&&!(v[k].level<=c);k--);if(v.length=k+1,"text"===n.type){i=0,a=(s=n.content).length;e:for(;i=0)u=s.charCodeAt(o.index-1);else for(k=t-1;k>=0&&"softbreak"!==e[k].type&&"hardbreak"!==e[k].type;k--)if(e[k].content){u=e[k].content.charCodeAt(e[k].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=f),g||_){if(_)for(k=v.length-1;k>=0&&(l=v[k],!(v[k].level=0&&(t=this.attrs[r][1]),t},re.prototype.attrJoin=function(e,r){var t=this.attrIndex(e);t<0?this.attrPush([e,r]):this.attrs[t][1]=this.attrs[t][1]+" "+r};var te=re,ne=te;function se(e,r,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=r}se.prototype.Token=ne;var oe=se,ie=R,ae=[["normalize",function(e){var r;r=(r=e.src.replace(B,"\n")).replace(N,"�"),e.src=r}],["block",function(e){var r;e.inlineMode?((r=new e.Token("inline","",0)).content=e.src,r.map=[0,1],r.children=[],e.tokens.push(r)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var r,t,n,s=e.tokens;for(t=0,n=s.length;t=0;r--)if("link_close"!==(i=s[r]).type){if("html_inline"===i.type&&(k=i.content,/^\s]/i.test(k)&&f>0&&f--,P(i.content)&&f++),!(f>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(l=i.content,_=e.md.linkify.match(l),a=[],h=i.level,p=0,_.length>0&&0===_[0].index&&r>0&&"text_special"===s[r-1].type&&(_=_.slice(1)),c=0;c<_.length;c++)d=_[c].url,m=e.md.normalizeLink(d),e.md.validateLink(m)&&(g=_[c].text,g=_[c].schema?"mailto:"!==_[c].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[c].index)>p&&((o=new e.Token("text","",0)).content=l.slice(p,u),o.level=h,a.push(o)),(o=new e.Token("link_open","a",1)).attrs=[["href",m]],o.level=h++,o.markup="linkify",o.info="auto",a.push(o),(o=new e.Token("text","",0)).content=g,o.level=h,a.push(o),(o=new e.Token("link_close","a",-1)).level=--h,o.markup="linkify",o.info="auto",a.push(o),p=_[c].lastIndex);p=0;r--)"inline"===e.tokens[r].type&&(U.test(e.tokens[r].content)&&G(e.tokens[r].children),j.test(e.tokens[r].content)&&H(e.tokens[r].children))}],["smartquotes",function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&K.test(e.tokens[r].content)&&ee(e.tokens[r].children,e)}],["text_join",function(e){var r,t,n,s,o,i,a=e.tokens;for(r=0,t=a.length;r=o)return-1;if((t=e.src.charCodeAt(s++))<48||t>57)return-1;for(;;){if(s>=o)return-1;if(!((t=e.src.charCodeAt(s++))>=48&&t<=57)){if(41===t||46===t)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",ye="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ae=new RegExp("^(?:"+Ce+"|"+ye+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),xe=new RegExp("^(?:"+Ce+"|"+ye+")");ve.HTML_TAG_RE=Ae,ve.HTML_OPEN_CLOSE_TAG_RE=xe;var De=ve.HTML_OPEN_CLOSE_TAG_RE,we=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(De.source+"\\s*$"),/^$/,!1]],Ee=e.isSpace,qe=te,Se=e.isSpace;function Fe(e,r,t,n){var s,o,i,a,c,l,u,p;for(this.src=e,this.md=r,this.env=t,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,i=a=l=u=0,c=(o=this.src).length;a0&&this.level++,this.tokens.push(n),n},Fe.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Fe.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;er;)if(!Se(this.src.charCodeAt(--e)))return e+1;return e},Fe.prototype.skipChars=function(e,r){for(var t=this.src.length;et;)if(r!==this.src.charCodeAt(--e))return e+1;return e},Fe.prototype.getLines=function(e,r,t,n){var s,o,i,a,c,l,u,p=e;if(e>=r)return"";for(l=new Array(r-e),s=0;pt?new Array(o-t+1).join(" ")+this.src.slice(a,c):this.src.slice(a,c)}return l.join("")},Fe.prototype.Token=qe;var Le=Fe,ze=R,Te=[["table",function(e,r,t,n){var s,o,i,a,c,l,u,p,h,f,d,m,g,_,k,b,v,C;if(r+2>t)return!1;if(l=r+1,e.sCount[l]=4)return!1;if((i=e.bMarks[l]+e.tShift[l])>=e.eMarks[l])return!1;if(124!==(v=e.src.charCodeAt(i++))&&45!==v&&58!==v)return!1;if(i>=e.eMarks[l])return!1;if(124!==(C=e.src.charCodeAt(i++))&&45!==C&&58!==C&&!ue(C))return!1;if(45===v&&ue(C))return!1;for(;i=4)return!1;if((u=he(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==f.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",b=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[r,0],(h=e.push("thead_open","thead",1)).map=[r,r+1],(h=e.push("tr_open","tr",1)).map=[r,r+1],a=0;a=4)break;for((u=he(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),l===r+2&&((h=e.push("tbody_open","tbody",1)).map=g=[r+2,0]),(h=e.push("tr_open","tr",1)).map=[l,l+1],a=0;a=4))break;s=++n}return e.line=s,(o=e.push("code_block","code",0)).content=e.getLines(r,s,4+e.blkIndent,!1)+"\n",o.map=[r,e.line],!0}],["fence",function(e,r,t,n){var s,o,i,a,c,l,u,p=!1,h=e.bMarks[r]+e.tShift[r],f=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4)return!1;if(h+3>f)return!1;if(126!==(s=e.src.charCodeAt(h))&&96!==s)return!1;if(c=h,(o=(h=e.skipChars(h,s))-c)<3)return!1;if(u=e.src.slice(c,h),i=e.src.slice(h,f),96===s&&i.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;for(a=r;!(++a>=t||(h=c=e.bMarks[a]+e.tShift[a])<(f=e.eMarks[a])&&e.sCount[a]=4||(h=e.skipChars(h,s))-c=4)return!1;if(62!==e.src.charCodeAt(D++))return!1;if(n)return!0;for(a=h=e.sCount[r]+1,32===e.src.charCodeAt(D)?(D++,a++,h++,s=!1,b=!0):9===e.src.charCodeAt(D)?(b=!0,(e.bsCount[r]+h)%4==3?(D++,a++,h++,s=!1):s=!0):b=!1,f=[e.bMarks[r]],e.bMarks[r]=D;D=w,_=[e.sCount[r]],e.sCount[r]=h-a,k=[e.tShift[r]],e.tShift[r]=D-e.bMarks[r],C=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=r+1;p=(w=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(D++)||A){if(l)break;for(v=!1,i=0,c=C.length;i=w,d.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(b?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,k.push(e.tShift[p]),e.tShift[p]=D-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(y=e.push("blockquote_open","blockquote",1)).markup=">",y.map=u=[r,0],e.md.block.tokenize(e,r,p),(y=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(s=e.src.charCodeAt(c++))&&45!==s&&95!==s)return!1;for(o=1;c=4)return!1;if(e.listIndent>=0&&e.sCount[r]-e.listIndent>=4&&e.sCount[r]=e.blkIndent&&(z=!0),(w=_e(e,r))>=0){if(u=!0,q=e.bMarks[r]+e.tShift[r],g=Number(e.src.slice(q,w-1)),z&&1!==g)return!1}else{if(!((w=ge(e,r))>=0))return!1;u=!1}if(z&&e.skipSpaces(w)>=e.eMarks[r])return!1;if(m=e.src.charCodeAt(w-1),n)return!0;for(d=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=f=[r,0],L.markup=String.fromCharCode(m),k=r,E=!1,F=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";k=_?1:b-l)>4&&(c=1),a=l+c,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[r,0],u&&(L.info=e.src.slice(q,w-1)),x=e.tight,A=e.tShift[r],y=e.sCount[r],v=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[r]=o-e.bMarks[r],e.sCount[r]=b,o>=_&&e.isEmpty(r+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,r,t,!0),e.tight&&!E||(T=!1),E=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=v,e.tShift[r]=A,e.sCount[r]=y,e.tight=x,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),k=r=e.line,p[1]=k,o=e.bMarks[r],k>=t)break;if(e.sCount[k]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C3||e.sCount[A]<0)){for(_=!1,l=0,u=k.length;l=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(a=e.src.slice(c,l),s=0;s=4)return!1;if(35!==(s=e.src.charCodeAt(c))||c>=l)return!1;for(o=1,s=e.src.charCodeAt(++c);35===s&&c6||cc&&Ee(e.src.charCodeAt(i-1))&&(l=i),e.line=r+1,(a=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),a.map=[r,e.line],(a=e.push("inline","",0)).content=e.src.slice(c,l).trim(),a.map=[r,e.line],a.children=[],(a=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),0))},["paragraph","reference","blockquote"]],["lheading",function(e,r,t){var n,s,o,i,a,c,l,u,p,h,f=r+1,d=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";f3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(s=!1,o=0,i=d.length;o3||e.sCount[c]<0)){for(n=!1,s=0,o=l.length;s=t))&&!(e.sCount[i]=c){e.line=t;break}for(n=0;n?@[]^_`{|}~-".split("").forEach((function(e){Pe[e.charCodeAt(0)]=1}));var Ue={};function Ve(e,r){var t,n,s,o,i,a=[],c=r.length;for(t=0;t=0;t--)95!==(n=r[t]).marker&&42!==n.marker||-1!==n.end&&(s=r[n.end],a=t>0&&r[t-1].end===n.end+1&&r[t-1].marker===n.marker&&r[t-1].token===n.token-1&&r[n.end+1].token===s.token+1,i=String.fromCharCode(n.marker),(o=e.tokens[n.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[s.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[r[t-1].token].content="",e.tokens[r[n.end+1].token].content="",t--))}Ze.tokenize=function(e,r){var t,n,s=e.pos,o=e.src.charCodeAt(s);if(r)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),t=0;t\x00-\x20]*)$/,Qe=ve.HTML_TAG_RE,Xe=r,er=e.has,rr=e.isValidEntityCode,tr=e.fromCodePoint,nr=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,sr=/^&([a-z][a-z0-9]{1,31});/i;function or(e,r){var t,n,s,o,i,a,c,l,u={},p=r.length;if(p){var h=0,f=-2,d=[];for(t=0;ti;n-=d[n]+1)if((o=r[n]).marker===s.marker&&o.open&&o.end<0&&(c=!1,(o.close||s.open)&&(o.length+s.length)%3==0&&(o.length%3==0&&s.length%3==0||(c=!0)),!c)){l=n>0&&!r[n-1].open?d[n-1]+1:0,d[t]=t-n+l,d[n]=l,s.open=!1,o.end=t,o.close=!1,a=-1,f=-2;break}-1!==a&&(u[s.marker][(s.open?3:0)+(s.length||0)%3]=a)}}}var ir=te,ar=e.isWhiteSpace,cr=e.isPunctChar,lr=e.isMdAsciiPunct;function ur(e,r,t,n){this.src=e,this.env=t,this.md=r,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}ur.prototype.pushPending=function(){var e=new ir("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},ur.prototype.push=function(e,r,t){this.pending&&this.pushPending();var n=new ir(e,r,t),s=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(s),n},ur.prototype.scanDelims=function(e,r){var t,n,s,o,i,a,c,l,u,p=e,h=!0,f=!0,d=this.posMax,m=this.src.charCodeAt(e);for(t=e>0?this.src.charCodeAt(e-1):32;p0||(t=e.pos)+3>e.posMax||58!==e.src.charCodeAt(t)||47!==e.src.charCodeAt(t+1)||47!==e.src.charCodeAt(t+2)||!(n=e.pending.match(Be))||(s=n[1],!(o=e.md.linkify.matchAtStart(e.src.slice(t-s.length)))||(i=(i=o.url).replace(/\*+$/,""),a=e.md.normalizeLink(i),!e.md.validateLink(a)||(r||(e.pending=e.pending.slice(0,-s.length),(c=e.push("link_open","a",1)).attrs=[["href",a]],c.markup="linkify",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(i),(c=e.push("link_close","a",-1)).markup="linkify",c.info="auto"),e.pos+=i.length-s.length,0))))}],["newline",function(e,r){var t,n,s,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(t=e.pending.length-1,n=e.posMax,!r)if(t>=0&&32===e.pending.charCodeAt(t))if(t>=1&&32===e.pending.charCodeAt(t-1)){for(s=t-1;s>=1&&32===e.pending.charCodeAt(s-1);)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(o++;o=c)return!1;if(10===(t=e.src.charCodeAt(a))){for(r||e.push("hardbreak","br",0),a++;a=55296&&t<=56319&&a+1=56320&&n<=57343&&(o+=e.src[a+1],a++),s="\\"+o,r||(i=e.push("text_special","",0),t<256&&0!==Pe[t]?i.content=o:i.content=s,i.markup=s,i.info="escape"),e.pos=a+1,!0}],["backticks",function(e,r){var t,n,s,o,i,a,c,l,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(t=u,u++,n=e.posMax;u=f)return!1;if(d=a,(c=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(c.str),e.md.validateLink(u)?a=c.pos:u="",d=a;a=f||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?s=e.src.slice(d,a++):a=o+1):a=o+1,s||(s=e.src.slice(i,o)),!(l=e.env.references[Ge(s)]))return e.pos=h,!1;u=l.href,p=l.title}return r||(e.pos=i,e.posMax=o,e.push("link_open","a",1).attrs=t=[["href",u]],p&&t.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=a,e.posMax=f,!0}],["image",function(e,r){var t,n,s,o,i,a,c,l,u,p,h,f,d,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=i+1)<_&&40===e.src.charCodeAt(c)){for(c++;c<_&&(n=e.src.charCodeAt(c),We(n)||10===n);c++);if(c>=_)return!1;for(d=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?c=u.pos:m=""),d=c;c<_&&(n=e.src.charCodeAt(c),We(n)||10===n);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<_&&d!==c&&u.ok)for(p=u.str,c=u.pos;c<_&&(n=e.src.charCodeAt(c),We(n)||10===n);c++);else p="";if(c>=_||41!==e.src.charCodeAt(c))return e.pos=g,!1;c++}else{if(void 0===e.env.references)return!1;if(c<_&&91===e.src.charCodeAt(c)?(d=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?o=e.src.slice(d,c++):c=i+1):c=i+1,o||(o=e.src.slice(a,i)),!(l=e.env.references[Je(o)]))return e.pos=g,!1;m=l.href,p=l.title}return r||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,f=[]),(h=e.push("image","img",0)).attrs=t=[["src",m],["alt",""]],h.children=f,h.content=s,p&&t.push(["title",p])),e.pos=c,e.posMax=_,!0}],["autolink",function(e,r){var t,n,s,o,i,a,c=e.pos;if(60!==e.src.charCodeAt(c))return!1;for(i=e.pos,a=e.posMax;;){if(++c>=a)return!1;if(60===(o=e.src.charCodeAt(c)))return!1;if(62===o)break}return t=e.src.slice(i+1,c),Ke.test(t)?(n=e.md.normalizeLink(t),!!e.md.validateLink(n)&&(r||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(t),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=t.length+2,!0)):!!Ye.test(t)&&(n=e.md.normalizeLink("mailto:"+t),!!e.md.validateLink(n)&&(r||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(t),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=t.length+2,!0))}],["html_inline",function(e,r){var t,n,s,o,i,a,c,l=e.pos;return!(!e.md.options.html||(s=e.posMax,60!==e.src.charCodeAt(l)||l+2>=s||33!==(t=e.src.charCodeAt(l+1))&&63!==t&&47!==t&&(a=t,c=32|a,!(c>=97&&c<=122))||!(n=e.src.slice(l).match(Qe))||(r||((o=e.push("html_inline","",0)).content=e.src.slice(l,l+n[0].length),i=o.content,/^\s]/i.test(i)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(o.content)&&e.linkLevel--),e.pos+=n[0].length,0)))}],["entity",function(e,r){var t,n,s,o=e.pos,i=e.posMax;if(38!==e.src.charCodeAt(o))return!1;if(o+1>=i)return!1;if(35===e.src.charCodeAt(o+1)){if(n=e.src.slice(o).match(nr))return r||(t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),(s=e.push("text_special","",0)).content=rr(t)?tr(t):tr(65533),s.markup=n[0],s.info="entity"),e.pos+=n[0].length,!0}else if((n=e.src.slice(o).match(sr))&&er(Xe,n[1]))return r||((s=e.push("text_special","",0)).content=Xe[n[1]],s.markup=n[0],s.info="entity"),e.pos+=n[0].length,!0;return!1}]],dr=[["balance_pairs",function(e){var r,t=e.tokens_meta,n=e.tokens_meta.length;for(or(0,e.delimiters),r=0;r0&&n++,"text"===s[r].type&&r+1=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},mr.prototype.parse=function(e,r,t,n){var s,o,i,a=new this.State(e,r,t,n);for(this.tokenize(a),i=(o=this.ruler2.getRules("")).length,s=0;s=3&&":"===e[r-3]||r>=3&&"/"===e[r-3]?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,r,t){var n=e.slice(r);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},Ar="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function xr(e){var r,n,s=e.re=(r=(r=e.__opts__)||{},(n={}).src_Any=A.source,n.src_Cc=x.source,n.src_Z=D.source,n.src_P=t.source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|"),n.src_pseudo_letter="(?:(?![><|]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><|]|"+n.src_ZPCc+")(?!"+(r["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]|$)|"+(r["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+n.src_ZCc+"|$)|;(?!"+n.src_ZCc+"|$)|\\!+(?!"+n.src_ZCc+"|[!]|$)|\\?(?!"+n.src_ZCc+"|[?]|$))+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy='(^|[><|]|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n),o=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",s.src_tlds)}e.onCompile(),e.__tlds_replaced__||o.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),o.push(s.src_xn),s.src_tlds=o.join("|"),s.email_fuzzy=RegExp(i(s.tpl_email_fuzzy),"i"),s.link_fuzzy=RegExp(i(s.tpl_link_fuzzy),"i"),s.link_no_ip_fuzzy=RegExp(i(s.tpl_link_no_ip_fuzzy),"i"),s.host_fuzzy_test=RegExp(i(s.tpl_host_fuzzy_test),"i");var a=[];function c(e,r){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+r)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(r){var t=e.__schemas__[r];if(null!==t){var n={validate:null,link:null};if(e.__compiled__[r]=n,"[object Object]"===kr(t))return function(e){return"[object RegExp]"===kr(e)}(t.validate)?n.validate=function(e){return function(r,t){var n=r.slice(t);return e.test(n)?n.match(e)[0].length:0}}(t.validate):br(t.validate)?n.validate=t.validate:c(r,t),void(br(t.normalize)?n.normalize=t.normalize:t.normalize?c(r,t):n.normalize=function(e,r){r.normalize(e)});!function(e){return"[object String]"===kr(e)}(t)?c(r,t):a.push(r)}})),a.forEach((function(r){e.__compiled__[e.__schemas__[r]]&&(e.__compiled__[r].validate=e.__compiled__[e.__schemas__[r]].validate,e.__compiled__[r].normalize=e.__compiled__[e.__schemas__[r]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,r){r.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(r){return r.length>0&&e.__compiled__[r]})).map(vr).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+s.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+s.src_ZPCc+"))("+l+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Dr(e,r){var t=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(t,n);this.schema=e.__schema__.toLowerCase(),this.index=t+r,this.lastIndex=n+r,this.raw=s,this.text=s,this.url=s}function wr(e,r){var t=new Dr(e,r);return e.__compiled__[t.schema].normalize(t,e),t}function Er(e,r){if(!(this instanceof Er))return new Er(e,r);var t;r||(t=e,Object.keys(t||{}).reduce((function(e,r){return e||Cr.hasOwnProperty(r)}),!1)&&(r=e,e={})),this.__opts__=_r({},Cr,r),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=_r({},yr,e),this.__compiled__={},this.__tlds__=Ar,this.__tlds_replaced__=!1,this.re={},xr(this)}Er.prototype.add=function(e,r){return this.__schemas__[e]=r,xr(this),this},Er.prototype.set=function(e){return this.__opts__=_r(this.__opts__,e),this},Er.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var r,t,n,s,o,i,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(r=a.exec(e));)if(s=this.testSchemaAt(e,r[2],a.lastIndex)){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},Er.prototype.pretest=function(e){return this.re.pretest.test(e)},Er.prototype.testSchemaAt=function(e,r,t){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,t,this):0},Er.prototype.match=function(e){var r=0,t=[];this.__index__>=0&&this.__text_cache__===e&&(t.push(wr(this,r)),r=this.__last_index__);for(var n=r?e.slice(r):e;this.test(n);)t.push(wr(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},Er.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var r=this.re.schema_at_start.exec(e);if(!r)return null;var t=this.testSchemaAt(e,r[2],r[0].length);return t?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+t,wr(this,0)):null},Er.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,r,t){return e!==t[r-1]})).reverse(),xr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,xr(this),this)},Er.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Er.prototype.onCompile=function(){};var qr=Er,Sr=2147483647,Fr=/^xn--/,Lr=/[^\x20-\x7E]/,zr=/[\x2E\u3002\uFF0E\uFF61]/g,Tr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ir=Math.floor,Mr=String.fromCharCode; +/*! https://mths.be/punycode v1.4.1 by @mathias */function Rr(e){throw new RangeError(Tr[e])}function Br(e,r){for(var t=e.length,n=[];t--;)n[t]=r(e[t]);return n}function Nr(e,r){var t=e.split("@"),n="";return t.length>1&&(n=t[0]+"@",e=t[1]),n+Br((e=e.replace(zr,".")).split("."),r).join(".")}function Or(e){for(var r,t,n=[],s=0,o=e.length;s=55296&&r<=56319&&s65535&&(r+=Mr((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+Mr(e)})).join("")}function jr(e,r){return e+22+75*(e<26)-((0!=r)<<5)}function Ur(e,r,t){var n=0;for(e=t?Ir(e/700):e>>1,e+=Ir(e/r);e>455;n+=36)e=Ir(e/35);return Ir(n+36*e/(e+38))}function Vr(e){var r,t,n,s,o,i,a,c,l,u,p,h=[],f=e.length,d=0,m=128,g=72;for((t=e.lastIndexOf("-"))<0&&(t=0),n=0;n=128&&Rr("not-basic"),h.push(e.charCodeAt(n));for(s=t>0?t+1:0;s=f&&Rr("invalid-input"),((c=(p=e.charCodeAt(s++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||c>Ir((Sr-d)/i))&&Rr("overflow"),d+=c*i,!(c<(l=a<=g?1:a>=g+26?26:a-g));a+=36)i>Ir(Sr/(u=36-l))&&Rr("overflow"),i*=u;g=Ur(d-o,r=h.length+1,0==o),Ir(d/r)>Sr-m&&Rr("overflow"),m+=Ir(d/r),d%=r,h.splice(d++,0,m)}return Pr(h)}function Zr(e){var r,t,n,s,o,i,a,c,l,u,p,h,f,d,m,g=[];for(h=(e=Or(e)).length,r=128,t=0,o=72,i=0;i=r&&pIr((Sr-t)/(f=n+1))&&Rr("overflow"),t+=(a-r)*f,r=a,i=0;iSr&&Rr("overflow"),p==r){for(c=t,l=36;!(c<(u=l<=o?1:l>=o+26?26:l-o));l+=36)m=c-u,d=36-u,g.push(Mr(jr(u+m%d,0))),c=Ir(m/d);g.push(Mr(jr(c,0))),o=Ur(t,f,n==s),t=0,++n}++t,++r}return g.join("")}function $r(e){return Nr(e,(function(e){return Fr.test(e)?Vr(e.slice(4).toLowerCase()):e}))}function Gr(e){return Nr(e,(function(e){return Lr.test(e)?"xn--"+Zr(e):e}))}var Hr={decode:Or,encode:Pr},Jr={version:"1.4.1",ucs2:Hr,toASCII:Gr,toUnicode:$r,encode:Zr,decode:Vr},Wr=e,Yr=w,Kr=I,Qr=le,Xr=Me,et=gr,rt=qr,tt=n,nt=function(e){if(e.__esModule)return e;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}(Object.freeze({__proto__:null,decode:Vr,encode:Zr,toUnicode:$r,toASCII:Gr,version:"1.4.1",ucs2:Hr,default:Jr})),st={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},ot=/^(vbscript|javascript|file|data):/,it=/^data:image\/(gif|png|jpeg|webp);/;function at(e){var r=e.trim().toLowerCase();return!ot.test(r)||!!it.test(r)}var ct=["http:","https:","mailto:"];function lt(e){var r=tt.parse(e,!0);if(r.hostname&&(!r.protocol||ct.indexOf(r.protocol)>=0))try{r.hostname=nt.toASCII(r.hostname)}catch(t){}return tt.encode(tt.format(r))}function ut(e){var r=tt.parse(e,!0);if(r.hostname&&(!r.protocol||ct.indexOf(r.protocol)>=0))try{r.hostname=nt.toUnicode(r.hostname)}catch(t){}return tt.decode(tt.format(r),tt.decode.defaultChars+"%")}function pt(e,r){if(!(this instanceof pt))return new pt(e,r);r||Wr.isString(e)||(r=e||{},e="default"),this.inline=new et,this.block=new Xr,this.core=new Qr,this.renderer=new Kr,this.linkify=new rt,this.validateLink=at,this.normalizeLink=lt,this.normalizeLinkText=ut,this.utils=Wr,this.helpers=Wr.assign({},Yr),this.options={},this.configure(e),r&&this.set(r)}pt.prototype.set=function(e){return Wr.assign(this.options,e),this},pt.prototype.configure=function(e){var r,t=this;if(Wr.isString(e)&&!(e=st[r=e]))throw new Error('Wrong `markdown-it` preset "'+r+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)})),this},pt.prototype.enable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){t=t.concat(this[r].ruler.enable(e,!0))}),this),t=t.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return t.indexOf(e)<0}));if(n.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},pt.prototype.disable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){t=t.concat(this[r].ruler.disable(e,!0))}),this),t=t.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return t.indexOf(e)<0}));if(n.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},pt.prototype.use=function(e){var r=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,r),this},pt.prototype.parse=function(e,r){if("string"!=typeof e)throw new Error("Input data should be a String");var t=new this.core.State(e,this,r);return this.core.process(t),t.tokens},pt.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)},pt.prototype.parseInline=function(e,r){var t=new this.core.State(e,this,r);return t.inlineMode=!0,this.core.process(t),t.tokens},pt.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)};var ht=pt;exports.mt=ht; diff --git a/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.js b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.js new file mode 100644 index 0000000..e1b0ada --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),t=require("./lib/markdown-it.min.js"),l=require("./lib/highlight/uni-highlight.min.js");require("./lib/html-parser.js");const s={__name:"ua-markdown",props:{source:String,showLine:{type:[Boolean,String],default:!0}},setup(s){const r=s;let a=[];const n=t.mt({html:!0,highlight:function(e,t){let s="";try{s=l.$e.highlightAuto(e).value}catch(c){s=n.utils.escapeHtml(e)}let i=s.split(/\n/).slice(0,-1).map(((e,t)=>""==e?"":'
  • '+e+"
  • ")).join("");i=r.showLine?'
      '+i+"
    ":'
      '+i+"
    ",a.push(e);let o='
    ';return o+=`
    ${i}
    `,o+="
    ",o}}),i=e=>{if(!e)return;let t="";if((e=(e=e.replace(/
    ||
    /g,"\n")).replace(/ /g," ")).split("```").length%2){let l=e;"\n"!=l[l.length-1]&&(l+="\n"),t=n.render(l)}else t=n.render(e);return t=t.replace(//g,'
    '),t=t.replace(/||
    /g,'
    '),t},o=t=>{let{attrs:l}=t.detail.node,{"code-data-index":s,class:r}=l;"copy-btn"==r&&e.index.setClipboardData({data:a[s],showToast:!1,success(){e.index.showToast({title:"复制成功",icon:"none"})}})};return(t,l)=>({a:i(s.source),b:e.o(o)})}},r=e._export_sfc(s,[["__scopeId","data-v-68886d85"]]);wx.createComponent(r); diff --git a/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.json b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.wxml b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.wxml new file mode 100644 index 0000000..cf2a3af --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.wxss b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.wxss new file mode 100644 index 0000000..9df5479 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ua-markdown/ua-markdown.wxss @@ -0,0 +1 @@ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#c678dd}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#98c379}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#d19a66}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.ua__markdown.data-v-68886d85{font-size:14px;line-height:1.5;word-break:break-all}.ua__markdown h1.data-v-68886d85,.ua__markdown h2.data-v-68886d85,.ua__markdown h3.data-v-68886d85,.ua__markdown h4.data-v-68886d85,.ua__markdown h5.data-v-68886d85,.ua__markdown h6.data-v-68886d85{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.ua__markdown h1.data-v-68886d85,.ua__markdown h2.data-v-68886d85,.ua__markdown h3.data-v-68886d85{margin-top:20px;margin-bottom:10px}.ua__markdown h4.data-v-68886d85,.ua__markdown h5.data-v-68886d85,.ua__markdown h6.data-v-68886d85{margin-top:10px;margin-bottom:10px}.ua__markdown .h1.data-v-68886d85,.ua__markdown h1.data-v-68886d85{font-size:36px}.ua__markdown .h2.data-v-68886d85,.ua__markdown h2.data-v-68886d85{font-size:30px}.ua__markdown .h3.data-v-68886d85,.ua__markdown h3.data-v-68886d85{font-size:24px}.ua__markdown .h4.data-v-68886d85,.ua__markdown h4.data-v-68886d85{font-size:18px}.ua__markdown .h5.data-v-68886d85,.ua__markdown h5.data-v-68886d85{font-size:14px}.ua__markdown .h6.data-v-68886d85,.ua__markdown h6.data-v-68886d85{font-size:12px}.ua__markdown a.data-v-68886d85{background-color:transparent;color:#2196f3;text-decoration:none}.ua__markdown hr.data-v-68886d85,.ua__markdown.data-v-68886d85 .hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #e5e5e5}.ua__markdown img.data-v-68886d85{max-width:35%}.ua__markdown p.data-v-68886d85{margin:0 0 10px}.ua__markdown em.data-v-68886d85{font-style:italic;font-weight:inherit}.ua__markdown ol.data-v-68886d85,.ua__markdown ul.data-v-68886d85{margin-top:0;margin-bottom:10px;padding-left:40px}.ua__markdown ol ol.data-v-68886d85,.ua__markdown ol ul.data-v-68886d85,.ua__markdown ul ol.data-v-68886d85,.ua__markdown ul ul.data-v-68886d85{margin-bottom:0}.ua__markdown ol ol.data-v-68886d85,.ua__markdown ul ol.data-v-68886d85{list-style-type:lower-roman}.ua__markdown ol ol ol.data-v-68886d85,.ua__markdown ul ul ol.data-v-68886d85{list-style-type:lower-alpha}.ua__markdown dl.data-v-68886d85{margin-top:0;margin-bottom:20px}.ua__markdown dt.data-v-68886d85{font-weight:600}.ua__markdown dt.data-v-68886d85,.ua__markdown dd.data-v-68886d85{line-height:1.4}.ua__markdown .task-list-item.data-v-68886d85{list-style-type:none}.ua__markdown .task-list-item input.data-v-68886d85{margin:0 .2em .25em -1.6em;vertical-align:middle}.ua__markdown pre.data-v-68886d85{position:relative;z-index:11}.ua__markdown code.data-v-68886d85,.ua__markdown kbd.data-v-68886d85,.ua__markdown pre.data-v-68886d85,.ua__markdown samp.data-v-68886d85{font-family:Menlo,Monaco,Consolas,Courier New,monospace}.ua__markdown code.data-v-68886d85:not(.hljs){padding:2px 4px;font-size:90%;color:#c7254e;background-color:#ffe7ee;border-radius:4px}.ua__markdown code.data-v-68886d85:empty{display:none}.ua__markdown pre code.hljs.data-v-68886d85{color:var(--vg__text-1);border-radius:16px;background:var(--vg__bg-1);font-size:12px}.ua__markdown .markdown-wrap.data-v-68886d85{font-size:12px;margin-bottom:10px}.ua__markdown pre.code-block-wrapper.data-v-68886d85{background:#2b2b2b;color:#f8f8f2;border-radius:4px;overflow-x:auto;padding:1em;position:relative}.ua__markdown pre.code-block-wrapper code.data-v-68886d85{padding:auto;font-size:inherit;color:inherit;background-color:inherit;border-radius:0}.ua__markdown .code-block-header__copy.data-v-68886d85{font-size:16px;margin-left:5px}.ua__markdown abbr[data-original-title].data-v-68886d85,.ua__markdown abbr[title].data-v-68886d85{cursor:help;border-bottom:1px dotted #777}.ua__markdown blockquote.data-v-68886d85{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #e5e5e5}.ua__markdown blockquote ol.data-v-68886d85:last-child,.ua__markdown blockquote p.data-v-68886d85:last-child,.ua__markdown blockquote ul.data-v-68886d85:last-child{margin-bottom:0}.ua__markdown blockquote .small.data-v-68886d85,.ua__markdown blockquote footer.data-v-68886d85,.ua__markdown blockquote small.data-v-68886d85{display:block;font-size:80%;line-height:1.42857143;color:#777}.ua__markdown blockquote .small.data-v-68886d85:before,.ua__markdown blockquote footer.data-v-68886d85:before,.ua__markdown blockquote small.data-v-68886d85:before{content:"\2014\a0"}.ua__markdown .blockquote-reverse.data-v-68886d85,.ua__markdown blockquote.pull-right.data-v-68886d85{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.ua__markdown .blockquote-reverse .small.data-v-68886d85:before,.ua__markdown .blockquote-reverse footer.data-v-68886d85:before,.ua__markdown .blockquote-reverse small.data-v-68886d85:before,.ua__markdown blockquote.pull-right .small.data-v-68886d85:before,.ua__markdown blockquote.pull-right footer.data-v-68886d85:before,.ua__markdown blockquote.pull-right small.data-v-68886d85:before{content:""}.ua__markdown .blockquote-reverse .small.data-v-68886d85:after,.ua__markdown .blockquote-reverse footer.data-v-68886d85:after,.ua__markdown .blockquote-reverse small.data-v-68886d85:after,.ua__markdown blockquote.pull-right .small.data-v-68886d85:after,.ua__markdown blockquote.pull-right footer.data-v-68886d85:after,.ua__markdown blockquote.pull-right small.data-v-68886d85:after{content:"\a0\2014"}.ua__markdown .footnotes.data-v-68886d85{column-count:2}.ua__markdown .footnotes-list.data-v-68886d85{padding-left:2em}.ua__markdown table.data-v-68886d85,.ua__markdown.data-v-68886d85 .table{border-spacing:0;border-collapse:collapse;width:100%;max-width:65em;overflow:auto;margin-top:0;margin-bottom:16px}.ua__markdown table tr.data-v-68886d85,.ua__markdown.data-v-68886d85 .table .tr{border-top:1px solid #e5e5e5}.ua__markdown table th.data-v-68886d85,.ua__markdown table td.data-v-68886d85,.ua__markdown.data-v-68886d85 .table .th,.ua__markdown.data-v-68886d85 .table .td{padding:6px 13px;border:1px solid #e5e5e5}.ua__markdown table th.data-v-68886d85,.ua__markdown.data-v-68886d85 .table .th{font-weight:600;background-color:#eee}.ua__markdown .hljs[class*=language-].data-v-68886d85:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.8em;color:#999}.ua__markdown .hljs[class~=language-js].data-v-68886d85:before{content:"js"}.ua__markdown .hljs[class~=language-ts].data-v-68886d85:before{content:"ts"}.ua__markdown .hljs[class~=language-html].data-v-68886d85:before{content:"html"}.ua__markdown .hljs[class~=language-md].data-v-68886d85:before{content:"md"}.ua__markdown .hljs[class~=language-vue].data-v-68886d85:before{content:"vue"}.ua__markdown .hljs[class~=language-css].data-v-68886d85:before{content:"css"}.ua__markdown .hljs[class~=language-sass].data-v-68886d85:before{content:"sass"}.ua__markdown .hljs[class~=language-scss].data-v-68886d85:before{content:"scss"}.ua__markdown .hljs[class~=language-less].data-v-68886d85:before{content:"less"}.ua__markdown .hljs[class~=language-stylus].data-v-68886d85:before{content:"stylus"}.ua__markdown .hljs[class~=language-go].data-v-68886d85:before{content:"go"}.ua__markdown .hljs[class~=language-java].data-v-68886d85:before{content:"java"}.ua__markdown .hljs[class~=language-c].data-v-68886d85:before{content:"c"}.ua__markdown .hljs[class~=language-sh].data-v-68886d85:before{content:"sh"}.ua__markdown .hljs[class~=language-yaml].data-v-68886d85:before{content:"yaml"}.ua__markdown .hljs[class~=language-py].data-v-68886d85:before{content:"py"}.ua__markdown .hljs[class~=language-docker].data-v-68886d85:before{content:"docker"}.ua__markdown .hljs[class~=language-dockerfile].data-v-68886d85:before{content:"dockerfile"}.ua__markdown .hljs[class~=language-makefile].data-v-68886d85:before{content:"makefile"}.ua__markdown .hljs[class~=language-javascript].data-v-68886d85:before{content:"js"}.ua__markdown .hljs[class~=language-typescript].data-v-68886d85:before{content:"ts"}.ua__markdown .hljs[class~=language-markup].data-v-68886d85:before{content:"html"}.ua__markdown .hljs[class~=language-markdown].data-v-68886d85:before{content:"md"}.ua__markdown .hljs[class~=language-json].data-v-68886d85:before{content:"json"}.ua__markdown .hljs[class~=language-ruby].data-v-68886d85:before{content:"rb"}.ua__markdown .hljs[class~=language-python].data-v-68886d85:before{content:"py"}.ua__markdown .hljs[class~=language-bash].data-v-68886d85:before{content:"sh"}.ua__markdown .hljs[class~=language-php].data-v-68886d85:before{content:"php"} diff --git a/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.js b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.js new file mode 100644 index 0000000..a8552a9 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.js @@ -0,0 +1 @@ +"use strict";const e=require("../../utils/util.js"),t=require("../../common/vendor.js"),r={name:"ywjg-view",data:()=>({getRateUpOrDown:e.getRateUpOrDown}),props:{businessStructureList:Array,businessSegmentList:Array}};const n=t._export_sfc(r,[["render",function(e,r,n,i,s,o){return{a:t.f(n.businessStructureList,((e,r,n)=>t.e({a:t.t(e.business_name),b:e.is_hexin},(e.is_hexin,{}),{c:t.t(e.financial_metrics.revenue_ratio),d:e.financial_metrics.gross_margin},e.financial_metrics.gross_margin?{e:t.t(e.financial_metrics.gross_margin)}:{},{f:t.t(e.revenue),g:t.t(e.revenue_unit),h:e.growth_metrics.revenue_growth},e.growth_metrics.revenue_growth?{i:t.t(e.growth_metrics.revenue_growth),j:t.n("growthRate "+(s.getRateUpOrDown(e.growth_metrics.revenue_growth)?"down":"up"))}:{},{k:r}))),b:t.f(n.businessSegmentList,((e,r,n)=>({a:t.t(e.segment_name),b:t.t(e.segment_description),c:t.t(e.competitive_position),d:t.t(e.future_potential),e:r})))}}]]);wx.createComponent(n); diff --git a/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.json b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.wxml b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.wxml new file mode 100644 index 0000000..3fff3e0 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.wxml @@ -0,0 +1 @@ +业务结构分析{{item.a}} 核心业务 营收占比:{{item.c}}% 毛利率:{{item.e}}% 毛利率:-营业收入{{item.f}}{{item.g}} 增长:{{item.i}}% 增长:-业务板块详情{{item.a}}业务描述{{item.b}}竞争地位{{item.c}}未来潜力{{item.d}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.wxss b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.wxss new file mode 100644 index 0000000..d7610c0 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/ywjg-view/ywjg-view.wxss @@ -0,0 +1 @@ +.ywjg_list{color:#2b2b2b}.ywjg_list .title{font-size:28rpx;font-weight:700}.ywjg_list .ywjg_item_1{font-weight:500;margin:20rpx;background-color:#fafafc;border-radius:10rpx;padding:25rpx 20rpx}.ywjg_list .ywjg_item_1 .growthRate{padding:0 10rpx;line-height:30rpx;border-radius:5rpx;font-size:20rpx;color:#fff}.ywjg_list .ywjg_item_1 .growthRate.up{background-color:#ec3440}.ywjg_list .ywjg_item_1 .growthRate.down{background-color:#345423} diff --git a/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.js b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.js new file mode 100644 index 0000000..aa6605f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.js @@ -0,0 +1 @@ +"use strict";const i=require("../../common/vendor.js"),t=require("../../common/assets.js"),e=require("../../uni_modules/lime-echart/static/echarts.min.js"),o={name:"zlfx-view",data:()=>({option:{title:{show:!1},legend:{show:!1},tooltip:{show:!0,triggerOn:"mousemove"},radar:{indicator:[{name:"市场地位",max:100},{name:"技术实力",max:100},{name:"品牌价值",max:100},{name:"运营效率",max:100},{name:"财务健康",max:100},{name:"创新能力",max:100},{name:"风险控制",max:100},{name:"成长潜力",max:100}],shape:"polygon",splitNumber:5,axisName:{color:"#54555A"},splitLine:{lineStyle:{color:["#CFD2D7"]}},splitArea:{areaStyle:{color:["#F4F6FA","white"]}},axisLine:{lineStyle:{color:"#CFD2D7"}}},series:[{name:"Beijing",type:"radar",lineStyle:{width:1},data:[],symbol:"circle",symbolSize:4,label:{show:!0},itemStyle:{color:"#5070DD"},areaStyle:{opacity:.1}}]}}),props:{qualitativeAnalysisInfo:Object,competitivePositionInfo:Object,mainCompetitorsList:Array,industryRankInfo:Object,scoreList:Array,data:Array},watch:{data(i){this.option.series[0].data=i,this.init()}},methods:{async init(){const i=await this.$refs.chartRef.init(e);console.log(i),i.setOption(this.option)},clickIndustryRank(){this.$emit("rank")}}};if(!Array){i.resolveComponent("l-echart")()}Math;const n=i._export_sfc(o,[["render",function(e,o,n,a,s,r){return i.e({a:n.qualitativeAnalysisInfo},n.qualitativeAnalysisInfo?{b:i.t(n.qualitativeAnalysisInfo.core_positioning.one_line_intro)}:{},{c:n.qualitativeAnalysisInfo},n.qualitativeAnalysisInfo?{d:i.t(n.qualitativeAnalysisInfo.core_positioning.investment_highlights)}:{},{e:n.qualitativeAnalysisInfo},n.qualitativeAnalysisInfo?{f:i.t(n.qualitativeAnalysisInfo.core_positioning.business_model_desc)}:{},{g:t._imports_0$5,h:n.industryRankInfo},n.industryRankInfo?{i:i.t(n.industryRankInfo.industry_rank),j:i.t(n.industryRankInfo.total_companies)}:{},{k:i.o((i=>r.clickIndustryRank())),l:i.f(n.mainCompetitorsList,((t,e,o)=>({a:i.t(t),b:e}))),m:t._imports_1$13,n:i.f(n.scoreList,((t,e,o)=>({a:t.icon,b:i.t(t.title),c:i.n("progress absolute "+t.color),d:i.s("width: "+t.score+"%;"),e:i.t(t.score),f:i.n("item flex "+t.color),g:e}))),o:i.sr("chartRef","332014ba-0"),p:n.competitivePositionInfo},n.competitivePositionInfo?{q:i.t(n.competitivePositionInfo.analysis.competitive_advantages)}:{},{r:n.competitivePositionInfo},n.competitivePositionInfo?{s:i.t(n.competitivePositionInfo.analysis.competitive_disadvantages)}:{})}]]);wx.createComponent(n); diff --git a/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.json b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.json new file mode 100644 index 0000000..61b3d8d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.wxml b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.wxml new file mode 100644 index 0000000..8248685 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.wxml @@ -0,0 +1 @@ +核心定位{{b}}投资亮点{{d}}商业模式{{f}}竞争地位分析行业排名 {{i}}/{{j}}主要竞争对手{{item.a}}{{item.b}}{{item.e}}竞争优势{{q}}竞争劣势{{s}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.wxss b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.wxss new file mode 100644 index 0000000..8609a1b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zlfx-view/zlfx-view.wxss @@ -0,0 +1 @@ +.strategicAnalysisList{padding:0 20rpx}.strategicAnalysisList .section{line-height:72rpx;font-size:28rpx;font-weight:700;color:#2b2b2b}.strategicAnalysisList .section .industryRankC{margin-left:10rpx;padding:0 12rpx;line-height:38rpx;border:solid 1rpx #F2C369;border-radius:19rpx;font-size:20rpx;font-weight:500;color:#f3c368}.strategicAnalysisList .section .industryRankC .icon{margin-right:5rpx;width:17rpx;height:auto}.strategicAnalysisList .corePositionC{background-color:#fafafc;padding:20rpx;font-size:24rpx;font-weight:500;color:#2a2a2a;border-radius:10rpx}.strategicAnalysisList .highlightsList .item{background-color:#fafafc;margin-bottom:20rpx;padding:20rpx;border-radius:10rpx}.strategicAnalysisList .highlightsList .item .icon{width:81rpx;height:auto}.strategicAnalysisList .highlightsList .item .title{font-size:22rpx;font-weight:500;color:#999}.strategicAnalysisList .highlightsList .item .content{font-size:20rpx;font-weight:500;color:#2a2a2a}.strategicAnalysisList .infoC{background-color:#fafafc;border-radius:10rpx;padding:12rpx 20rpx;margin-bottom:20rpx}.strategicAnalysisList .infoC .infoItem{line-height:40rpx}.strategicAnalysisList .infoC .title{font-size:22rpx;font-weight:500;color:#2a2a2a}.strategicAnalysisList .infoC .content{margin-top:10rpx;font-size:20rpx;font-weight:500;color:#999}.strategicAnalysisList .infoC .content.code{color:#bb8520}.strategicAnalysisList .infoC .content.rightAlign{text-align:right}.strategicAnalysisList .infoC .labelList{margin-top:10rpx}.strategicAnalysisList .infoC .labelList .labelC{background-color:#fff7e9;margin:0 12rpx 12rpx 0;padding:0 10rpx;line-height:38rpx;border:solid 1rpx #F2C369;border-radius:20rpx;font-size:22rpx;font-weight:500;color:#f3c368}.strategicAnalysisList .infoC .labelList .labelC .icon{margin-right:3rpx;width:16rpx;height:auto}.strategicAnalysisList .subSection{line-height:60rpx;font-size:24rpx;font-weight:700;color:#2a2a2a}.strategicAnalysisList .mainCompetitorList .item{background-color:#fff7e9;margin:0 20rpx 20rpx 0;padding:0 16rpx;line-height:38rpx;border-radius:20rpx;border:solid 1rpx #F2C369;font-size:22rpx;font-weight:500;color:#f3c368}.strategicAnalysisList .mainCompetitorList .item .icon{margin-right:3rpx;width:16rpx;height:auto}.strategicAnalysisList .scoreList .item{margin-bottom:40rpx;font-size:24rpx}.strategicAnalysisList .scoreList .item .icon{margin-right:10rpx;width:24rpx;height:auto}.strategicAnalysisList .scoreList .item .title{margin-right:15rpx;font-weight:500;color:#232323}.strategicAnalysisList .scoreList .item .progressBgC{background-color:#efefef;margin-right:15rpx;height:10rpx;border-radius:5rpx}.strategicAnalysisList .scoreList .item .progressBgC .progress{top:0;left:0;height:10rpx;border-radius:5rpx}.strategicAnalysisList .scoreList .item .progressBgC .progress.blue{background:linear-gradient(90deg,#4aafff,#1f83fd)}.strategicAnalysisList .scoreList .item .progressBgC .progress.purple{background:linear-gradient(90deg,#dd96fc,#c061fd)}.strategicAnalysisList .scoreList .item .score{font-weight:800;color:#070707} diff --git a/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.js b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.js new file mode 100644 index 0000000..f709877 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../utils/util.js"),i=require("../../uni_modules/lime-echart/static/echarts.min.js"),o={name:"zysj-view",data:()=>({option1:{legend:{show:!0,data:["营业收入","净利润"]},grid:{left:"2%",right:"2%",top:"5%",bottom:"30%"},xAxis:{type:"category",data:[],axisLabel:{}},yAxis:[{type:"value",name:"营收(亿)",position:"left",alignTicks:!0,axisLine:{onZero:!1}},{type:"value",name:"利润(亿)",position:"right",alignTicks:!0,axisLine:{onZero:!1}}],dataZoom:[{type:"slider"}],series:[{type:"bar",name:"营业收入",data:[],yAxisIndex:0},{type:"line",name:"净利润",data:[],yAxisIndex:1}]},option2:{title:{text:"",textStyle:{fontSize:12}},legend:{show:!0},grid:{left:0,right:0,top:"5%",bottom:"5%"},series:[{data:[],type:"pie",center:["50%","50%"],label:{formatter:"{d}%"}}]},getChgRateStr:e.getChgRateStr,getNumStr:e.getNumStr}),props:{stockInfo:Object,financialMetricsInfo:Object,barCategoryList:Array,barList:Array,lineList:Array,productClassificationList:Array},watch:{barCategoryList(t){this.option1.xAxis.data=t},barList(t){this.option1.series[0].data=t,this.barLineInit()},lineList(t){this.option1.series[1].data=t,this.barLineInit()},productClassificationList(t){let e=t[0].products;this.option2.title.text="主营业务构成("+t[0].report_type+")";let i=[];for(let o of e)i.push({name:o.content,value:o.revenue_ratio.toFixed(2)});this.option2.series[0].data=i,this.pieInit()}},methods:{async barLineInit(){const t=await this.$refs.chartRef1.init(i);let e=this;setTimeout((function(){t.setOption(e.option1)}),2e3)},async pieInit(){const t=await this.$refs.chartRef2.init(i);let e=this;setTimeout((function(){t.setOption(e.option2)}),2e3)},getDebtStatusText:t=>t<40?{text:"安全",color:"green"}:t<60?{text:"适中",color:"gold"}:t<70?{text:"偏高",color:"orange"}:{text:"风险",color:"red"},itemClick(e){t.index.navigateTo({url:`/pagesStock/stockCenterDetails/cwDetails?index=${e}`})}}};if(!Array){t.resolveComponent("l-echart")()}Math;const r=t._export_sfc(o,[["render",function(e,i,o,r,n,a){return t.e({a:o.stockInfo},o.stockInfo?t.e({b:t.t(n.getChgRateStr(o.stockInfo.growth_rates.profit_growth)),c:t.t(n.getChgRateStr(o.stockInfo.growth_rates.revenue_growth)),d:t.t(n.getChgRateStr(o.stockInfo.key_metrics.roe)),e:t.t(n.getChgRateStr(o.stockInfo.key_metrics.net_margin)),f:t.t(n.getChgRateStr(o.stockInfo.key_metrics.gross_margin)),g:o.financialMetricsInfo},o.financialMetricsInfo?{h:t.t(o.financialMetricsInfo.solvency.asset_liability_ratio),i:t.t(a.getDebtStatusText(o.financialMetricsInfo.solvency.asset_liability_ratio).text),j:t.s("color: "+a.getDebtStatusText(o.financialMetricsInfo.solvency.asset_liability_ratio).color),k:t.t(o.financialMetricsInfo.solvency.current_ratio),l:t.t(o.financialMetricsInfo.expense_ratios.rd_expense_ratio)}:{}):{},{m:t.sr("chartRef1","cf18d1d4-0"),n:t.sr("chartRef2","cf18d1d4-1"),o:t.f(["业务","毛利率","利润","营收","营收"],((e,i,o)=>t.e({a:t.t(e),b:["","(2025年中报)","(2025年中报)","(2025年中报)","(2024年年报)"][i].length>0},["","(2025年中报)","(2025年中报)","(2025年中报)","(2024年年报)"][i].length>0?{c:t.t(["","(2025年中报)","(2025年中报)","(2025年中报)","(2024年年报)"][i]),d:0==i?"left":"center"}:{},{e:0==i?"left":"center",f:0==i?"flex-start":"center"}))),p:o.productClassificationList.length>0},o.productClassificationList.length>0?{q:t.f(o.productClassificationList[0].products,((e,i,o)=>({a:t.t(e.content),b:t.t(e.profit_margin.toFixed(2)),c:t.t(n.getNumStr(e.profit)),d:t.t(n.getNumStr(e.revenue)),e:t.t(e.content),f:i,g:i%2==0?"#FFFFFF":"#FAFAFC"})))}:{})}]]);wx.createComponent(r); diff --git a/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.json b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.json new file mode 100644 index 0000000..61b3d8d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.wxml b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.wxml new file mode 100644 index 0000000..4d54eff --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.wxml @@ -0,0 +1 @@ +{{b}}%利润增长成长能力增长动力营收增长{{c}}%(稳健增长){{d}}%ROE盈利与回报赚钱能力良好净利率 {{e}}%|毛利率 {{f}}%{{h}}%资产负债率风险与运营安全边际{{i}}流动比率 {{k}}|研发费用率 {{l}}% 营收与利润趋势主营业务 主营业务明细与历史对比{{item.a}}{{item.c}}{{item.a}}{{item.b}}%{{item.c}}{{item.d}}{{item.e}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.wxss b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.wxss new file mode 100644 index 0000000..aa4adb4 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/components/zysj-view/zysj-view.wxss @@ -0,0 +1 @@ +.table .item{font-size:20rpx;font-weight:500;color:#666}.table .item.center{text-align:center} diff --git a/unpackage/dist/build/mp-weixin/custom-tab-bar/index.js b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.js new file mode 100644 index 0000000..a2cebd0 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.js @@ -0,0 +1,87 @@ +// components/custom-tab-bar/index.js +const app = getApp(); + +Component({ + /** + * 组件的属性列表 + */ + properties: { + + }, + + /** + * 组件的初始数据 + */ + data: { + color: "#858C9A", + selected:0, + selectedColor: "#F3C368", + list: [ + { + "pagePath": "/pages/index/index", + "text": "新闻动量", + "iconPath": "/static/icon/tabbar/home.png", + "selectedIconPath": "/static/icon/tabbar/home_s.png" + }, + { + "pagePath": "/pages/concept/concept", + "text": "概念中心", + "iconPath": "/static/icon/tabbar/concept.png", + "selectedIconPath": "/static/icon/tabbar/concept_s.png" + }, + { + "pagePath": "/pages/geGuCenter/geGuCenter", + "text": "个股中心", + "iconPath": "/static/icon/tabbar/gegu.png", + "selectedIconPath": "/static/icon/tabbar/gegu_s.png" + }, + { + "pagePath": "/pages/ztfx/ztfx", + "text": "涨停分析", + "iconPath": "/static/icon/tabbar/zt.png", + "selectedIconPath": "/static/icon/tabbar/zt_s.png" + }, + { + "pagePath": "/pages/mine/mine", + "text": "个人中心", + "iconPath": "/static/icon/tabbar/mine.png", + "selectedIconPath": "/static/icon/tabbar/mine_s.png" + } + ] + }, + attached() { + this.setData({ + selected:app.globalData.tabIndex + }) + }, + /** + * 组件的方法列表 + */ + methods: { + switchTab(e) { + const data = e.currentTarget.dataset; + const url = data.path; + const index = data.index + if(index==3) + { + //如果是购物车和我的,需要登录 + let token = wx.getStorageSync('token') + if (!token) { + wx.navigateTo({ + url:'/pages/login/login' + }) + return + } + } + app.globalData.tabIndex = index + wx.switchTab({url}) + }, + navigateTo(e) { + const data = e.currentTarget.dataset; + const url = data.path; + wx.navigateTo({ + url: url + }) + } + } +}) diff --git a/unpackage/dist/build/mp-weixin/custom-tab-bar/index.json b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.json new file mode 100644 index 0000000..fba482a --- /dev/null +++ b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.json @@ -0,0 +1,3 @@ +{ + "component": true +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxml b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxml new file mode 100644 index 0000000..cc71b77 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxml @@ -0,0 +1,8 @@ + + + + + {{item.text}} + + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxss b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxss new file mode 100644 index 0000000..293fa2e --- /dev/null +++ b/unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxss @@ -0,0 +1,55 @@ +/* components/custom-tab-bar/index.wxss */ +.tab-bar { + background-color: black; + position: fixed; + bottom: 0; + left: 0; + right: 0; + height: 55px; + display: flex; + padding-bottom: env(safe-area-inset-bottom); + box-sizing: content-box; + /* box-shadow: 0 -1px 5rpx 0 #eee; */ + z-index: 99; +} +.tab-bar-item +{ + flex: 1; + text-align: center; + display: flex; + align-items: center; + flex-direction: column; +} + .tab-bar-item .image { + margin: 16rpx 0 8rpx 0; + width: auto; + height: 41rpx; + } + .bulge + { + position: relative; + } + .bulge .image + { + position: absolute; + top: -47rpx; + width: 94rpx; + height: 94rpx; + } + .bulge .tab-bar-view + { + margin-top: 60rpx; + } + .tab-bar-item .tab-bar-view { + font-size: 22rpx; + font-weight: 500; + } + .tab-bar .bg + { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: auto; + z-index: -1; + } \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/concept.js b/unpackage/dist/build/mp-weixin/pages/concept/concept.js new file mode 100644 index 0000000..c1df5aa --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/concept.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../request/api.js"),s=require("../../utils/util.js"),a=require("../../common/assets.js"),c={data:()=>({navH:t.inject("navHeight"),listTop:"",sortListTop:"",keywords:"",newestPriceDate:"",popType:"",cycleList:["3天","7天","14天","自定义"],selectCycleIndex:0,startDateStr:"",endDateStr:"",selectStartDateStr:"",selectStartMonthIndex:0,selectStartMonth:"",selectEndDateStr:"",selectEndMonthIndex:0,selectEndMonth:"",rankTabList:[{icon:"/static/icon/home/conceptCenter/increaseRate.png",selectIcon:"/static/icon/home/conceptCenter/increaseRate_s.png",title:"涨幅榜"},{icon:"/static/icon/home/conceptCenter/decreaseRate.png",selectIcon:"/static/icon/home/conceptCenter/decreaseRate_s.png",title:"跌幅榜"},{icon:"/static/icon/home/conceptCenter/active.png",selectIcon:"/static/icon/home/conceptCenter/active_s.png",title:"活跃榜"},{icon:"/static/icon/home/conceptCenter/fluctuate.png",selectIcon:"/static/icon/home/conceptCenter/fluctuate_s.png",title:"波动榜"},{icon:"/static/icon/home/conceptCenter/continuousRise.png",selectIcon:"/static/icon/home/conceptCenter/continuousRise_s.png",title:"连涨榜"}],selectTab:0,rankList:[],sortTypeList:[{icon:"/static/icon/home/conceptCenter/chgSort.png",name:"涨跌幅",key:"change_pct"},{icon:"/static/icon/home/conceptCenter/correlationSort.png",name:"相关度",key:"_score"},{icon:"/static/icon/home/conceptCenter/stockNumSort.png",name:"股票数量",key:"stock_count"},{icon:"/static/icon/home/conceptCenter/conceptNameSort.png",name:"概念名称",key:"concept_name"}],sortType:"change_pct",sortTypeStr:"涨跌幅",weekList:["一","二","三","四","五","六","日"],monthDateList:[],selectMonthIndex:0,selectMonth:"",selectDateStr:"",selectTradeDateStr:"",selectTradeMonthIndex:0,selectTradeMonth:"",quickTimeList:["今天","昨天","一周前","一月前"],conceptList:[],page:1,isRefreshing:!1,loadAll:!1,getRateUpOrDown:s.getRateUpOrDown,getChgRateStr:s.getChgRateStr,memberInfo:null}),onLoad(){this.listTop=this.navH+160/750*t.inject("windowWidth"),this.sortListTop=this.navH+160/750*t.inject("windowWidth");let e=new Date,s=e.getFullYear(),a=e.getMonth()+1,c=e.getDate();this.selectMonthIndex=this.selectTradeMonthIndex=this.selectEndMonthIndex=240+a-1,this.selectMonth=this.selectTradeMonth=this.selectEndMonth=s+"年"+a+"月",this.selectDateStr=this.selectTradeDateStr=this.endDateStr=this.selectEndDateStr=s+"-"+(a>9?a:"0"+a)+"-"+(c>9?c:"0"+c);let n=new Date(e);n.setDate(n.getDate()-3);let i=n.getFullYear(),o=n.getMonth()+1,l=n.getDate();this.selectStartMonthIndex=12*(20+s-i)+o-1,this.selectStartMonth=i+"年"+o+"月",this.startDateStr=this.selectStartDateStr=i+"-"+(o>9?o:"0"+o)+"-"+(l>9?l:"0"+l),this.generateMonthDateListData(),this.getNewestPriceDateData(),this.getRankListData(),this.getMemberStatusData()},methods:{generateMonthDateListData(){let t=new Date,e=t.getFullYear(),s=t.getMonth()+1,a=t.getDate(),c=[];for(var n=e-20;n9?c:"0"+c)+"-"+(l>9?l:"0"+l);p.push({date:h,year:n,month:c,day:l,isToday:n==e&&c==s&&l==a,isCurrentMonth:!0,timestamp:r})}for(o=0;o9?c:"0"+c)+"-"+(l>9?l:"0"+l);p.unshift({date:h,year:t,month:c,day:l,isToday:!1,isCurrentMonth:!1,timestamp:r})}let d=new Date(n,i+1,1),D=new Date(d-864e5).getDay()||7;for(o=1;o<8-D;o++){let t=n,e=i;e>11&&(e=0,t++);let s=new Date(t,e+1,o),a=s.getMonth()+1,c=s.getDate(),l=s.getTime(),r=t+"-"+(a>9?a:"0"+a)+"-"+(c>9?c:"0"+c);p.push({date:r,year:t,month:a,day:c,isToday:!1,isCurrentMonth:!1,timestamp:l})}c.push(p)}this.monthDateList=c},pullDownRefresh(){this.isRefreshing=!0,this.clickSearch()},loadMoreData(){this.loadAll||(this.page++,this.getConceptCenterData())},clickSearch(){this.page=1,this.getConceptCenterData()},clickRank(){this.$refs.rankPopup.open()},clickRankClose(){this.$refs.rankPopup.close()},clickRankCycleListItem(t){if(this.selectCycleIndex!=t)if(this.selectCycleIndex=t,3==t);else{let e=new Date,s=e.getFullYear(),a=e.getMonth()+1,c=e.getDate(),n=new Date(e);0==t?n.setDate(n.getDate()-3):1==t?n.setDate(n.getDate()-7):2==t&&n.setDate(n.getDate()-14);let i=n.getFullYear(),o=n.getMonth()+1,l=n.getDate();this.endDateStr=this.selectEndDateStr=s+"-"+(a>9?a:"0"+a)+"-"+(c>9?c:"0"+c),this.startDateStr=this.selectStartdateStr=i+"-"+(o>9?o:"0"+o)+"-"+(l>9?l:"0"+l),this.getRankListData()}},clickCustomDateCycle(t){this.popType=t,2==t?(this.selectDateStr=this.selectStartDateStr,this.selectMonth=this.selectStartMonth,this.selectMonthIndex=this.selectStartMonthIndex):(this.selectDateStr=this.selectEndDateStr,this.selectMonth=this.selectEndMonth,this.selectMonthIndex=this.selectEndMonthIndex),this.$refs.transactionDatePopup.open()},clickApply(){new Date(this.selectStartDateStr)>new Date(this.selectEndDateStr)?t.index.showToast({title:"开始日期不能晚于结束日期",icon:"none"}):(this.startDateStr=this.selectStartDateStr,this.endDateStr=this.selectEndDateStr,this.getRankListData())},clickRankTabItem(t){this.selectTab!=t&&(this.selectTab=t,this.getRankListData())},clickSortType(){this.$refs.sortTypePopup.open()},clickSortListItem(t){this.sortType=t.key,this.sortTypeStr=t.name,this.clickSearch(),this.$refs.sortTypePopup.close()},clickTransactionDate(){this.popType=1,this.selectDateStr=this.selectTradeDateStr,this.selectMonth=this.selectTradeMonth,this.selectMonthIndex=this.selectTradeMonthIndex,this.$refs.transactionDatePopup.open()},clickCancel(){this.$refs.transactionDatePopup.close()},clickConfirm(){this.clickCancel(),1==this.popType?(this.selectTradeDateStr=this.selectDateStr,this.selectTradeMonth=this.selectMonth,this.selectTradeMonthIndex=this.selectMonthIndex,this.getConceptCenterData()):2==this.popType?(this.selectStartDateStr=this.selectDateStr,this.selectStartMonth=this.selectMonth,this.selectStartMonthIndex=this.selectMonthIndex):(this.selectEndDateStr=this.selectDateStr,this.selectEndMonth=this.selectMonth,this.selectEndMonthIndex=this.selectMonthIndex)},clickPreMonth(){if(this.selectMonthIndex>0){this.selectMonthIndex--;let t=this.monthDateList[this.selectMonthIndex],e="",s="";for(let a of t)if(a.isCurrentMonth){e=a.year,s=a.month;break}this.selectMonth=e+"年"+s+"月"}},clickNextMonth(){if(this.selectMonthIndex9?t:"0"+t)+"-"+(a>9?a:"0"+a)}else if(1==t){let t=new Date(e);t.setDate(t.getDate()-1);let a=t.getFullYear(),c=t.getMonth()+1,n=t.getDate();this.selectMonthIndex=12*(20-(s-a))+c-1,this.selectMonth=a+"年"+c+"月",this.selectDateStr=a+"-"+(c>9?c:"0"+c)+"-"+(n>9?n:"0"+n)}else if(2==t){let t=new Date(e);t.setDate(t.getDate()-7);let a=t.getFullYear(),c=t.getMonth()+1,n=t.getDate();this.selectMonthIndex=12*(20-(s-a))+c-1,this.selectMonth=a+"年"+c+"月",this.selectDateStr=a+"-"+(c>9?c:"0"+c)+"-"+(n>9?n:"0"+n)}else{let t=new Date(e);t.setDate(t.getDate()-30);let a=t.getFullYear(),c=t.getMonth()+1,n=t.getDate();this.selectMonthIndex=12*(20-(s-a))+c-1,this.selectMonth=a+"年"+c+"月",this.selectDateStr=a+"-"+(c>9?c:"0"+c)+"-"+(n>9?n:"0"+n)}},clickNotVip(){this.$refs.vipPopup.open()},clickLater(){this.$refs.vipPopup.close()},clickUpgradeAtOnce(){this.clickLater()},clickConceptItem(e){let s=t.CryptoJS.MD5(e).toString();t.index.navigateTo({url:"/pages/index/conceptDetails/conceptDetails?name="+s})},clickStockMore(e){t.index.navigateTo({url:"/pages/concept/hotStock/hotStock?id="+e.concept_id})},clickHistoricalTimeline(e){t.index.navigateTo({url:"/pages/concept/historicalTimeline/historicalTimeline?id="+e.concept_id})},getConceptCenterData(){let t=this.selectDateStr;new Date(this.selectDateStr).getTime()>new Date(this.newestPriceDate).getTime()&&(t=this.newestPriceDate);let s={query:this.keywords,size:10,page:this.page,sort_by:this.sortType,isJson:1,trade_date:t};e.eventRelatedConcept(s).then((t=>{this.isRefreshing=!1,1==t.page?this.conceptList=t.results:this.conceptList=this.conceptList.concat(t.results),t.page==t.total_pages&&(this.loadAll=!0)})).catch((t=>{this.isRefreshing=!1}))},getNewestPriceDateData(){e.newestPriceDate().then((t=>{this.newestPriceDate=t.latest_trade_date,this.getConceptCenterData()})).catch((t=>{}))},getMemberStatusData(){t.index.getStorageSync("token")&&e.membershipStatus().then((e=>{200==e.code?this.memberInfo=e.data:t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))},getRankListData(){var t={};3==this.selectCycleIndex?(t.start_date=this.startDateStr,t.end_date=this.endDateStr):(t.days=3,1==this.selectCycleIndex?t.days=7:2==this.selectCycleIndex&&(t.days=14),t.min_stock_count=3),e.conceptRankList(t).then((t=>{0==this.selectTab?this.rankList=t.data.hot_concepts:1==this.selectTab?this.rankList=t.data.cold_concepts:2==this.selectTab?this.rankList=t.data.active_concepts:3==this.selectTab?this.rankList=t.data.volatile_concepts:this.rankList=t.data.momentum_concepts})).catch((t=>{}))}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("uni-popup"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const n=t._export_sfc(c,[["render",function(e,s,c,n,i,o){return t.e({a:t.p({leftText:"概念中心",hideNavBg:!0,hideBack:!0}),b:a._imports_0,c:a._imports_1,d:t.o((t=>o.clickSearch())),e:i.keywords,f:t.o((t=>i.keywords=t.detail.value)),g:t.o((t=>o.clickRank())),h:t.t(i.newestPriceDate),i:a._imports_2$3,j:t.t(i.sortTypeStr),k:a._imports_3,l:t.o((t=>o.clickSortType())),m:a._imports_4$2,n:a._imports_3,o:t.o((t=>o.clickTransactionDate())),p:t.s("top: "+i.navH+"px;"),q:t.f(i.conceptList,((e,s,a)=>t.e({a:t.t(e.concept),b:t.o((t=>o.clickConceptItem(e.concept)),s),c:e.price_info},e.price_info?{d:t.t(i.getChgRateStr(e.price_info.avg_change_pct)),e:t.n("chg "+(i.getRateUpOrDown(e.price_info.avg_change_pct)?"down":"up"))}:{},{f:e.price_info},e.price_info?{g:t.t(e.stock_count),h:t.n("stockNum "+(i.getRateUpOrDown(e.price_info.avg_change_pct)?"down":"up"))}:{},{i:t.t(e.description),j:t.o((t=>o.clickConceptItem(e.concept)),s),k:t.f(e.stocks.slice(0,3),((e,s,a)=>({a:t.t(e.name),b:s}))),l:t.t(e.stock_count-3),m:t.o((t=>o.clickStockMore(e)),s),n:t.t(e.price_info?e.price_info.trade_date:""),o:t.o((t=>o.clickHistoricalTimeline(e)),s),p:s}))),r:a._imports_1$3,s:t.s("top: "+i.listTop+"px;"),t:i.isRefreshing,v:t.o((t=>o.pullDownRefresh())),w:t.o((t=>o.loadMoreData())),x:a._imports_8,y:t.o((t=>o.clickRankClose())),z:a._imports_7$1,A:t.t(i.startDateStr),B:t.t(i.endDateStr),C:t.f(i.cycleList,((e,s,a)=>({a:t.t(e),b:t.n("item "+(i.selectCycleIndex==s?"select":"")),c:s,d:t.o((t=>o.clickRankCycleListItem(s)),s)}))),D:3==i.selectCycleIndex},3==i.selectCycleIndex?{E:t.t(i.selectStartDateStr),F:t.o((t=>o.clickCustomDateCycle(2))),G:t.t(i.selectEndDateStr),H:t.o((t=>o.clickCustomDateCycle(3))),I:t.o((t=>o.clickApply()))}:{},{J:t.f(i.rankTabList,((e,s,a)=>t.e({a:i.selectTab==s},i.selectTab==s?{b:e.selectIcon}:{c:e.icon},{d:t.t(e.title),e:t.n("item flex1 flexCenter "+(i.selectTab==s?"select":"")),f:s,g:t.o((t=>o.clickRankTabItem(s)),s)}))),K:t.f(i.rankList,((e,s,c)=>t.e({a:0==s},0==s?{b:a._imports_8$1}:{},{c:1==s},1==s?{d:a._imports_9$1}:{},{e:2==s},2==s?{f:a._imports_10$1}:{},{g:s>2},s>2?{h:t.t(s+1)}:{},{i:t.t(e.name),j:t.o((t=>o.clickConceptItem(e.name)),s)},3==i.selectTab||4==i.selectTab?t.e({k:3==i.selectTab},3==i.selectTab?{l:t.t(e.avg_change)}:{},{m:4==i.selectTab},4==i.selectTab?{n:t.t(e.total_change)}:{}):t.e({o:0==i.selectTab||1==i.selectTab},0==i.selectTab||1==i.selectTab?{p:a._imports_11$2,q:t.t(e.news_count)}:{},{r:a._imports_12$2,s:t.t(e.news_count),t:2==i.selectTab},2==i.selectTab?{v:a._imports_13$1,w:t.t(e.report_count)}:{}),0==i.selectTab?{x:t.t(e.change_pct)}:{},1==i.selectTab?{y:t.t(e.change_pct)}:{},2==i.selectTab?{z:t.t(e.total_mentions)}:{},3==i.selectTab?{A:t.t(e.volatility)}:{},4==i.selectTab?{B:t.t(e.consecutive_days)}:{},{C:s}))),L:3==i.selectTab||4==i.selectTab,M:t.n("icon "+(4==i.selectTab?"continuousRise":"")),N:i.rankTabList[i.selectTab].selectIcon,O:0==i.selectTab,P:1==i.selectTab,Q:2==i.selectTab,R:3==i.selectTab,S:4==i.selectTab,T:t.sr("rankPopup","634c6a80-1"),U:t.p({type:"bottom",safeArea:!1}),V:a._imports_12$1,W:t.f(i.sortTypeList,((e,s,a)=>({a:e.icon,b:t.t(e.name),c:s,d:t.o((t=>o.clickSortListItem(e)),s)}))),X:t.s("margin-top:"+i.sortListTop+"px;"),Y:t.sr("sortTypePopup","634c6a80-2"),Z:t.p({type:"top","mask-background-color":"transparent",animation:!1}),aa:t.o((t=>o.clickCancel())),ab:t.o((t=>o.clickConfirm())),ac:a._imports_0$1,ad:t.o((t=>o.clickPreMonth())),ae:t.t(i.selectMonth),af:t.o((()=>{})),ag:a._imports_1$2,ah:t.o((t=>o.clickNextMonth())),ai:t.f(i.weekList,((e,s,a)=>({a:t.t(e),b:s}))),aj:t.f(i.monthDateList[i.selectMonthIndex],((e,s,a)=>t.e({a:e.date==i.selectDateStr},e.date==i.selectDateStr?{b:t.t(e.day)}:t.e({c:!e.isCurrentMonth},e.isCurrentMonth?{e:t.t(e.day)}:{d:t.t(e.day)}),{f:s,g:t.o((t=>o.clickSelectDate(e)),s)}))),ak:t.f(i.quickTimeList,((e,s,a)=>({a:t.t(e),b:s,c:t.o((t=>o.clickQuickTimeItem(s)),s)}))),al:t.sr("transactionDatePopup","634c6a80-3"),am:t.p({type:"bottom",safeArea:!1}),an:a._imports_13,ao:a._imports_14,ap:a._imports_15,aq:a._imports_15,ar:a._imports_16,as:a._imports_16,at:a._imports_16,av:t.o((t=>o.clickLater())),aw:t.o((t=>o.clickUpgradeAtOnce())),ax:t.sr("vipPopup","634c6a80-4"),ay:t.p({type:"center"})})}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/concept/concept.json b/unpackage/dist/build/mp-weixin/pages/concept/concept.json new file mode 100644 index 0000000..da67ecc --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/concept.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar", + "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/concept.wxml b/unpackage/dist/build/mp-weixin/pages/concept/concept.wxml new file mode 100644 index 0000000..3c9bbb6 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/concept.wxml @@ -0,0 +1 @@ +排行榜最新数据: {{h}}{{j}}交易日期{{item.a}}{{item.d}}%{{item.g}} 只股票{{item.i}}热门个股{{sitem.a}}+{{item.l}}更多交易时间:{{item.n}}历史时间轴排行榜概念统计中心统计范围: {{A}} 至 {{B}}统计周期:{{item.a}}{{E}}{{G}}应用{{item.d}}{{item.h}}{{item.i}}均幅 {{item.l}}%累计 +{{item.n}}%{{item.q}}{{item.s}}{{item.w}}{{item.x}}%{{item.y}}%{{item.z}}{{item.A}}%{{item.B}}天{{item.b}}取消交易日期确认{{ae}}{{item.a}}{{item.b}}{{item.d}}{{item.e}}{{item.a}}需要Pro版订阅当前功能需要更高权限您正在尝试访问概念统计中心和热门个股 当前订阅 免费版基础事件浏览有限历史事件查看 所需订阅 Pro版相关标的分析相关概念分析完整历史事件稍后再说立即升级 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/concept.wxss b/unpackage/dist/build/mp-weixin/pages/concept/concept.wxss new file mode 100644 index 0000000..e4d2bbc --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/concept.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.topC{margin-top:20rpx;left:0;right:0}.topC .searchRankC{padding:0 25rpx}.topC .searchRankC .searchC{background-color:rgba(41,41,41,.7);padding:0 25rpx;height:70rpx;border-radius:35rpx;border:solid 1rpx #363636}.topC .searchRankC .searchC .icon{margin-right:12rpx;width:25rpx;height:auto}.topC .searchRankC .searchC input{font-size:22rpx;font-weight:500;color:#fff}.topC .searchRankC .rank{padding:0 14rpx;font-size:28rpx;font-weight:500;color:#b5b6b6}.topC .dateScreenC{padding:20rpx 0 20rpx 27rpx;font-size:24rpx;font-weight:500;color:#cccdd1}.topC .dateScreenC .sortTypeC{padding:0 24rpx}.topC .dateScreenC .sortTypeC .icon{margin-right:14rpx;width:30rpx;height:auto}.topC .dateScreenC .line{background-color:#cccdd1;width:1rpx;height:25rpx}.topC .dateScreenC .transactionDateC{padding:0 17rpx}.topC .dateScreenC .transactionDateC .icon{margin-right:10rpx;width:23rpx;height:auto}.topC .dateScreenC .arrow{margin-left:7rpx;width:11rpx;height:auto}.conceptList{left:0;right:0;bottom:calc(55px + env(safe-area-inset-bottom))}.conceptList .list{padding:0 25rpx}.conceptList .list .item{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:24rpx;border-radius:10rpx}.conceptList .list .item .titleChgStockNumC{padding:24rpx 18rpx 0}.conceptList .list .item .titleChgStockNumC .title{margin-right:20rpx;font-size:30rpx;font-weight:700;color:#3d3d3d;word-break:break-all}.conceptList .list .item .titleChgStockNumC .chg{margin-right:20rpx;padding:0 13rpx;line-height:40rpx;border-radius:20rpx;font-size:22rpx;font-weight:700;color:#fff}.conceptList .list .item .titleChgStockNumC .chg.up{background-color:#ec3440}.conceptList .list .item .titleChgStockNumC .chg.down{background-color:#355422}.conceptList .list .item .titleChgStockNumC .stockNum{flex-shrink:0;padding:0 16rpx;line-height:36rpx;border-radius:20rpx;font-size:22rpx;font-weight:700}.conceptList .list .item .titleChgStockNumC .stockNum.up{color:#ec3440;border:solid 2rpx #EC3440}.conceptList .list .item .titleChgStockNumC .stockNum.down{color:#355422;border:solid 2rpx #355422}.conceptList .list .item .content{margin-top:26rpx;padding:0 22rpx;font-size:24rpx;font-weight:500;color:#71675d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.conceptList .list .item .hotStockC{margin-top:30rpx;padding:0 20rpx}.conceptList .list .item .hotStockC .title{margin-right:10rpx;font-size:24rpx;font-weight:700;color:#936e5c}.conceptList .list .item .hotStockC .stockList{font-size:22rpx}.conceptList .list .item .hotStockC .stockList .stockItem{background-color:#3d3d3d;margin-right:10rpx;padding:0 8rpx;line-height:36rpx;border-radius:5rpx 20rpx;color:#efddd1}.conceptList .list .item .hotStockC .stockList .more{color:#936e5c;line-height:36rpx}.conceptList .list .item .hotStockC .notVipC{background-color:#3d3d3d;padding:0 21rpx 0 16rpx;line-height:36rpx;border-radius:5rpx;font-size:22rpx;color:#f3c368}.conceptList .list .item .hotStockC .notVipC .icon{margin-right:9rpx;width:15rpx;height:auto}.conceptList .list .item .transactionDateHistoryTimeC{padding:20rpx 22rpx 30rpx}.conceptList .list .item .transactionDateHistoryTimeC .transactionDate{font-size:20rpx;font-weight:500;color:#666}.conceptList .list .item .transactionDateHistoryTimeC .historyTimeC{background-color:#f3c368;padding:0 10rpx 0 15rpx;line-height:36rpx;border-radius:10rpx;font-size:22rpx;font-weight:500;color:#101213}.conceptList .list .item .transactionDateHistoryTimeC .historyTimeC .icon{margin-right:7rpx;width:20rpx;height:auto}.rankPopup{background-color:#fff;padding-bottom:env(safe-area-inset-bottom);border-radius:20rpx 20rpx 0 0}.rankPopup .popTitle{padding-top:30rpx;font-size:36rpx;font-weight:700;color:#333;text-align:center}.rankPopup .closeC{padding:26rpx;top:0;right:0}.rankPopup .closeC .icon{width:20rpx;height:auto}.rankPopup .statisticsC{background:linear-gradient(-30deg,#f3c368,#fad590);margin:20rpx 25rpx 0;padding:24rpx 30rpx;border-radius:10rpx}.rankPopup .statisticsC .titleRangeC .icon{margin-right:21rpx;width:80rpx;height:auto}.rankPopup .statisticsC .titleRangeC .title{font-size:30rpx;font-weight:700}.rankPopup .statisticsC .titleRangeC .range{font-size:22rpx;font-weight:500;color:#232323}.rankPopup .statisticsC .cycleC{margin-top:20rpx}.rankPopup .statisticsC .cycleC .title{font-size:24rpx;font-weight:700}.rankPopup .statisticsC .cycleC .list .item{background-color:rgba(255,255,255,.3);margin-right:15rpx;padding:0 15rpx;line-height:50rpx;border-radius:5rpx;font-size:24rpx;font-weight:500}.rankPopup .statisticsC .cycleC .list .item.select{background-color:rgba(255,255,255,.6)}.rankPopup .statisticsC .rangeC{margin-top:10rpx;font-size:26rpx}.rankPopup .statisticsC .rangeC .startDateC{padding:0 10rpx;border:solid 2rpx white;border-radius:10rpx}.rankPopup .statisticsC .rangeC .and{margin:0 10rpx}.rankPopup .statisticsC .rangeC .endDateC{padding:0 10rpx;border:solid 2rpx white;border-radius:10rpx}.rankPopup .statisticsC .rangeC .apply{padding:0 10rpx}.rankPopup .tabC{background-color:#fff3dd;margin:20rpx 25rpx 0;border-radius:10rpx 10rpx 0 0}.rankPopup .tabC .item{height:60rpx;font-size:24rpx;font-weight:700;color:#070707}.rankPopup .tabC .item .icon{margin-right:7rpx;width:11rpx;height:auto}.rankPopup .tabC .item.select{background-color:#f72;color:#fff}.rankPopup .tabC .item:last-child .icon{width:15rpx;height:auto}.rankPopup .rankList{margin-top:22rpx;padding:0 25rpx;max-height:500rpx;overflow-y:scroll}.rankPopup .rankList .item{margin-bottom:20rpx;padding:20rpx 22rpx;border-radius:10rpx;border:solid 1rpx #FCE2B2}.rankPopup .rankList .item .rankIcon{margin-right:34rpx;width:35rpx;height:auto}.rankPopup .rankList .item .rankIndex{background-color:#898989;margin-right:34rpx;width:36rpx;line-height:41rpx;-webkit-clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);font-size:24rpx;color:#f7fafc;text-align:center}.rankPopup .rankList .item .title{font-size:26rpx;font-weight:700;color:#3d3d3d}.rankPopup .rankList .item .calendarBrowseC{font-size:24rpx;font-weight:500;color:#936e5c}.rankPopup .rankList .item .calendarBrowseC .chgC{margin-right:30rpx}.rankPopup .rankList .item .calendarBrowseC .chgC .icon{margin-right:6rpx;width:15rpx;height:auto}.rankPopup .rankList .item .calendarBrowseC .calendarC{margin-right:30rpx}.rankPopup .rankList .item .calendarBrowseC .calendarC .icon{margin-right:6rpx;width:16rpx;height:auto}.rankPopup .rankList .item .calendarBrowseC .browseC .icon{margin-right:6rpx;width:17rpx;height:auto}.rankPopup .rankList .item .valueC{background-color:#f72;padding:0 24rpx;height:40rpx;border-radius:5rpx;font-size:24rpx;font-weight:500;color:#fff}.rankPopup .rankList .item .valueC .icon{margin-right:6rpx;width:11rpx;height:auto}.rankPopup .rankList .item .valueC .icon.continuousRise{width:15rpx;height:auto}.sortTypePopup{background-color:#fff;margin-left:calc(100% - 290rpx);width:170rpx;box-shadow:0 5rpx 10px rgba(7,7,7,.15);border-radius:10rpx}.sortTypePopup .arrow{top:-13rpx;left:38rpx;width:26rpx;height:auto}.sortTypePopup .list .item{padding:20rpx;font-size:24rpx;font-weight:500;color:#444}.sortTypePopup .list .item .icon{margin-right:11rpx;width:20rpx;height:20rpx}.transactionDatePopup{background-color:#fff;padding-bottom:calc(20rpx + env(safe-area-inset-bottom));border-radius:20rpx 20rpx 0 0}.transactionDatePopup .btnTitleC .btn{padding:20rpx 26rpx;font-size:28rpx;font-weight:500}.transactionDatePopup .btnTitleC .btn.cancel{color:#727a8e}.transactionDatePopup .btnTitleC .btn.confirm{color:#d79412}.transactionDatePopup .btnTitleC .title{font-size:36rpx;font-weight:700;text-align:center}.transactionDatePopup .yearMonthC{background-color:#f7f7f7;margin:0 25rpx;height:70rpx;border-radius:35rpx}.transactionDatePopup .yearMonthC .btn{padding:0 52rpx}.transactionDatePopup .yearMonthC .btn .icon{width:13rpx;height:auto}.transactionDatePopup .yearMonthC .yearMonth{font-size:32rpx;font-weight:500;color:#070707;text-align:center}.transactionDatePopup .weekList{padding:0 38rpx}.transactionDatePopup .weekList .item{margin-right:13rpx;line-height:72rpx;font-size:26rpx;font-weight:500;color:#a7a7a7;text-align:center}.transactionDatePopup .monthDateList{padding:0 38rpx}.transactionDatePopup .monthDateList .item{margin-bottom:12rpx;width:calc(100%/7)}.transactionDatePopup .monthDateList .item .date{background-color:#f8f8f8;width:calc(100% - 10rpx);line-height:64rpx;border-radius:15rpx;font-size:24rpx;font-weight:700;color:#2a2a2a;text-align:center}.transactionDatePopup .monthDateList .item .date.select{background-color:#f2c367;color:#fff}.transactionDatePopup .monthDateList .item .date.notCurrentMonth{background-color:#fcfcfc;color:#999}.transactionDatePopup .quickTimeC{margin-top:16rpx}.transactionDatePopup .quickTimeC .item{margin-right:25rpx;width:120rpx;line-height:56rpx;border-radius:30rpx;border:solid 2rpx #4E4E4E;font-size:24rpx;font-weight:500;color:#4e4e4e;text-align:center}.transactionDatePopup .quickTimeC .item:last-child{margin-right:0}.vipPopup{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin:0 95rpx;padding-bottom:34rpx;width:560rpx;border-radius:10rpx}.vipPopup .topIcon{margin:-60rpx 0 0 calc((100% - 143rpx)/2);width:143rpx;height:auto}.vipPopup .popTitle{margin-top:28rpx;font-size:40rpx;font-weight:700;color:#101213;text-align:center}.vipPopup .popSubtitle{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#493f2b;text-align:center}.vipPopup .moduleC{background-color:#fff;margin:0 30rpx 20rpx;padding-top:25rpx;border-radius:10rpx}.vipPopup .moduleC .section{padding:0 25rpx;font-size:26rpx;font-weight:700;color:#333}.vipPopup .moduleC .section .version{margin-left:18rpx;padding:0 15rpx;line-height:32rpx;border-radius:10rpx;font-size:22rpx}.vipPopup .moduleC .section .version.free{background-color:#3d3d3d;color:#fefcfb}.vipPopup .moduleC .section .version.pro{background-color:#f2c367;color:#3d3d3d}.vipPopup .moduleC .visitC{margin:18rpx 24rpx 0;height:60rpx}.vipPopup .moduleC .visitC .line{background-color:#f2c367;top:0;left:0;width:44rpx;height:100%;border-radius:7rpx 0 0 7rpx}.vipPopup .moduleC .visitC .contentC{background-color:#f7f7f7;margin-left:6rpx;padding:0 15rpx;height:100%;border-radius:10rpx;font-size:24rpx;font-weight:500;color:#3d3d3d}.vipPopup .moduleC .visitC .contentC .icon{margin-right:14rpx;width:25rpx;height:auto}.vipPopup .moduleC .list{padding-bottom:10rpx}.vipPopup .moduleC .list .item{padding:10rpx 25rpx;font-size:24rpx;font-weight:500;color:#333}.vipPopup .moduleC .list .item .icon{margin-right:13rpx;width:27rpx;height:auto}.vipPopup .moduleC.visit{margin-top:20rpx;padding-bottom:25rpx}.vipPopup .btnC{margin:28rpx 92rpx 0}.vipPopup .btnC .btn{line-height:60rpx;border-radius:10rpx;font-size:24rpx;font-weight:700;text-align:center}.vipPopup .btnC .btn.later{background-color:#ededed;margin-right:56rpx}.vipPopup .btnC .btn.upgrade{background-color:#f2c367} diff --git a/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.js b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.js new file mode 100644 index 0000000..c62022b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),a=require("../../../utils/util.js"),n=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),contentTop:"",conceptId:"",conceptName:"",weekList:["一","二","三","四","五","六","日"],monthDateList:[],selectMonthIndex:0,selectMonth:"",selectDateStr:"",startDateStr:"",endDateStr:"",chgStockData:null,newsList:[],reportList:[],selectNewsOrReport:0,getRateUpOrDown:a.getRateUpOrDown,getChgRateStr:a.getChgRateStr}),onLoad(e){this.contentTop=this.navH+64/750*t.inject("windowWidth");let a=new Date,n=a.getFullYear(),s=a.getMonth()+1,o=a.getDate();this.selectMonthIndex=240+s-1,this.selectMonth=n+"年"+s+"月",this.startDateStr=n+"-"+(s>9?s:"0"+s)+"-01",this.endDateStr=this.selectDateStr=n+"-"+(s>9?s:"0"+s)+"-"+(o>9?o:"0"+o),this.generateMonthDateListData(),e.id&&(this.conceptId=e.id,this.getTimelineData())},methods:{getContent:t=>a.isValidJSON(t.content)?JSON.parse(t.content).content:t.content,getYesterdayDateData(){let t=new Date(new Date);t.setDate(t.getDate()-1);let e=t.getFullYear(),a=t.getMonth()+1,n=t.getDate();this.selectDateStr=e+"-"+(a>9?a:"0"+a)+"-"+(n>9?n:"0"+n)},generateMonthDateListData(){let t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=t.getDate(),s=[];for(var o=e-20;o9?s:"0"+s)+"-"+(r>9?r:"0"+r);l.push({date:D,year:o,month:s,day:r,isToday:o==e&&s==a&&r==n,isCurrentMonth:!0,isLastDay:r==h,timestamp:g})}for(i=0;i9?s:"0"+s)+"-"+(r>9?r:"0"+r);l.unshift({date:g,year:t,month:s,day:r,isToday:!1,isCurrentMonth:!1,isLastDay:!1,timestamp:h})}let D=new Date(o,c+1,1),p=new Date(D-864e5).getDay()||7;for(i=1;i<8-p;i++){let t=o,e=c;e>11&&(e=0,t++);let a=new Date(t,e+1,i),n=a.getMonth()+1,s=a.getDate(),r=a.getTime(),h=t+"-"+(n>9?n:"0"+n)+"-"+(s>9?s:"0"+s);l.push({date:h,year:t,month:n,day:s,isToday:!1,isCurrentMonth:!1,isLastDay:!1,timestamp:r})}s.push(l)}this.monthDateList=s},clickPreMonth(){if(this.selectMonthIndex>0){this.selectMonthIndex--;let t=this.monthDateList[this.selectMonthIndex],e="",a="";for(let s of t)if(s.isCurrentMonth){e=s.year,a=s.month;break}let n="";for(let s of t)if(s.isLastDay){n=s.day;break}this.selectMonth=e+"年"+a+"月",this.startDateStr=e+"-"+(a>9?a:"0"+a)+"-01",this.endDateStr=e+"-"+(a>9?a:"0"+a)+"-"+n,this.getTimelineData()}},clickNextMonth(){if(this.selectMonthIndex9?a:"0"+a)+"-01",this.endDateStr=e+"-"+(a>9?a:"0"+a)+"-"+n,this.getTimelineData()}},monthChange(t){let e=(new Date).getFullYear(),a=t.detail.value,n=parseInt(a.split("-")[0]),s=parseInt(a.split("-")[1]);this.selectMonthIndex=12*(n-(e-20))+s-1,this.selectMonth=n+"年"+s+"月",this.startDateStr=n+"-"+(s>9?s:"0"+s)+"-01";let o=new Date(n,s,0);this.endDateStr=n+"-"+(s>9?s:"0"+s)+"-"+o.getDate(),this.getTimelineData()},clickSelectDate(t){this.selectDateStr!=t.date&&(this.selectDateStr=t.date,this.chgStockData=t,this.getNewsData(),this.getReportData())},clickNewsOrReportItem(t){console.log(this.selectNewsOrReport,t),this.selectNewsOrReport!=t&&(this.selectNewsOrReport=t)},clickNewsItem(e){t.index.navigateTo({url:"/pages/concept/newsDetails/newsDetails?info="+encodeURIComponent(JSON.stringify(e))})},clickReportItem(e){console.log(e),t.index.navigateTo({url:"/pages/concept/reportDetails/reportDetails?info="+encodeURIComponent(JSON.stringify(e))})},getTimelineData(){let t={start_date:this.startDateStr,end_date:this.endDateStr};e.priceTimeline(this.conceptId,t).then((t=>{if(t.timeseries){this.conceptName=t.concept_name;let e=t.timeseries,a=this.monthDateList[this.selectMonthIndex];for(let t of a)for(let a of e)t.date==a.trade_date&&(t.avg_change_pct=a.avg_change_pct,t.stock_count=a.stock_count,t.date==this.selectDateStr&&(this.chgStockData=t));this.getNewsData(),this.getReportData()}})).catch((t=>{}))},getNewsData(){let t={query:this.conceptName,end_date:this.selectDateStr,exact_match:1,top_k:100};e.conceptNews(t).then((t=>{this.newsList=t})).catch((t=>{}))},getReportData(){let t={query:this.conceptName,start_date:this.selectDateStr,mode:"text",exact_match:1};e.conceptReport(t).then((t=>{for(let e of t.data.results)e.content=e.content.replace(/'/g,'"');this.reportList=t.data.results})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const o=t._export_sfc(s,[["render",function(e,a,s,o,c,i){return t.e({a:t.p({leftText:"历史时间轴",hideNavBg:!0}),b:n._imports_0,c:t.t(c.conceptName),d:t.s("top: "+c.navH+"px;"),e:n._imports_0$1,f:t.o((t=>i.clickPreMonth())),g:t.t(c.selectMonth),h:t.o(((...t)=>i.monthChange&&i.monthChange(...t))),i:n._imports_1$2,j:t.o((t=>i.clickNextMonth())),k:t.f(c.weekList,((e,a,n)=>({a:t.t(e),b:a}))),l:t.f(c.monthDateList[c.selectMonthIndex],((e,a,n)=>t.e({a:e.date==c.selectDateStr},e.date==c.selectDateStr?t.e({b:t.t(e.day),c:e.avg_change_pct},e.avg_change_pct?{d:t.t(c.getChgRateStr(e.avg_change_pct))}:{},{e:t.n("date select "+(e.avg_change_pct?c.getRateUpOrDown(e.avg_change_pct)?"down":"up":""))}):t.e({f:!e.isCurrentMonth},e.isCurrentMonth?t.e({h:t.t(e.day),i:e.avg_change_pct},e.avg_change_pct?{j:t.t(c.getChgRateStr(e.avg_change_pct)),k:t.n("chg "+(c.getRateUpOrDown(e.avg_change_pct)?"down":"up"))}:{},{l:t.n("date "+(e.avg_change_pct?c.getRateUpOrDown(e.avg_change_pct)?"down":"up":""))}):{g:t.t(e.day)}),{m:a,n:t.o((t=>i.clickSelectDate(e)),a)}))),m:t.t(c.selectDateStr),n:c.chgStockData&&c.chgStockData.avg_change_pct},c.chgStockData&&c.chgStockData.avg_change_pct?t.e({o:c.getRateUpOrDown(c.chgStockData.avg_change_pct)},c.getRateUpOrDown(c.chgStockData.avg_change_pct)?{p:n._imports_3$5}:{q:n._imports_4$7},{r:t.t(c.getChgRateStr(c.chgStockData.avg_change_pct)),s:t.n("chg "+(c.getRateUpOrDown(c.chgStockData.avg_change_pct)?"down":"up")),t:t.t(c.chgStockData.stock_count)}):{},{v:n._imports_5$2,w:t.t(c.newsList.length),x:t.n("num "+(0==c.selectNewsOrReport?"select":"")),y:t.o((t=>i.clickNewsOrReportItem(0))),z:t.t(c.reportList.length),A:t.n("num "+(1==c.selectNewsOrReport?"select":"")),B:t.o((t=>i.clickNewsOrReportItem(1))),C:0==c.selectNewsOrReport},0==c.selectNewsOrReport?{D:t.f(c.newsList,((e,a,n)=>({a:t.t(e.title),b:t.t(e.detail),c:a,d:t.o((t=>i.clickNewsItem(e)),a)})))}:{E:t.f(c.reportList,((e,a,n)=>({a:t.t(e.report_title),b:t.t(i.getContent(e)),c:a,d:t.o((t=>i.clickReportItem(e)),a)})))},{F:t.s("top: "+c.contentTop+"px;")})}]]);wx.createPage(o); diff --git a/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.json b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxml b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxml new file mode 100644 index 0000000..675a66f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxml @@ -0,0 +1 @@ +{{c}}- 历史时间轴{{g}}{{item.a}}{{item.b}} {{item.d}}%{{item.g}}{{item.h}} {{item.j}}%{{m}}统计涨跌幅{{r}}%统计股票{{t}} 只股票{{w}} 条新闻 ·  {{z}} 份研报新闻{{item.a}}{{item.b}}研报{{item.a}}{{item.b}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxss b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxss new file mode 100644 index 0000000..a29787e --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.timelineTitle{background-color:#fff9f5;left:0;right:0;margin:0 25rpx;padding:30rpx 27rpx 0;border-radius:10rpx 10rpx 0 0;font-size:28rpx;font-weight:700;color:#2b2b2b}.dateStatisticsC{background-color:#fff9f5;left:0;right:0;bottom:86rpx;margin:0 25rpx;padding:24rpx 25rpx 0;border-radius:0 0 10rpx 10rpx;overflow-y:scroll}.dateStatisticsC .dateC{background-color:#fff;box-shadow:0 5rpx 10rpx rgba(127,127,127,.1);border-radius:10rpx;padding:30rpx 25rpx 0}.dateStatisticsC .dateC .yearMonthC{background-color:#f7f7f7;height:70rpx;border-radius:35rpx}.dateStatisticsC .dateC .yearMonthC .btn{padding:0 52rpx}.dateStatisticsC .dateC .yearMonthC .btn .icon{width:13rpx;height:auto}.dateStatisticsC .dateC .yearMonthC .yearMonth{font-size:32rpx;font-weight:500;color:#070707;text-align:center}.dateStatisticsC .dateC .weekList .item{margin-right:13rpx;line-height:72rpx;font-size:26rpx;font-weight:500;color:#a7a7a7;text-align:center}.dateStatisticsC .dateC .monthDateList .item{margin-bottom:12rpx;width:calc(100%/7)}.dateStatisticsC .dateC .monthDateList .item .date{background-color:#f8f8f8;padding:4rpx 0;width:calc(100% - 10rpx);height:72rpx;border-radius:10rpx;font-size:26rpx;font-weight:700;color:#2a2a2a;text-align:center}.dateStatisticsC .dateC .monthDateList .item .date .chg{font-size:18rpx}.dateStatisticsC .dateC .monthDateList .item .date .chg.up{color:#ec3440}.dateStatisticsC .dateC .monthDateList .item .date .chg.down{color:#38a169}.dateStatisticsC .dateC .monthDateList .item .date.up{background-color:#ffd6d9}.dateStatisticsC .dateC .monthDateList .item .date.down{background-color:#cef1de}.dateStatisticsC .dateC .monthDateList .item .date.select.up{background-color:#ec3440;color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.select.up .chg{color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.select.down{background-color:#38a169;color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.select.down .chg{color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.notCurrentMonth{background-color:#fcfcfc;color:#999}.dateStatisticsC .statisticsC{background-color:#fff;margin-top:20rpx;padding:28rpx 20rpx 0;border-radius:10rpx}.dateStatisticsC .statisticsC .date{font-size:30rpx;font-weight:500;text-align:center}.dateStatisticsC .statisticsC .chgStockNumC{margin-top:36rpx;padding:0 13rpx 28rpx;border-bottom:solid 1rpx #EDEDED;font-size:26rpx}.dateStatisticsC .statisticsC .chgStockNumC .title{margin-right:18rpx;font-weight:500;color:#94979c}.dateStatisticsC .statisticsC .chgStockNumC .chgC .icon{margin-right:9rpx;width:17rpx;height:auto}.dateStatisticsC .statisticsC .chgStockNumC .chgC .chg{font-weight:700}.dateStatisticsC .statisticsC .chgStockNumC .chgC .chg.up{color:#ec3440}.dateStatisticsC .statisticsC .chgStockNumC .chgC .chg.down{color:#38a169}.dateStatisticsC .statisticsC .chgStockNumC .stockNum{font-weight:700;color:#070707}.dateStatisticsC .statisticsC .newsReportC{padding-top:20rpx;font-size:28rpx;font-weight:700}.dateStatisticsC .statisticsC .newsReportC .icon{margin-right:20rpx;width:24rpx;height:auto}.dateStatisticsC .statisticsC .newsReportC .num{color:#333}.dateStatisticsC .statisticsC .newsReportC .num.select{color:#ff7723}.dateStatisticsC .statisticsC .list .item{padding:30rpx 0;border-bottom:solid 1rpx #EDEDED}.dateStatisticsC .statisticsC .list .item .type{margin-right:18rpx;padding:0 9rpx;line-height:40rpx;border-radius:5rpx;font-size:22rpx;font-weight:500}.dateStatisticsC .statisticsC .list .item .type.news{background-color:#f2c367;color:#070707}.dateStatisticsC .statisticsC .list .item .type.report{background-color:#3d3f3c;color:#f2c367}.dateStatisticsC .statisticsC .list .item .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:26rpx;font-weight:700;color:#070707}.dateStatisticsC .statisticsC .list .item .content{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#333;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis} diff --git a/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.js b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.js new file mode 100644 index 0000000..3bda43a --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),s=require("../../../common/assets.js"),n={data:()=>({navH:t.inject("navHeight"),listTop:"",conceptId:"",conceptName:"",weekList:["一","二","三","四","五","六","日"],monthDateList:[],selectMonthIndex:0,selectMonth:"",selectDateStr:"",quickTimeList:["今天","昨天","一周前","一月前"],stockList:[]}),onLoad(e){this.listTop=this.navH+68/750*t.inject("windowWidth");let s=new Date,n=s.getFullYear(),a=s.getMonth()+1,o=s.getDate();this.selectMonthIndex=240+a-1,this.selectMonth=n+"年"+a+"月",this.selectDateStr=n+"-"+(a>9?a:"0"+a)+"-"+(o>9?o:"0"+o),this.generateMonthDateListData(),e.id&&(this.conceptId=e.id,this.getConceptHotStockData())},methods:{generateMonthDateListData(){let t=new Date,e=t.getFullYear(),s=t.getMonth()+1,n=t.getDate(),a=[];for(var o=e-20;o9?a:"0"+a)+"-"+(h>9?h:"0"+h);p.push({date:r,year:o,month:a,day:h,isToday:o==e&&a==s&&h==n,isCurrentMonth:!0,timestamp:l})}for(c=0;c9?a:"0"+a)+"-"+(h>9?h:"0"+h);p.unshift({date:r,year:t,month:a,day:h,isToday:!1,isCurrentMonth:!1,timestamp:l})}let d=new Date(o,i+1,1),D=new Date(d-864e5).getDay()||7;for(c=1;c<8-D;c++){let t=o,e=i;e>11&&(e=0,t++);let s=new Date(t,e+1,c),n=s.getMonth()+1,a=s.getDate(),h=s.getTime(),l=t+"-"+(n>9?n:"0"+n)+"-"+(a>9?a:"0"+a);p.push({date:l,year:t,month:n,day:a,isToday:!1,isCurrentMonth:!1,timestamp:h})}a.push(p)}this.monthDateList=a},clickDateScreen(){this.$refs.datePopup.open()},clickExpandOrRetract(t){this.stockList[t].isExpand=!this.stockList[t].isExpand},clickCancel(){this.$refs.datePopup.close()},clickConfirm(){this.clickCancel(),this.getConceptHotStockData()},clickPreMonth(){if(this.selectMonthIndex>0){this.selectMonthIndex--;let t=this.monthDateList[this.selectMonthIndex],e="",s="";for(let n of t)if(n.isCurrentMonth){e=n.year,s=n.month;break}this.selectMonth=e+"年"+s+"月"}},clickNextMonth(){if(this.selectMonthIndex9?t:"0"+t)+"-"+(n>9?n:"0"+n)}else if(1==t){let t=new Date(e);t.setDate(t.getDate()-1);let n=t.getFullYear(),a=t.getMonth()+1,o=t.getDate();this.selectMonthIndex=12*(20-(s-n))+a-1,this.selectMonth=n+"年"+a+"月",this.selectDateStr=n+"-"+(a>9?a:"0"+a)+"-"+(o>9?o:"0"+o)}else if(2==t){let t=new Date(e);t.setDate(t.getDate()-7);let n=t.getFullYear(),a=t.getMonth()+1,o=t.getDate();this.selectMonthIndex=12*(20-(s-n))+a-1,this.selectMonth=n+"年"+a+"月",this.selectDateStr=n+"-"+(a>9?a:"0"+a)+"-"+(o>9?o:"0"+o)}else{let t=new Date(e);t.setDate(t.getDate()-30);let n=t.getFullYear(),a=t.getMonth()+1,o=t.getDate();this.selectMonthIndex=12*(20-(s-n))+a-1,this.selectMonth=n+"年"+a+"月",this.selectDateStr=n+"-"+(a>9?a:"0"+a)+"-"+(o>9?o:"0"+o)}},getConceptHotStockData(){let t={trade_date:this.selectDateStr};e.conceptDetails(this.conceptId,t).then((t=>{this.conceptName=t.concept,this.stockList=t.stocks;let s=this.stockList.map((t=>null!=t.code?t.code:""));console.log(s),e.conceptOtherDetails(this.conceptId,{days:1,codes:s,isJson:1}).then((t=>{this.stockList=this.stockList.map((e=>(null!=e.code&&(e.change_percent=t.data[e.code].stats.change_percent),e))),console.log("==============="),console.log(this.stockList)})).catch((t=>{console.log("=-=-=-=-=-=-=-=-=")}))})).catch((t=>{}))}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("uni-popup"))()}Math||((()=>"../../../components/navBar/navBar.js")+(()=>"../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const a=t._export_sfc(n,[["render",function(e,n,a,o,i,c){return{a:t.p({leftText:"热门个股",hideNavBg:!0}),b:s._imports_0,c:t.t(i.conceptName),d:s._imports_1$9,e:t.o((t=>c.clickDateScreen())),f:t.s("top:"+i.navH+"px;"),g:t.f(i.stockList,((e,n,a)=>t.e({a:t.t(e.name),b:t.t(e.code),c:e.change_percent},e.change_percent?{d:t.t(e.change_percent>=0?"+"+e.change_percent:e.change_percent)}:{},{e:e.isExpand},e.isExpand?{f:s._imports_2$7}:{g:s._imports_3$6},{h:t.o((t=>c.clickExpandOrRetract(n)),n),i:e.isExpand},e.isExpand?{j:t.t(e.reason)}:{},{k:n}))),h:t.s("top:"+i.listTop+"px;"),i:t.o((t=>c.clickCancel())),j:t.o((t=>c.clickConfirm())),k:s._imports_0$1,l:t.o((t=>c.clickPreMonth())),m:t.t(i.selectMonth),n:t.o(((...t)=>c.monthChange&&c.monthChange(...t))),o:s._imports_1$2,p:t.o((t=>c.clickNextMonth())),q:t.f(i.weekList,((e,s,n)=>({a:t.t(e),b:s}))),r:t.f(i.monthDateList[i.selectMonthIndex],((e,s,n)=>t.e({a:e.date==i.selectDateStr},e.date==i.selectDateStr?{b:t.t(e.day)}:t.e({c:!e.isCurrentMonth},e.isCurrentMonth?{e:t.t(e.day)}:{d:t.t(e.day)}),{f:s,g:t.o((t=>c.clickSelectDate(e)),s)}))),s:t.f(i.quickTimeList,((e,s,n)=>({a:t.t(e),b:s,c:t.o((t=>c.clickQuickTimeItem(s)),s)}))),t:t.sr("datePopup","0dffb7e7-1"),v:t.p({type:"bottom",safeArea:!1})}}]]);wx.createPage(a); diff --git a/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.json b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.json new file mode 100644 index 0000000..6fe246f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar", + "uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxml b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxml new file mode 100644 index 0000000..e62898d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxml @@ -0,0 +1 @@ +{{c}} - 相关个股时间筛选{{item.a}}{{item.b}}{{item.d}}%-REASON/项目REASON:{{item.j}}项目:已进入芥末味夏威夷果仁/黑金蒜香茉莉翡翠豆两款产品取消交易日期确认{{m}}{{item.a}}{{item.b}}{{item.d}}{{item.e}}{{item.a}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxss b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxss new file mode 100644 index 0000000..81df64e --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.titleScreenC{background-color:#fff9f5;left:0;right:0;margin:0 25rpx;padding:22rpx 25rpx 0;border-radius:10rpx 10rpx 0 0}.titleScreenC .title{font-size:28rpx;font-weight:700;color:#2b2b2b}.titleScreenC .screenC{padding:0 20rpx;line-height:42rpx;border-radius:23rpx;border:solid 2rpx #F3C368;font-size:22rpx;color:#e3aa3d}.titleScreenC .screenC .arrow{margin-left:7rpx;width:12rpx;height:auto}.stockList{background-color:#fff9f5;left:0;width:calc(100% - 50rpx);bottom:62rpx;margin:0 25rpx;border-radius:0 0 10rpx 10rpx}.stockList .list{padding:16rpx 25rpx}.stockList .list .item{background-color:#fff;box-shadow:0 5rpx 10rpx rgba(127,127,127,.08);margin-bottom:20rpx;padding:0 20rpx;border-radius:10rpx}.stockList .list .item .stockInfoC{padding:16rpx 0}.stockList .list .item .stockInfoC .titleCodeC .title{font-size:26rpx;font-weight:700;color:#222}.stockList .list .item .stockInfoC .titleCodeC .code{font-size:20rpx;font-weight:500;color:#888}.stockList .list .item .stockInfoC .chg{font-size:24rpx;font-weight:700;text-align:center}.stockList .list .item .stockInfoC .chg.up{color:#ec3440}.stockList .list .item .stockInfoC .chg.down{color:#38a169}.stockList .list .item .stockInfoC .industry{font-size:24rpx;font-weight:500;color:#333;text-align:center}.stockList .list .item .stockInfoC .reasonProjectC{font-size:24rpx;font-weight:500;color:#da9000}.stockList .list .item .stockInfoC .reasonProjectC .arrow{margin-left:10rpx;width:10rpx;height:auto}.stockList .list .item .stockInfoC .reasonProjectC .arrow.expand{margin-left:6rpx;width:14rpx;height:auto}.stockList .list .item .reasonProjectContentC{margin:0 5rpx;border-top:solid 1rpx #F0F0F0;padding:12rpx 9rpx 22rpx;font-size:24rpx;font-weight:500;color:#666}.stockList .list .item .reasonProjectContentC .title{color:#da9000}.stockList .list .item .reasonProjectContentC .projectC{margin-top:6rpx}.datePopup{background-color:#fff;padding-bottom:calc(20rpx + env(safe-area-inset-bottom));border-radius:20rpx 20rpx 0 0}.datePopup .btnTitleC .btn{padding:20rpx 26rpx;font-size:28rpx;font-weight:500}.datePopup .btnTitleC .btn.cancel{color:#727a8e}.datePopup .btnTitleC .btn.confirm{color:#d79412}.datePopup .btnTitleC .title{font-size:36rpx;font-weight:700;text-align:center}.datePopup .yearMonthC{background-color:#f7f7f7;margin:0 25rpx;height:70rpx;border-radius:35rpx}.datePopup .yearMonthC .btn{padding:0 52rpx}.datePopup .yearMonthC .btn .icon{width:13rpx;height:auto}.datePopup .yearMonthC .yearMonth{font-size:32rpx;font-weight:500;color:#070707;text-align:center}.datePopup .weekList{padding:0 38rpx}.datePopup .weekList .item{margin-right:13rpx;line-height:72rpx;font-size:26rpx;font-weight:500;color:#a7a7a7;text-align:center}.datePopup .monthDateList{padding:0 38rpx}.datePopup .monthDateList .item{margin-bottom:12rpx;width:calc(100%/7)}.datePopup .monthDateList .item .date{background-color:#f8f8f8;width:calc(100% - 10rpx);line-height:64rpx;border-radius:15rpx;font-size:24rpx;font-weight:700;color:#2a2a2a;text-align:center}.datePopup .monthDateList .item .date.select{background-color:#f2c367;color:#fff}.datePopup .monthDateList .item .date.notCurrentMonth{background-color:#fcfcfc;color:#999}.datePopup .quickTimeC{margin-top:16rpx}.datePopup .quickTimeC .item{margin-right:25rpx;width:120rpx;line-height:56rpx;border-radius:30rpx;border:solid 2rpx #4E4E4E;font-size:24rpx;font-weight:500;color:#4e4e4e;text-align:center}.datePopup .quickTimeC .item:last-child{margin-right:0} diff --git a/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.js b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.js new file mode 100644 index 0000000..dcab2d2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),n=require("../../../utils/util.js"),o=require("../../../common/assets.js"),t={data:()=>({navH:e.inject("navHeight"),newsInfo:null,getLocalTime:n.getLocaleTime}),onLoad(e){this.newsInfo=JSON.parse(decodeURIComponent(e.info))}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("ua-markdown"))()}Math||((()=>"../../../components/navBar/navBar.js")+(()=>"../../../components/ua-markdown/ua-markdown.js"))();const s=e._export_sfc(t,[["render",function(n,t,s,a,r,i){return e.e({a:e.p({leftText:"历史时间轴",hideNavBg:!0}),b:o._imports_0,c:r.newsInfo},r.newsInfo?{d:e.t(r.newsInfo.title),e:e.t(r.getLocalTime(r.newsInfo.published_time)),f:e.p({source:r.newsInfo.detail}),g:e.s("top: "+r.navH+"px;")}:{})}]]);wx.createPage(s); diff --git a/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.json b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.json new file mode 100644 index 0000000..fa06c79 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar", + "ua-markdown": "../../../components/ua-markdown/ua-markdown" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxml b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxml new file mode 100644 index 0000000..f59697a --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxml @@ -0,0 +1 @@ +{{d}}{{e}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxss b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxss new file mode 100644 index 0000000..bc82236 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.contentC{background-color:#fff9f5;margin:20rpx 25rpx 0;padding:28rpx 30rpx;left:0;right:0;bottom:100rpx;border-radius:10rpx;overflow-y:scroll}.contentC .title{margin:0 10rpx;font-size:30rpx;font-weight:700;color:#2b2b2b}.contentC .labelTimeC{margin:0 10rpx}.contentC .labelTimeC .time{font-size:24rpx;font-weight:500;color:#666}.contentC .content{margin-top:30rpx} diff --git a/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.js b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.js new file mode 100644 index 0000000..81e70fa --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),t=require("../../../utils/util.js"),o=require("../../../common/assets.js"),n={data:()=>({navH:e.inject("navHeight"),reportInfo:null,getLocalTime:t.getLocaleTime,content:""}),onLoad(e){this.reportInfo=JSON.parse(decodeURIComponent(e.info)),this.reportInfo.content=this.reportInfo.content.replace(/'/g,'"'),console.log(JSON.parse(this.reportInfo.content)),this.content=JSON.parse(this.reportInfo.content).content}};if(!Array){e.resolveComponent("navBar")()}Math;const r=e._export_sfc(n,[["render",function(t,n,r,c,s,a){return e.e({a:e.p({leftText:"历史时间轴",hideNavBg:!0}),b:o._imports_0,c:s.reportInfo},s.reportInfo?{d:e.t(s.reportInfo.report_title),e:e.t(s.getLocalTime(s.reportInfo.declare_date)),f:e.t(s.content?s.content:s.reportInfo.content),g:e.s("top: "+s.navH+"px;")}:{})}]]);wx.createPage(r); diff --git a/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.json b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxml b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxml new file mode 100644 index 0000000..87103dc --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxml @@ -0,0 +1 @@ +{{d}}{{e}}{{f}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxss b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxss new file mode 100644 index 0000000..bc82236 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.contentC{background-color:#fff9f5;margin:20rpx 25rpx 0;padding:28rpx 30rpx;left:0;right:0;bottom:100rpx;border-radius:10rpx;overflow-y:scroll}.contentC .title{margin:0 10rpx;font-size:30rpx;font-weight:700;color:#2b2b2b}.contentC .labelTimeC{margin:0 10rpx}.contentC .labelTimeC .time{font-size:24rpx;font-weight:500;color:#666}.contentC .content{margin-top:30rpx} diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.js b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.js new file mode 100644 index 0000000..d794c49 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../request/api.js"),a=require("../../common/assets.js"),i={data:()=>({navH:t.inject("navHeight"),contentTop:"",allStockData:[],filteredData:[],currentDate:"",topLists:[{title:"超大盘股",value:"(>1000亿)"},{title:"大盘股",value:"(500-1000亿)"},{title:"中盘股",value:"(100-500亿)"}],list2Index:0}),onLoad(e){this.currentDate=e.currentDate,this.contentTop=this.navH+115/750*t.inject("windowWidth"),this.marketHeatmap()},methods:{handleTypeClick(t){this.list2Index=t,this.marketHeatmap()},getTableItem(t){const e=t.market_cap?t.market_cap.toFixed(2):"0.00",a=t.amount?t.amount.toFixed(2):"0.00",i=t.change_percent?Number(t.change_percent):0;let r="",s="";return i>0?(r=`+${i}%`,s="positive"):i<0?(r=`${i}%`,s="negative"):(r="0%",s="zero"),[[t.stock_name,t.stock_code],[r,"",s],[`${e}亿元`],[`${a}亿元`],[t.industry||"暂无"]]},marketHeatmap(){let t={limit:500,date:this.currentDate};e.marketHeatmap(t).then((t=>{this.allStockData=t.data||[],this.filterStockByMarketCap()})).catch((t=>{}))},filterStockByMarketCap(){const{list2Index:t,allStockData:e}=this;let a=[];switch(t){case 0:a=e.filter((t=>t.market_cap>1e3));break;case 1:a=e.filter((t=>t.market_cap>=500&&t.market_cap<=1e3));break;case 2:a=e.filter((t=>t.market_cap>=100&&t.market_cap<=500));break;default:a=e}this.filteredData=a},itemDetails(e){t.index.navigateTo({url:"/pagesStock/stockCenterDetails/stockCenterDetails?code="+e.stock_code})}}};if(!Array){t.resolveComponent("navBar")()}Math;const r=t._export_sfc(i,[["render",function(e,i,r,s,o,c){return{a:t.p({leftText:"详情",hideNavBg:!0}),b:a._imports_0,c:a._imports_1,d:t.o((t=>e.clickSearch())),e:e.keywords,f:t.o((t=>e.keywords=t.detail.value)),g:t.s("top:"+o.navH+"px;"),h:t.f(o.topLists,((e,a,i)=>({a:t.t(e.title),b:o.list2Index==a?"#BB8520":"#070707",c:t.t(e.value),d:o.list2Index==a?"#BB8520":"#070707",e:t.o((t=>c.handleTypeClick(a)),a),f:a,g:o.list2Index==a?"1rpx solid #F2C369":"none"}))),i:t.f(["股票名称","涨跌幅","市值","成交额","行业"],((e,a,i)=>({a:t.t(e),b:a}))),j:t.f(o.filteredData,((e,a,i)=>({a:t.f(c.getTableItem(e),((e,a,i)=>t.e({a:t.t(e[0]),b:0==a},0==a?{c:t.t(e[1])}:{},{d:a,e:0==a?"#222222":1==a?"positive"===e[2]?"#EC3440":"#01AB5D":"#666666"}))),b:t.o((t=>c.itemDetails(e))),c:a%2==0?"#fff":"#FAFAFC"}))),k:t.s("top:"+o.contentTop+"px;")}}]]);wx.createPage(r); diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.json b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.json new file mode 100644 index 0000000..0c84504 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxml b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxml new file mode 100644 index 0000000..16a3d2e --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxml @@ -0,0 +1 @@ +{{item.a}}{{item.c}}{{item.a}}{{item.a}}{{item.c}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxss b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxss new file mode 100644 index 0000000..32074b0 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.searchC{background-color:rgba(41,41,41,.7);left:0;right:0;margin:20rpx 25rpx 0;padding:0 25rpx;height:70rpx;border-radius:35rpx;font-size:22rpx;font-weight:500}.searchC .icon{margin-right:12rpx;width:25rpx;height:auto}.searchC input{height:100%;color:#fff}.stockDetailsC{left:25rpx;width:calc(100vw - 50rpx);bottom:env(safe-area-inset-bottom);background-color:#fff;border-radius:10rpx} diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.js b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.js new file mode 100644 index 0000000..9878e59 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../request/api.js"),o=require("../../common/assets.js"),a={data:()=>({navH:t.inject("navHeight"),contentTop:"",currentDate:"",selectedDate:"",allStockData:[],filteredData:[],conceptStocksList:[],alertTypeConfig:{surge:{text:"异动",color:"#FF7A45",filter:"brightness(0) saturate(100%) invert(54%) sepia(60%) saturate(467%) hue-rotate(344deg) brightness(102%) contrast(101%)"},shrink_surge_up:{text:"缩量急涨",color:"#722ED1",filter:"brightness(0) saturate(100%) invert(24%) sepia(90%) saturate(2865%) hue-rotate(266deg) brightness(87%) contrast(98%)"},volume_surge_up:{text:"放量急涨",color:"#EB2F96",filter:"brightness(0) saturate(100%) invert(34%) sepia(82%) saturate(1970%) hue-rotate(313deg) brightness(91%) contrast(94%)"},volume_oscillation:{text:"放量震荡",color:"#13C2C2",filter:"brightness(0) saturate(100%) invert(71%) sepia(62%) saturate(487%) hue-rotate(142deg) brightness(91%) contrast(93%)"},surge_up:{text:"急涨",color:"#FF4D4F",filter:"brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(727%) hue-rotate(346deg) brightness(102%) contrast(104%)"},surge_down:{text:"急跌",color:"#52C41A",filter:"brightness(0) saturate(100%) invert(68%) sepia(65%) saturate(456%) hue-rotate(71deg) brightness(91%) contrast(86%)"},shrink_surge_down:{text:"缩量急跌",color:"#FF7A45",filter:"brightness(0) saturate(100%) invert(54%) sepia(60%) saturate(467%) hue-rotate(344deg) brightness(102%) contrast(101%)"}},topLists:[{title:"大盘涨跌幅",value:"+0.00%",color:"#EC3440",backIcon:"/static/icon/gegu/gg-top-0.png"},{title:"涨停/跌停",value:"+0.00%",color:"#070707",backIcon:"/static/icon/gegu/gg-top-1.png"},{title:"多空对比",value:"0/0",color:"#070707",backIcon:"/static/icon/gegu/gg-top-2.png"},{title:"今日成交额",value:"0万亿",color:"#070707",backIcon:"/static/icon/gegu/gg-top-3.png"},{title:"A股总市值",value:"0万亿",color:"#070707",backIcon:"/static/icon/gegu/gg-top-4.png"},{title:"连板龙头",value:"0只",color:"#F59B38",backIcon:"/static/icon/gegu/gg-top-5.png"}],topLists2:[{title:"超大盘股",value:"(>1000亿)"},{title:"大盘股",value:"(500-1000亿)"},{title:"中盘股",value:"(100-500亿)"}],list2Index:0,typeList:[{title:"缩量急涨",backIcon:"/static/icon/gegu/cate-0.png"},{title:"异动",backIcon:"/static/icon/gegu/cate-1.png"},{title:"急跌",backIcon:"/static/icon/gegu/cate-2.png"},{title:"急涨",backIcon:"/static/icon/gegu/cate-3.png"},{title:"放量震荡",backIcon:"/static/icon/gegu/cate-4.png"}],marketAlertsList:[],formattedAvg:0,upCount:0,downCount:0,limit_up_ratio:0}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+115/750*t.inject("windowWidth");const o=new Date,a=o.getFullYear(),i=(o.getMonth()+1).toString().padStart(2,"0"),r=o.getDate().toString().padStart(2,"0");this.currentDate=`${a}-${i}-${r}`},onShow(){this.marketHeatmap(),this.marketStatistics(),this.marketHotspotListOverview()},methods:{formatAlpha:t=>null==t||isNaN(Number(t))?"0.0":Number(t).toFixed(1),handleTypeClick(t){this.list2Index=t,this.marketHeatmap(this.currentDate)},getTableItem(t){const e=t.market_cap?t.market_cap.toFixed(2):"0.00",o=t.amount?t.amount.toFixed(2):"0.00",a=t.change_percent?Number(t.change_percent):0;let i="",r="";return a>0?(i=`+${a}%`,r="positive"):a<0?(i=`${a}%`,r="negative"):(i="0%",r="zero"),[[t.stock_name,t.stock_code],[i,"",r],[`${e}亿元`],[`${o}亿元`],[t.industry||"暂无"]]},formatLimitUpRatio(t,e=0){if(!t||isNaN(Number(t)))return"0%";const o=100*Number(t);return`${0===e?Math.round(o):o.toFixed(e)}%`},conceptsDailyTop(){e.conceptsDailyTop().then((t=>{})).catch((t=>{}))},marketHeatmap(t){let o={limit:500};t&&"undefined"!==t&&""!==t.trim()&&(o.date=t),e.marketHeatmap(o).then((t=>{this.topLists[2].value=t.statistics.rising_count+"/"+t.statistics.falling_count,this.allStockData=t.data||[];const e=this.allStockData.filter((t=>{const e=Number(t.change_percent);return!isNaN(e)&&e>=9.9})).length,o=this.allStockData.filter((t=>{const e=Number(t.change_percent);return!isNaN(e)&&e<=-9.9})).length;this.topLists[1].value=e+"/"+o,this.topLists[5].value=e+"只",this.filterStockByMarketCap()})).catch((t=>{}))},filterStockByMarketCap(){const{list2Index:t,allStockData:e}=this;let o=[];switch(t){case 0:o=e.filter((t=>t.market_cap>1e3));break;case 1:o=e.filter((t=>t.market_cap>=500&&t.market_cap<=1e3));break;case 2:o=e.filter((t=>t.market_cap>=100&&t.market_cap<=500));break;default:o=e}this.filteredData=o.slice(0,10)},marketStatistics(){e.marketStatistics().then((t=>{this.topLists[3].value=this.formatToTrillion(t.summary.total_amount),this.topLists[4].value=this.formatToTrillion(t.summary.total_market_cap)})).catch((t=>{this.topLists[3].value="0.0 万亿",this.topLists[4].value="0.0 万亿"}))},formatToTrillion(t){if("number"!=typeof t||isNaN(t))return"0.0 万亿";return`${(t/1e4).toFixed(1)} 万亿`},marketHotspotListOverview(){let t={date:this.currentDate};e.marketHotspotOverview(t).then((t=>{var e;const o=(null==(e=null==t?void 0:t.data)?void 0:e.alerts)||[],a=t.data.index.change_pct;let i=0;a&&!isNaN(Number(a))&&(i=Number(a));const r=Math.round(100*i)/100,s=r.toFixed(2);let n="";n=r>0?`+${s}%`:r<0?`${s}%`:"0.00%";const c=r>0?"#EC3440":r<0?"#01AB5D":"#666666";this.topLists[0].value=n,this.topLists[0].color=c;const l=o.map((t=>{const e=(t.stocks||[]).filter((t=>null!=t.change_pct&&!isNaN(Number(t.change_pct)))),o=e.length>0?e.reduce(((t,e)=>t+Number(e.change_pct)),0)/e.length:0,a=e.filter((t=>Number(t.change_pct)>0)).length,i=e.filter((t=>Number(t.change_pct)<0)).length,r=Math.round(100*o)/100,s=r>0?`+${r.toFixed(2)}`:r.toFixed(2);return{...t,alpha:o,upCount:a,downCount:i,formattedAvg:s}})).sort(((t,e)=>{const o=t=>{const[e,o]=t.split(":").map(Number);return 60*e+o},a=o(t.time);return o(e.time)-a}));this.marketAlertsList=l})).catch((t=>{}))},itemDetails(e){t.index.navigateTo({url:"/pagesStock/stockCenterDetails/stockCenterDetails?code="+e.stock_code})},moreAction(){t.index.navigateTo({url:"/pages/geGuCenter/detail?currentDate="+this.currentDate})},allAction(t){1==t?this.$refs.typePopup.open():2==t&&this.$refs.datePopup.open()},closeAction(t){1==t?this.$refs.typePopup.close():2==t?this.$refs.datePopup.close():3==t&&this.$refs.detailPopup.close()},handleDateChange(t){this.selectedDate=t,console.log("选中的日期:",t)},confirmAction(t){if(1==t)this.$refs.typePopup.close();else if(2==t){if(this.selectedDate)this.currentDate=this.selectedDate,console.log("最终确认的日期:",this.currentDate);else{const t=new Date,e=t.getFullYear(),o=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getDate().toString().padStart(2,"0");this.currentDate=`${e}-${o}-${a}`}this.marketHeatmap(this.currentDate),this.marketStatistics(),this.marketHotspotListOverview(),this.$refs.datePopup.close()}},bkydAction(t){this.$refs.detailPopup.open(),this.formattedAvg=t.formattedAvg,this.upCount=t.upCount,this.downCount=t.downCount,this.limit_up_ratio=t.limit_up_ratio,this.conceptStocksDetails(t.concept_id)},conceptStocksDetails(t){console.log("concept_id",t),e.conceptStocks(t,{}).then((t=>{if(t.data&&t.data.stocks){let e=t.data.stocks;this.conceptStocksList=e.sort(((t,e)=>{const o=null===t.change_pct||void 0===t.change_pct?-999:Number(t.change_pct);return(null===e.change_pct||void 0===e.change_pct?-999:Number(e.change_pct))-o}))}else console.warn("接口返回数据格式异常",t)})).catch((t=>{}))},formatChangePct(t){if("number"!=typeof t)return"0.00%";return`${t>=0?"+":""}${t.toFixed(2)}%`},getChangeColor:t=>"number"!=typeof t?"#888888":t>0?"#EC3440":t<0?"#00B42A":"#888888"}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("uni-popup")+t.resolveComponent("LCCalendar2"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js")+(()=>"../../components/LCCalendar2/LCCalendar2.js"))();const i=t._export_sfc(a,[["render",function(e,a,i,r,s,n){return{a:t.p({leftText:"个股中心",hideNavBg:!0,hideBack:!0}),b:o._imports_0,c:o._imports_1,d:t.o((t=>e.clickSearch())),e:e.keywords,f:t.o((t=>e.keywords=t.detail.value)),g:t.s("top:"+s.navH+"px;"),h:t.f(s.topLists,((e,o,a)=>({a:e.backIcon,b:t.t(e.title),c:t.t(e.value),d:e.color,e:o}))),i:t.f(s.topLists2,((e,o,a)=>({a:t.t(e.title),b:s.list2Index==o?"#BB8520":"#070707",c:s.list2Index==o?"#FFFAF1":"#FFFFFF",d:t.t(e.value),e:s.list2Index==o?"#BB8520":"#070707",f:t.o((t=>n.handleTypeClick(o)),o),g:o,h:"1rpx solid "+(s.list2Index==o?"#F2C369":"#D2D2D2")}))),j:t.f(["股票名称","涨跌幅","市值","成交额","行业"],((e,o,a)=>({a:t.t(e),b:o}))),k:t.f(s.filteredData,((e,o,a)=>({a:t.f(n.getTableItem(e),((e,o,a)=>t.e({a:t.t(e[0]),b:0==o},0==o?{c:t.t(e[1])}:{},{d:o,e:0==o?"#222222":1==o?"positive"===e[2]?"#EC3440":"#01AB5D":"#666666"}))),b:t.o((t=>n.itemDetails(e))),c:o%2==0?"#fff":"#FAFAFC"}))),l:o._imports_1$2,m:t.o(((...t)=>n.moreAction&&n.moreAction(...t))),n:o._imports_3$7,o:o._imports_4$1,p:t.o((t=>n.allAction(1))),q:t.t(s.currentDate),r:o._imports_4$1,s:t.o((t=>n.allAction(2))),t:o._imports_3$7,v:t.f(s.marketAlertsList,((e,o,a)=>{var i,r,c,l;return t.e({a:t.t(e.time),b:t.t(e.concept_name),c:(null==(i=s.alertTypeConfig[e.alert_type])?void 0:i.filter)||"",d:t.t((null==(r=s.alertTypeConfig[e.alert_type])?void 0:r.text)||"异动"),e:(null==(c=s.alertTypeConfig[e.alert_type])?void 0:c.color)||"#FF7A45",f:"1rpx solid "+((null==(l=s.alertTypeConfig[e.alert_type])?void 0:l.color)||"#FF7A45"),g:t.t(e.formattedAvg),h:Number(e.alpha)>0?"#EC3440":"#01AB5D",i:t.t(e.upCount),j:e.upCount>0?"#EC3440":"#888888",k:t.t(e.downCount),l:e.downCount>0?"#01AB5D":"#888888",m:t.t(Math.round(e.final_score)),n:e&&Number(e.limit_up_ratio)>0&&!isNaN(Number(e.limit_up_ratio))},e&&Number(e.limit_up_ratio)>0&&!isNaN(Number(e.limit_up_ratio))?{o:t.t(n.formatLimitUpRatio(e.limit_up_ratio,0))}:{},{p:o,q:t.o((t=>n.bkydAction(e)),o)})})),w:o._imports_5$3,x:t.s("top:"+s.contentTop+"px;"),y:t.o((t=>n.closeAction(1))),z:t.o((t=>n.confirmAction(1))),A:t.f(s.typeList,((e,o,a)=>({a:e.backIcon,b:t.t(e.title),c:o}))),B:t.sr("typePopup","c7f5c964-1"),C:t.p({type:"bottom",safeArea:!1}),D:t.o((t=>n.closeAction(2))),E:t.o((t=>n.confirmAction(2))),F:t.o(n.handleDateChange),G:t.sr("datePopup","c7f5c964-2"),H:t.p({type:"bottom",safeArea:!1}),I:o._imports_8,J:t.o((t=>n.closeAction(3))),K:t.t(s.formattedAvg),L:Number(s.formattedAvg)>0?"#EC3440":"#01AB5D",M:t.t(s.upCount),N:s.upCount>0?"#EC3440":"#888888",O:t.t(s.downCount),P:s.downCount>0?"#01AB5D":"#888888",Q:t.t(n.formatLimitUpRatio(s.limit_up_ratio,0)),R:t.f(s.conceptStocksList,((e,o,a)=>({a:t.t(e.name),b:t.t(e.code),c:t.t(n.formatChangePct(e.change_pct)),d:n.getChangeColor(e.change_pct),e:o,f:o%2==0?"#fff":"#FAFAFC"}))),S:t.sr("detailPopup","c7f5c964-4"),T:t.p({type:"bottom",safeArea:!1})}}]]);wx.createPage(i); diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.json b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.json new file mode 100644 index 0000000..cc20fea --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.json @@ -0,0 +1,8 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar", + "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup", + "l-c-calendar2": "../../components/LCCalendar2/LCCalendar2" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxml b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxml new file mode 100644 index 0000000..b2f7a87 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxml @@ -0,0 +1 @@ +{{item.b}}{{item.c}}{{item.a}}{{item.d}}{{item.a}}{{item.a}}{{item.c}}查看更多异动监控 全部{{q}} 折线图占位 板块异动明细 {{item.a}}{{item.b}}{{item.d}}板块均涨{{item.g}}% {{item.i}}涨 /{{item.k}}跌 评分{{item.m}}超额收益+ 0%涨停比{{item.o}}取消选择分类 确定{{item.b}}取消选择日期 确定详情 相关股票 板块均涨{{K}}%{{M}}涨 /{{O}}跌 涨停比{{Q}}{{item.a}}{{item.b}}{{item.c}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxss b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxss new file mode 100644 index 0000000..b3b1f5b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.searchC{background-color:rgba(41,41,41,.7);left:0;right:0;margin:20rpx 25rpx 0;padding:0 25rpx;height:70rpx;border-radius:35rpx;font-size:22rpx;font-weight:500}.searchC .icon{margin-right:12rpx;width:25rpx;height:auto}.searchC input{height:100%;color:#fff}.stockDetailsC{left:25rpx;width:calc(100vw - 50rpx);bottom:calc(55px + env(safe-area-inset-bottom));background-color:#fff;border-radius:10rpx}.detailPopup{max-height:70%;background-color:#fff;color:red;border-radius:20rpx 20rpx 0 0;padding-bottom:env(safe-area-inset-bottom)} diff --git a/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.js b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.js new file mode 100644 index 0000000..4566e74 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),t={data:()=>({navH:e.inject("navHeight"),url:""}),onLoad(e){e.name&&(this.url="https://valuefrontier.cn/htmls/concept/"+e.name+"/")},methods:{}};const n=e._export_sfc(t,[["render",function(e,t,n,r,o,a){return{a:o.url}}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.json b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.json new file mode 100644 index 0000000..f32164d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxml b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxml new file mode 100644 index 0000000..20c283c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxss b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxss new file mode 100644 index 0000000..0fee62d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.conceptDetailsC{background-color:#fff;margin-top:10rpx;padding:20rpx 25rpx;left:0;right:0;bottom:0;border-radius:20rpx 20rpx 0 0}.conceptDetailsC .title{font-size:30rpx;font-weight:700;color:#222}.conceptDetailsC .time{margin-top:10rpx;font-size:22rpx;font-weight:500;color:#aaa}.conceptDetailsC .content{margin-top:30rpx;font-size:26rpx;font-weight:500;color:#666} diff --git a/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.js b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.js new file mode 100644 index 0000000..aa33cc0 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),o=require("../../../utils/util.js"),i=require("../../../common/assets.js"),a=require("../../../uni_modules/lime-echart/static/echarts.min.js"),s={data:()=>({navH:t.inject("navHeight"),windowWidth:t.inject("windowWidth"),eventId:"",memberInfo:null,eventDetails:null,categoryList:["相关标的","相关概念","历史事件"],targetList:[],conceptList:[],page:1,loadAll:!1,historyEventList:[],historyEventRelatedStockList:[],selectCategory:0,headingList:["名称代码","分时图","开盘价","最新价","涨跌幅"],getLocaleHourMinute:o.getLocaleHourMinute,getLocaleTime:o.getLocaleTime,getRateUpOrDown:o.getRateUpOrDown,getRateStr:o.getRateStr,getChgRateStr:o.getChgRateStr,scoreTop:"",expectScore:0,commentList:[],eventComment:"",replyId:"",replyPid:"",isFocus:!1,replyComment:"",option:{tooltip:{show:!1,trigger:"axis",axisPointer:{type:"shadow"},confine:!0},grid:{left:"10%",right:"6%",top:"5%",bottom:"10%"},xAxis:{type:"category",scale:!0,data:[],axisLine:{show:!1},axisLabel:{show:!1}},yAxis:[{type:"value",axisTick:{show:!1},scale:!0,axisLabel:{show:!1},splitLine:{show:!1}}],series:{name:"分时图",type:"line",label:{show:!0,position:"top",fontSize:12},symbol:"none",silent:!0,data:[],itemStyle:{color:""},markLine:{symbol:["none","none"],lineStyle:{color:"#AAAAAA",type:"dashed"},data:[]}}}}),onLoad(t){t.id&&(this.eventId=t.id,this.getEventRelatedStockData(),this.getEventCommentListData())},methods:{copyEventTitle(){t.index.setClipboardData({data:this.eventDetails.event_title,success(){t.index.showToast({title:"复制成功"})}})},async init(){let t=this;setTimeout((function(){t.targetList.map((function(e,o){t.$refs["chartRef"+o][0].init(a).then((o=>{let i={...t.option},a=[],s=[];for(let t of e.minute_chart_data)a.push(t.time),s.push(t.close);i.series.data=s,i.xAxis.data=a;let n=t.eventDetails.event_start_time.split("T")[1];n=n.substring(0,5);let c=e.minute_chart_data[0].open;i.series.markLine.data=[{xAxis:n,lineStyle:{type:"solid",width:1,color:"#ffd700"}},{yAxis:c}];let r=e.minute_chart_data.slice(-1)[0].close;i.series.itemStyle.color=r>=c?"#EF5350":"#26A69A",o.setOption(i)}))}))}),300)},loadMoreData(){1==this.selectCategory&&(this.loadAll||(this.page++,this.getEventRelatedConceptData()))},clickCategoryItem(t){this.selectCategory!=t&&(this.selectCategory=t,0==t?this.getEventRelatedStockData():1==t?(this.page=1,this.loadAll=!1,this.getEventRelatedConceptData()):2==t&&this.getEventHistoryEventData())},clickStockItem(e){t.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=1&code="+e+"&id="+this.eventId})},clickConceptItem(e){let o=t.CryptoJS.MD5(e).toString();t.index.navigateTo({url:"/pages/index/conceptDetails/conceptDetails?name="+o})},clickNotVip(){this.$refs.vipPopup.open()},clickLater(){this.$refs.vipPopup.close()},clickUpgradeAtOnce(){this.clickLater()},clickStockMore(e){t.index.navigateTo({url:"/pages/concept/hotStock/hotStock?id="+e.concept_id})},clickHistoricalTimeline(e){t.index.navigateTo({url:"/pages/concept/historicalTimeline/historicalTimeline?id="+e.concept_id})},clickLookHistoricalEventRelatedStock(t){this.historyEventRelatedStockList=t.related_stocks,this.$refs.stockPopup.open()},closeRelatedStockPopup(){this.$refs.stockPopup.close()},clickExpectScore(t){this.scoreTop=t.currentTarget.offsetTop+this.navH+80/750*this.windowWidth,this.$refs.expectScorePopup.open()},sendEventComment(){if(!this.eventComment)return void t.index.showToast({title:"请输入评论内容",icon:"none"});let o=this.eventId,i={content:this.eventComment};e.commentEvent(o,i).then((e=>{t.index.showToast({title:e.message,icon:"none"});let o=this;setTimeout((function(){o.getEventCommentListData()}),1e3)})).catch((t=>{}))},clickComment(){this.$refs.popup.open()},closeCommentPopup(){this.$refs.popup.close()},clickFollow(){let o=this.eventId;e.followEvent(o).then((e=>{t.index.showToast({title:e.message,icon:"none"}),t.index.$emit("editSuccess"),this.getEventRelatedStockData()})).catch((t=>{}))},clickReplyComment(t,e){this.replyId=t,e&&(this.replyPid=e),this.isFocus=!0},sendReplyComment(){if(!this.replyComment)return void t.index.showToast({title:"请输入评论内容",icon:"none"});let o={content:this.replyComment};this.replyPid&&(o.parent_id=this.replyPid),e.replyComment(this.replyId,o).then((t=>{})).catch((t=>{}))},clickLikeComment(o,i,a){e.likeEventComment(o).then((e=>{t.index.showToast({title:e.message,icon:"none"}),-1==a&&(this.commentList[i].likes_count=e.likes_count)})).catch((t=>{}))},getEventRelatedStockData(){let o=this.eventId;e.eventRelatedStock(o).then((e=>{200==e.code?(this.eventDetails=e.data,this.targetList=e.data.related_stocks,this.init()):t.index.showToast({title:e.message,icon:"none",duration:3e3})})).catch((t=>{}))},getEventRelatedConceptData(){let t={query:this.eventDetails.event_title,size:10,page:this.page,sort_by:"_score",isJson:1};e.eventRelatedConcept(t).then((t=>{1==t.page?this.conceptList=t.results:this.conceptList=this.conceptList.concat(t.results),t.page==t.total_pages&&(this.loadAll=!0)})).catch((t=>{}))},getEventHistoryEventData(){let o=this.eventId;e.eventHistoryEvent(o).then((e=>{200==e.code?(this.expectScore=e.data.invest_score,this.historyEventList=e.data.historical_events):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))},getEventCommentListData(){let t=this.eventId;e.eventCommentList(t).then((t=>{this.commentList=t.data.posts})).catch((t=>{}))}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("l-echart")+t.resolveComponent("uni-popup"))()}Math||((()=>"../../../components/navBar/navBar.js")+(()=>"../../../uni_modules/lime-echart/components/l-echart/l-echart.js")+(()=>"../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const n=t._export_sfc(s,[["render",function(e,o,a,s,n,c){return t.e({a:t.p({leftText:"事件详情",hideNavBg:!0}),b:i._imports_0,c:n.eventDetails},n.eventDetails?t.e({d:t.t(n.eventDetails.event_type),e:t.t(n.eventDetails.event_title),f:t.o((t=>c.copyEventTitle())),g:t.t(n.eventDetails.event_created_at.substr(0,16)),h:t.t(n.eventDetails.event_desc),i:t.f(n.categoryList,((e,o,i)=>t.e({a:t.t(e),b:n.selectCategory==o},(n.selectCategory,{}),{c:t.n("item relative "+(n.selectCategory==o?"select":"")),d:o,e:t.o((t=>c.clickCategoryItem(o)),o)}))),j:0==n.selectCategory},0==n.selectCategory?{k:t.f(n.headingList,((e,o,i)=>({a:t.t(e),b:o})))}:{},{l:0==n.selectCategory},0==n.selectCategory?{m:t.f(n.targetList,((e,o,i)=>({a:t.t(e.stock_name),b:t.t(e.stock_code),c:t.sr("chartRef"+o,"6e1a61f1-1-"+i,{f:1}),d:"chartRef"+o,e:"6e1a61f1-1-"+i,f:t.t(e.trade_data?e.trade_data.open_price:""),g:t.t(e.trade_data?e.trade_data.latest_price:""),h:t.t(e.trade_data?e.trade_data.change_pct:""),i:t.n("chg flex1 "+(n.getRateUpOrDown(e.trade_data?e.trade_data.change_pct:"")?"down":"up")),j:t.t(e.relation_desc),k:o,l:t.o((t=>c.clickStockItem(e.stock_code)),o)})))}:{},{n:1==n.selectCategory},1==n.selectCategory?{o:t.f(n.conceptList,((e,o,a)=>t.e({a:t.t(e.concept),b:e.price_info},e.price_info?{c:t.t(n.getChgRateStr(e.price_info.avg_change_pct)),d:t.n("chg "+(n.getRateUpOrDown(e.price_info.avg_change_pct)?"down":"up"))}:{},{e:e.price_info},e.price_info?{f:t.t(e.stock_count),g:t.n("stockNum "+(n.getRateUpOrDown(e.price_info.avg_change_pct)?"down":"up"))}:{},{h:t.t(e.description)},n.memberInfo&&n.memberInfo.is_member&&"pro"==n.memberInfo.subscription_type?{i:t.f(e.stocks.slice(0,3),((e,o,i)=>({a:t.t(e.name),b:o}))),j:t.t(e.stock_count-3),k:t.o((t=>c.clickStockMore(e)),o)}:{l:i._imports_1$6,m:t.t(e.stock_count),n:t.o((t=>c.clickNotVip()),o)},{o:t.t(e.price_info?e.price_info.trade_date:""),p:t.o((t=>c.clickHistoricalTimeline(e)),o),q:o,r:t.o((t=>c.clickConceptItem(e.concept)),o)}))),p:n.memberInfo&&n.memberInfo.is_member&&"pro"==n.memberInfo.subscription_type,q:i._imports_1$3}:{},{r:2==n.selectCategory},2==n.selectCategory?{s:i._imports_3$3,t:t.t(n.expectScore),v:i._imports_4$4,w:t.o((t=>c.clickExpectScore(t))),x:t.f(n.historyEventList,((e,o,a)=>t.e({a:t.t(e.title),b:t.t(10*e.relevance),c:t.t(e.content),d:n.getRateUpOrDown(e.related_avg_chg)},n.getRateUpOrDown(e.related_avg_chg)?{e:i._imports_1$1}:{f:i._imports_2$1},{g:t.t(n.getRateStr(e.related_avg_chg)),h:t.n("rateItem "+(n.getRateUpOrDown(e.related_avg_chg)?"down":"up")),i:n.getRateUpOrDown(e.related_max_chg)},n.getRateUpOrDown(e.related_max_chg)?{j:i._imports_1$1}:{k:i._imports_2$1},{l:t.t(n.getRateStr(e.related_max_chg)),m:t.n("rateItem "+(n.getRateUpOrDown(e.related_max_chg)?"down":"up")),n:t.o((t=>c.clickLookHistoricalEventRelatedStock(e)),o),o:t.t(n.getLocaleTime(e.event_date)),p:o}))),y:i._imports_5$1,z:i._imports_3$3}:{},{A:t.s("top:"+n.navH+"px;"),B:t.o((t=>c.loadMoreData()))}):{},{C:n.eventDetails},n.eventDetails?{D:i._imports_8$2,E:t.t(n.eventDetails.view_count),F:i._imports_9$2,G:t.t(n.eventDetails.follower_count),H:t.o((t=>c.clickFollow()))}:{},{I:i._imports_8,J:t.o((t=>c.closeCommentPopup())),K:t.f(n.commentList,((e,o,i)=>({a:e.user.avatar_url,b:t.t(e.user.username),c:t.t(e.content),d:t.t(n.getLocaleHourMinute(e.created_at)),e:t.o((t=>c.clickReplyComment(e.post_id)),o),f:t.t(e.likes_count),g:t.o((t=>c.clickLikeComment(e.post_id,o,-1)),o),h:o}))),L:i._imports_11,M:t.sr("popup","6e1a61f1-2"),N:t.p({type:"bottom"}),O:i._imports_12$1,P:t.s("margin-top:"+n.scoreTop+"px;"),Q:t.sr("expectScorePopup","6e1a61f1-3"),R:t.p({type:"top","mask-background-color":"transparent",animation:!1}),S:i._imports_8,T:t.o((t=>c.closeRelatedStockPopup())),U:t.f(n.historyEventRelatedStockList,((e,o,a)=>t.e({a:t.t(e.stock_name+"("+e.stock_code+")"),b:t.t(100*e.correlation),c:t.t(e.sector),d:n.getRateUpOrDown(e.daily_change)},n.getRateUpOrDown(e.daily_change)?{e:i._imports_1$1}:{f:i._imports_2$1},{g:t.t(n.getRateStr(e.daily_change)),h:t.n("rateC "+(n.getRateUpOrDown(e.daily_change)?"down":"up")),i:t.t(e.relation_desc),j:o,k:t.o((t=>c.clickStockItem(e.stock_code)),o)}))),V:t.sr("stockPopup","6e1a61f1-4"),W:t.p({type:"bottom"}),X:i._imports_13,Y:i._imports_14,Z:i._imports_15,aa:i._imports_15,ab:i._imports_16,ac:i._imports_16,ad:i._imports_16,ae:t.o((t=>c.clickLater())),af:t.o((t=>c.clickUpgradeAtOnce())),ag:t.sr("vipPopup","6e1a61f1-5"),ah:t.p({type:"center"})})}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.json b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.json new file mode 100644 index 0000000..455d609 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.json @@ -0,0 +1,8 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar", + "l-echart": "../../../uni_modules/lime-echart/components/l-echart/l-echart", + "uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxml b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxml new file mode 100644 index 0000000..6f8aea1 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxml @@ -0,0 +1 @@ +{{d}}{{e}}{{g}}{{h}}(AI合成) 【风险提示:解析内容由价值前沿人工采集整理自新闻、公告、研报等公开信息,团队辛苦编写,未经许可严禁转载。本产品内容内容均不构成投资建议,请投资者注意风险,独立审慎决策。】 {{item.a}} {{item.a}}{{item.a}}{{item.b}}{{item.f}}{{item.g}}{{item.h}}%{{item.j}}(AI合成){{item.a}}{{item.c}}%{{item.f}} 只股票{{item.h}}热门个股{{sitem.a}}+{{item.j}}更多需升级Pro会员查看{{item.m}}只个股交易时间:{{item.o}}历史时间轴超预期得分:{{t}}{{item.a}}相关度: {{item.b}}%{{item.c}} 平均涨幅: {{item.g}}% 最大涨幅: {{item.l}}% 查看相关股票 {{item.o}}{{E}}{{G}}全部回复{{item.b}}{{item.c}}{{item.d}}回复{{item.f}} 超预期得分:基于历史事件判断当前事件的超预期情况,满分100分,得分越高,越超预期。 相关股票{{item.a}}相关度: {{item.b}}%{{item.c}} 当日涨幅: {{item.g}}% {{item.i}}需要Pro版订阅当前功能需要更高权限您正在尝试访问概念统计中心和热门个股 当前订阅 免费版基础事件浏览有限历史事件查看 所需订阅 Pro版相关标的分析相关概念分析完整历史事件稍后再说立即升级 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxss b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxss new file mode 100644 index 0000000..aaeb6f2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.eventDetailsC{margin-top:10rpx;padding:20rpx 25rpx 0;left:0;right:0;bottom:calc(110rpx + env(safe-area-inset-bottom));border-radius:20rpx 20rpx 0 0;overflow-y:scroll}.eventDetailsC .eventIntroC{background:linear-gradient(-30deg,#fff6f0,#fefefe);padding:26rpx 0 34rpx;border-radius:10rpx}.eventDetailsC .eventIntroC .categoryTitleC{padding:0 25rpx}.eventDetailsC .eventIntroC .categoryTitleC .category{background-color:#f3c368;margin-right:8rpx;display:inline-block;padding:0 11rpx;line-height:40rpx;border-radius:8rpx;font-size:22rpx;font-weight:700;color:#fff}.eventDetailsC .eventIntroC .categoryTitleC .title{font-size:30rpx;font-weight:700;color:#222;line-height:1.1rem}.eventDetailsC .eventIntroC .eventTime{margin:20rpx 25rpx 0;font-size:22rpx;font-weight:500;color:#666}.eventDetailsC .eventIntroC .eventContent{margin:18rpx 27rpx 0;word-break:break-all;font-size:24rpx;font-weight:500;color:#71675d;line-height:1.3rem}.eventDetailsC .eventIntroC .eventContent .ai{color:#ec3440}.eventDetailsC .eventIntroC .riskTips{margin:24rpx 25rpx 0;line-height:1.2rem;font-size:22rpx;font-weight:500;color:#a2a2a1}.eventDetailsC .categoryList{white-space:nowrap}.eventDetailsC .categoryList .item{display:inline-block;line-height:80rpx;padding:0 18rpx;font-size:27rpx;font-weight:500;color:#939393}.eventDetailsC .categoryList .item.select{font-weight:700;color:#f3c368}.eventDetailsC .headingList{background-color:#fff1e7;padding:0 10rpx;border-radius:10rpx 10rpx 0 0}.eventDetailsC .headingList .item{line-height:70rpx;font-size:24rpx;font-weight:500;color:#070707;text-align:center}.eventDetailsC .targetList{background:linear-gradient(-30deg,#fff6f0,#fefefe);padding:0 25rpx}.eventDetailsC .targetList .item{padding-bottom:20rpx;border-bottom:solid 1rpx #E4E4E4}.eventDetailsC .targetList .item .nameCodePriceC{padding:20rpx 0;font-size:28rpx;font-weight:700;color:#222}.eventDetailsC .targetList .item .nameCodePriceC .code{font-size:20rpx;font-weight:500;color:#888}.eventDetailsC .targetList .item .nameCodePriceC .price{text-align:center}.eventDetailsC .targetList .item .nameCodePriceC .chg{text-align:right}.eventDetailsC .targetList .item .nameCodePriceC .chg.up{color:#ff2929}.eventDetailsC .targetList .item .nameCodePriceC .chg.down{color:#355422}.eventDetailsC .targetList .item .content{font-size:20rpx;font-weight:500;color:#71675d;line-height:1.2rem}.eventDetailsC .targetList .item .content .ai{color:#cccdd1}.eventDetailsC .conceptList .conceptItem{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:20rpx;border-radius:10rpx}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC{padding:24rpx 18rpx 0}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC .title{margin-right:20rpx;font-size:30rpx;font-weight:700;color:#3d3d3d}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC .chg{margin-right:20rpx;padding:0 13rpx;line-height:40rpx;border-radius:20rpx;font-size:22rpx;font-weight:700;color:#fff}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC .chg.up{background-color:#ec3440}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC .chg.down{background-color:#355422}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC .stockNum{flex-shrink:0;padding:0 16rpx;line-height:36rpx;border-radius:20rpx;font-size:22rpx;font-weight:700}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC .stockNum.up{color:#ec3440;border:solid 2rpx #EC3440}.eventDetailsC .conceptList .conceptItem .titleChgStockNumC .stockNum.down{color:#355422;border:solid 2rpx #355422}.eventDetailsC .conceptList .conceptItem .content{margin-top:26rpx;padding:0 22rpx;font-size:24rpx;font-weight:500;color:#71675d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.eventDetailsC .conceptList .conceptItem .hotStockC{margin-top:30rpx;padding:0 20rpx}.eventDetailsC .conceptList .conceptItem .hotStockC .title{margin-right:10rpx;font-size:24rpx;font-weight:700;color:#936e5c}.eventDetailsC .conceptList .conceptItem .hotStockC .stockList{font-size:22rpx}.eventDetailsC .conceptList .conceptItem .hotStockC .stockList .stockItem{background-color:#3d3d3d;margin-right:10rpx;padding:0 8rpx;line-height:36rpx;border-radius:5rpx 20rpx;color:#efddd1}.eventDetailsC .conceptList .conceptItem .hotStockC .stockList .more{color:#936e5c;line-height:36rpx}.eventDetailsC .conceptList .conceptItem .hotStockC .notVipC{background-color:#3d3d3d;padding:0 21rpx 0 16rpx;line-height:36rpx;border-radius:5rpx;font-size:22rpx;color:#f3c368}.eventDetailsC .conceptList .conceptItem .hotStockC .notVipC .icon{margin-right:9rpx;width:15rpx;height:auto}.eventDetailsC .conceptList .conceptItem .transactionDateHistoryTimeC{padding:20rpx 22rpx 30rpx}.eventDetailsC .conceptList .conceptItem .transactionDateHistoryTimeC .transactionDate{font-size:20rpx;font-weight:500;color:#666}.eventDetailsC .conceptList .conceptItem .transactionDateHistoryTimeC .historyTimeC{background-color:#f3c368;padding:0 10rpx 0 15rpx;line-height:36rpx;border-radius:10rpx;font-size:22rpx;font-weight:500;color:#101213}.eventDetailsC .conceptList .conceptItem .transactionDateHistoryTimeC .historyTimeC .icon{margin-right:7rpx;width:20rpx;height:auto}.eventDetailsC .historyEventList{padding:20rpx 0}.eventDetailsC .historyEventList .expectScoreC{padding:0 20rpx;height:70rpx}.eventDetailsC .historyEventList .expectScoreC .icon{margin-right:14rpx;width:24rpx;height:auto}.eventDetailsC .historyEventList .expectScoreC .score{font-size:24rpx;font-weight:500;color:#fff6f0}.eventDetailsC .historyEventList .expectScoreC .tips{margin-left:14rpx;width:24rpx;height:auto}.eventDetailsC .historyEventList .list .item .eventLineC{padding:30rpx 34rpx 0 25rpx}.eventDetailsC .historyEventList .list .item .eventLineC .line{width:1rpx;border-left:dashed 1rpx #F3C368;height:calc(100% - 10rpx)}.eventDetailsC .historyEventList .list .item .eventLineC .point{top:0;left:14rpx;width:20rpx;height:auto}.eventDetailsC .historyEventList .list .item .eventInfoC{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:20rpx;padding-top:27rpx;min-width:0;border-radius:10rpx}.eventDetailsC .historyEventList .list .item .eventInfoC .titleCorrelationC{padding:0 24rpx 0 30rpx}.eventDetailsC .historyEventList .list .item .eventInfoC .titleCorrelationC .title{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:28rpx;font-weight:700;color:#222}.eventDetailsC .historyEventList .list .item .eventInfoC .titleCorrelationC .correlation{background-color:#fff8eb;padding:0 12rpx;line-height:40rpx;border-radius:5rpx;font-size:22rpx;font-weight:500;color:#efb342}.eventDetailsC .historyEventList .list .item .eventInfoC .content{margin:16rpx 30rpx 0;font-size:24rpx;font-weight:500;color:#666}.eventDetailsC .historyEventList .list .item .eventInfoC .content .ai{color:#c00000}.eventDetailsC .historyEventList .list .item .eventInfoC .increaseRateList{white-space:nowrap;padding:0 30rpx;margin-top:24rpx}.eventDetailsC .historyEventList .list .item .eventInfoC .increaseRateList .rateItem{display:inline-block;margin-right:15rpx;line-height:44rpx;padding:0 14rpx;border-radius:10rpx;font-size:22rpx;font-weight:700;color:#fff}.eventDetailsC .historyEventList .list .item .eventInfoC .increaseRateList .rateItem .arrow{width:15rpx;height:auto}.eventDetailsC .historyEventList .list .item .eventInfoC .increaseRateList .rateItem.up{background-color:#ec3440}.eventDetailsC .historyEventList .list .item .eventInfoC .increaseRateList .rateItem.down{background-color:#355422}.eventDetailsC .historyEventList .list .item .eventInfoC .relatedStockTimeC{padding-right:28rpx}.eventDetailsC .historyEventList .list .item .eventInfoC .relatedStockTimeC .relatedStockC{padding:16rpx 30rpx;font-size:24rpx;font-weight:700;color:#070707}.eventDetailsC .historyEventList .list .item .eventInfoC .relatedStockTimeC .relatedStockC .icon{margin-right:13rpx;width:24rpx;height:auto}.eventDetailsC .historyEventList .list .item .eventInfoC .relatedStockTimeC .time{font-size:22rpx;font-weight:500;color:#aaa;text-align:right}.bottomC{background-color:#131313;padding:20rpx 25rpx calc(20rpx + env(safe-area-inset-bottom));left:0;right:0;bottom:0}.bottomC .inputC{background-color:#424143;margin-right:20rpx;padding:0 33rpx;height:70rpx;border-radius:35rpx}.bottomC .inputC input{height:100%;font-size:26rpx;font-weight:500}.bottomC .item{font-size:30rpx;font-weight:700;color:#bdbdbd;text-align:center}.bottomC .item .icon{margin:0 20rpx;width:40rpx;height:auto}.popup{background-color:#fff}.popup .titleCloseC{padding-left:25rpx;font-size:32rpx;font-weight:700;color:#222}.popup .titleCloseC .closeC{padding:28rpx}.popup .titleCloseC .closeC .icon{width:28rpx;height:auto}.popup .list{margin:0 25rpx;border-top:solid 1rpx #E4E4E4;max-height:1200rpx}.popup .list .item{padding-top:30rpx;border-bottom:solid 1rpx #E4E4E4}.popup .list .item .originComment{display:flex}.popup .list .item .originComment .avatar{margin-right:23rpx;width:80rpx;height:80rpx;border-radius:50%}.popup .list .item .originComment .nickname{font-size:28rpx;font-weight:700;color:#111}.popup .list .item .originComment .content{margin-top:10rpx;line-height:1.2rem;font-size:24rpx;font-weight:500;color:#666}.popup .list .item .originComment .timeReplyLikeC .time{margin-right:36rpx;font-size:26rpx;font-weight:500;color:#aaa}.popup .list .item .originComment .timeReplyLikeC .reply{font-size:26rpx;font-weight:500;color:#f97316}.popup .list .item .originComment .timeReplyLikeC .likeC{padding:14rpx 0;font-size:28rpx;font-weight:700;color:#999}.popup .list .item .originComment .timeReplyLikeC .likeC .icon{margin-right:12rpx;width:27rpx;height:auto}.popup .list .item .originComment .timeReplyLikeC .likeC.like{color:#f97316}.popup .list .item .originComment .totalCommentNumC{padding:14rpx 0 22rpx;font-size:26rpx;font-weight:500;color:#999}.popup .list .item .originComment .totalCommentNumC .line{background-color:#aaa;margin-right:18rpx;width:30rpx;height:2rpx}.popup .list .item .originComment .totalCommentNumC .arrow{margin-left:14rpx;width:13rpx;height:auto}.popup .list .item .replyList{margin-left:60rpx;border-top:solid 1rpx #E4E4E4}.popup .list .item .replyList .replyItem{display:flex;padding:22rpx 0;border-bottom:solid 1rpx #E4E4E4}.popup .list .item .replyList .replyItem .avatar{margin-right:23rpx;width:80rpx;height:80rpx;border-radius:50%}.popup .list .item .replyList .replyItem .nickname{font-size:28rpx;font-weight:700;color:#111}.popup .list .item .replyList .replyItem .content{margin-top:10rpx;line-height:1.2rem;font-size:24rpx;font-weight:500;color:#666}.popup .list .item .replyList .replyItem .timeReplyLikeC .time{margin-right:36rpx;font-size:26rpx;font-weight:500;color:#aaa}.popup .list .item .replyList .replyItem .timeReplyLikeC .reply{font-size:26rpx;font-weight:500;color:#f97316}.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC{padding:14rpx 0;font-size:28rpx;font-weight:700;color:#999}.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC .icon{margin-right:12rpx;width:27rpx;height:auto}.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC.like{color:#f97316}.popup .list .item .replyList .replyItem:last-child{border:none}.popup .popBottomC{padding:22rpx 25rpx calc(22rpx + env(safe-area-inset-bottom))}.popup .popBottomC .inputC{background-color:#f0f0f0;padding:0 33rpx;height:70rpx;border-radius:35rpx}.popup .popBottomC .inputC input{height:100%;font-size:26rpx;font-weight:500;color:#333}.expectScorePopup{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-left:calc(100% - 344rpx);width:320rpx;box-shadow:0 0 10px rgba(0,0,0,.1);border-radius:10rpx}.expectScorePopup .arrow{top:-13rpx;right:38rpx;width:26rpx;height:auto}.expectScorePopup .tips{padding:30rpx 22rpx 20rpx;font-size:22rpx;font-weight:500;color:#444}.stockPopup{background-color:#fff;border-radius:20rpx 20rpx 0 0}.stockPopup .titleCloseC{padding-left:25rpx;font-size:32rpx;font-weight:700;color:#222}.stockPopup .titleCloseC .closeC{padding:28rpx}.stockPopup .titleCloseC .closeC .icon{width:28rpx;height:auto}.stockPopup .list{border-top:solid 1rpx #E4E4E4;margin:0 25rpx;max-height:800rpx;overflow-y:scroll}.stockPopup .list .item{padding:36rpx 0 28rpx;border-bottom:solid 1rpx #E4E4E4}.stockPopup .list .item .titleCorrelationC .title{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:30rpx;font-weight:700;color:#222}.stockPopup .list .item .titleCorrelationC .correlation{background-color:#f3c368;padding:0 12rpx;line-height:40rpx;border-radius:5rpx;font-size:24rpx;font-weight:500;color:#101213}.stockPopup .list .item .sectorRateC .sector{display:inline-block;margin-right:20rpx;padding:0 11rpx;line-height:30rpx;border-radius:5rpx;border:solid .5px #F6604A;font-size:20rpx;font-weight:500;color:#f6604a}.stockPopup .list .item .sectorRateC .rateC{display:inline-block;padding:0 10rpx;height:30rpx;border-radius:5rpx;font-size:20rpx;font-weight:500;color:#fff}.stockPopup .list .item .sectorRateC .rateC .arrow{width:15rpx;height:auto}.stockPopup .list .item .sectorRateC .rateC.up{background-color:#c00000}.stockPopup .list .item .sectorRateC .rateC.down{background-color:#355422}.stockPopup .list .item .content{margin-top:16rpx;font-size:24rpx;font-weight:500;color:#666}.stockPopup .list .item .content .ai{color:#c00000}.vipPopup{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin:0 95rpx;padding-bottom:34rpx;width:560rpx;border-radius:10rpx}.vipPopup .topIcon{margin:-60rpx 0 0 calc((100% - 143rpx)/2);width:143rpx;height:auto}.vipPopup .popTitle{margin-top:28rpx;font-size:40rpx;font-weight:700;color:#101213;text-align:center}.vipPopup .popSubtitle{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#493f2b;text-align:center}.vipPopup .moduleC{background-color:#fff;margin:0 30rpx 20rpx;padding-top:25rpx;border-radius:10rpx}.vipPopup .moduleC .section{padding:0 25rpx;font-size:26rpx;font-weight:700;color:#333}.vipPopup .moduleC .section .version{margin-left:18rpx;padding:0 15rpx;line-height:32rpx;border-radius:10rpx;font-size:22rpx}.vipPopup .moduleC .section .version.free{background-color:#3d3d3d;color:#fefcfb}.vipPopup .moduleC .section .version.pro{background-color:#f2c367;color:#3d3d3d}.vipPopup .moduleC .visitC{margin:18rpx 24rpx 0;height:60rpx}.vipPopup .moduleC .visitC .line{background-color:#f2c367;top:0;left:0;width:44rpx;height:100%;border-radius:7rpx 0 0 7rpx}.vipPopup .moduleC .visitC .contentC{background-color:#f7f7f7;margin-left:6rpx;padding:0 15rpx;height:100%;border-radius:10rpx;font-size:24rpx;font-weight:500;color:#3d3d3d}.vipPopup .moduleC .visitC .contentC .icon{margin-right:14rpx;width:25rpx;height:auto}.vipPopup .moduleC .list{padding-bottom:10rpx}.vipPopup .moduleC .list .item{padding:10rpx 25rpx;font-size:24rpx;font-weight:500;color:#333}.vipPopup .moduleC .list .item .icon{margin-right:13rpx;width:27rpx;height:auto}.vipPopup .moduleC.visit{margin-top:20rpx;padding-bottom:25rpx}.vipPopup .btnC{margin:28rpx 92rpx 0}.vipPopup .btnC .btn{line-height:60rpx;border-radius:10rpx;font-size:24rpx;font-weight:700;text-align:center}.vipPopup .btnC .btn.later{background-color:#ededed;margin-right:56rpx}.vipPopup .btnC .btn.upgrade{background-color:#f2c367} diff --git a/unpackage/dist/build/mp-weixin/pages/index/index.js b/unpackage/dist/build/mp-weixin/pages/index/index.js new file mode 100644 index 0000000..041a239 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),t=require("../../request/api.js"),s=require("../../utils/util.js"),i=require("../../common/assets.js"),r=require("../../uni_modules/lime-echart/static/echarts.min.js"),o={data:()=>({menuTop:e.inject("menuTop"),menuH:e.inject("menuHeight"),navH:e.inject("navHeight"),windowWidth:e.inject("windowWidth"),contentTop:"",listTop:"",screenCategoryList:[{icon:"/static/icon/home/timeScreen.png",title:"时间筛选"},{icon:"/static/icon/home/industryScreen.png",title:"行业筛选"},{icon:"/static/icon/home/eventLevel.png",title:"事件等级"}],keywords:"",timeCategoryList:[],selectTimeCategory:0,stockCategoryList:[],topScrollWidth:0,secondScrollWidth:0,selectTopCategory:0,topScrollLeft:0,selectSecondCategory:0,secondScrollLeft:0,selectScreenCategory:0,quickTimeList:[{title:"最新",key:"latest"},{title:"盘中",key:"intraday"},{title:"早盘",key:"morning"},{title:"午盘",key:"afternoon"},{title:"今日全天",key:"today"},{title:"昨日",key:"yesterday"},{title:"近一周",key:"week"},{title:"近一月",key:"month"}],selectQuickTimeIndex:-1,startDateStr:"",startTimeStamp:"",endDateStr:"",endTimeStamp:"",yearList:[],monthList:[],dayList:[],startDateValue:[0,0,0],endDateValue:[0,0,0],industryCategoryList:[],industryKeywords:"",searchResultList:[],selectIndustryTopCategory:0,selectIndustrySecondCategory:0,selectIndustryThirdCategory:0,searchIndustryTopCategory:0,searchIndustrySecondCategory:0,searchIndustryThirdCategory:0,importanceList:[],sortTypeList:[],selectSortKey:"",option:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"},confine:!0},grid:{left:"0%",right:"0%",top:"10%",bottom:"20%"},xAxis:[{type:"category",data:["跌停","跌停~5%","5~1%","1~0%","平盘","0~1%","1~5%","5%~涨停","涨停"],axisTick:{show:!1},axisLine:{show:!1},axisLabel:{fontSize:10,interval:"0",textStyle:{color:function(e,t){return 0==t?"#355422":8==t?"#C00000":"#515151"}}}}],yAxis:[{type:"value",show:!1,axisTick:{show:!1}}],series:[{name:"热度",type:"bar",label:{show:!0,position:"top",fontSize:12},itemStyle:{borderRadius:[5,5,0,0]},data:[]}]},eventList:[],page:1,isRefreshing:!1,loadAll:!1,getRateStr:s.getRateStr,getRateUpOrDown:s.getRateUpOrDown,getLocaleTime:s.getLocaleTime}),onLoad(){this.contentTop=this.navH+.192*this.windowWidth,this.listTop=this.contentTop+94/750*this.windowWidth,this.generateDateListData(),Promise.all([this.getEventFilterListData(),this.getIndustryCategoryListData(),this.getStockCategoryListData()]).then((e=>{this.getEventListData()})).catch((e=>{}))},onReady(){},methods:{generateDateListData(){let e=new Date,t=e.getFullYear(),s=e.getMonth(),i=e.getDate(),r=new Date(t,s+1,0).getDate();for(var o=2e3;o<2060;o++)this.yearList.push(o);for(o=0;o<720;o++)this.monthList.push(o%12+1);for(o=0;o<60*r;o++)this.dayList.push(o%r+1);let a=this;setTimeout((function(){a.startDateValue=[t-2e3,s+360,i-1+30*r],a.endDateValue=[t-2e3,s+360,i-1+30*r]}),100)},pullDownRefresh(){this.isRefreshing=!0,this.clickSearch()},loadMoreData(){this.loadAll||(this.page++,0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData())},async init(){(await this.$refs.chartRef.init(r)).setOption(this.option)},clickSearch(){this.loadAll=!1,this.page=1,1==this.selectTimeCategory?this.getHotEventListData():this.getEventListData()},clickTimeCategoryItem(e){this.selectTimeCategory!=e&&(this.selectTimeCategory=e,this.clickSearch())},clickSortListItem(e){this.selectSortKey=e.key,this.clickCancel(),this.clickSearch()},clickScreenItem(e){this.selectScreenCategory=e,this.$refs.screenPopup.open()},clickCancel(){this.$refs.screenPopup.close()},clickReset(){if(0==this.selectScreenCategory)this.selectQuickTimeIndex=-1,this.startDateStr=this.endDateStr="";else if(1==this.selectScreenCategory)this.industryKeywords="",this.searchResultList=[],this.selectIndustryTopCategory=0,this.selectIndustrySecondCategory=0,this.selectIndustryThirdCategory=0,this.searchIndustryTopCategory=0,this.searchIndustrySecondCategory=0,this.searchIndustryThirdCategory=0;else if(2==this.selectScreenCategory)for(let e of this.importanceList)e.select=!1;this.clickCancel(),this.clickSearch()},clickCertain(){if(0==this.selectScreenCategory&&-1==this.selectQuickTimeIndex){if(!this.startDateStr)return void e.index.showToast({title:"请选择开始时间",icon:"none"});if(!this.endDateStr)return void e.index.showToast({title:"请选择结束时间",icon:"none"});if(this.endTimeStamp9?r:"0"+r)+"-"+(a>9?a:"0"+a);var c=this.startDateStr.replace(/-/g,"/")+" 00:00:00";this.startTimeStamp=new Date(c).getTime()},endDateChange(e){this.selectQuickTimeIndex=-1;let t=e.detail.value;if(t[1]!=this.endDateValue[1]){let e=t[0]+2e3,i=t[1]%12,r=new Date(e,i+1,0).getDate();this.dayList=[];for(var s=0;s<60*r;s++)this.dayList.push(s%r+1)}this.endDateValue=e.detail.value;let i=t[0]+2e3,r=t[1]%12+1,o=new Date(i,r,0).getDate(),a=t[2]%o+1;this.endDateStr=i+"-"+(r>9?r:"0"+r)+"-"+(a>9?a:"0"+a);var c=this.endDateStr.replace(/-/g,"/")+" 00:00:00";this.endTimeStamp=new Date(c).getTime()},industrySearch(e){let t=e.detail.value;if(this.industryKeywords=t,t){let e=[];for(let s of this.industryCategoryList){let i=this.industryCategoryList.indexOf(s);if(s.level1_sector.indexOf(t)>-1)s.index=i,e.push(s);else{let r=[];for(let e of s.level2_sectors){let o=s.level2_sectors.indexOf(e);if(e.level2_sector.indexOf(t)>-1)e.index=i,e.index1=o,r.push(e);else{let s=[];for(let r of e.level3_sectors){let a=e.level3_sectors.indexOf(r);r.level3_sector.indexOf(t)>-1&&(r.index=i,r.index1=o,r.index2=a,s.push(r))}s.length>0&&(s.unshift({level3_sector:"全部",index:i,index2:0}),r.push({level2_sector:e.level2_sector,level3_sectors:s,index:i,index1:o}))}}r.length>0&&(r.unshift({level2_sector:"全部",level3_sectors:[{level3_sector:"全部",level4_sectors:[]}],index:i,index1:0}),e.push({level1_sector:s.level1_sector,level2_sectors:r,index:i}))}}this.searchResultList=e}else this.searchResultList=this.industryCategoryList,this.searchIndustryTopCategory=this.searchIndustrySecondCategory=this.searchIndustryThirdCategory=0},clickSearchIndustryTopCategoryItem(e,t){this.searchIndustryTopCategory!=e&&(this.searchIndustryTopCategory=e,this.selectIndustryTopCategory=t.index,this.searchIndustrySecondCategory=this.selectIndustrySecondCategory=0)},clickSearchIndustrySecondCategoryItem(e,t){this.searchIndustrySecondCategory!=e&&(this.searchIndustrySecondCategory=e,this.selectIndustrySecondCategory=t.index1,this.searchIndustryThirdCategory=this.selectIndustryThirdCategory=0)},clickSearchIndustryThirdCategoryItem(e,t){this.searchIndustryThirdCategory!=e&&(this.searchIndustryThirdCategory=e,this.selectIndustryThirdCategory=t.index2)},clickIndustryTopCategoryItem(e){this.selectIndustryTopCategory!=e&&(this.selectIndustryTopCategory=e,this.selectIndustrySecondCategory=0)},clickIndustrySecondCategoryItem(e){this.selectIndustrySecondCategory!=e&&(this.selectIndustrySecondCategory=e,this.selectIndustryThirdCategory=0)},clickIndustryThirdCategoryItem(e){this.selectIndustryThirdCategory!=e&&(this.selectIndustryThirdCategory=e)},clickImportanceItem(e){if(e.select=!e.select,"all"==e.key){if(e.select)for(let t of this.importanceList)t.key!=e.key&&(t.select=!1)}else for(let t of this.importanceList)"all"==t.key&&(t.select=!1)},clickExpandOrRetract(e){this.eventList[e].isExpand=!this.eventList[e].isExpand},clickLookRelatedStockItem(t,s){e.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=1&code="+s+"&id="+t})},clickFollowEvent(s){t.followEvent(s).then((t=>{e.index.showToast({title:t.message,icon:"none"}),this.clickSearch()})).catch((e=>{}))},clickEventItem(t){let s=this;e.index.$on("editSuccess",(t=>{s.clickSearch(),e.index.$off("editSuccess")})),e.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+t})},getEventFilterListData(){return new Promise(((s,i)=>{t.filterOptions().then((t=>{200==t.code?(s(1),this.timeCategoryList=t.data.sort_options,this.importanceList=t.data.importance_options,this.importanceList.unshift({desc:"全部",key:"all",name:"全部"})):(s(1),e.index.showToast({title:t.message,icon:"none"}))})).catch((e=>{i(1)}))}))},getIndustryCategoryListData(){return new Promise(((e,s)=>{t.industryCategoryList().then((t=>{let s=t.data[0].hierarchy;s.unshift({level1_sector:"全部",level2_sectors:[]});for(let e of s){let t=s.indexOf(e);e.index=t,e.level2_sectors.unshift({level2_sector:"全部",level3_sectors:[]});for(let s of e.level2_sectors){let t=e.level2_sectors.indexOf(s);s.index1=t,s.level3_sectors.unshift({level3_sector:"全部",level4_sectors:[]});for(let e of s.level3_sectors){let t=s.level3_sectors.indexOf(e);e.index2=t}}}this.industryCategoryList=s,e(1)})).catch((e=>{s(1)}))}))},getStockCategoryListData(){return new Promise(((s,i)=>{t.stockCategoryList().then((t=>{if(200==t.code){for(let e of t.data)e.sub_sectors.unshift("全部");t.data.unshift({primary_sector:"全部",sub_sectors:[]}),this.stockCategoryList=t.data,s(1)}else e.index.showToast({title:t.message,icon:"none"}),i(1)})).catch((e=>{i(1)}))}))},getEventListData(){let e={page:this.page,q:this.keywords};this.selectTopCategory>0&&(e.stock_sector=this.stockCategoryList[this.selectTopCategory].primary_sector),this.selectSecondCategory>0&&(e.secondary_sector=this.stockCategoryList[this.selectTopCategory].sub_sectors[this.selectSecondCategory]),this.selectQuickTimeIndex>-1&&(e.time_filter=this.quickTimeList[this.selectQuickTimeIndex].key),this.startDateStr&&(e.start_date=this.startDateStr),this.endDateStr&&(e.end_date=this.endDateStr),this.selectIndustryThirdCategory>0?(e.industry_level=4,e.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level3_sectors[this.selectIndustryThirdCategory].level3_sector):this.selectIndustrySecondCategory>0?(e.industry_level=3,e.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level2_sector):this.selectIndustryTopCategory>0&&(e.industry_level=2,e.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].level1_sector);let s=[];for(let t of this.importanceList)t.select&&s.push(t.key);s.length>0&&(e.importance=s.join(",")),1!=this.selectTimeCategory&&(e.sort=this.timeCategoryList[this.selectTimeCategory].key),t.eventList(e).then((e=>{this.isRefreshing=!1,e.success&&(1==this.page?this.eventList=e.data.events:this.eventList=this.eventList.concat(e.data.events),this.loadAll=!e.data.pagination.has_next)})).catch((e=>{this.isRefreshing=!1}))},getHotEventListData(){let s={page:this.page,q:this.keywords};this.selectTopCategory>0&&(s.stock_sector=this.stockCategoryList[this.selectTopCategory].primary_sector),this.selectSecondCategory>0&&(s.secondary_sector=this.stockCategoryList[this.selectTopCategory].sub_sectors[this.selectSecondCategory]),this.selectQuickTimeIndex>-1&&(s.time_filter=this.quickTimeList[this.selectQuickTimeIndex].key),this.startDateStr&&(s.start_date=this.startDateStr),this.endDateStr&&(s.end_date=this.endDateStr),this.selectIndustryThirdCategory>0?(s.industry_level=4,s.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level3_sectors[this.selectIndustryThirdCategory].level3_sector):this.selectIndustrySecondCategory>0?(s.industry_level=3,s.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level2_sector):this.selectIndustryTopCategory>0&&(s.industry_level=2,s.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].level1_sector);let i=[];for(let e of this.importanceList)e.select&&i.push(e.key);i.length>0&&(s.importance=i.join(",")),this.selectSortKey&&(s.sort=this.selectSortKey),t.homeData(s).then((t=>{200==t.code?1==this.page?this.eventList=t.data.events:this.eventList=this.eventList.concat(t.data.events):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const a=e._export_sfc(o,[["render",function(t,s,r,o,a,c){return e.e({a:i._imports_0,b:e.p({leftText:"事件中心",hideNavBg:!0,hideBack:!0}),c:i._imports_1,d:e.o((e=>c.clickSearch())),e:a.keywords,f:e.o((e=>a.keywords=e.detail.value)),g:e.f(a.screenCategoryList,((t,s,i)=>e.e({a:t.icon,b:e.t(t.title),c:e.n("item flex "+(2==s?"level":"")),d:e.o((e=>c.clickScreenItem(s)),s),e:s({a:e.t(t.name),b:e.n("item flex1 "+(a.selectTimeCategory==s?"select":"")),c:s,d:e.o((e=>c.clickTimeCategoryItem(s)),s)}))),j:e.s("top:"+a.navH+"px;"),k:e.f(a.eventList,((t,s,r)=>e.e({a:e.t(t.importance),b:e.n("level "+t.importance),c:e.t(t.title),d:e.t(t.description),e:e.n("content "+(t.isExpand?"":"retract")),f:e.o((e=>c.clickExpandOrRetract(s)),s),g:a.getRateUpOrDown(t.related_avg_chg)},a.getRateUpOrDown(t.related_avg_chg)?{h:i._imports_1$1}:{i:i._imports_2$1},{j:e.t(a.getRateStr(t.related_avg_chg)),k:e.n("rateItem "+(a.getRateUpOrDown(t.related_avg_chg)?"down":"up")),l:a.getRateUpOrDown(t.related_max_chg)},a.getRateUpOrDown(t.related_max_chg)?{m:i._imports_1$1}:{n:i._imports_2$1},{o:e.t(a.getRateStr(t.related_max_chg)),p:e.n("rateItem "+(a.getRateUpOrDown(t.related_max_chg)?"down":"up")),q:a.getRateUpOrDown(t.related_week_chg)},a.getRateUpOrDown(t.related_week_chg)?{r:i._imports_1$1}:{s:i._imports_2$1},{t:e.t(a.getRateStr(t.related_week_chg)),v:e.n("rateItem "+(a.getRateUpOrDown(t.related_week_chg)?"down":"up")),w:e.t(a.getLocaleTime(t.created_at)),x:e.t(t.view_count),y:e.t(t.follower_count),z:e.o((e=>c.clickFollowEvent(t.id)),s),A:e.t(t.follower_count),B:e.o((e=>c.clickFollowEvent(t.id)),s),C:e.o((e=>c.clickEventItem(t.id)),s),D:s}))),l:i._imports_3$1,m:i._imports_11,n:i._imports_7,o:e.s("top:"+a.listTop+"px"),p:a.isRefreshing,q:e.o((e=>c.pullDownRefresh())),r:e.o((e=>c.loadMoreData())),s:i._imports_2,t:e.s("height:"+a.menuH+"px;"),v:e.o((e=>c.clickCancel())),w:e.f(a.screenCategoryList,((t,s,i)=>e.e({a:t.icon,b:e.t(t.title),c:e.n("item flex "+(2==s?"level":"")),d:e.o((e=>c.clickScreenItem(s)),s),e:s({a:e.t(t.title),b:e.n("item "+(a.selectQuickTimeIndex==s?"select":"")),c:s,d:e.o((e=>c.clickQuickTimeItem(s,t)),s)}))),A:i._imports_9,B:a.startDateStr},a.startDateStr?{C:e.t(a.startDateStr)}:{},{D:i._imports_9,E:a.endDateStr},a.endDateStr?{F:e.t(a.endDateStr)}:{},{G:e.f(a.yearList,((t,s,i)=>({a:e.t(t),b:s}))),H:e.f(a.monthList,((t,s,i)=>({a:e.t(t),b:s}))),I:e.f(a.dayList,((t,s,i)=>({a:e.t(t),b:s}))),J:a.startDateValue,K:e.o(((...e)=>c.startDateChange&&c.startDateChange(...e))),L:e.f(a.yearList,((t,s,i)=>({a:e.t(t),b:s}))),M:e.f(a.monthList,((t,s,i)=>({a:e.t(t),b:s}))),N:e.f(a.dayList,((t,s,i)=>({a:e.t(t),b:s}))),O:a.endDateValue,P:e.o(((...e)=>c.endDateChange&&c.endDateChange(...e)))}):{},{Q:1==a.selectScreenCategory},1==a.selectScreenCategory?e.e({R:i._imports_10,S:e.o([e=>a.industryKeywords=e.detail.value,(...e)=>c.industrySearch&&c.industrySearch(...e)]),T:a.industryKeywords,U:a.industryKeywords.length>0},a.industryKeywords.length>0?e.e({V:e.f(a.searchResultList,((t,s,i)=>({a:e.t(t.level1_sector),b:e.n("item relative "+(a.searchIndustryTopCategory==s?"select":"")),c:s,d:e.o((e=>c.clickSearchIndustryTopCategoryItem(s,t)),s)}))),W:e.f(a.searchResultList[a.searchIndustryTopCategory].level2_sectors,((t,s,i)=>({a:e.t(t.level2_sector),b:e.n("item relative "+(a.searchIndustrySecondCategory==s?"select":"")),c:s,d:e.o((e=>c.clickSearchIndustrySecondCategoryItem(s,t)),s)}))),X:a.searchResultList[a.searchIndustryTopCategory].level2_sectors.length>0},a.searchResultList[a.searchIndustryTopCategory].level2_sectors.length>0?{Y:e.f(a.searchResultList[a.searchIndustryTopCategory].level2_sectors[a.searchIndustrySecondCategory].level3_sectors,((t,s,r)=>e.e({a:e.t(t.level3_sector),b:a.searchIndustryThirdCategory==s},a.searchIndustryThirdCategory==s?{c:i._imports_11$1}:{},{d:e.n("item flex relative "+(a.searchIndustryThirdCategory==s?"select":"")),e:s,f:e.o((e=>c.clickSearchIndustryThirdCategoryItem(s,t)),s)})))}:{}):e.e({Z:e.f(a.industryCategoryList,((t,s,i)=>({a:e.t(t.level1_sector),b:e.n("item relative "+(a.selectIndustryTopCategory==s?"select":"")),c:s,d:e.o((e=>c.clickIndustryTopCategoryItem(s)),s)}))),aa:e.f(a.industryCategoryList[a.selectIndustryTopCategory].level2_sectors,((t,s,i)=>({a:e.t(t.level2_sector),b:e.n("item relative "+(a.selectIndustrySecondCategory==s?"select":"")),c:s,d:e.o((e=>c.clickIndustrySecondCategoryItem(s)),s)}))),ab:a.industryCategoryList[a.selectIndustryTopCategory].level2_sectors.length>0},a.industryCategoryList[a.selectIndustryTopCategory].level2_sectors.length>0?{ac:e.f(a.industryCategoryList[a.selectIndustryTopCategory].level2_sectors[a.selectIndustrySecondCategory].level3_sectors,((t,s,r)=>e.e({a:e.t(t.level3_sector),b:a.selectIndustryThirdCategory==s},a.selectIndustryThirdCategory==s?{c:i._imports_11$1}:{},{d:e.n("item flex relative "+(a.selectIndustryThirdCategory==s?"select":"")),e:s,f:e.o((e=>c.clickIndustryThirdCategoryItem(s)),s)})))}:{})):{},{ad:2==a.selectScreenCategory},2==a.selectScreenCategory?{ae:e.f(a.importanceList,((t,s,r)=>e.e({a:e.t(t.name),b:t.select},t.select?{c:i._imports_12}:{},{d:e.n("item flex "+(t.select?"select":"")),e:s,f:e.o((e=>c.clickImportanceItem(t)),s)})))}:{},{af:3==a.selectScreenCategory},3==a.selectScreenCategory?{ag:e.f(a.sortTypeList,((t,s,i)=>({a:t.icon,b:e.t(t.name),c:e.n("item flex "+(a.selectSortKey==t.key?"select":"")),d:s,e:e.o((e=>c.clickSortListItem(t)),s)})))}:{},{ah:3!=a.selectScreenCategory},3!=a.selectScreenCategory?{ai:e.o((e=>c.clickReset())),aj:e.o((e=>c.clickCertain()))}:{},{ak:e.s("padding-top:"+a.menuTop+"px;"),al:e.sr("screenPopup","9dfd58d8-1"),am:e.p({type:"top","z-index":"100000"})})}]]);wx.createPage(a); diff --git a/unpackage/dist/build/mp-weixin/pages/index/index.json b/unpackage/dist/build/mp-weixin/pages/index/index.json new file mode 100644 index 0000000..e55f8ce --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/index.json @@ -0,0 +1,8 @@ +{ + "navigationBarTitleText": "uni-app", + "enablePullDownRefresh": false, + "usingComponents": { + "nav-bar": "../../components/navBar/navBar", + "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/index.wxml b/unpackage/dist/build/mp-weixin/pages/index/index.wxml new file mode 100644 index 0000000..ace58e3 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/index.wxml @@ -0,0 +1 @@ +{{item.b}}{{item.a}}{{item.a}}{{item.c}}{{item.d}} 平均涨幅: {{item.j}}% 最大涨幅: {{item.o}}% 周涨幅: {{item.t}}% {{item.w}}{{item.x}}{{item.y}}{{item.A}}筛选{{item.b}}{{item.a}}{{C}}请选择开始时间{{F}}请选择结束时间{{item.a}}年{{item.a}}月{{item.a}}日{{item.a}}年{{item.a}}月{{item.a}}日{{item.a}} {{item.a}}{{item.a}}{{item.a}} {{item.a}}{{item.a}}{{item.a}}{{item.b}}重置确定 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/index.wxss b/unpackage/dist/build/mp-weixin/pages/index/index.wxss new file mode 100644 index 0000000..e601d68 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/index.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.topC{left:0;right:0}.topC .searchC{background-color:rgba(41,41,41,.7);margin:20rpx 25rpx 0;padding:0 25rpx;height:70rpx;border-radius:35rpx;font-size:22rpx;font-weight:500}.topC .searchC .icon{margin-right:12rpx;width:25rpx;height:auto}.topC .searchC input{height:100%;color:#fff}.topC .screenC{margin:0 25rpx;border-bottom:solid 1rpx #373737}.topC .screenC .item{padding:0 8rpx;height:64rpx;font-size:24rpx;color:#cccdd1}.topC .screenC .item .icon{margin-right:13rpx;width:17rpx;height:auto}.topC .screenC .item .arrow{margin-left:9rpx;width:11rpx;height:auto}.topC .screenC .item:first-child .icon{margin-right:12rpx;width:20rpx;height:auto}.topC .screenC .item.level .icon{margin-right:13rpx;width:16rpx;height:auto}.topC .timeCategoryC{margin-top:10rpx}.topC .timeCategoryC .item{line-height:60rpx;font-size:32rpx;color:#cccdd1;text-align:center}.topC .timeCategoryC .item.select{font-weight:700;color:#f3c368}.topC .topCategoryC{white-space:nowrap}.topC .topCategoryC .item{display:inline-block;line-height:72rpx;padding:0 28rpx;font-size:27rpx;font-weight:500;color:#939393}.topC .topCategoryC .item.select{font-weight:700;color:#f3c368}.topC .topCategoryC .item.select .line{background-color:#f3c368;left:calc((100% - 50rpx)/2);width:50rpx;height:2rpx;bottom:0}.topC .secondCategoryC{white-space:nowrap;padding:21rpx 20rpx}.topC .secondCategoryC .item{display:inline-block;line-height:44rpx;padding:0 11rpx;font-size:24rpx;font-weight:500;color:#42485b}.topC .secondCategoryC .item.select{background-color:#fff6f0;color:#f97316;border-radius:5rpx}.eventListC{left:0;right:0;bottom:calc(55px + env(safe-area-inset-bottom));overflow-y:scroll}.eventListC .list{padding:0 25rpx}.eventListC .list .item{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:20rpx;padding:30rpx 0;border-radius:10rpx}.eventListC .list .item .levelTitleC{padding:0 18rpx 0 20rpx}.eventListC .list .item .levelTitleC .level{margin-right:18rpx;width:50rpx;line-height:40rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#fff;text-align:center}.eventListC .list .item .levelTitleC .level.S{background-color:#cc4c02}.eventListC .list .item .levelTitleC .level.A{background-color:#ec7014}.eventListC .list .item .levelTitleC .level.B{background-color:#fb9a29}.eventListC .list .item .levelTitleC .level.C{background-color:#fec44f}.eventListC .list .item .levelTitleC .title{font-size:30rpx;font-weight:700;color:#3d3d3d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eventListC .list .item .content{margin:20rpx 22rpx 0;font-size:24rpx;font-weight:500;color:#71675d;word-break:break-all}.eventListC .list .item .content.retract{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;text-overflow:ellipsis;overflow:hidden}.eventListC .list .item .increaseRateList{white-space:nowrap;margin:20rpx 22rpx 0}.eventListC .list .item .increaseRateList .rateItem{display:inline-block;margin-right:15rpx;line-height:44rpx;padding:0 14rpx;border-radius:10rpx;font-size:22rpx;font-weight:700;color:#fff}.eventListC .list .item .increaseRateList .rateItem .arrow{width:15rpx;height:auto}.eventListC .list .item .increaseRateList .rateItem.up{background-color:#ec3440}.eventListC .list .item .increaseRateList .rateItem.down{background-color:#355422}.eventListC .list .item .stockList{white-space:nowrap;margin-top:20rpx}.eventListC .list .item .stockList .stockItem{background-color:#f8f8f8;margin-right:21rpx;display:inline-block;padding:0 20rpx;line-height:60rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#222}.eventListC .list .item .stockList .stockItem .change.down{color:#355422}.eventListC .list .item .stockList .stockItem .change.up{color:#f97316}.eventListC .list .item .timeToolBarC{margin-top:20rpx}.eventListC .list .item .timeToolBarC .time{margin-left:22rpx;font-size:22rpx;font-weight:500;color:#666}.eventListC .list .item .timeToolBarC .toolBarC .toolItem{padding:0 20rpx;font-size:26rpx;font-weight:700;color:#666}.eventListC .list .item .timeToolBarC .toolBarC .toolItem .icon{margin-right:13rpx;width:29rpx;height:auto}.eventListC .list .item .timeToolBarC .toolBarC .toolItem:first-child .icon{margin-right:15rpx;width:33rpx;height:auto}.screenPopup{background-color:#fff;border-radius:0 0 20rpx 20rpx;overflow:hidden}.screenPopup .navC{padding:0 25rpx;font-size:36rpx;font-weight:700}.screenPopup .navC .icon{margin-right:12rpx;width:32rpx;height:auto}.screenPopup .screenC{margin:20rpx 25rpx 0;border-bottom:solid 1rpx #F0F0F0}.screenPopup .screenC .item{padding:0 8rpx;height:64rpx;font-size:24rpx;color:#3e3e3e}.screenPopup .screenC .item .icon{margin-right:13rpx;width:17rpx;height:auto}.screenPopup .screenC .item .arrow{margin-left:9rpx;width:11rpx;height:auto}.screenPopup .screenC .item:first-child .icon{margin-right:12rpx;width:20rpx;height:auto}.screenPopup .screenC .item.level .icon{margin-right:13rpx;width:16rpx;height:auto}.screenPopup .quickTimeC{padding:30rpx 48rpx 20rpx}.screenPopup .quickTimeC .item{margin:0 32rpx 30rpx 0;width:calc((100% - 96rpx)/4);line-height:58rpx;border-radius:30rpx;border:solid 1rpx #4E4E4E;font-size:24rpx;font-weight:500;color:#4e4e4e;text-align:center}.screenPopup .quickTimeC .item:nth-child(4n){margin-right:0}.screenPopup .quickTimeC .item.select{border:solid 1rpx #F3C368;color:#f3c368}.screenPopup .dateRangeC{padding:0 25rpx;border-radius:5rpx}.screenPopup .dateRangeC .dateC{background-color:#f7f7f7;height:76rpx;border-radius:38rpx;font-size:24rpx;font-weight:500;color:#999}.screenPopup .dateRangeC .dateC .icon{margin-right:17rpx;width:28rpx;height:auto}.screenPopup .dateRangeC .dateC.select{border:solid 1rpx #F3C368;color:#f3c368}.screenPopup .dateRangeC .line{background-color:#999;margin:0 12rpx;width:36rpx;height:2rpx}.screenPopup .dateList{width:50%;height:430rpx}.screenPopup .dateList .item{line-height:43px;font-size:32rpx;font-weight:500;color:#778595;text-align:center}.screenPopup .industrySearchC{background-color:#f6f6f6;margin:30rpx 25rpx 0;padding:0 22rpx;height:75rpx;border:solid 1rpx #DBDBDB;border-radius:10rpx;font-size:26rpx;font-weight:500}.screenPopup .industrySearchC .icon{margin-right:16rpx;width:30rpx;height:auto}.screenPopup .industryCategoryC{margin-top:38rpx;display:flex}.screenPopup .industryCategoryC .topCategoryList{background-color:#f8f7fd;height:736rpx;overflow-y:scroll}.screenPopup .industryCategoryC .topCategoryList .item{padding:0 26rpx;width:175rpx;line-height:90rpx;font-size:28rpx;font-weight:500;color:#333}.screenPopup .industryCategoryC .topCategoryList .item.select{background-color:#fff;font-weight:700;color:#e7a933}.screenPopup .industryCategoryC .topCategoryList .item.select .line{background-color:#f3c368;top:calc((100% - 25rpx)/2);left:0;width:8rpx;height:25rpx;border-radius:0 5rpx 5rpx 0}.screenPopup .industryCategoryC .secondCategoryList{width:278rpx}.screenPopup .industryCategoryC .secondCategoryList .item{padding:0 26rpx;line-height:90rpx;font-size:28rpx;font-weight:500;color:#333}.screenPopup .industryCategoryC .secondCategoryList .item.select{font-weight:700;color:#e7a933}.screenPopup .industryCategoryC .thirdCategoryList .item{padding:0 26rpx;line-height:90rpx;font-size:28rpx;font-weight:500;color:#333}.screenPopup .industryCategoryC .thirdCategoryList .item.select{font-weight:700;color:#e7a933}.screenPopup .industryCategoryC .thirdCategoryList .item.select .select{width:22rpx;height:auto}.screenPopup .searchResultList{max-height:500rpx;overflow-y:scroll}.screenPopup .searchResultList .item{padding:10rpx 44rpx;font-size:26rpx;font-weight:500;color:#444}.screenPopup .searchResultList .item .key{color:#f97316}.screenPopup .industryList{margin-top:24rpx;max-height:500rpx;overflow-y:scroll}.screenPopup .industryList .selectCategoryList{padding:0 22rpx}.screenPopup .industryList .selectCategoryList .item{background-color:#fff1e7;margin-right:15rpx;padding-left:16rpx;line-height:38rpx;border-radius:10rpx;border:solid .5px #F97316;font-size:22rpx;font-weight:500;color:#f97316}.screenPopup .industryList .selectCategoryList .item .deleteC{padding:0 11rpx}.screenPopup .industryList .selectCategoryList .item .deleteC .icon{width:15rpx;height:15rpx}.screenPopup .industryList .list{margin-top:20rpx}.screenPopup .industryList .list .topCategory{padding:0 22rpx;font-size:28rpx;font-weight:700;color:#f97316}.screenPopup .industryList .list .secondItem{padding:0 22rpx}.screenPopup .industryList .list .thirdItem,.screenPopup .industryList .list .forthItem{padding-left:36rpx}.screenPopup .industryList .list .forthItem .categoryC.select{border-bottom:solid .5px #F97316}.screenPopup .industryList .list .categoryC{height:50rpx}.screenPopup .industryList .list .categoryC .spread{margin-right:12rpx;width:24rpx;line-height:22rpx;border:solid .5px #8C8C8C;font-size:22rpx;color:#8c8c8c;text-align:center}.screenPopup .industryList .list .categoryC .category{font-size:24rpx;font-weight:500;color:#444}.screenPopup .industryList .list .categoryC.select .spread{color:#f97316;border:solid .5px #F97316}.screenPopup .industryList .list .categoryC.select .category{color:#f97316}.screenPopup .industryList .list .categoryC.select .selectC{width:24rpx;height:24rpx;border:solid .5px #F97316}.screenPopup .industryList .list .categoryC.select .selectC .icon{display:block;width:20rpx;height:auto}.screenPopup .importanceList{margin-top:12rpx;padding:0 50rpx 25rpx}.screenPopup .importanceList .item{background-color:#f7f7f7;margin-bottom:20rpx;padding:0 50rpx;height:70rpx;border-radius:10rpx;font-size:24rpx;font-weight:500;color:#4e4e4e}.screenPopup .importanceList .item.select{border:solid 2rpx #F3C368}.screenPopup .importanceList .item.select .icon{width:26rpx;height:auto}.screenPopup .sortTypeList{padding:0 25rpx 15rpx}.screenPopup .sortTypeList .item{height:80rpx;border-bottom:solid 1rpx #EAEAEA;font-size:24rpx;font-weight:500;color:#778595}.screenPopup .sortTypeList .item .icon{margin-right:12rpx;width:23rpx;height:auto}.screenPopup .sortTypeList .item.select{color:#3d3d3d}.screenPopup .sortTypeList .item:last-child{border:none}.screenPopup .btnC{overflow:hidden}.screenPopup .btnC .btn{line-height:100rpx;font-size:28rpx;text-align:center}.screenPopup .btnC .btn.cancel{background-color:#f8f7fd;font-weight:500;color:#999}.screenPopup .btnC .btn.certain{background-color:#f3c368;font-weight:700;color:#101213} diff --git a/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.js b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.js new file mode 100644 index 0000000..9c5eecb --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),a=require("../../../utils/util.js"),o=require("../../../common/assets.js"),i=require("../../../uni_modules/lime-echart/static/echarts.min.js"),s={data:()=>({navH:t.inject("navHeight"),contentTop:"",navTitle:"",type:"",eventId:"",stockCode:"",categoryList:["分时图","日K线"],selectCategory:0,tradeData:null,option:{title:{show:!1},tooltip:{position:function(t,e,a,o,i){var s={top:"10%"};return s[["left","right"][+(t[0]{if(200==e.code){this.navTitle=e.data.basic_info.stock_name+"("+e.data.basic_info.stock_code+")";let t=e.data.minute_chart_data;this.tradeData=e.data.latest_trade;let i=[],s=[],r=t[0].open;for(let e of t){i.push(e.time);let t=a.accMul(a.accDiv(a.accSub(e.close,r),r).toFixed(4),100),o=e.volume;o>1e4&&(o=(o/1e4).toFixed(0)+"万");let n=e.amount;n>1e4&&(n=(n/1e4).toFixed(0)+"万"),s.push([e.time,e.close,e.high,e.open,e.low,t,o,n])}let n=r,l=0;for(let e of s){let t=e[1];parseFloat(t)l&&(l=parseFloat(t))}let c=(r-n)/3,d=(l-r)/3,h=[];if(c>d){for(var o=3;o>0;o--)h.push(r-o*c);for(o=0;o<4;o++)h.push(r+o*c)}else{for(o=3;o>0;o--)h.push(r-o*d);for(o=0;o<4;o++)h.push(r+o*d)}this.option1.xAxis.data=i,this.option1.yAxis.min=h[0].toFixed(2),this.option1.yAxis.max=h[h.length-1].toFixed(2),this.option1.series.data=s;let p=[],m=e.data.event_info.event_start_time.split("T")[1];m=m.substring(0,5);for(let e of h)p.push({xAxis:m,lineStyle:{type:"solid",width:1,color:"#ffd700"},label:{position:"middle",formatter:"事件发生",color:"#ffd700"}},{yAxis:e,label:{show:!0,position:"start",color:"#333"}},{yAxis:e,label:{show:!0,position:"end",formatter:a.accMul(a.accDiv(a.accSub(e,r),r).toFixed(4),100)+"%",color:"#333"}});this.option1.series.markLine.data=p;let u=e.data.related_desc;u&&(this.relatedDesc=u.relation_desc,u.retrieved_sources&&(this.sourceList=u.retrieved_sources)),this.init()}else t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))},getStockCandlestickChartData(){let t=this.stockCode,a={chart_type:"minute"};1==this.selectCategory&&(a.chart_type="daily"),e.stockCandlestickChartData(t,a).then((t=>{let e=t.data,a=[],o=[];for(let i of e)a.push(i.time),o.push([i.open,i.close,i.low,i.high]);this.option.xAxis.data=a,this.option.series[0].data=o,this.init()})).catch((t=>{}))}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("l-echart"))()}Math||((()=>"../../../components/navBar/navBar.js")+(()=>"../../../uni_modules/lime-echart/components/l-echart/l-echart.js"))();const r=t._export_sfc(s,[["render",function(e,a,i,s,r,n){return t.e({a:t.p({leftText:r.navTitle,hideNavBg:!0}),b:o._imports_0,c:1==r.type},1==r.type?{d:t.f(r.categoryList,((e,a,o)=>t.e({a:t.t(e),b:r.selectCategory==a},(r.selectCategory,{}),{c:t.n("item relative "+(r.selectCategory==a?"select":"")),d:a,e:t.o((t=>n.clickCategoryItem(a)),a)})))}:{},{e:1==r.type&&r.tradeData},1==r.type&&r.tradeData?t.e({f:r.tradeData.volume>1e8},r.tradeData.volume>1e8?{g:t.t((r.tradeData.volume/1e8).toFixed(2))}:t.e({h:r.tradeData.volume>1e4},r.tradeData.volume>1e4?{i:t.t((r.tradeData.volume/1e4).toFixed(2))}:{j:t.t(r.tradeData.volume)}),{k:r.tradeData.amount>1e8},r.tradeData.amount>1e8?{l:t.t((r.tradeData.amount/1e8).toFixed(2))}:t.e({m:r.tradeData.amount>1e4},r.tradeData.amount>1e4?{n:t.t((r.tradeData.amount/1e4).toFixed(2))}:{o:t.t(r.tradeData.amount)})):{},{p:1==r.type},1==r.type?{q:t.sr("chartRef","42054871-1")}:{},{r:t.t(r.relatedDesc),s:t.s("margin-top:"+r.contentTop+"px;"),t:1==r.type&&r.sourceList.length>0},1==r.type&&r.sourceList.length>0?{v:t.f(r.sourceList,((e,a,o)=>({a:t.t(e.sentences),b:t.t(e.report_title),c:t.t(e.author),d:t.t(r.getLocalDate(e.declare_date)),e:a})))}:{})}]]);wx.createPage(r); diff --git a/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.json b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.json new file mode 100644 index 0000000..a131127 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar", + "l-echart": "../../../uni_modules/lime-echart/components/l-echart/l-echart" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxml b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxml new file mode 100644 index 0000000..6eced83 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxml @@ -0,0 +1 @@ +{{item.a}} 成交量:{{g}}亿成交量:{{i}}万成交量:{{j}}成交金额:{{l}}亿元成交金额:{{n}}万元成交金额:{{o}}元关联描述{{r}}(AI合成) 【风险提示:解析内容由价值前沿人工采集整理自新闻、公告、研报等公开信息,团队辛苦编写,未经许可严禁转载。本产品内容内容均不构成投资建议,请投资者注意风险,独立审慎决策。】 信息来源{{item.a}}——《{{item.b}}》{{item.c}}{{item.d}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxss b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxss new file mode 100644 index 0000000..63760e4 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.chartDesC{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin:0 25rpx;padding-top:10rpx;border-radius:10rpx}.chartDesC .tabC .item{display:inline-block;padding:0 25rpx;line-height:60rpx;font-size:28rpx;font-weight:500;color:#42485b}.chartDesC .tabC .item.select{font-weight:700;color:#f3c368}.chartDesC .tabC .item.select .line{background-color:#f3c368;left:calc((100% - 50rpx)/2);bottom:0;width:50rpx;height:2rpx}.chartDesC .volumeAmountC{padding:25rpx;font-size:28rpx;font-weight:700;color:#666}.chartDesC .volumeAmountC .volume{margin-right:30rpx}.chartDesC .section{padding:0 25rpx;line-height:80rpx;font-size:32rpx;font-weight:700;color:#222}.chartDesC .des{margin:0 25rpx;line-height:1.4rem;font-size:24rpx;font-weight:500;color:#666}.chartDesC .des .ai{color:#ec3440}.chartDesC .riskTips{margin:20rpx 25rpx 0;padding-bottom:30rpx;line-height:1.2rem;font-size:22rpx;color:#a2a2a1}.infoSourceC .section{padding:0 25rpx;line-height:80rpx;font-size:27rpx;font-weight:700;color:#f3c368}.infoSourceC .list{padding:0 25rpx}.infoSourceC .list .item{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:20rpx;padding:30rpx 26rpx;border-radius:10rpx}.infoSourceC .list .item .content{font-size:24rpx;font-weight:500;color:#222}.infoSourceC .list .item .article{margin-top:10rpx;font-size:22rpx;font-weight:500;color:#666;text-align:right}.infoSourceC .list .item .authorDateC{margin-top:30rpx;font-size:22rpx;font-weight:500;color:#aaa}.infoSourceC .list .item .authorDateC .author{margin-right:10rpx}.contentC.radius{margin-top:10rpx;border-radius:20rpx 20rpx 0 0} diff --git a/unpackage/dist/build/mp-weixin/pages/invest/invest.js b/unpackage/dist/build/mp-weixin/pages/invest/invest.js new file mode 100644 index 0000000..74c51e8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/invest.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../request/api.js"),a=require("../../utils/util.js"),s=require("../../common/assets.js"),i={data:()=>({menuTop:t.inject("menuTop"),menuH:t.inject("menuHeight"),navH:t.inject("navHeight"),windowWidth:t.inject("windowWidth"),contentTop:"",keywords:"",isRefreshing:!1,todayDate:"",calendarDateList:[],selectMonth:"",selectMonthIndex:0,weekList:["一","二","三","四","五","六","日"],weekDateList:[],monthDateList:[],isExpand:!1,tabList:["事件","数据"],selectTab:0,stockCategoryList:[],selectTopCategory:0,listTop:"",todayDate:"",selectDate:"",progress:75,eventList:[],dataList:[],page:1,loadAll:!1,getLocaleHourMinute:a.getLocaleHourMinute,replaceAnswerLabel:a.replaceAnswerLabel,accMul:a.accMul,isData:!1}),onLoad(){let e=new Date;this.contentTop=this.navH+95/750*t.inject("windowWidth");let a=e.getFullYear(),s=e.getMonth()+1,i=e.getDate();this.todayDate=this.selectDate=a+"-"+(s>9?s:"0"+s)+"-"+(i>9?i:"0"+i);let n=(e.getDay()||7)-1,o=[];for(var c=0;c<7;c++){let t=new Date;t.setDate(i-n+c);let e=t.getDate(),l=a+"-"+(s>9?s:"0"+s)+"-"+(e>9?e:"0"+e);o.push({date:l,day:e,isToday:e==i})}this.weekDateList=o;let l=[];this.selectMonthIndex=240+s-1,this.selectMonth=a+"-"+(s>9?s:"0"+s);for(c=a-20;c9?e:"0"+e)+"-"+(n>9?n:"0"+n);d.push({date:l,year:c,month:e,day:n,isToday:c==a&&e==s&&n==i,isCurrentMonth:!0,timestamp:o})}for(h=0;h9?i:"0"+i)+"-"+(n>9?n:"0"+n);d.unshift({date:l,year:t,month:i,day:n,isToday:!1,isCurrentMonth:!1,timestamp:o})}let g=new Date(c,r+1,1),p=new Date(g-864e5).getDay()||7;for(h=1;h<8-p;h++){let t=c,e=r;e>11&&(e=0,t++);let a=new Date(t,e+1,h),s=a.getMonth()+1,i=a.getDate(),n=a.getTime(),o=t+"-"+(s>9?s:"0"+s)+"-"+(i>9?i:"0"+i);d.push({date:o,year:t,month:s,day:i,isToday:!1,isCurrentMonth:!1,timestamp:n})}l.push(d)}this.calendarDateList=l,this.monthDateList=l[this.selectMonthIndex],this.listTop=this.contentTop+370/750*t.inject("windowWidth"),Promise.all([this.getStockCategoryListData(),this.getCurrentMonthEventCountData()]).then((t=>{this.getEventListData()})).catch((t=>{}))},computed:{circumference:()=>100*Math.PI},methods:{reloadData(){this.page=1,this.loadAll=!1,0==this.selectTab?this.getEventListData():this.getDataListData()},pullDownRefresh(){this.isRefreshing=!0,this.reloadData()},loadMoreData(){this.loadAll||(this.page++,0==this.selectTab?this.getEventListData():this.getDataListData())},clickSearch(){this.reloadData()},clickSelectMonth(){this.$refs.popup.open()},clickTodayDate(){if(this.selectDate!=this.todayDate){this.selectDate=this.todayDate;let t=(new Date).getMonth()+1;this.selectMonthIndex=240+t-1,this.reloadData()}},clickExpandOrRetract(){this.isExpand=!this.isExpand,this.isExpand?this.listTop=this.contentTop+1.232*this.windowWidth:this.listTop=this.contentTop+.592*this.windowWidth},clickPreMonth(){if(this.selectMonthIndex>0){this.selectMonthIndex--;let t=this.calendarDateList[this.selectMonthIndex],e="";for(let a of t)if(a.isCurrentMonth){e=a.month;break}this.selectMonth=this.calendarDateList[this.selectMonthIndex][0].year+"-"+(e>9?e:"0"+e)}},clickNextMonth(){if(this.selectMonthIndex9?e:"0"+e)}},clickSelectDate(t){this.selectDate!=t.date&&(this.selectDate=t.date,this.reloadData())},clickTabItem(t){this.selectTab!=t&&(this.selectTab=t,this.reloadData())},clickTopCategoryItem(t){this.selectTopCategory!=t&&(this.selectTopCategory=t,this.reloadData())},clickEventItem(e){t.index.navigateTo({url:"/pages/invest/investDetails/investDetails?id="+e})},getStockCategoryListData(){return new Promise(((a,s)=>{e.stockCategoryList().then((e=>{200==e.code?(e.data.unshift({primary_sector:"全部",sub_sectors:[]}),this.stockCategoryList=e.data,a(1)):(t.index.showToast({title:e.message,icon:"none"}),s(1))})).catch((t=>{s(1)}))}))},getEventListData(){let a={start:this.selectDate,q:this.keywords,page:this.page};this.selectTopCategory>0&&(a.category=this.stockCategoryList[this.selectTopCategory].primary_sector),e.calendarEventList(a).then((e=>{this.isData=!0,this.isRefreshing=!1,200==e.code?(1==e.data.page?this.eventList=e.data.events:this.eventList=this.eventList.concat(e.data.events),e.data.page==e.data.total_pages&&(this.loadAll=!0)):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{this.isRefreshing=!1,this.isData=!0}))},getDataListData(){let a={start:this.selectDate,q:this.keywords,page:this.page};this.selectTopCategory>0&&(a.category=this.stockCategoryList[this.selectTopCategory].primary_sector),e.calendarDataList(a).then((e=>{this.isRefreshing=!1,200==e.code?this.dataList=e.data.data_list:t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{this.isRefreshing=!1}))},getCurrentMonthEventCountData(){return new Promise(((t,a)=>{e.calendarEventCount().then((e=>{for(let t of e){let e=t.start;for(let a of this.weekDateList)a.date==e&&(a.eventCount=t.title,a.className=t.className);for(let a of this.monthDateList)a.date==e&&(a.eventCount=t.title,a.className=t.className)}t(1)})).catch((t=>{a(1)}))}))}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("ua-markdown")+t.resolveComponent("zui-progress-circle")+t.resolveComponent("uni-popup"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../components/ua-markdown/ua-markdown.js")+(()=>"../../uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const n=t._export_sfc(i,[["render",function(e,a,i,n,o,c){return t.e({a:s._imports_0,b:t.p({leftText:"投资日历",hideNavBg:!0,hideBack:!0}),c:s._imports_1,d:t.o((t=>c.clickSearch())),e:o.keywords,f:t.o((t=>o.keywords=t.detail.value)),g:t.s("top:"+o.navH+"px;"),h:t.t(o.selectDate),i:t.o((t=>c.clickSelectMonth())),j:t.o((t=>c.clickTodayDate())),k:t.f(o.weekList,((e,a,s)=>({a:t.t(e),b:a}))),l:o.isExpand},o.isExpand?{m:t.f(o.monthDateList,((e,a,s)=>t.e({a:e.className},e.className?t.e({b:"bg-gradient-danger"==e.className},"bg-gradient-danger"==e.className?{c:t.t(e.day),d:t.t(e.eventCount),e:t.n("item flexColumnCenter danger "+(o.selectDate==e.date?"select":"")),f:t.o((t=>c.clickSelectDate(e)),a)}:{},{g:"bg-gradient-warning"==e.className},"bg-gradient-warning"==e.className?{h:t.t(e.day),i:t.t(e.eventCount),j:t.n("item flexColumnCenter warning "+(o.selectDate==e.date?"select":"")),k:t.o((t=>c.clickSelectDate(e)),a)}:{},{l:"bg-gradient-info"==e.className},"bg-gradient-info"==e.className?{m:t.t(e.day),n:t.t(e.eventCount),o:t.n("item flexColumnCenter info "+(o.selectDate==e.date?"select":"")),p:t.o((t=>c.clickSelectDate(e)),a)}:{},{q:"bg-gradient-success"==e.className},"bg-gradient-success"==e.className?{r:t.t(e.day),s:t.t(e.eventCount),t:t.n("item flexColumnCenter success "+(o.selectDate==e.date?"select":"")),v:t.o((t=>c.clickSelectDate(e)),a)}:{}):{w:t.t(e.day),x:t.n("date "+(e.isCurrentMonth?"":" notCurrentMonth"))},{y:a})))}:{n:t.f(o.weekDateList,((e,a,s)=>t.e({a:e.className},e.className?t.e({b:"bg-gradient-danger"==e.className},"bg-gradient-danger"==e.className?{c:t.t(e.day),d:t.t(e.eventCount),e:t.n("item flex1 flexColumnCenter danger "+(o.selectDate==e.date?"select":"")),f:t.o((t=>c.clickSelectDate(e)),a)}:{},{g:"bg-gradient-warning"==e.className},"bg-gradient-warning"==e.className?{h:t.t(e.day),i:t.t(e.eventCount),j:t.n("item flex1 flexColumnCenter warning "+(o.selectDate==e.date?"select":"")),k:t.o((t=>c.clickSelectDate(e)),a)}:{},{l:"bg-gradient-info"==e.className},"bg-gradient-info"==e.className?{m:t.t(e.day),n:t.t(e.eventCount),o:t.n("item flex1 flexColumnCenter info "+(o.selectDate==e.date?"select":"")),p:t.o((t=>c.clickSelectDate(e)),a)}:{},{q:"bg-gradient-success"==e.className},"bg-gradient-success"==e.className?{r:t.t(e.day),s:t.t(e.eventCount),t:t.n("item flex1 flexColumnCenter success "+(o.selectDate==e.date?"select":"")),v:t.o((t=>c.clickSelectDate(e)),a)}:{}):{w:t.t(e.day),x:t.t(e.className?e.eventCount:""),y:t.o((t=>c.clickSelectDate(e)),a)},{z:a})))},{o:t.t(o.isExpand?"收起":"展开"),p:o.isExpand},o.isExpand?{q:s._imports_2$2}:{r:s._imports_4$1},{s:t.o((t=>c.clickExpandOrRetract())),t:t.f(o.tabList,((e,a,s)=>({a:t.t(e),b:t.n("item "+(o.selectTab==a?"select":"")),c:a,d:t.o((t=>c.clickTabItem(a)),a)}))),v:0==o.selectTab},0==o.selectTab?{w:t.f(o.eventList,((e,a,s)=>t.e({a:t.t(o.getLocaleHourMinute(e.start_time)),b:t.f(5,((t,a,s)=>({a:a({a:t.t(e.name),b:t.t(o.accMul(e.score,100)),c:"2cf1ca64-2-"+s+"-"+i,d:t.p({position:e.score,range:[270,630],size:26,"ring-width":2,texture:["#F3C368","#E3E3E3"]}),e:a})))}:{},{j:a,k:t.o((t=>c.clickEventItem(e.id)),a)})))}:{},{x:1==o.selectTab},1==o.selectTab?{y:t.f(o.dataList,((e,a,s)=>({a:t.t(o.getLocaleHourMinute(e.created_at)),b:t.f(5,((t,a,s)=>({a:ac.pullDownRefresh())),E:t.o((t=>c.loadMoreData())),F:s._imports_5,G:t.o((t=>c.clickPreMonth())),H:t.t(o.selectMonth),I:s._imports_6,J:t.o((t=>c.clickNextMonth())),K:t.f(o.weekList,((e,a,s)=>({a:t.t(e),b:a}))),L:t.f(o.calendarDateList[o.selectMonthIndex],((e,a,s)=>t.e({a:e.isToday||e.date==o.selectDate},e.isToday||e.date==o.selectDate?{b:t.t(e.day)}:t.e({c:!e.isCurrentMonth},e.isCurrentMonth?{e:t.t(e.day)}:{d:t.t(e.day)}),{f:a,g:t.o((t=>c.clickSelectDate(e)),a)}))),M:t.s("margin-top:"+o.navH+"px;"),N:t.sr("popup","2cf1ca64-3"),O:t.p({type:"top"})})}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/invest/invest.json b/unpackage/dist/build/mp-weixin/pages/invest/invest.json new file mode 100644 index 0000000..e41c5c0 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/invest.json @@ -0,0 +1,10 @@ +{ + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "usingComponents": { + "nav-bar": "../../components/navBar/navBar", + "ua-markdown": "../../components/ua-markdown/ua-markdown", + "zui-progress-circle": "../../uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle", + "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/invest/invest.wxml b/unpackage/dist/build/mp-weixin/pages/invest/invest.wxml new file mode 100644 index 0000000..de38057 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/invest.wxml @@ -0,0 +1 @@ +{{h}}{{item.a}}{{item.c}}{{item.d}}{{item.h}}{{item.i}}{{item.m}}{{item.n}}{{item.r}}{{item.s}}{{item.w}}{{item.c}}{{item.d}}{{item.h}}{{item.i}}{{item.m}}{{item.n}}{{item.r}}{{item.s}}{{item.w}}{{item.x}}{{o}}{{item.a}}{{item.a}}{{item.d}}{{item.e}}{{citem.a}} {{citem.b}}%{{item.a}}{{item.d}}前值 {{item.e}}预测 {{item.f}}实际 {{item.g}}当前筛选条件下暂无数据请尝试调整筛选条件{{H}}{{item.a}}{{item.b}}{{item.d}}{{item.e}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/invest/invest.wxss b/unpackage/dist/build/mp-weixin/pages/invest/invest.wxss new file mode 100644 index 0000000..4d43912 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/invest.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.searchC{background-color:rgba(41,41,41,.7);left:0;right:0;margin:20rpx 25rpx 0;padding:0 25rpx;height:70rpx;border:solid 1rpx #363636;border-radius:35rpx;font-size:22rpx;font-weight:500}.searchC .icon{margin-right:16rpx;width:30rpx;height:auto}.searchC input{height:100%;color:#fff}.searchC .line{background-color:#e1e1e1;width:1rpx;height:40rpx}.searchC .search{padding:0 25rpx;color:#f97316}.contentC{left:0;right:0;bottom:calc(55px + env(safe-area-inset-bottom));margin-top:20rpx;overflow-y:scroll}.contentC .calendarC{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin:0 25rpx;border-radius:20rpx}.contentC .calendarC .todayC{padding:12rpx 26rpx}.contentC .calendarC .todayC .todayDateC{font-size:32rpx;font-weight:700;color:#3d3d3d}.contentC .calendarC .todayC .todayDateC .icon{margin-left:16rpx;width:30rpx;height:auto}.contentC .calendarC .todayC .today{background-color:#f3c368;width:40rpx;line-height:40rpx;border-radius:50%;font-size:26rpx;font-weight:500;color:#070707;text-align:center}.contentC .calendarC .weekList .item{line-height:40rpx;font-size:24rpx;font-weight:500;color:#292621;text-align:center}.contentC .calendarC .weekDateList{margin-top:6rpx;padding:0 20rpx}.contentC .calendarC .weekDateList .item{margin-right:16rpx;padding:10rpx 0 6rpx;border-radius:5rpx}.contentC .calendarC .weekDateList .item .date{font-size:24rpx;font-weight:700;color:#2a2a2a}.contentC .calendarC .weekDateList .item .eventNum{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2rpx;font-size:18rpx;font-weight:700}.contentC .calendarC .weekDateList .item:nth-child(7n){margin-right:0}.contentC .calendarC .weekDateList .item.select .date{color:#fff}.contentC .calendarC .weekDateList .item.danger{background-color:rgba(235,74,70,.1);color:#eb4a46}.contentC .calendarC .weekDateList .item.select.danger{background-color:#eb4a46;color:#fff}.contentC .calendarC .weekDateList .item.warning{background-color:rgba(253,154,20,.1);color:#fd9a14}.contentC .calendarC .weekDateList .item.select.warning{background-color:#fd9a14;color:#fff}.contentC .calendarC .weekDateList .item.info{background-color:rgba(22,187,207,.1);color:#16bbcf}.contentC .calendarC .weekDateList .item.select.info{background-color:#16bbcf;color:#fff}.contentC .calendarC .weekDateList .item.success{background-color:rgba(85,174,89,.1);color:#55ae59}.contentC .calendarC .weekDateList .item.select.success{background-color:#55ae59;color:#fff}.contentC .calendarC .monthDateList{margin-top:6rpx;padding:0 20rpx}.contentC .calendarC .monthDateList .item{margin:0 16rpx 20rpx 0;padding:10rpx 0 6rpx;width:calc((100% - 96rpx)/7);border-radius:5rpx}.contentC .calendarC .monthDateList .item .date{font-size:26rpx;font-weight:700;color:#2a2a2a}.contentC .calendarC .monthDateList .item .date.notCurrentMonth{color:#999}.contentC .calendarC .monthDateList .item .eventNum{margin-top:2rpx;font-size:18rpx;font-weight:700}.contentC .calendarC .monthDateList .item:nth-child(7n){margin-right:0}.contentC .calendarC .monthDateList .item.select .date{color:#fff}.contentC .calendarC .monthDateList .item.danger{background-color:rgba(235,74,70,.1);color:#eb4a46}.contentC .calendarC .monthDateList .item.select.danger{background-color:#eb4a46;color:#fff}.contentC .calendarC .monthDateList .item.warning{background-color:rgba(253,154,20,.1);color:#fd9a14}.contentC .calendarC .monthDateList .item.select.warning{background-color:#fd9a14;color:#fff}.contentC .calendarC .monthDateList .item.info{background-color:rgba(22,187,207,.1);color:#16bbcf}.contentC .calendarC .monthDateList .item.select.info{background-color:#16bbcf;color:#fff}.contentC .calendarC .monthDateList .item.success{background-color:rgba(85,174,89,.1);color:#55ae59}.contentC .calendarC .monthDateList .item.select.success{background-color:#55ae59;color:#fff}.contentC .calendarC .expandBgC{margin:0 25rpx;border-bottom:solid 1rpx #E4E4E4}.contentC .calendarC .expandBgC .expandC{padding:20rpx 0;font-size:22rpx;font-weight:500;color:#8a857c}.contentC .calendarC .expandBgC .expandC .arrow{margin-left:7rpx;width:15rpx;height:auto}.contentC .tabC{margin-top:10rpx}.contentC .tabC .item{display:inline-block;padding:0 27rpx;line-height:70rpx;font-size:32rpx;color:#cccdd1}.contentC .tabC .item.select{color:#f3c368}.contentC .topCategoryC{white-space:nowrap}.contentC .topCategoryC .item{display:inline-block;line-height:72rpx;padding:0 28rpx;font-size:27rpx;font-weight:500;color:#939393}.contentC .topCategoryC .item.select{font-weight:700;color:#f3c368}.contentC .topCategoryC .item.select .line{background-color:#f3c368;left:calc((100% - 50rpx)/2);width:50rpx;height:2rpx;bottom:0}.eventList{padding:18rpx 25rpx}.eventList .item{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:20rpx;padding:30rpx 20rpx;border-radius:10rpx}.eventList .item .timeStarFollowC .time{margin-right:22rpx;font-size:24rpx;font-weight:700;color:#767676}.eventList .item .timeStarFollowC .starC .starList{top:0;left:0}.eventList .item .timeStarFollowC .starC .icon{margin-right:9rpx;width:27rpx;height:auto}.eventList .item .timeStarFollowC .follow{background-color:#3d3d3d;width:90rpx;line-height:40rpx;border-radius:20rpx;font-size:22rpx;font-weight:500;color:#f2c367;text-align:center}.eventList .item .timeStarFollowC .follow.select{background-color:#f3c368;color:#3d3d3d}.eventList .item .categoryTitleC{margin-top:18rpx}.eventList .item .categoryTitleC .category{background-color:#f3c368;margin-right:12rpx;padding:0 12rpx;line-height:40rpx;border-radius:8rpx;font-size:24rpx;font-weight:700;color:#070707}.eventList .item .categoryTitleC .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:28rpx;font-weight:700;color:#3d3d3d}.eventList .item .labelC{margin-top:12rpx}.eventList .item .labelC .label{display:inline-block;margin-right:10rpx;padding:0 10rpx;line-height:30rpx;font-size:20rpx;font-weight:500;border-radius:5rpx;border:solid 1rpx #333}.eventList .item .content{margin-top:20rpx;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;text-overflow:ellipsis;overflow:hidden;font-size:24rpx;font-weight:500;color:#71675d}.eventList .item .percentList{white-space:nowrap;margin-top:26rpx}.eventList .item .percentList .percentItem{display:inline-flex;align-items:center;background-color:#fff;box-shadow:0 7rpx 18rpx rgba(217,217,217,.28);margin-right:20rpx;padding:0 20rpx;height:70rpx;border-radius:10rpx;font-size:26rpx;font-weight:700;color:#222}.eventList .item .percentList .percentItem zui-progress-circle{margin-left:20rpx}.eventList .item .percentList .percentItem .num{width:23px;line-height:23px;font-size:17rpx;font-weight:700;color:#999;text-align:center}.eventList .item .percentList .percentItem:last-child{margin-right:0}.dataList{padding:0 25rpx}.dataList .item{padding:30rpx 0;border-bottom:solid 1rpx #E4E4E4}.dataList .item .time{font-size:24rpx;font-weight:700;color:#767676}.dataList .item .starC .starList{top:0;left:0}.dataList .item .starC .icon{margin-right:9rpx;width:27rpx;height:auto}.dataList .item .title{margin-top:16rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:30rpx;font-weight:700;color:#222}.dataList .item .valueList{margin-top:20rpx;font-size:26rpx;font-weight:500;color:#666}.noDataC{margin-top:200rpx;font-weight:500}.noDataC .icon{width:412rpx;height:auto}.noDataC .title{margin-top:8rpx;font-size:32rpx;color:#939393}.noDataC .subtitle{margin-top:16rpx;font-size:26rpx;color:#646464}.popup{background-color:#fff;padding:30rpx 0}.popup .yearMonthC{padding:0 30rpx}.popup .yearMonthC .yearMonth{text-align:center;font-size:24rpx}.popup .yearMonthC .btn{background-color:#f8f8f8;width:40rpx;height:40rpx;border-radius:50%}.popup .yearMonthC .btn .icon{display:block;width:24rpx;height:auto}.popup .weekList{margin-top:20rpx;padding:0 30rpx}.popup .weekList .item{line-height:40rpx;font-size:24rpx;color:#a1a1a1;text-align:center}.popup .monthDateList{padding:0 30rpx}.popup .monthDateList .item{margin-bottom:10rpx;width:calc(100%/7)}.popup .monthDateList .item .date{background-color:#f8f8f8;width:calc(100% - 10rpx);line-height:64rpx;border-radius:15rpx;font-size:24rpx;font-weight:700;color:#333;text-align:center}.popup .monthDateList .item .date.today{background-color:#ff7e1a;color:#fff}.popup .monthDateList .item .date.inRange{background-color:#fff2eb}.popup .monthDateList .item .date.notCurrentMonth{background-color:#fdfdfd;color:#c3c3c3}.popup .monthDateList .item .eventNum{margin-top:12rpx;width:80rpx;height:30rpx;line-height:30rpx;border-radius:5rpx;font-size:16rpx;font-weight:500;color:#fff;text-align:center} diff --git a/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.js b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.js new file mode 100644 index 0000000..3aa3065 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),o=require("../../../utils/util.js"),c=require("../../../common/assets.js"),i={data:()=>({navH:e.inject("navHeight"),eventId:"",contentTop:"",investDetails:null,former:"",categoryList:["背景","推演","相关股票"],selectCategory:0,stockCategoryList:[{title:"全部股票",num:0,bgColor:"#D82A2A",color:"white"},{title:"大周期",num:0,bgColor:"#3A5D9C",color:"white"},{title:"TMT板块",num:0,bgColor:"#FFBF00",color:"white"},{title:"大金融地产",num:0,bgColor:"#FFF4D3"},{title:"大消费",num:0,bgColor:"#CDEEEE"},{title:"公共产业板块",num:0,bgColor:"#DEEBF7"}],accMul:o.accMul}),onLoad(t){this.contentTop=this.navH+.136*e.inject("windowWidth"),t.id&&(this.eventId=t.id,this.getEventDetailsData())},methods:{clickCategoryItem(e){this.selectCategory!=e&&(this.selectCategory=e)},clickLookRelatedStockItem(t){e.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=2&code="+t.code+"&des="+t.description+"&name="+t.name})},getEventDetailsData(){t.investEventDetails(this.eventId).then((t=>{if(200==t.code){let e=t.data.detail;for(let t of this.stockCategoryList)t.num=e.sector_stats[t.title];this.investDetails=e,this.former=e.former.replace("","").replace("","")}else e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("ua-markdown"))()}Math||((()=>"../../../components/navBar/navBar.js")+(()=>"../../../components/ua-markdown/ua-markdown.js"))();const s=e._export_sfc(i,[["render",function(t,o,i,s,r,a){return e.e({a:e.p({leftText:"事件详情",hideNavBg:!0}),b:c._imports_0,c:e.f(r.categoryList,((t,o,c)=>({a:e.t(t),b:e.n("item relative "+(r.selectCategory==o?"select":"")),c:o,d:e.o((e=>a.clickCategoryItem(o)),o)}))),d:e.s("top:"+r.navH+"px;"),e:r.investDetails},r.investDetails?e.e({f:0==r.selectCategory},0==r.selectCategory?{g:e.p({source:r.former})}:{},{h:1==r.selectCategory},1==r.selectCategory?{i:e.p({source:r.investDetails.forecast})}:{},{j:2==r.selectCategory},2==r.selectCategory?{k:e.f(r.stockCategoryList,((t,o,c)=>({a:e.t(t.num),b:e.t(t.title),c:e.s("background-color:"+t.bgColor+";color:"+t.color+";"),d:o}))),l:e.f(r.investDetails.related_stocks,((t,o,c)=>e.e({a:e.t(t.code+" "+t.name),b:e.t(t.score),c:t.sw_primary_sector},t.sw_primary_sector?{d:e.t(t.sw_primary_sector)}:{},{e:e.t(t.description),f:o,g:e.o((e=>a.clickLookRelatedStockItem(t)),o)})))}:{},{m:3==r.selectCategory},3==r.selectCategory?{n:e.f(t.conceptList,((o,c,i)=>e.e({a:e.t(o.concept),b:o.price_info},o.price_info?{c:e.t(t.getChgRateStr(o.price_info.avg_change_pct)),d:e.n("chg "+(t.getRateUpOrDown(o.price_info.avg_change_pct)?"down":"up"))}:{},{e:o.price_info},o.price_info?{f:e.t(o.stock_count),g:e.n("stockNum "+(t.getRateUpOrDown(o.price_info.avg_change_pct)?"down":"up"))}:{},{h:e.t(o.description),i:e.f(o.stocks.slice(0,3),((t,o,c)=>({a:e.t(t.stock_name),b:o}))),j:e.t(o.stock_count-3),k:e.o((e=>t.clickStockMore(o)),c),l:e.t(o.price_info?o.price_info.trade_date:""),m:e.o((e=>t.clickHistoricalTimeline(o)),c),n:c}))),o:c._imports_1$3}:{},{p:e.s("top:"+r.contentTop+"px;")}):{})}]]);wx.createPage(s); diff --git a/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.json b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.json new file mode 100644 index 0000000..fa06c79 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar", + "ua-markdown": "../../../components/ua-markdown/ua-markdown" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxml b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxml new file mode 100644 index 0000000..3e6a067 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxml @@ -0,0 +1 @@ +{{item.a}}(AI合成){{item.a}}{{item.b}}{{item.a}}相关度: {{item.b}}%{{item.d}}{{item.e}}{{item.a}}{{item.c}}%{{item.f}} 只股票{{item.h}}热门个股{{sitem.a}}+{{item.j}}更多交易时间:{{item.l}}历史时间轴 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxss b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxss new file mode 100644 index 0000000..5218a27 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.categoryC{margin-top:10rpx;padding:20rpx 10rpx 0;left:0;right:0;border-radius:20rpx 20rpx 0 0}.categoryC .item{display:inline-block;padding:0 30rpx;line-height:76rpx;font-size:27rpx;font-weight:500;color:#939393}.categoryC .item.select{font-weight:700;color:#f3c368}.contentC{background:linear-gradient(-30deg,#fff6f0,#fefefe);left:0;right:0;bottom:env(safe-area-inset-bottom);margin:0 25rpx;border-radius:10rpx;overflow-y:scroll}.contentC .former{padding:40rpx 25rpx}.contentC .former .ai{font-size:28rpx;color:#c00000}.contentC .stockCategoryList{margin-top:30rpx;padding:0 20rpx}.contentC .stockCategoryList .item{margin:0 30rpx 20rpx 0;width:calc((100% - 60rpx)/3);height:100rpx;border-radius:10rpx}.contentC .stockCategoryList .item .num{font-size:36rpx;font-weight:700}.contentC .stockCategoryList .item .title{font-size:24rpx;font-weight:500}.contentC .stockCategoryList .item:nth-child(3n){margin-right:0}.contentC .stockList{padding:22rpx 25rpx 30rpx}.contentC .stockList .item{padding:22rpx 0 30rpx;border-bottom:solid 1rpx #E4E4E4}.contentC .stockList .item .title{font-size:30rpx;font-weight:700;color:#222}.contentC .stockList .item .correlation{background-color:rgba(249,115,22,.1);padding:0 13rpx;line-height:40rpx;border-radius:5rpx;font-size:24rpx;font-weight:500;color:#f97316}.contentC .stockList .item .category{display:inline-block;padding:0 10rpx;line-height:28rpx;border:solid 1rpx #F6604A;font-size:20rpx;font-weight:500;color:#f6604a;border-radius:5rpx}.contentC .stockList .item .content{margin-top:18rpx;font-size:24rpx;font-weight:500;color:#666;line-height:1.2rem}.contentC .conceptList{padding:30rpx 25rpx}.contentC .conceptList .item{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:24rpx;border-radius:10rpx}.contentC .conceptList .item .titleChgStockNumC{padding:24rpx 18rpx 0}.contentC .conceptList .item .titleChgStockNumC .title{margin-right:20rpx;font-size:30rpx;font-weight:700;color:#3d3d3d}.contentC .conceptList .item .titleChgStockNumC .chg{margin-right:20rpx;padding:0 13rpx;line-height:40rpx;border-radius:20rpx;font-size:22rpx;font-weight:700;color:#fff}.contentC .conceptList .item .titleChgStockNumC .chg.up{background-color:#ec3440}.contentC .conceptList .item .titleChgStockNumC .chg.down{background-color:#355422}.contentC .conceptList .item .titleChgStockNumC .stockNum{padding:0 16rpx;line-height:36rpx;border-radius:20rpx;font-size:22rpx;font-weight:700}.contentC .conceptList .item .titleChgStockNumC .stockNum.up{color:#ec3440;border:solid 2rpx #EC3440}.contentC .conceptList .item .titleChgStockNumC .stockNum.down{color:#355422;border:solid 2rpx #355422}.contentC .conceptList .item .content{margin-top:26rpx;padding:0 22rpx;font-size:24rpx;font-weight:500;color:#71675d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.contentC .conceptList .item .hotStockC{margin-top:30rpx;padding:0 20rpx}.contentC .conceptList .item .hotStockC .title{margin-right:10rpx;font-size:24rpx;font-weight:700;color:#936e5c}.contentC .conceptList .item .hotStockC .stockList{font-size:22rpx}.contentC .conceptList .item .hotStockC .stockList .stockItem{background-color:#3d3d3d;margin-right:10rpx;padding:0 8rpx;line-height:36rpx;border-radius:5rpx 20rpx;color:#efddd1}.contentC .conceptList .item .hotStockC .stockList .more{color:#936e5c;line-height:36rpx}.contentC .conceptList .item .hotStockC .notVipC{background-color:#3d3d3d;padding:0 21rpx 0 16rpx;line-height:36rpx;border-radius:5rpx;font-size:22rpx;color:#f3c368}.contentC .conceptList .item .hotStockC .notVipC .icon{margin-right:9rpx;width:15rpx;height:auto}.contentC .conceptList .item .transactionDateHistoryTimeC{padding:20rpx 22rpx 30rpx}.contentC .conceptList .item .transactionDateHistoryTimeC .transactionDate{font-size:20rpx;font-weight:500;color:#666}.contentC .conceptList .item .transactionDateHistoryTimeC .historyTimeC{background-color:#f3c368;padding:0 10rpx 0 15rpx;line-height:36rpx;border-radius:10rpx;font-size:22rpx;font-weight:500;color:#101213}.contentC .conceptList .item .transactionDateHistoryTimeC .historyTimeC .icon{margin-right:7rpx;width:20rpx;height:auto} diff --git a/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.js b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.js new file mode 100644 index 0000000..fa317ce --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),i=require("../../../request/api.js"),t=require("../../../common/assets.js"),o=getApp(),n={data:()=>({contentTop:"",mobile:"",code:"",isAgree:!1,countdown:0,getCode:!1,timer:null}),onLoad(){this.contentTop=e.inject("navHeight")+230/750*e.inject("windowWidth")},methods:{clickGetCode(){let t=this.mobile;if(!t)return void e.index.showToast({title:"请输入手机号",icon:"none"});if(!o.globalData.mobileReg.test(t))return void e.index.showToast({title:"请输入正确格式的手机号",icon:"none"});if(this.isSubmiting)return;if(this.countdown>0)return;this.isSubmiting=!0;let n={phone:this.mobile,isJson:1},s=this;i.sendSMS(n).then((i=>{e.index.showToast({title:i.message,icon:"none"});let t=60;this.timer=setInterval((()=>{s.isSubmiting=!1,t--,0==t&&clearInterval(s.timer),s.getCode=!0,s.countdown=t}),1e3)})).catch((e=>{this.isSubmiting=!1}))},clickLoginAtOnce(){if(!this.mobile)return void e.index.showToast({title:"请输入手机号",icon:"none"});if(!this.code)return void e.index.showToast({title:"请输入验证码",icon:"none"});if(!this.isAgree)return void e.index.showToast({title:"请阅读并同意我们的《用户服务协议》和《隐私政策》",icon:"none"});let t={phone:this.mobile,code:this.code,isJson:1};i.loginByPhone(t).then((i=>{0==i.code?(e.index.showToast({title:i.message}),e.index.setStorageSync("token",i.token),setTimeout((function(){e.index.switchTab({url:"/pages/index/index"})}),1e3)):e.index.showToast({title:i.message,icon:"none"})})).catch((e=>{}))},clickOneClickLogin(){e.index.navigateBack()},clickAgree(){this.isAgree=!this.isAgree},clickProtocol(i){e.index.navigateTo({url:"/pages/mine/web/web?type="+i})}}};if(!Array){e.resolveComponent("navBar")()}Math;const s=e._export_sfc(n,[["render",function(i,o,n,s,c,r){return e.e({a:e.p({leftText:"登录",hideNavBg:!0,backBlack:!0}),b:e.s("margin-top:"+c.contentTop+"px;"),c:t._imports_0$2,d:t._imports_1$8,e:c.mobile,f:e.o((e=>c.mobile=e.detail.value)),g:t._imports_2$6,h:c.code,i:e.o((e=>c.code=e.detail.value)),j:e.t(c.getCode?c.countdown>0?c.countdown+"s":"重新获取验证码":"获取验证码"),k:e.o((e=>r.clickGetCode())),l:e.o((e=>r.clickLoginAtOnce())),m:e.o((e=>r.clickOneClickLogin())),n:c.isAgree},c.isAgree?{o:t._imports_3$4}:{p:t._imports_4$6},{q:e.o((e=>r.clickAgree()))})}]]);wx.createPage(s); diff --git a/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.json b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxml b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxml new file mode 100644 index 0000000..3d30f66 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxml @@ -0,0 +1 @@ +欢迎登录价值前沿平台{{j}}立即登录授权手机号一键登录 阅读并同意我们的《用户服务协议》《隐私政策》 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxss b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxss new file mode 100644 index 0000000..8bbc9ba --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxss @@ -0,0 +1 @@ +.logo{margin-left:calc((100% - 144rpx)/2);width:144rpx;height:auto}.loginTitle{margin:40rpx 80rpx 0;font-size:40rpx;font-weight:700;text-align:center}.inputC{background-color:#f8f8f8;margin:0 75rpx;height:80rpx;border-radius:10rpx}.inputC input{font-size:26rpx;font-weight:500}.inputC.mobile{margin-top:40rpx;padding-left:29rpx}.inputC.mobile .icon{margin-right:13rpx;width:26rpx;height:auto}.inputC.code{margin-top:36rpx;padding-left:27rpx}.inputC.code .icon{margin-right:10rpx;width:26rpx;height:auto}.inputC.code .getCode{padding:0 30rpx;font-size:26rpx;font-weight:500;color:#f97316}.btn{margin:0 75rpx;line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;text-align:center}.btn.loginAtOnce{background-color:#f97316;margin-top:60rpx;color:#fff}.btn.oneClickLogin{background-color:#fff1e8;margin-top:28rpx;color:#f97316}.agreeProtocolC{left:0;right:0;bottom:calc(120rpx + env(safe-area-inset-bottom));font-size:26rpx;font-weight:500}.agreeProtocolC .agreeC{padding:14rpx}.agreeProtocolC .agreeC .icon{display:block;width:28rpx;height:auto}.agreeProtocolC .protocol{color:#f97316} diff --git a/unpackage/dist/build/mp-weixin/pages/login/login.js b/unpackage/dist/build/mp-weixin/pages/login/login.js new file mode 100644 index 0000000..6587902 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/login.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),o=require("../../request/api.js"),i=require("../../common/assets.js"),n={data:()=>({contentTop:"",isAgree:!1,isBindPhone:!0}),onLoad(){this.contentTop=e.inject("navHeight")+230/750*e.inject("windowWidth"),this.getIsBindPhoneData()},methods:{getPhoneNumData(i){console.log(i),"getPhoneNumber:ok"==i.detail.errMsg&&e.index.login({provider:"weixin",success(n){console.log(n.code);let t={code:n.code,isJson:1};o.loginByWx(t).then((n=>{if(200==n.code){let t=n.data.token;e.index.setStorageSync("token",t);let s={code:i.detail.code};o.wxBindPhone(s).then((o=>{200==o.code?(e.index.showToast({title:o.message}),setTimeout((function(){e.index.switchTab({url:"/pages/index/index"})}),1e3)):e.index.showToast({title:o.message,icon:"none"})})).catch((e=>{}))}else e.index.showToast({title:n.message,icon:"none"})})).catch((e=>{}))},fail(){}})},clickOneClickLogin(){this.isAgree?e.index.login({provider:"weixin",success(i){console.log(i.code);let n={code:i.code,isJson:1};o.loginByWx(n).then((o=>{if(200==o.code){let i=o.data.token;e.index.setStorageSync("token",i),setTimeout((function(){e.index.switchTab({url:"/pages/index/index"})}),1e3)}else e.index.showToast({title:o.message,icon:"none"})})).catch((e=>{}))},fail(){}}):e.index.showToast({title:"请阅读并同意我们的《用户服务协议》和《隐私政策》",icon:"none"})},clickCodeLogin(){e.index.navigateTo({url:"/pages/login/codeLogin/codeLogin"})},clickAgree(){this.isAgree=!this.isAgree},clickProtocol(o){e.index.navigateTo({url:"/pages/mine/web/web?type="+o})},getIsBindPhoneData(){let i=this;e.index.login({provider:"weixin",success(n){console.log(n.code);let t={code:n.code,isJson:1};o.loginByWx(t).then((o=>{200==o.code?i.isBindPhone=!!o.data.user.phone:e.index.showToast({title:o.message,icon:"none"})})).catch((e=>{}))},fail(){}})}}};if(!Array){e.resolveComponent("navBar")()}Math;const t=e._export_sfc(n,[["render",function(o,n,t,s,c,a){return e.e({a:e.p({leftText:"登录",hideNavBg:!0,backBlack:!0}),b:e.s("margin-top:"+c.contentTop+"px;"),c:i._imports_0$2,d:!c.isBindPhone},c.isBindPhone?{}:{e:e.o(((...e)=>a.getPhoneNumData&&a.getPhoneNumData(...e)))},{f:e.o((e=>c.isBindPhone?a.clickOneClickLogin():"")),g:e.o((e=>a.clickCodeLogin())),h:c.isAgree},c.isAgree?{i:i._imports_3$4}:{j:i._imports_4$6},{k:e.o((e=>a.clickAgree())),l:e.o((e=>a.clickProtocol(2))),m:e.o((e=>a.clickProtocol(3)))})}]]);wx.createPage(t); diff --git a/unpackage/dist/build/mp-weixin/pages/login/login.json b/unpackage/dist/build/mp-weixin/pages/login/login.json new file mode 100644 index 0000000..0c84504 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/login.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/login/login.wxml b/unpackage/dist/build/mp-weixin/pages/login/login.wxml new file mode 100644 index 0000000..3144ed2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/login.wxml @@ -0,0 +1 @@ +欢迎登录价值前沿平台 授权手机号一键登录 使用短信验证登录 阅读并同意我们的《用户服务协议》《隐私政策》 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/login/login.wxss b/unpackage/dist/build/mp-weixin/pages/login/login.wxss new file mode 100644 index 0000000..fd3b086 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/login/login.wxss @@ -0,0 +1 @@ +.logo{margin-left:calc((100% - 144rpx)/2);width:144rpx;height:auto}.loginTitle{margin:40rpx 80rpx 0;font-size:40rpx;font-weight:700;text-align:center}.btn{margin:0 75rpx;line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;text-align:center}.btn.oneClickLogin{background-color:#f97316;margin-top:60rpx;color:#fff}.btn.oneClickLogin button{top:0;left:0;width:100%;height:100%}.btn.codeLogin{background-color:#fff1e8;margin-top:28rpx;color:#f97316}.agreeProtocolC{left:0;right:0;bottom:calc(120rpx + env(safe-area-inset-bottom));font-size:26rpx;font-weight:500}.agreeProtocolC .agreeC{padding:14rpx}.agreeProtocolC .agreeC .icon{display:block;width:28rpx;height:auto}.agreeProtocolC .protocol{color:#f97316} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.js b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.js new file mode 100644 index 0000000..92bbc20 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js");require("../../../request/http.js");const a=require("../../../common/assets.js"),i={data:()=>({avatarTop:"",contentTop:"",avatar:"",avatarUrl:"",nickname:"",mobile:"",sexList:["男","女"],sex:"",profile:""}),onLoad(){this.avatarTop=e.inject("navHeight")+.08*e.inject("windowWidth"),this.contentTop=this.avatarTop+.1*e.inject("windowWidth"),this.getUserInfoData()},methods:{chooseAvatar(e){console.log(e),this.avatar=e.detail.avatarUrl},sexChange(e){console.log(e);let t=e.detail.value;this.sex=this.sexList[t]},getPhoneNumData(a){if(console.log(a),"getPhoneNumber:ok"==a.detail.errMsg){let i={code:a.detail.code};t.wxBindPhone(i).then((t=>{200==t.code?(e.index.showToast({title:t.message}),this.mobile=t.data.phone):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}},clickFinishOrNext(a){if(this.avatar||this.avatarUrl)if(this.nickname)if(this.sex)if(this.avatar){let i={avatar:this.avatar,nickname:this.nickname,gender:"男"==this.sex?"male":"female",phone:this.mobile,bio:this.profile,isFile:1};t.updateBasicInfo(i).then((t=>{1==a?e.index.navigateTo({url:"/pages/mine/investPreference/investPreference"}):e.index.navigateBack()})).catch((e=>{}))}else{let i={nickname:this.nickname,gender:"男"==this.sex?"male":"female",phone:this.mobile,bio:this.profile};t.updateBasicInfo(i).then((t=>{1==a?e.index.navigateTo({url:"/pages/mine/investPreference/investPreference"}):e.index.navigateBack()})).catch((e=>{}))}else e.index.showToast({title:"请选择性别",icon:"none"});else e.index.showToast({title:"请输入昵称",icon:"none"});else e.index.showToast({title:"请选择头像",icon:"none"})},getUserInfoData(){t.userInfo().then((t=>{200==t.code?(this.avatarUrl=t.data.basic_info.avatar_url,this.nickname=t.data.basic_info.nickname,this.mobile=t.data.basic_info.phone,this.sex="male"==t.data.basic_info.gender?"男":"女",this.profile=t.data.basic_info.bio):e.wx$1.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const n=e._export_sfc(i,[["render",function(t,i,n,o,s,r){return{a:e.p({leftText:"信息完善"}),b:a._imports_0,c:s.avatar?s.avatar:s.avatarUrl,d:a._imports_1$5,e:e.o(((...e)=>r.chooseAvatar&&r.chooseAvatar(...e))),f:e.s("top:"+s.avatarTop+"px;"),g:s.nickname,h:e.o((e=>s.nickname=e.detail.value)),i:e.t(s.mobile),j:e.o(((...e)=>r.getPhoneNumData&&r.getPhoneNumData(...e))),k:e.t(s.sex),l:a._imports_2$5,m:s.sexList,n:e.o(((...e)=>r.sexChange&&r.sexChange(...e))),o:e.s("top:"+s.contentTop+"px;"),p:e.o((e=>r.clickFinishOrNext(0))),q:e.o((e=>r.clickFinishOrNext(1)))}}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.json b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxml b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxml new file mode 100644 index 0000000..71efed7 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxml @@ -0,0 +1 @@ +基本信息昵称手机号{{i}} 性别{{k}}完成下一步 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxss b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxss new file mode 100644 index 0000000..06f3fc6 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.avatarC{left:0;margin-left:calc((100% - 150rpx)/2);width:150rpx;z-index:10}.avatarC .avatar{width:100%;height:150rpx;border-radius:50%;border:solid 2rpx white}.avatarC .icon{right:20rpx;bottom:0;width:40rpx;height:auto}.avatarC button{top:0;left:0;width:100%;height:100%}.basicInfoC{background-color:#fff;left:0;right:0;bottom:170rpx;border-radius:20rpx 20rpx 0 0;overflow-y:scroll}.basicInfoC .title{margin:150rpx 0 0 60rpx;font-size:36rpx;font-weight:700}.basicInfoC .section{margin:0 60rpx;line-height:66rpx;font-size:26rpx;font-weight:700}.basicInfoC .inputC{background-color:#fbfbfd;margin:0 60rpx;padding:0 28rpx;height:78rpx;border:solid 2rpx #EFEFF2;border-radius:10rpx}.basicInfoC .inputC input{height:100%;font-size:24rpx;font-weight:500;color:#555}.basicInfoC .selectC{background-color:#fbfbfd;margin:0 60rpx;padding:0 25rpx 0 28rpx;height:78rpx;border:solid 2rpx #EFEFF2;border-radius:10rpx;font-size:24rpx;font-weight:500;color:#555}.basicInfoC .selectC .arrow{width:16rpx;height:auto}.basicInfoC .selectC button{top:0;left:0;width:100%;height:100%}.basicInfoC .textareaC{background-color:#fbfbfd;margin:0 60rpx;padding:20rpx 0 0 28rpx;border:solid 2rpx #EFEFF2;border-radius:2rpx}.basicInfoC .textareaC textarea{height:200rpx;font-size:24rpx;font-weight:500;color:#555}.bottomC{left:0;right:0;bottom:73rpx;margin:0 25rpx}.bottomC .btn{line-height:80rpx;border-radius:20rpx;font-size:26rpx;text-align:center}.bottomC .finish{background-color:#ffe9d9;width:226rpx;color:#f97316}.bottomC .next{background-color:#f97316;margin-left:20rpx;color:#fff} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.js b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.js new file mode 100644 index 0000000..fb31854 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),a=require("../../../utils/util.js"),i=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),listTop:"",tabList:["评论我的","我评论的"],selectTab:0,commentList:[],page:1,loadAll:!1,getLocaleMonthDayHourMinte:a.getLocaleMonthDayHourMinte}),onLoad(){this.listTop=this.navH+85/750*t.inject("windowWidth"),this.getCommentListData()},onPullDownRefresh(){this.page=1,this.getCommentListData()},onReachBottom(){this.loadAll||(this.page++,this.getCommentListData())},methods:{clickTabItem(t){this.selectTab!=t&&(this.selectTab=t,this.getCommentListData())},clickEventItem(e){t.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+e})},getCommentListData(){let a={page:this.page,type:0==this.selectTab?"commented":"comments"};e.userActivityList(a).then((e=>{200==e.code?(1==e.data.current_page?this.commentList=e.data.activities:this.commentList=this.followList.concat(e.data.activities),e.data.current_page==e.data.pages&&(this.loadAll=!0)):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const n=t._export_sfc(s,[["render",function(e,a,s,n,o,c){return t.e({a:t.p({leftText:"评论回复"}),b:i._imports_0,c:t.f(o.tabList,((e,a,i)=>t.e({a:t.t(e),b:o.selectTab==a},(o.selectTab,{}),{c:t.n("item flex1 relative "+(o.selectTab==a?"select":"")),d:a,e:t.o((t=>c.clickTabItem(a)),a)}))),d:t.s("top:"+o.navH+"px;"),e:0==o.selectTab},0==o.selectTab?{f:t.f(o.commentList,((e,a,i)=>({a:t.t(e.event.importance),b:t.t(e.event.title),c:a})))}:{g:t.f(o.commentList,((e,a,i)=>({a:e.commenter.avatar_url,b:t.t(e.commenter.nickname),c:t.t(o.getLocaleMonthDayHourMinte(e.created_at)),d:t.t(e.content),e:t.t(e.event.importance),f:t.t(e.event.title),g:t.t(e.event.description),h:t.o((t=>c.clickEventItem(e.event.id)),a),i:a})))},{h:t.s("top:"+o.listTop+"px;")})}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.json b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxml b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxml new file mode 100644 index 0000000..0d23a09 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxml @@ -0,0 +1 @@ +{{item.a}} 逸尘破晓2-15 15:37回复 回复永不落的梦想:四部门联合启动的人力资源服务业与制造业融合发展点。永不落的梦想:四部门联合启动的人力资源服务业与制造业融合发展点。{{item.a}}{{item.b}}人社部、工信部等四部门印发通知,明确在30个城市开展3年期试点,培育人力资源服务与制造业协同机构...{{item.b}}{{item.c}}{{item.d}}{{item.e}}{{item.f}}{{item.g}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxss b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxss new file mode 100644 index 0000000..6412e3c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.tabC{background-color:#fff;left:0;right:0;margin-top:10rpx;border-bottom:solid 1rpx #E4E4E4;border-radius:20rpx 20rpx 0 0}.tabC .item{line-height:74rpx;font-size:28rpx;font-weight:500;color:#42485b;text-align:center}.tabC .item.select{font-weight:700;color:#f97316}.tabC .item.select .line{background-color:#f97316;left:calc((100% - 50rpx)/2);width:50rpx;height:2rpx;bottom:0}.list{background-color:#fff;left:0;right:0;bottom:0;overflow-y:scroll}.list .commentMeItem .replyContentC{padding:40rpx 25rpx 0}.list .commentMeItem .replyContentC .avatar{margin-right:22rpx;width:80rpx;height:80rpx;border-radius:50%}.list .commentMeItem .replyContentC .replyNickname{font-size:28rpx;font-weight:700;color:#111}.list .commentMeItem .replyContentC .time{font-size:26rpx;font-weight:500;color:#aaa}.list .commentMeItem .replyContentC .reply{width:90rpx;height:52rpx;line-height:50rpx;border-radius:26rpx;border:solid 1rpx #DDD;font-size:24rpx;text-align:center}.list .commentMeItem .replyContentC .content{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#444}.list .commentMeItem .replyContentC .content .originNickname{color:#f97316}.list .commentMeItem .originalTextC{background-color:#f7f7f7;margin-top:20rpx;padding:20rpx 25rpx 25rpx}.list .commentMeItem .originalTextC .originReply{font-size:24rpx;font-weight:500;color:#444}.list .commentMeItem .originalTextC .originReply .originNickname{color:#f97316}.list .commentMeItem .originalTextC .originEventC{background-color:#fff;margin-top:20rpx;padding:34rpx 16rpx}.list .commentMeItem .originalTextC .originEventC .levelTitleC{font-size:30rpx;font-weight:700}.list .commentMeItem .originalTextC .originEventC .levelTitleC .level{background-color:#fec44f;margin-right:17rpx;width:50rpx;height:40rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#fff;text-align:center}.list .commentMeItem .originalTextC .originEventC .levelTitleC .title{color:#222}.list .commentMeItem .originalTextC .originEventC .eventContent{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#666}.list .myCommentItem .replyContentC{padding:40rpx 25rpx 0}.list .myCommentItem .replyContentC .avatar{margin-right:22rpx;width:80rpx;height:80rpx;border-radius:50%}.list .myCommentItem .replyContentC .nickname{font-size:28rpx;font-weight:700;color:#111}.list .myCommentItem .replyContentC .time{font-size:26rpx;font-weight:500;color:#aaa}.list .myCommentItem .replyContentC .content{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#444}.list .myCommentItem .originEventC{background-color:#f7f7f7;margin-top:20rpx;padding:20rpx 40rpx}.list .myCommentItem .originEventC .levelTitleC{font-size:30rpx;font-weight:700}.list .myCommentItem .originEventC .levelTitleC .level{background-color:#fec44f;margin-right:17rpx;width:50rpx;height:40rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#fff;text-align:center}.list .myCommentItem .originEventC .levelTitleC .title{color:#222}.list .myCommentItem .originEventC .eventContent{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#666} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.js b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.js new file mode 100644 index 0000000..1231b0c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),n=require("../../../common/assets.js"),o={data:()=>({navH:e.inject("navHeight"),content:""}),onLoad(){},methods:{clickSubmit(){if(!this.content)return void e.index.showToast({title:"请输入您要反馈的问题",icon:"none"});let n={content:this.content,isJson:1};t.feedback(n).then((t=>{200==t.code?(e.index.showToast({title:t.message,icon:"none"}),setTimeout((function(){e.index.navigateBack()}),1e3)):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const i=e._export_sfc(o,[["render",function(t,o,i,s,c,a){return{a:e.p({leftText:"意见反馈"}),b:n._imports_0,c:c.content,d:e.o((e=>c.content=e.detail.value)),e:e.s("top:"+c.navH+"px;"),f:e.o((e=>a.clickSubmit()))}}]]);wx.createPage(i); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.json b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxml b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxml new file mode 100644 index 0000000..2623e33 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxml @@ -0,0 +1 @@ +提交 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxss b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxss new file mode 100644 index 0000000..8717d9a --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.feedbackC{background-color:#fff;margin-top:10rpx;left:0;right:0;bottom:0;padding:43rpx 25rpx 0;border-radius:20rpx 20rpx 0 0}.feedbackC .textareaC{background-color:#f3f6f9;border-radius:20rpx;padding:20rpx 27rpx}.feedbackC .textareaC textarea{width:100%;height:400rpx;font-size:24rpx;font-weight:500}.submit{background-color:#f97316;left:0;right:0;bottom:73rpx;margin:0 25rpx;line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;color:#fff;text-align:center} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.js b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.js new file mode 100644 index 0000000..7d3310c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),a=require("../../../utils/util.js"),o=require("../../../common/assets.js"),l={data:()=>({navH:e.inject("navHeight"),followList:[],page:1,loadAll:!1,getRateStr:a.getRateStr,getRateUpOrDown:a.getRateUpOrDown,getLocaleTime:a.getLocaleTime}),onLoad(){this.getFollowCollectListData()},onPullDownRefresh(){this.page=1,this.getFollowCollectListData()},onReachBottom(){this.loadAll||(this.page++,this.getFollowCollectListData())},methods:{clickLookRelatedStockItem(t,a){e.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=1&code="+a+"&id="+t})},clickFollowEvent(a,o){t.followEvent(a).then((t=>{e.index.showToast({title:t.message,icon:"none"}),this.followList.splice(o,1)})).catch((e=>{}))},clickEventItem(t){e.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+t})},getFollowCollectListData(){let a={page:this.page,type:"follows"};t.userActivityList(a).then((t=>{200==t.code?(1==t.data.current_page?this.followList=t.data.activities:this.followList=this.followList.concat(t.data.activities),t.data.current_page==t.data.pages&&(this.loadAll=!0)):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const i=e._export_sfc(l,[["render",function(t,a,l,i,n,s){return{a:e.p({leftText:"关注收藏"}),b:o._imports_0,c:e.f(n.followList,((t,a,l)=>e.e({a:e.t(t.importance),b:e.n("level "+t.importance),c:e.t(t.event_title),d:e.t(t.event_description),e:n.getRateUpOrDown(t.related_avg_chg)},n.getRateUpOrDown(t.related_avg_chg)?{f:o._imports_1$1}:{g:o._imports_2$1},{h:e.t(n.getRateStr(t.related_avg_chg)),i:e.n("rateItem "+(n.getRateUpOrDown(t.related_avg_chg)?"down":"up")),j:n.getRateUpOrDown(t.related_max_chg)},n.getRateUpOrDown(t.related_max_chg)?{k:o._imports_1$1}:{l:o._imports_2$1},{m:e.t(n.getRateStr(t.related_max_chg)),n:e.n("rateItem "+(n.getRateUpOrDown(t.related_max_chg)?"down":"up")),o:n.getRateUpOrDown(t.related_week_chg)},n.getRateUpOrDown(t.related_week_chg)?{p:o._imports_1$1}:{q:o._imports_2$1},{r:e.t(n.getRateStr(t.related_week_chg)),s:e.n("rateItem "+(n.getRateUpOrDown(t.related_week_chg)?"down":"up")),t:e.f(t.related_stocks,((a,o,l)=>({a:e.t(a.stock_name),b:e.t((n.getRateUpOrDown(a.daily_change)?"":"+")+a.daily_change),c:o,d:e.o((e=>s.clickLookRelatedStockItem(t.event_id,a.stock_code)),o)}))),v:e.t(n.getLocaleTime(t.created_at)),w:e.t(t.view_count),x:e.t(t.follower_count),y:e.o((e=>s.clickFollowEvent(t.event_id,a)),a),z:e.o((e=>s.clickEventItem(t.event_id)),a),A:a}))),d:o._imports_3$1,e:o._imports_4$5,f:e.s("top:"+n.navH+"px;")}}]]);wx.createPage(i); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.json b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxml b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxml new file mode 100644 index 0000000..97d3e48 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxml @@ -0,0 +1 @@ +{{item.a}}{{item.c}}{{item.d}} 平均涨幅: {{item.h}}% 最大涨幅: {{item.m}}% 周涨幅: {{item.r}}% {{sitem.a}} {{sitem.b}}%{{item.v}}{{item.w}}{{item.x}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxss b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxss new file mode 100644 index 0000000..d60b6e5 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.list{background-color:#fff;left:0;right:0;bottom:0;padding:0 25rpx;overflow-y:scroll}.list .item{padding:30rpx 0;border-bottom:solid 1rpx #E4E4E4}.list .item .level{margin-right:16rpx;width:50rpx;line-height:40rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#fff;text-align:center}.list .item .level.S{background-color:#cc4c02}.list .item .level.A{background-color:#ec7014}.list .item .level.B{background-color:#fb9a29}.list .item .level.C{background-color:#fec44f}.list .item .title{font-size:30rpx;font-weight:700;color:#222}.list .item .content{margin-top:20rpx;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;text-overflow:ellipsis;overflow:hidden;font-size:24rpx;font-weight:500;color:#666}.list .item .increaseRateList{white-space:nowrap;margin-top:24rpx}.list .item .increaseRateList .rateItem{display:inline-block;margin-right:15rpx;line-height:44rpx;padding:0 14rpx;border-radius:10rpx;font-size:22rpx;font-weight:700;color:#fff}.list .item .increaseRateList .rateItem .arrow{width:15rpx;height:auto}.list .item .increaseRateList .rateItem.up{background-color:#c00000}.list .item .increaseRateList .rateItem.down{background-color:#355422}.list .item .stockList{white-space:nowrap;margin-top:20rpx}.list .item .stockList .stockItem{background-color:#f8f8f8;margin-right:21rpx;display:inline-block;padding:0 20rpx;line-height:60rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#222}.list .item .stockList .stockItem .change{color:#f97316}.list .item .timeToolBarC{margin-top:20rpx}.list .item .timeToolBarC .time{font-size:22rpx;font-weight:500;color:#aaa}.list .item .timeToolBarC .toolBarC .toolItem{padding:0 20rpx;font-size:26rpx;font-weight:700;color:#666}.list .item .timeToolBarC .toolBarC .toolItem .icon{margin-right:13rpx;width:29rpx;height:auto}.list .item .timeToolBarC .toolBarC .toolItem:first-child .icon{margin-right:15rpx;width:33rpx;height:auto} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.js b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.js new file mode 100644 index 0000000..c77c8e8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),s=require("../../../common/assets.js"),i={data:()=>({avatarTop:"",contentTop:"",avatar:"",avatarUrl:"",investPreferenceList:["长期投资","中短期投资","风险控制型"],selectInvestIndex:-1,stockYearList:["新手入门","1年以内","1-3年","3-5年","5-10年","10年以上"],selectYearIndex:-1,riskPreferenceList:["保守型","稳健型","积极型"],selectRiskIndex:-1,investmentScaleList:["50万以下","50-100万","100万以上"],selectScaleIndex:-1,preferredMarketList:[{title:"A股"},{title:"港股"},{title:"美股"},{title:"期货"},{title:"虚拟货币"},{title:"新兴市场"}]}),onLoad(){this.avatarTop=e.inject("navHeight")+.08*e.inject("windowWidth"),this.contentTop=this.avatarTop+.1*e.inject("windowWidth"),this.getUserInfoData()},methods:{chooseAvatar(e){this.avatar=e.detail.avatarUrl},clickInvestItem(e){this.selectInvestIndex!=e&&(this.selectInvestIndex=e)},clickYearItem(e){this.selectYearIndex!=e&&(this.selectYearIndex=e)},clickRiskItem(e){this.selectRiskIndex!=e&&(this.selectRiskIndex=e)},clickScaleItem(e){this.selectScaleIndex!=e&&(this.selectScaleIndex=e)},clickMarketItem(e){this.preferredMarketList[e].select=!this.preferredMarketList[e].select},clickPre(){e.index.navigateBack()},clickFinish(){if(this.selectInvestIndex<0)return void e.index.showToast({title:"请选择投资偏好",icon:"none"});if(this.selectYearIndex<0)return void e.index.showToast({title:"请选择炒股年限",icon:"none"});if(this.selectRiskIndex<0)return void e.index.showToast({title:"请选择风险偏好",icon:"none"});if(this.selectScaleIndex<0)return void e.index.showToast({title:"请选择投资规模",icon:"none"});let t=[];for(let e of this.preferredMarketList)e.select&&t.push(e.title);if(0!=t.length)if(this.avatar){let e={avatar:this.avatar,isFile:1};updateBasicInfo(e).then((e=>{this.uploadInvestPreferenceData()})).catch((e=>{}))}else this.uploadInvestPreferenceData();else e.index.showToast({title:"请选择偏好市场",icon:"none"})},uploadInvestPreferenceData(){let s=[];for(let e of this.preferredMarketList)e.select&&s.push(e.title);let i={trading_experience:this.selectYearIndex,investment_style:this.investPreferenceList[this.selectInvestIndex],risk_preference:this.riskPreferenceList[this.selectRiskIndex],investment_amount:this.investmentScaleList[this.selectScaleIndex],preferred_markets:s};t.updateInvestPreference(i).then((t=>{e.index.navigateBack({delta:2})})).catch((e=>{}))},getUserInfoData(){t.userInfo().then((t=>{if(200==t.code){this.avatarUrl=t.data.basic_info.avatar_url;let e=t.data.investment_preferences;for(var s=0;s-1?t.select=!0:t.select=!1}}else e.wx$1.showToast({title:t.message})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const n=e._export_sfc(i,[["render",function(t,i,n,r,a,c){return{a:e.p({leftText:"信息完善"}),b:s._imports_0,c:a.avatar?a.avatar:a.avatarUrl,d:s._imports_1$5,e:e.o(((...e)=>c.chooseAvatar&&c.chooseAvatar(...e))),f:e.s("top:"+a.avatarTop+"px;"),g:e.f(a.investPreferenceList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectInvestIndex==s?"select":"")),c:s,d:e.o((e=>c.clickInvestItem(s)),s)}))),h:e.f(a.stockYearList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectYearIndex==s?"select":"")),c:s,d:e.o((e=>c.clickYearItem(s)),s)}))),i:e.f(a.riskPreferenceList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectRiskIndex==s?"select":"")),c:s,d:e.o((e=>c.clickRiskItem(s)),s)}))),j:e.f(a.investmentScaleList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectScaleIndex==s?"select":"")),c:s,d:e.o((e=>c.clickScaleItem(s)),s)}))),k:e.f(a.preferredMarketList,((t,s,i)=>({a:e.t(t.title),b:e.n("item "+(t.select?"select":"")),c:s,d:e.o((e=>c.clickMarketItem(s)),s)}))),l:e.s("top:"+a.contentTop+"px;"),m:e.o((e=>c.clickPre())),n:e.o((e=>c.clickFinish()))}}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.json b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxml b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxml new file mode 100644 index 0000000..c7e23b8 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxml @@ -0,0 +1 @@ +投资偏好设置投资偏好{{item.a}}炒股年限{{item.a}}风险偏好{{item.a}}投资规模{{item.a}}偏好市场(可多选){{item.a}}上一步完成 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxss b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxss new file mode 100644 index 0000000..e990b81 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.avatarC{left:0;margin-left:calc((100% - 150rpx)/2);width:150rpx;z-index:10}.avatarC .avatar{width:100%;height:150rpx;border-radius:50%;border:solid 2rpx white}.avatarC .icon{right:20rpx;bottom:0;width:40rpx;height:auto}.avatarC button{top:0;left:0;width:100%;height:100%}.preferenceC{background-color:#fff;left:0;right:0;bottom:170rpx;border-radius:20rpx 20rpx 0 0;overflow-y:scroll}.preferenceC .title{margin:150rpx 0 0 60rpx;font-size:36rpx;font-weight:700}.preferenceC .section{margin:10rpx 60rpx 0;line-height:66rpx;font-size:26rpx;font-weight:700}.preferenceC .section.first{margin-top:20rpx}.preferenceC .list{padding:0 60rpx}.preferenceC .list .item{background-color:#fbfbfd;margin:0 14rpx 12rpx 0;width:calc((100% - 28rpx)/3);line-height:76rpx;border:solid 2rpx #EFEFF2;border-radius:10rpx;font-size:24rpx;font-weight:500;color:#555;text-align:center}.preferenceC .list .item.select{background-color:#ffe9d9;border:solid 2rpx #F97316}.preferenceC .list .item:nth-child(3n){margin-right:0}.bottomC{left:0;right:0;bottom:73rpx;margin:0 25rpx}.bottomC .btn{line-height:80rpx;border-radius:20rpx;font-size:26rpx;text-align:center}.bottomC .pre{background-color:#ffe9d9;width:226rpx;color:#f97316}.bottomC .finish{background-color:#f97316;margin-left:20rpx;color:#fff} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/mine.js b/unpackage/dist/build/mp-weixin/pages/mine/mine.js new file mode 100644 index 0000000..088a393 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/mine.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),n=require("../../request/api.js"),i=require("../../common/assets.js"),t={data:()=>({menuTop:e.inject("menuTop"),menuH:e.inject("menuHeight"),infoTop:"",userInfo:null,memberInfo:null,menuList:[{icon:"/static/icon/mine/aboutUs.png",title:"关于我们",url:"/pages/mine/web/web?type=1"},{icon:"/static/icon/mine/serviceTerm.png",title:"服务条款",url:"/pages/mine/web/web?type=2"},{icon:"/static/icon/mine/privacyProtocol.png",title:"隐私协议",url:"/pages/mine/web/web?type=3"},{icon:"/static/icon/mine/feedback.png",title:"意见反馈",url:"/pages/mine/feedback/feedback"},{icon:"/static/icon/mine/customerService.png",title:"联系客服"},{icon:"/static/icon/mine/logout.png",title:"退出登录"}]}),onLoad(){this.infoTop=e.inject("navHeight")+32/750*e.inject("windowWidth")},onShow(){this.getUserInfoData(),this.getMemberStatus()},methods:{clickPersonalInfo(){e.index.navigateTo({url:"/pages/mine/basicInfo/basicInfo"})},clickVip(){e.index.navigateTo({url:"/pagesMine/vip/vip"})},clickNumItem(n){0==n?e.index.navigateTo({url:"/pages/mine/commentReply/commentReply"}):1==n?e.index.navigateTo({url:"/pages/mine/followCollect/followCollect"}):e.index.navigateTo({url:"/pages/mine/myLike/myLike"})},clickMenuItem(n,i){n?e.index.navigateTo({url:n}):i==this.menuList.length-2?this.$refs.popup.open():i==this.menuList.length-1&&e.index.showModal({title:"您确定要退出登录么",success(n){n.confirm&&(e.index.removeStorageSync("token"),e.index.switchTab({url:"/pages/index/index"}))}})},getUserInfoData(){n.userInfo().then((n=>{200==n.code?this.userInfo=n.data:e.wx$1.showToast({title:n.message,icon:"none"})})).catch((e=>{}))},getMemberStatus(){n.membershipStatus().then((n=>{200==n.code?this.memberInfo=n.data:e.index.showToast({title:n.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("uni-popup")()}Math;const o=e._export_sfc(t,[["render",function(n,t,o,s,m,c){return e.e({a:i._imports_0,b:e.s("top:"+m.menuTop+"px;line-height:"+m.menuH+"px;"),c:m.userInfo},m.userInfo?e.e({d:m.userInfo.basic_info.avatar_url,e:e.t(m.userInfo.basic_info.nickname),f:e.t(m.userInfo.basic_info.phone),g:m.memberInfo&&m.memberInfo.is_member},m.memberInfo&&m.memberInfo.is_member?{h:e.t(m.memberInfo.subscription_type)}:{},{i:i._imports_1$4,j:e.s("margin-top:"+m.infoTop+"px;"),k:e.o((e=>c.clickPersonalInfo()))}):{},{l:m.userInfo},m.userInfo?{m:e.t(m.userInfo.statistics.total_comments),n:e.o((e=>c.clickNumItem(0))),o:e.t(m.userInfo.statistics.follows_count),p:e.o((e=>c.clickNumItem(1))),q:e.t(m.userInfo.statistics.likes_count),r:e.o((e=>c.clickNumItem(2)))}:{},{s:m.memberInfo&&!m.memberInfo.is_member},m.memberInfo&&!m.memberInfo.is_member?{t:i._imports_2$4,v:e.o((e=>c.clickVip()))}:{},{w:e.f(m.menuList,((n,i,t)=>({a:n.icon,b:e.t(n.title),c:i,d:e.o((e=>c.clickMenuItem(n.url,i)),i)}))),x:i._imports_3$2,y:i._imports_4$3,z:e.sr("popup","dd5840e4-0"),A:e.p({type:"center"})})}]]);wx.createPage(o); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/mine.json b/unpackage/dist/build/mp-weixin/pages/mine/mine.json new file mode 100644 index 0000000..a2c5356 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/mine.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/mine.wxml b/unpackage/dist/build/mp-weixin/pages/mine/mine.wxml new file mode 100644 index 0000000..d62e0c3 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/mine.wxml @@ -0,0 +1 @@ +个人中心{{e}}手机号:{{f}}{{h}}会员{{m}}评论回复{{o}}关注收藏{{q}}我的点赞{{item.b}}企业二维码 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/mine.wxss b/unpackage/dist/build/mp-weixin/pages/mine/mine.wxss new file mode 100644 index 0000000..e1cfba3 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/mine.wxss @@ -0,0 +1 @@ +page{background-color:#000}.topBg{top:0;left:0;width:100%;height:auto}.navTitle{left:0;margin:0 23rpx;font-size:36rpx;font-weight:700;color:#fff}.personalInfoC{padding:0 25rpx 0 30rpx}.personalInfoC .avatar{margin-right:11rpx;width:130rpx;height:130rpx;border-radius:50%;border:solid 3rpx white}.personalInfoC .nickname{font-size:32rpx;font-weight:700;color:#fff}.personalInfoC .mobile{margin-top:6rpx;font-size:24rpx;font-weight:500;color:#f3c368}.personalInfoC .arrow{width:15rpx;height:auto}.numList .item{padding:25rpx 0}.numList .item .num{font-size:48rpx;font-weight:800;color:#fff}.numList .item .title{font-size:24rpx;font-weight:500;color:#ffecd3}.vipC{margin:0 45rpx}.vipC .icon{display:block;width:100%;height:auto}.menuList{background-color:#fff;margin:0 25rpx;padding:0 20rpx 220rpx;border-radius:20rpx}.menuList .item{height:100rpx;padding:0 18rpx 0 20rpx;border-bottom:solid 1rpx #F7F7F7;font-size:28rpx;color:#222}.menuList .item .icon{margin-right:16rpx;width:44rpx;height:44rpx}.menuList .item .arrow{width:11rpx;height:auto}.menuList .item button{top:0;left:0;width:100%;height:100%}.popup{background-color:#fff}.popup .icon{width:560rpx;height:auto}.popup .title{margin-top:10rpx;border-radius:10rpx;text-align:center} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.js b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.js new file mode 100644 index 0000000..f7a560b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),i=require("../../../utils/util.js"),a=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),myLikeList:[],page:1,loadAll:!1,getLocaleHourMinute:i.getLocaleHourMinute}),onLoad(){this.getMyLikeListData()},onPullDownRefresh(){this.page=1,this.getMyLikeListData()},onReachBottom(){this.loadAll||(this.page++,this.getMyLikeListData())},methods:{clickLikeComment(i,a){e.likeEventComment(i).then((e=>{t.index.showToast({title:e.message}),this.myLikeList.splice(a,1)})).catch((t=>{}))},getMyLikeListData(){let i={page:this.page,type:"likes"};e.userActivityList(i).then((e=>{200==e.code?(1==e.data.current_page?this.myLikeList=e.data.activities:this.myLikeList=this.myLikeList.concat(e.data.activities),e.data.current_page==e.data.pages&&(this.loadAll=!0)):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const o=t._export_sfc(s,[["render",function(e,i,s,o,n,r){return{a:t.p({leftText:"我的点赞"}),b:a._imports_0,c:t.f(n.myLikeList,((e,i,a)=>({a:e.author.avatar_url,b:t.t(e.author.nickname),c:e.post_content,d:t.t(n.getLocaleHourMinute(e.like_time)),e:t.o((t=>r.clickLikeComment(e.like_id,i)),i),f:i}))),d:a._imports_1$7,e:t.s("top:"+n.navH+"px;")}}]]);wx.createPage(o); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.json b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxml b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxml new file mode 100644 index 0000000..112be02 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxml @@ -0,0 +1 @@ +{{item.b}}{{item.d}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxss b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxss new file mode 100644 index 0000000..83c8629 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.list{background-color:#fff;margin-top:10rpx;left:0;right:0;bottom:0;overflow-y:scroll}.list .item{display:flex;padding:30rpx 25rpx;border-bottom:solid 1rpx #E4E4E4}.list .item .avatar{margin-right:23rpx;width:80rpx;height:80rpx;border-radius:50%}.list .item .nickname{font-size:28rpx;font-weight:700;color:#111}.list .item .content{margin-top:10rpx;line-height:1.2rem;font-size:24rpx;font-weight:500;color:#666}.list .item .timeReplyLikeC .time{margin-right:36rpx;font-size:26rpx;font-weight:500;color:#aaa}.list .item .timeReplyLikeC .reply{font-size:26rpx;font-weight:500;color:#f97316}.list .item .timeReplyLikeC .likeC{padding:14rpx 0;font-size:28rpx;font-weight:700;color:#999}.list .item .timeReplyLikeC .likeC .icon{margin-right:12rpx;width:27rpx;height:auto}.list .item .timeReplyLikeC .likeC.like{color:#f97316}.list .item .totalCommentNumC{padding:14rpx 0 22rpx;font-size:26rpx;font-weight:500;color:#999}.list .item .totalCommentNumC .line{background-color:#aaa;margin-right:18rpx;width:30rpx;height:2rpx}.list .item .totalCommentNumC .arrow{margin-left:14rpx;width:13rpx;height:auto} diff --git a/unpackage/dist/build/mp-weixin/pages/mine/web/web.js b/unpackage/dist/build/mp-weixin/pages/mine/web/web.js new file mode 100644 index 0000000..173cab5 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/web/web.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),n=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),navTitle:"",type:"",webContent:""}),onLoad(t){t.type&&(this.type=t.type,this.getUserInfoData(),1==t.type?this.navTitle="关于我们":2==t.type?this.navTitle="服务条款":3==t.type&&(this.navTitle="隐私协议"))},methods:{getUserInfoData(){e.agreements().then((e=>{200==e.code?1==this.type?this.webContent=e.data.agreements.about_us.content:2==this.type?this.webContent=e.data.agreements.service_terms.content:3==this.type&&(this.webContent=e.data.agreements.privacy_policy.content):t.wx$1.showToast({title:e.message})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const a=t._export_sfc(s,[["render",function(e,s,a,o,i,r){return{a:t.p({leftText:i.navTitle}),b:n._imports_0,c:t.t(i.webContent),d:t.s("top:"+i.navH+"px;")}}]]);wx.createPage(a); diff --git a/unpackage/dist/build/mp-weixin/pages/mine/web/web.json b/unpackage/dist/build/mp-weixin/pages/mine/web/web.json new file mode 100644 index 0000000..f9f6bf2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/web/web.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/web/web.wxml b/unpackage/dist/build/mp-weixin/pages/mine/web/web.wxml new file mode 100644 index 0000000..f5c0f88 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/web/web.wxml @@ -0,0 +1 @@ +{{c}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/mine/web/web.wxss b/unpackage/dist/build/mp-weixin/pages/mine/web/web.wxss new file mode 100644 index 0000000..71e5333 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/mine/web/web.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.contentC{background-color:#fff;left:0;right:0;bottom:0;margin-top:10rpx;padding:50rpx 25rpx;overflow-y:scroll} diff --git a/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.js b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.js new file mode 100644 index 0000000..9f21159 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),t=require("../../request/http.js"),a=require("../../request/api.js"),o=require("../../common/assets.js"),i=require("../../uni_modules/lime-echart/static/echarts.min.js"),s={categories:[{name:"板块"},{name:"概念"},{name:"个股"}],nodes:[{name:"科技板块",symbolSize:50,category:0},{name:"人工智能",symbolSize:30,category:1},{name:"大数据",symbolSize:25,category:1},{name:"科大讯飞",symbolSize:20,category:2},{name:"百度",symbolSize:20,category:2},{name:"金融板块",symbolSize:50,category:0},{name:"数字货币",symbolSize:30,category:1},{name:"招商银行",symbolSize:20,category:2},{name:"平安银行",symbolSize:20,category:2}],links:[{source:"科技板块",target:"人工智能",value:10},{source:"科技板块",target:"大数据",value:8},{source:"人工智能",target:"科大讯飞",value:6},{source:"人工智能",target:"百度",value:6},{source:"金融板块",target:"数字货币",value:9},{source:"数字货币",target:"招商银行",value:5},{source:"数字货币",target:"平安银行",value:5}]},r={components:{WordCloud:()=>"../../components/WordCloud/WordCloud2.js"},data:()=>({navH:e.inject("navHeight"),contentTop:"",selectedYearMonth:"",selectedFullDate:"",selectedItem:null,tabTypes:[{data:"",change:0,title:"当前日期"},{data:"",change:3,title:"涨停家数"},{data:"22%",change:0,title:"炸板率"}],wordData:[],bkList:[],number_limit_stocks:"",HEAT_LEVELS:[{threshold:.7,color:"#EF4444",level:"高热度"},{threshold:.4,color:"#F97316",level:"中热度"},{threshold:.2,color:"#F3B800",level:"低热度"},{threshold:0,color:"#01AB5D",level:"无热度"}],bkTypes:["板块关联图","板块分布","热门概念词云"],activeType:0,pieOption:{tooltip:{trigger:"item"},animation:!1,legend:{top:"5%",left:"center",show:!1},series:[{name:"Access From",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,padAngle:2,itemStyle:{borderRadius:8},emphasis:{label:{show:!0,fontSize:10}},labelLine:{length:1,length2:5},data:[]}]},graphOption:{tooltip:{},legend:[],series:[{name:"板块关联",type:"graph",layout:"none",data:[],links:[],categories:[],roam:!0,label:{show:!0,position:"right",formatter:"{b}"},labelLayout:{hideOverlap:!0},scaleLimit:{min:.4,max:2},lineStyle:{color:"source",curveness:.3}}]}}),onLoad(t){this.activeIndex=t.index,this.contentTop=this.navH+20/750*e.inject("windowWidth")},onReady(){this.fetchData(),this.initGraphChart()},methods:{getHeatColor(e,t){if(0===t)return"#01AB5D";const a=e/t,o=this.HEAT_LEVELS.find((e=>a>e.threshold));return o?o.color:"#01AB5D"},async switchTab(e){switch(this.activeType=e,e){case 0:this.$refs.graphChartRef&&this.initGraphChart();break;case 1:this.$refs.chartRef&&this.initPieChart();break;case 2:this.initWordCloud()}},getPreviousDayDate(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))return console.error("日期格式错误,请传入 YYYY-MM-DD 格式的日期"),"";const[t,a,o]=e.split("-").map(Number),i=new Date(t,a-1,o);i.setDate(i.getDate()-2);return`${i.getFullYear()}${String(i.getMonth()+1).padStart(2,"0")}${String(i.getDate()).padStart(2,"0")}`},async fetchData(){try{const a=(new Date).getTime(),o=this.getPreviousDayDate(this.selectedFullDate),i=`${t.getBaseURL1()}/data/zt/daily/${o}.json?t=${a}`;console.log("请求URL:",i);const s=await e.index.request({url:i,method:"GET"});if(200===s.statusCode&&s.data){this.originData=s.data;const e=this.originData.chart_data||{},t=e.labels||[],a=e.counts||[],o=a.length>0?Math.max(...a):0;let i=[];const r=Math.min(t.length,a.length);for(let s=0;se.name))}],this.graphOption.series[0].data=s.nodes,this.graphOption.series[0].links=s.links,this.graphOption.series[0].categories=s.categories,e.setOption(this.graphOption)},async initPieChart(){try{let e=[];const t=this.originData.chart_data||{},a=t.labels||[],o=t.counts||[],s=Math.min(a.length,o.length);for(let i=0;i0?e:[{value:10,name:"科技板块"},{value:8,name:"人脑工程"},{value:9,name:"商业航天"}],this.$refs.chartRef){const e=await this.$refs.chartRef.init(i);console.log("Piechart实例创建成功",e),e.setOption(this.pieOption)}}catch(e){console.error("饼图初始化失败:",e)}},initWordCloud(){this.originData.word_freq_data&&Array.isArray(this.originData.word_freq_data)?(this.wordData=this.originData.word_freq_data,console.log("词云数据赋值完成",this.wordData)):this.wordData=[{name:"脑机",value:1e4},{name:"航天",value:3428}]},handleDateChange(e){var t,a,o,i;if(console.log("从日历组件接收的参数:",{currentZtCount:null==(t=e.item)?void 0:t.zt_count,prevZtCount:null==(a=e.prevItem)?void 0:a.zt_count}),this.selectedYearMonth=e.yearMonth,this.selectedFullDate=e.fullDate,this.selectedItem=e.item,e.fullDate){const[t,a,o]=e.fullDate.split("-").map(Number);this.tabTypes[0].data=`${a}月${o}日`}const s=(null==(o=e.item)?void 0:o.zt_count)??0;this.tabTypes[1].data=s.toString(),this.number_limit_stocks=s.toString();const r=(null==(i=e.prevItem)?void 0:i.zt_count)??0,n=0===s||0===r?0:s-r;this.tabTypes[1].change=n,this.fetchData()},analyseHighStocks(){let e={date:this.getPreviousDayDate(this.selectedFullDate)};a.analyseHighStocks(e).then((e=>{})).catch((e=>{}))},bkydAction(t){e.index.navigateTo({url:`/pagesStock/stockCenterDetails/bkydmx?index=${t}`})}}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("LCCalendar")+e.resolveComponent("l-echart")+e.resolveComponent("WordCloud"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../components/LCCalendar/LCCalendar.js")+(()=>"../../uni_modules/lime-echart/components/l-echart/l-echart.js")+(()=>"../../components/WordCloud/WordCloud2.js"))();const n=e._export_sfc(r,[["render",function(t,a,i,s,r,n){return{a:e.p({leftText:"涨停分析",hideNavBg:!0,hideBack:!0}),b:o._imports_0,c:o._imports_1$10,d:o._imports_2$8,e:e.f(r.tabTypes,((t,a,o)=>e.e({a:e.t(t.data),b:0!==t.change},0!==t.change?{c:e.t(t.change>0?"+"+t.change:t.change),d:e.s({marginLeft:"10rpx",borderRadius:"5rpx",color:"white",padding:"0 5rpx",fontSize:"24rpx",fontWeight:"bold"}),e:e.s(t.change>0?{backgroundColor:"#F59B38"}:{backgroundColor:"#EF4444"})}:{},{f:e.t(t.title),g:a}))),f:e.o(n.handleDateChange),g:o._imports_3$8,h:e.t(r.bkList.length),i:e.t(r.number_limit_stocks),j:e.f(r.bkList,((t,a,o)=>({a:e.t(t.title),b:e.t(t.count),c:a,d:e.o((e=>n.bkydAction(a)),a),e:t.bgColor}))),k:e.f(r.bkTypes,((t,a,o)=>({a:e.t(t),b:e.o((e=>n.switchTab(a))),c:r.activeType==a?"#BB8520":"#999999",d:"1rpx solid "+(r.activeType==a?"#F2C369":"#D2D2D2"),e:r.activeType==a?"#FFFAF1":"#FFF"}))),l:e.sr("graphChartRef","06b829a4-2"),m:0===r.activeType,n:e.sr("chartRef","06b829a4-3"),o:1===r.activeType,p:2===r.activeType,q:e.p({wordData:r.wordData,width:330,height:330}),r:o._imports_3$8,s:e.f(10,((e,t,a)=>({a:t}))),t:o._imports_1$11,v:o._imports_5$4,w:o._imports_5$4,x:e.s("top:"+r.contentTop+"px;")}}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.json b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.json new file mode 100644 index 0000000..0e14026 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.json @@ -0,0 +1,9 @@ +{ + "navigationBarTitleText": "涨停分析", + "usingComponents": { + "word-cloud": "../../components/WordCloud/WordCloud", + "nav-bar": "../../components/navBar/navBar", + "l-c-calendar": "../../components/LCCalendar/LCCalendar", + "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxml b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxml new file mode 100644 index 0000000..615fe9d --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxml @@ -0,0 +1 @@ +AI总结市场情绪温和,主线题材:存储芯片核心指标{{item.a}}{{item.c}}{{item.f}}市场全景{{h}}个板块{{i}}只涨停高位股风险: 低板块热力图高热度 中热度 低热度 冷门 {{item.a}}{{item.b}}只{{item.a}}高位股统计高位股10只平均3.7最高9版中风险博菲电气(销量一字,高风险) 9连板高位股风险较高,追涨需谨慎 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxss b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxss new file mode 100644 index 0000000..81ab324 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.stockDetailsC{left:0;right:0;bottom:calc(55px + env(safe-area-inset-bottom))}.single-line-ellipsis{max-width:100%;width:120rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.count-text{font-size:22rpx;margin-top:4rpx;text-align:center} diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/contain.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/contain.png new file mode 100644 index 0000000..0740874 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/contain.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/continuouslyUnlock.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/continuouslyUnlock.png new file mode 100644 index 0000000..ca08dd7 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/continuouslyUnlock.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/continuouslyUnlock_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/continuouslyUnlock_v.png new file mode 100644 index 0000000..3de9379 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/continuouslyUnlock_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dailyReport.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dailyReport.png new file mode 100644 index 0000000..f9fd190 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dailyReport.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dailyReport_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dailyReport_v.png new file mode 100644 index 0000000..001a241 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dailyReport_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dataTool.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dataTool.png new file mode 100644 index 0000000..76a6adf Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dataTool.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dataTool_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dataTool_v.png new file mode 100644 index 0000000..2883e61 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/dataTool_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/decisionSupport.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/decisionSupport.png new file mode 100644 index 0000000..5efd641 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/decisionSupport.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/decisionSupport_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/decisionSupport_v.png new file mode 100644 index 0000000..671586d Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/decisionSupport_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/depthReport.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/depthReport.png new file mode 100644 index 0000000..ad5fc2e Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/depthReport.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/depthReport_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/depthReport_v.png new file mode 100644 index 0000000..078632d Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/depthReport_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/expertMeeting.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/expertMeeting.png new file mode 100644 index 0000000..55e7979 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/expertMeeting.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/expertMeeting_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/expertMeeting_v.png new file mode 100644 index 0000000..00da431 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/expertMeeting_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/industrialResearch.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/industrialResearch.png new file mode 100644 index 0000000..326c8ed Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/industrialResearch.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/intelligentScreening_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/intelligentScreening_v.png new file mode 100644 index 0000000..fae7da1 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/intelligentScreening_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/investQuestion.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/investQuestion.png new file mode 100644 index 0000000..402e948 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/investQuestion.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/notContain.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/notContain.png new file mode 100644 index 0000000..b20b287 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/notContain.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/operatingDecision.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/operatingDecision.png new file mode 100644 index 0000000..7e01ca9 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/operatingDecision.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/specialColumn.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/specialColumn.png new file mode 100644 index 0000000..7f301c7 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/specialColumn.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/specialColumn_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/specialColumn_v.png new file mode 100644 index 0000000..90c1ab7 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/specialColumn_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step1.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step1.png new file mode 100644 index 0000000..f56f79a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step1.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step1_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step1_v.png new file mode 100644 index 0000000..dc781fa Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step1_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step2.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step2.png new file mode 100644 index 0000000..ff3ff79 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step2.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step2_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step2_v.png new file mode 100644 index 0000000..95380b7 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step2_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step3.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step3.png new file mode 100644 index 0000000..22f52d2 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step3.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step3_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step3_v.png new file mode 100644 index 0000000..639c3d3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step3_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step4.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step4.png new file mode 100644 index 0000000..4663fd3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step4.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step4_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step4_v.png new file mode 100644 index 0000000..38cb3a3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/step4_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/strategicInsight.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/strategicInsight.png new file mode 100644 index 0000000..da7aeb5 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/strategicInsight.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/strategicInsight_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/strategicInsight_v.png new file mode 100644 index 0000000..14cc32b Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/strategicInsight_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleLeft.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleLeft.png new file mode 100644 index 0000000..d351787 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleLeft.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleLeft_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleLeft_v.png new file mode 100644 index 0000000..da1d832 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleLeft_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleRight.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleRight.png new file mode 100644 index 0000000..d98ebb5 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleRight.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleRight_v.png b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleRight_v.png new file mode 100644 index 0000000..cbd0486 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/icon/vip/titleRight_v.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/image/vip/noVipTopBg.png b/unpackage/dist/build/mp-weixin/pagesMine/static/image/vip/noVipTopBg.png new file mode 100644 index 0000000..45f3ac5 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/image/vip/noVipTopBg.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/static/image/vip/vipTopBg.png b/unpackage/dist/build/mp-weixin/pagesMine/static/image/vip/vipTopBg.png new file mode 100644 index 0000000..482e41a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesMine/static/image/vip/vipTopBg.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.js b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.js new file mode 100644 index 0000000..c3c0d1c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),i=require("../../request/api.js"),m=require("../../common/assets.js"),t={data:()=>({navH:e.inject("navHeight"),memberInfo:null,questionList:["信息纷杂难辨真伪?","信息纷杂难辨真伪?","无法把握宏观趋势与行业动向?"],privilegeList:[{icon:"/pagesMine/static/icon/vip/depthReport.png",icon_v:"/pagesMine/static/icon/vip/depthReport_v.png",title:"深度研报",tips:"行业/公司独家分析"},{icon:"/pagesMine/static/icon/vip/strategicInsight.png",icon_v:"/pagesMine/static/icon/vip/strategicInsight_v.png",title:"策略洞察",tips:"赛道趋势+拐点信号"},{icon:"/pagesMine/static/icon/vip/dataTool.png",icon_v:"/pagesMine/static/icon/vip/dataTool_v.png",title:"数据工具",tips:"行业/公司独家分析"},{icon:"/pagesMine/static/icon/vip/dataTool.png",icon_v:"/pagesMine/static/icon/vip/intelligentScreening_v.png",title:"智能筛选",tips:"按需定制标的列表"},{icon:"/pagesMine/static/icon/vip/decisionSupport.png",icon_v:"/pagesMine/static/icon/vip/decisionSupport_v.png",title:"决策辅助",tips:"关键因子评分系统"},{icon:"/pagesMine/static/icon/vip/expertMeeting.png",icon_v:"/pagesMine/static/icon/vip/expertMeeting_v.png",title:"专家闭门会",tips:"深度交流机会"},{icon:"/pagesMine/static/icon/vip/dailyReport.png",icon_v:"/pagesMine/static/icon/vip/dailyReport_v.png",title:"日报周报",tips:"研判速递、节奏掌控"},{icon:"/pagesMine/static/icon/vip/specialColumn.png",icon_v:"/pagesMine/static/icon/vip/specialColumn_v.png",title:"专题专栏",tips:"核心团队观点集结"},{icon:"/pagesMine/static/icon/vip/continuouslyUnlock.png",icon_v:"/pagesMine/static/icon/vip/continuouslyUnlock_v.png",title:"持续解锁",tips:"不定期上线新功能"}]}),onLoad(){this.getMemberStatus(),this.init()},onReady(){this.init()},methods:{async init(){const e=await this.$refs.chartRef.init(echarts);console.log(e),e.setOption(this.option1)},clickVipMeal(){e.index.navigateTo({url:"/pagesMine/vipMeal/vipMeal"})},getMemberStatus(){i.membershipStatus().then((i=>{200==i.code?this.memberInfo=i.data:e.index.showToast({title:i.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const n=e._export_sfc(t,[["render",function(i,t,n,o,s,r){return e.e({a:e.p({leftText:"会员中心"}),b:m._imports_0,c:s.memberInfo},s.memberInfo?e.e({d:s.memberInfo.is_member},s.memberInfo.is_member?{e:m._imports_1$12}:{f:m._imports_2$9},{g:s.memberInfo.is_member},s.memberInfo.is_member?{h:e.t(s.memberInfo.subscription_type),i:e.t(s.memberInfo.member_expire_date)}:{},{j:s.memberInfo.is_member},s.memberInfo.is_member?{k:m._imports_3$9}:{l:m._imports_4$8},{m:s.memberInfo.is_member},s.memberInfo.is_member?{n:m._imports_5$5}:{o:m._imports_6$1},{p:e.n("impormant "+(s.memberInfo.is_member?"vip":"")),q:s.memberInfo.is_member},s.memberInfo.is_member?{r:m._imports_7$2}:{s:m._imports_8$3},{t:s.memberInfo.is_member},s.memberInfo.is_member?{v:m._imports_9$3}:{w:m._imports_10$2},{x:e.n("impormant "+(s.memberInfo.is_member?"vip":"")),y:e.n("impormant "+(s.memberInfo.is_member?"vip":"")),z:s.memberInfo.is_member},s.memberInfo.is_member?{A:m._imports_11$3}:{B:m._imports_12$3},{C:s.memberInfo.is_member},s.memberInfo.is_member?{D:m._imports_13$2}:{E:m._imports_14$1},{F:m._imports_15$1,G:e.f(s.questionList,((i,m,t)=>({a:e.t(i),b:m}))),H:e.n("item "+(s.memberInfo.is_member?"vip":"")),I:s.memberInfo.is_member},s.memberInfo.is_member?{J:m._imports_3$9}:{K:m._imports_4$8},{L:s.memberInfo.is_member},s.memberInfo.is_member?{M:m._imports_5$5}:{N:m._imports_6$1},{O:m._imports_16$1,P:s.memberInfo.is_member},s.memberInfo.is_member?{Q:m._imports_3$9}:{R:m._imports_4$8},{S:s.memberInfo.is_member},s.memberInfo.is_member?{T:m._imports_5$5}:{},{U:m._imports_6$1,V:m._imports_17,W:s.memberInfo.is_member},s.memberInfo.is_member?{X:m._imports_3$9}:{Y:m._imports_4$8},{Z:s.memberInfo.is_member},s.memberInfo.is_member?{aa:m._imports_5$5}:{ab:m._imports_6$1},{ac:e.f(s.privilegeList,((i,m,t)=>({a:s.memberInfo.is_member?i.icon_v:i.icon,b:e.t(i.title),c:e.t(i.tips),d:m}))),ad:e.n("privilegeList flexWrap "+(s.memberInfo.is_member?"vip":"")),ae:e.s("margin-top:"+s.navH+"px;")}):{},{af:e.o((e=>r.clickVipMeal()))})}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.json b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.json new file mode 100644 index 0000000..0c84504 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.wxml b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.wxml new file mode 100644 index 0000000..9d2c485 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.wxml @@ -0,0 +1 @@ +尊贵的{{h}}VIP会员会员有效期至:{{i}}价值前沿您还不是会员 加入尊享N项服务即刻开启HOW TO SUBSCRIBE01点击微信顶部搜索框,并指定搜索内容为 「公众号」02搜索 「价值前沿」,并点击搜索结果中的 「关注」投资的你是否遇到过这些问题?{{item.a}}行业研究中心20余年专业投研,赋能每一位投资者依托价值前沿研究所深耕20余年的专业积淀,我们为您构建一站式行业研究平台。内容覆盖宏观趋势、产业结构、核心公司动态,帮助投资者看懂行业,识别机会,建立自己的知识体系。经营决策中心数据洞察,辅助每一个关键判断我们整合来自一线调研、专题报告、行业闭门会的专业数据,提供宏观到微观的全链条分析。无论是捕捉赛道拐点,还是识别公司价值,经营决策中心都是您可靠的智囊伙伴。会员尊享特权数据洞察,辅助每一个关键判断{{item.b}}{{item.c}}准备好提升您的投资策略了吗? 解锁全部高级功能,让AI成为您的专属投资顾问。查看VIP套餐 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.wxss b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.wxss new file mode 100644 index 0000000..31e44e9 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vip/vip.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.vipC{padding-bottom:calc(180rpx + env(safe-area-inset-bottom))}.vipC .vipInfoC{margin:0 25rpx}.vipC .vipInfoC .bg{width:100%;height:auto}.vipC .vipInfoC .infoC{top:130rpx;left:38rpx}.vipC .vipInfoC .infoC .title{font-size:40rpx;font-weight:700;color:#556b87}.vipC .vipInfoC .infoC .tips{font-size:28rpx;font-weight:500;color:#65758a}.vipC .vipInfoC .infoC.vip .title,.vipC .vipInfoC .infoC.vip .tips{color:#ab3d1a}.vipC .vipProfitIntroC{background-color:#fff;margin-top:-70rpx;padding-top:40rpx;border-radius:20rpx 20rpx 0 0}.vipC .vipProfitIntroC .titleC .icon{width:54rpx;height:auto}.vipC .vipProfitIntroC .titleC .title{margin:0 20rpx;font-size:50rpx;font-weight:700;color:#222}.vipC .vipProfitIntroC .titleC.research{margin-top:50rpx}.vipC .vipProfitIntroC .titleC.decision{margin-top:30rpx}.vipC .vipProfitIntroC .titleC.privilege{margin-top:40rpx}.vipC .vipProfitIntroC .subtitle{font-size:24rpx;color:#888;text-align:center}.vipC .vipProfitIntroC .stepC{margin:16rpx 25rpx 0}.vipC .vipProfitIntroC .stepC .num{background-color:#edeef1;margin-right:25rpx;width:50rpx;line-height:50rpx;border-radius:50%;font-size:24rpx;font-weight:700;color:#5c6473;text-align:center}.vipC .vipProfitIntroC .stepC .step{font-size:24rpx;color:#5c6473}.vipC .vipProfitIntroC .stepC .step .impormant{font-weight:700}.vipC .vipProfitIntroC .stepC .step .impormant.vip{color:#f97316}.vipC .vipProfitIntroC .picList{padding:0 25rpx;margin-top:34rpx}.vipC .vipProfitIntroC .picList .pic{margin-right:20rpx}.vipC .vipProfitIntroC .picList .pic .icon{width:100%;height:auto}.vipC .vipProfitIntroC .picList .pic:last-child{margin-right:0}.vipC .vipProfitIntroC .questionC{margin-top:40rpx}.vipC .vipProfitIntroC .questionC .title{font-size:45rpx;font-weight:700;color:#222;text-align:center}.vipC .vipProfitIntroC .questionC .iconListC{margin-top:46rpx;padding:0 23rpx 0 59rpx}.vipC .vipProfitIntroC .questionC .iconListC .icon{margin-right:56rpx;width:235rpx;height:auto}.vipC .vipProfitIntroC .questionC .iconListC .list .item{background-color:#ededed;margin-bottom:15rpx;line-height:70rpx;border-radius:35rpx;font-size:24rpx;color:#555;text-align:center}.vipC .vipProfitIntroC .questionC .iconListC .list .item.vip{background-color:#ffebdb;color:#f97316}.vipC .vipProfitIntroC .introC{display:flex;box-shadow:0 0 9rpx rgba(0,0,0,.1);margin:24rpx 25rpx 0;padding:40rpx 20rpx 20rpx 33rpx;line-height:1.5rem;border-radius:10rpx;font-size:24rpx;color:#555}.vipC .vipProfitIntroC .introC .icon{margin-top:92rpx;width:251rpx;height:auto}.vipC .vipProfitIntroC .introC.operatingDecision{padding-bottom:11rpx}.vipC .vipProfitIntroC .introC.operatingDecision .icon{margin-top:116rpx;width:249rpx;height:auto}.vipC .vipProfitIntroC .privilegeList{margin:24rpx 25rpx 0;padding:20rpx 0;box-shadow:0 0 9rpx rgba(0,0,0,.1);border-radius:10rpx}.vipC .vipProfitIntroC .privilegeList .item{padding:20rpx 0;width:calc(100%/3)}.vipC .vipProfitIntroC .privilegeList .item .icon{margin-bottom:10rpx;width:91rpx;height:auto}.vipC .vipProfitIntroC .privilegeList .item .title{font-size:26rpx;font-weight:700;color:#242323}.vipC .vipProfitIntroC .privilegeList .item .tips{margin-top:6rpx;font-size:22rpx;color:#555}.vipC .vipProfitIntroC .privilegeList.vip{box-shadow:0 0 9px rgba(249,115,22,.4)}.vipC .vipProfitIntroC .bottomTitle{margin-top:80rpx;font-size:45rpx;font-weight:700;color:#222;text-align:center}.vipC .vipProfitIntroC .bottomTips{font-size:24rpx;color:#888;text-align:center}.lookMealC{background-color:#f97316;margin:0 25rpx;left:0;right:0;bottom:calc(20rpx + env(safe-area-inset-bottom));line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;color:#fff;text-align:center} diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.js b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.js new file mode 100644 index 0000000..bd53a88 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),m=require("../../request/api.js"),r=require("../../common/assets.js"),t={data:()=>({navH:e.inject("navHeight"),memberInfo:null,privilegeList:["事件关联股票深度分析","历史事件智能对比复盘","事件概念关联与挖掘","概念板块个股追踪","概念深深度研报与解读","个股异动实时预警","事件传导链路智能分析","概念演变时间轴追溯","个股全方位深度研究","价小前投研助手无限使用","新功能优先体验权","专属客服一对一服务"]}),onLoad(){this.getMemberStatus()},methods:{clickJoinVip(){this.memberInfo.is_member||e.index.showModal({content:"请点击下方按钮复制链接并在浏览器中打开以完成会员购买流程",showCancel:!1,confirmText:"复制",success(m){m.confirm&&e.index.setClipboardData({data:"https://valuefrontier.cn/home/pages/account/subscription"})}})},getMemberStatus(){m.membershipStatus().then((m=>{200==m.code?this.memberInfo=m.data:e.index.showToast({title:m.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const i=e._export_sfc(t,[["render",function(m,t,i,o,s,n){return e.e({a:e.p({leftText:"会员中心"}),b:r._imports_0,c:s.memberInfo},s.memberInfo?e.e({d:s.memberInfo.is_member},s.memberInfo.is_member?{e:r._imports_1$12}:{f:r._imports_2$9},{g:s.memberInfo.is_member},s.memberInfo.is_member?{h:e.t(s.memberInfo.subscription_type),i:e.t(s.memberInfo.member_expire_date)}:{},{j:s.memberInfo.is_member},s.memberInfo.is_member?{k:r._imports_3$9}:{l:r._imports_4$8},{m:s.memberInfo.is_member},s.memberInfo.is_member?{n:r._imports_5$5}:{o:r._imports_6$1},{p:e.f(s.privilegeList,((m,t,i)=>e.e({a:e.t(m),b:t>5},t>5?{c:r._imports_7$3}:{d:r._imports_8$4},{e:t}))),q:r._imports_8$4,r:e.n("privilegeList "+(s.memberInfo.is_member?"vip":"")),s:e.s("margin-top:"+s.navH+"px;")}):{},{t:s.memberInfo},s.memberInfo?{v:e.t(s.memberInfo.is_member?"您已是年度VIP":"立即加入年度VIP"),w:e.o((e=>n.clickJoinVip()))}:{})}]]);wx.createPage(i); diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.json b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.json new file mode 100644 index 0000000..0c84504 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.wxml b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.wxml new file mode 100644 index 0000000..4315b04 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.wxml @@ -0,0 +1 @@ +尊贵的{{h}}VIP会员会员有效期至:{{i}}价值前沿您还不是会员 加入尊享N项服务特权对比专属特权pro会员max会员{{item.a}}{{v}} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.wxss b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.wxss new file mode 100644 index 0000000..3c3bff7 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesMine/vipMeal/vipMeal.wxss @@ -0,0 +1 @@ +.topBg{top:0;left:0;width:100%;height:auto}.vipC{padding-bottom:calc(180rpx + env(safe-area-inset-bottom))}.vipC .vipInfoC{margin:0 25rpx}.vipC .vipInfoC .bg{width:100%;height:auto}.vipC .vipInfoC .infoC{top:130rpx;left:38rpx}.vipC .vipInfoC .infoC .title{font-size:40rpx;font-weight:700;color:#556b87}.vipC .vipInfoC .infoC .tips{font-size:28rpx;font-weight:500;color:#65758a}.vipC .vipInfoC .infoC.vip .title,.vipC .vipInfoC .infoC.vip .tips{color:#ab3d1a}.vipC .privilegeCompareC{background-color:#fff;margin-top:-70rpx;padding-top:40rpx;border-radius:20rpx 20rpx 0 0}.vipC .privilegeCompareC .titleC .icon{width:54rpx;height:auto}.vipC .privilegeCompareC .titleC .title{margin:0 20rpx;font-size:50rpx;font-weight:700;color:#222}.vipC .privilegeCompareC .privilegeList{margin:0 25rpx;padding:0 30rpx;box-shadow:0 0 9px rgba(0,0,0,.1);border-radius:10rpx}.vipC .privilegeCompareC .privilegeList .header{margin-top:50rpx;padding-top:14rpx;border-bottom:solid 1rpx #F3F4F6}.vipC .privilegeCompareC .privilegeList .header .item{line-height:90rpx;font-size:30rpx;font-weight:700;color:#555}.vipC .privilegeCompareC .privilegeList .header .item.privilege{padding-left:24rpx;width:300rpx}.vipC .privilegeCompareC .privilegeList .header .item.free{width:174rpx;text-align:center}.vipC .privilegeCompareC .privilegeList .header .item.vip{width:160rpx;text-align:center}.vipC .privilegeCompareC .privilegeList .list .item .optionItem{height:90rpx;border-bottom:solid 1rpx #F3F4F6}.vipC .privilegeCompareC .privilegeList .list .item .optionItem .contain{width:21rpx;height:auto}.vipC .privilegeCompareC .privilegeList .list .item .optionItem .notContain{width:17rpx;height:auto}.vipC .privilegeCompareC .privilegeList .list .optionItem.privilege{width:300rpx;font-size:24rpx;font-weight:500;color:#222}.vipC .privilegeCompareC .privilegeList .list .optionItem.free{width:174rpx;font-size:20rpx;color:#555;text-align:center}.vipC .privilegeCompareC .privilegeList .list .optionItem.vip{width:160rpx}.vipC .privilegeCompareC .privilegeList.vip{box-shadow:0 0 9px rgba(249,115,22,.4)}.joinVipC{background-color:#f97316;margin:0 25rpx;left:0;right:0;bottom:calc(20rpx + env(safe-area-inset-bottom));line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;color:#fff;text-align:center} diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/ai-icon-1.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/ai-icon-1.png new file mode 100644 index 0000000..ed71452 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/ai-icon-1.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/ai-icon.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/ai-icon.png new file mode 100644 index 0000000..d80cc67 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/ai-icon.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-down-ed.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-down-ed.png new file mode 100644 index 0000000..7ea667b Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-down-ed.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-down.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-down.png new file mode 100644 index 0000000..e05d9ae Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-down.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-2.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-2.png new file mode 100644 index 0000000..b26d356 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-2.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-3.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-3.png new file mode 100644 index 0000000..1899c47 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-3.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-4.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-4.png new file mode 100644 index 0000000..b6d3646 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-4.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-5.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-5.png new file mode 100644 index 0000000..805cd58 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-5.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-ed.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-ed.png new file mode 100644 index 0000000..8f6b3cc Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon-ed.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon.png new file mode 100644 index 0000000..06c8f04 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/all-icon.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/brandValue.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/brandValue.png new file mode 100644 index 0000000..34ae252 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/brandValue.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/contrast.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/contrast.png new file mode 100644 index 0000000..ecbde38 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/contrast.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/cwfx-1.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/cwfx-1.png new file mode 100644 index 0000000..bdab804 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/cwfx-1.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/cwfx-2.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/cwfx-2.png new file mode 100644 index 0000000..5ec5745 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/cwfx-2.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/downArrow.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/downArrow.png new file mode 100644 index 0000000..ec11d43 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/downArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/establishedTime.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/establishedTime.png new file mode 100644 index 0000000..aa3dadd Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/establishedTime.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/existStatus.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/existStatus.png new file mode 100644 index 0000000..1baf03e Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/existStatus.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/female.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/female.png new file mode 100644 index 0000000..d9ca4e1 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/female.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/financialHealth.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/financialHealth.png new file mode 100644 index 0000000..785b845 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/financialHealth.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/growthPotential.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/growthPotential.png new file mode 100644 index 0000000..45b2657 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/growthPotential.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/industryRank.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/industryRank.png new file mode 100644 index 0000000..d9d3bac Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/industryRank.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/innovationAbility.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/innovationAbility.png new file mode 100644 index 0000000..3538cf0 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/innovationAbility.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/location.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/location.png new file mode 100644 index 0000000..4e74d0b Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/location.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/logOffStatus.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/logOffStatus.png new file mode 100644 index 0000000..9d70c81 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/logOffStatus.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/lookMoreArrow.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/lookMoreArrow.png new file mode 100644 index 0000000..4ac42e6 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/lookMoreArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/male.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/male.png new file mode 100644 index 0000000..bf1618c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/male.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/marketPosition.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/marketPosition.png new file mode 100644 index 0000000..77d647c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/marketPosition.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/news-search.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/news-search.png new file mode 100644 index 0000000..67df87a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/news-search.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsEyes.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsEyes.png new file mode 100644 index 0000000..4b4f77d Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsEyes.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsFire.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsFire.png new file mode 100644 index 0000000..428dab0 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsFire.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsTime.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsTime.png new file mode 100644 index 0000000..070d9a4 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/newsTime.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/optional.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/optional.png new file mode 100644 index 0000000..173b567 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/optional.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/registeredCapital.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/registeredCapital.png new file mode 100644 index 0000000..f863424 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/registeredCapital.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/rightArrow.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/rightArrow.png new file mode 100644 index 0000000..2afd81c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/rightArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/riskManagement.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/riskManagement.png new file mode 100644 index 0000000..afdf095 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/riskManagement.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/shangJiantou.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/shangJiantou.png new file mode 100644 index 0000000..eade9da Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/shangJiantou.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/share.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/share.png new file mode 100644 index 0000000..cbb7a4d Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/share.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/technicalStrength.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/technicalStrength.png new file mode 100644 index 0000000..52153e3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/technicalStrength.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/upArrow.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/upArrow.png new file mode 100644 index 0000000..c81400c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/upArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/visitWebsite.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/visitWebsite.png new file mode 100644 index 0000000..e028943 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/visitWebsite.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/xiaJiantou.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/xiaJiantou.png new file mode 100644 index 0000000..79b7be3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/xiaJiantou.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yRightArrow.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yRightArrow.png new file mode 100644 index 0000000..d3a908e Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yRightArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yuan_jiang.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yuan_jiang.png new file mode 100644 index 0000000..c148080 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yuan_jiang.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yuan_shang.png b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yuan_shang.png new file mode 100644 index 0000000..c02d018 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/pagesStock/static/icon/yuan_shang.png differ diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.js b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.js new file mode 100644 index 0000000..774b6f0 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),n={data:()=>({navH:t.inject("navHeight"),contentTop:"",activeIndex:0,bkList:[{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8}],bkFilters:["按涨幅","按连板数","只看龙头"],filterIndex:0}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth")},methods:{}};if(!Array){t.resolveComponent("navBar")()}Math;const i=t._export_sfc(n,[["render",function(n,i,o,c,r,l){return{a:t.p({leftText:"板块异动明细",hideNavBg:!0}),b:e._imports_0,c:t.f(r.bkList,((e,n,i)=>({a:t.t(e.title),b:"tab-"+n,c:t.o((t=>r.activeIndex=n),n),d:n,e:r.activeIndex==n?"#2B2B2B":"#999999",f:r.activeIndex==n?"1rpx solid #F2C369":"none",g:r.activeIndex==n?"28rpx":"26rpx"}))),d:"tab-"+r.activeIndex,e:t.f(r.bkFilters,((e,n,i)=>({a:t.t(e),b:t.o((t=>r.filterIndex=n),n),c:r.filterIndex==n?"#070707":"#939393",d:r.filterIndex==n?"1rpx solid #F2C369":"1rpx solid #E5E5E5",e:r.filterIndex==n?"#F2C369":"#fff",f:n}))),f:t.f(["名称","涨幅","连板","板块"],((e,n,i)=>({a:t.t(e),b:n,c:0==n?"left":"center"}))),g:t.f(30,((t,e,n)=>({a:e%2==0?"#fff":"#FAFAFC"}))),h:e._imports_1$11,i:t.s("top:"+r.contentTop+"px;")}}]]);wx.createPage(i); diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.json b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.json new file mode 100644 index 0000000..b807e42 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "板块异动明细", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.wxml b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.wxml new file mode 100644 index 0000000..e77758c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.wxml @@ -0,0 +1 @@ +{{item.a}}{{item.a}}{{item.a}}跟风康强电子+10.00%2连板芯片(封装材料) \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.wxss b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.wxss new file mode 100644 index 0000000..db2056f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/bkydmx.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.stockDetailsC{left:25rpx;right:25rpx;width:calc(100vw - 50rpx);bottom:env(safe-area-inset-bottom)} diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.js b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.js new file mode 100644 index 0000000..c942388 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),i={data:()=>({navH:t.inject("navHeight"),contentTop:"",otherTop:"",activeIndex:0,tabList:["盈利能力","每股指标","成长能力","资产负债表","现金流量指标"],filterIndex:0,filterList:["全部","年报","中报","一季度","三季度"],leftList:["营收增长率%","净利润增长率%","扣非净利润增长率%","归母净利润增长率%","经营现金流增长率%","总资产增长率%","净资产增长率%","固定"]}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth"),this.otherTop=this.navH+.272*t.inject("windowWidth")},methods:{}};if(!Array){t.resolveComponent("navBar")()}Math;const n=t._export_sfc(i,[["render",function(i,n,o,r,a,s){return{a:t.p({leftText:"平安银行(000001)",hideNavBg:!0}),b:e._imports_0,c:t.f(a.tabList,((e,i,n)=>({a:t.t(e),b:t.o((t=>a.activeIndex=i),i),c:i,d:"tab-"+i,e:i==a.tabList.length-1?"0":"40rpx",f:a.activeIndex==i?"#2B2B2B":"#999999",g:a.activeIndex==i?"28rpx":"26rpx",h:a.activeIndex==i?"1rpx solid #F2C369":"none",i:a.activeIndex==i?"bold":"500"}))),d:"tab-"+a.activeIndex,e:t.f(a.filterList,((e,i,n)=>({a:t.t(e),b:t.o((t=>a.filterIndex=i),i),c:i,d:a.filterIndex==i?"#070707":"#939393",e:a.filterIndex==i?"#F2C369":"#F6F6F6"}))),f:`repeat(${a.filterList.length}, 110rpx)`,g:e._imports_1$14,h:t.s("top:"+a.contentTop+"px;"),i:t.f(a.leftList,((e,i,n)=>({a:t.t(e),b:i,c:i%2==0?"#fff":"#FAFAFC"}))),j:t.f(8,((e,i,n)=>({a:t.f(a.leftList,((t,e,i)=>({a:e,b:e%2==0?"#fff":"#FAFAFC"}))),b:i}))),k:t.s("top:"+a.otherTop+"px;"),l:t.o((t=>i.sendEventComment())),m:i.eventComment,n:t.o((t=>i.eventComment=t.detail.value)),o:e._imports_2$10,p:e._imports_3$10,q:t.o((t=>i.clickComment())),r:e._imports_4$9,s:t.o((t=>i.clickFollow()))}}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.json b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.json new file mode 100644 index 0000000..0c84504 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.wxml b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.wxml new file mode 100644 index 0000000..a075dec --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.wxml @@ -0,0 +1 @@ +{{item.a}}{{item.a}}最近8期{{item.a}}2025Q3 1.87 对比自选分享 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.wxss b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.wxss new file mode 100644 index 0000000..d398650 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/cwDetails.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.stockDetailsC{left:25rpx;width:calc(100vw - 50rpx);background-color:#fff;border-radius:10rpx 10rpx 0 0;overflow:hidden;bottom:calc(110rpx + env(safe-area-inset-bottom))}.bottomC{background-color:#000;padding:20rpx 25rpx calc(20rpx + env(safe-area-inset-bottom));left:0;right:0;bottom:0}.bottomC .inputC{background-color:#424143;margin-right:20rpx;padding:0 33rpx;height:70rpx;border-radius:35rpx}.bottomC .inputC input{height:100%;font-size:26rpx;font-weight:500}.bottomC .contrastShareC .item{font-size:24rpx;font-weight:500;color:#fefaf6;text-align:center}.bottomC .contrastShareC .item .icon{margin:0 30rpx;width:auto;height:26rpx}.industryRankPop{background-color:#fff;border-radius:20rpx 20rpx 0 0}.industryRankPop .popTitle{margin:0 20rpx;line-height:100rpx;border-bottom:solid 1rpx #E7E7E7;font-size:35rpx;font-weight:700;color:#333;text-align:center}.industryRankPop .closeC{top:0;right:0;padding:40rpx 26rpx}.industryRankPop .closeC .icon{display:block;width:20rpx;height:auto}.industryRankPop .sectionDateC{padding:30rpx 26rpx}.industryRankPop .sectionDateC .section{margin-right:11rpx;font-size:28rpx;font-weight:700;color:#2b2b2b}.industryRankPop .sectionDateC .industryC{background-color:#fff7e9;padding:0 15rpx;line-height:34rpx;border:solid 1rpx #F2C369;border-radius:18rpx;font-size:20rpx;font-weight:500;color:#f2c369}.industryRankPop .sectionDateC .industryC .icon{margin-right:3rpx;width:16rpx;height:auto}.industryRankPop .sectionDateC .date{font-size:24rpx;font-weight:500;color:#71675d}.industryRankPop .list{padding:0 25rpx}.industryRankPop .list .item{margin:0 20rpx 20rpx 0;width:calc((100% - 40rpx)/2);border:solid 1rpx #FCE2B2;border-radius:10rpx}.industryRankPop .list .item:nth-child(3n){margin-right:0}.industryRankPop .detailPopup{height:70%;background-color:#fff;border-radius:20rpx 20rpx 0 0;padding-bottom:env(safe-area-inset-bottom)} diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js new file mode 100644 index 0000000..3a71a20 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),t=require("../../request/api.js"),i=require("../../utils/util.js"),s=require("../../common/assets.js"),a={data:()=>({navH:e.inject("navHeight"),navTitle:"",searchResultTop:"",contentTop:"",keywords:"",searchShow:!1,searchResultList:[],selectSearchStockInfo:null,stockCode:"300700",stockBasicInfo:null,quoteDetailsInfo:null,isExpandIntro:!1,tabList:[{title:"公司档案"},{title:"深度分析"},{title:"财务全景"},{title:"动态跟踪"}],selectTab:0,companyFilesList:[{title:"股权结构"},{title:"管理团队"},{title:"分支机构"},{title:"工商信息"}],actualControlInfo:null,concentrationList:[],topShareholdersList:[],topCirculatingShareholdersList:[],managementList:[],branchList:[],selectCompanyFiles:0,inDepthAnalysisList:[{title:"战略分析"},{title:"业务结构"},{title:"产业链"},{title:"发展历程"}],selectInDepthAnalysis:0,qualitativeAnalysisInfo:null,competitivePositionInfo:null,mainCompetitorsList:[],industryRankInfo:null,industryRankList:[],scoreList:[{icon:"/pagesStock/static/icon/marketPosition.png",title:"市场地位",color:"blue",score:""},{icon:"/pagesStock/static/icon/technicalStrength.png",title:"技术实力",color:"purple",score:""},{icon:"/pagesStock/static/icon/brandValue.png",title:"品牌价值",color:"purple",score:""},{icon:"/pagesStock/static/icon/growthPotential.png",title:"运营效率",color:"purple",score:""},{icon:"/pagesStock/static/icon/financialHealth.png",title:"财务健康",color:"blue",score:""},{icon:"/pagesStock/static/icon/innovationAbility.png",title:"创新能力",color:"blue",score:""},{icon:"/pagesStock/static/icon/riskManagement.png",title:"风险控制",color:"purple",score:""},{icon:"/pagesStock/static/icon/growthPotential.png",title:"成长潜力",color:"purple",score:""}],chartData2:[],businessStructureList:[],businessSegmentList:[],valueChainAnalysisInfo:null,totalNodes:0,upstreamList:[],coreEnterpriseList:[],downstreamList:[],selectValueChainInfo:null,relatedCompanyList:[],valueChainFlowsList:[],keyFactorsInfo:null,keyFactorsList:[],timelineInfo:null,timelineList:[],selectDevelopmentTimelineInfo:null,caiWuList:[{title:"主营数据"},{title:"财务分析"},{title:"财务数据"}],selectCaiwu:0,financialMetricsList:[],financialStockInfo:null,mainBussinessBarCategoryList:[],mainBussinessBarList:[],mainBussinessLineList:[],productClassificationList:[],financialBalanceList:[],cashFlowList:[],incomeStatementList:[],dongTaiList:[{title:"新闻动态"},{title:"公司公告"}],selectDongtai:0,newsKeywords:"",newsList:[],companyAnnouncementList:[],getLocalDate:i.getLocalDate,getRateUpOrDown:i.getRateUpOrDown,getNumStr:i.getNumStr}),onLoad(t){this.searchResultTop=this.navH+.12*e.inject("windowWidth"),this.contentTop=this.searchResultTop+.04*e.inject("windowWidth"),t.code&&(this.stockCode=t.code),this.getStockBasicInfoData(),this.getQuoteDetailsData(),this.getActualControlData(),this.getOwnershipConcentration(),this.getTopShareholdersData(),this.getTopCirculatingShareholdersData()},methods:{clickSearch(){this.keywords?this.getSearchStockInfoListData():this.selectSearchStockInfo=null},clickSearchResultBg(){this.searchShow=!1},clickSearchResultListItem(e){this.selectSearchStockInfo=e,this.searchShow=!1,this.getStockBasicInfoData(),this.getQuoteDetailsData()},getBuyPercent(){let e=this.quoteDetailsInfo.net_active_buy_ratio;return Math.round(i.accAdd(50,i.accDiv(e,2)))},getSellPercent(){let e=this.quoteDetailsInfo.net_active_buy_ratio;return Math.round(i.accSub(50,i.accDiv(e,2)))},clickOfficialWebsite(){},clickExpandOrRetractCompanyIntro(){this.isExpandIntro=!this.isExpandIntro},clickTabItem(e){this.selectTab!=e&&(this.selectTab=e,1==e?0==this.selectInDepthAnalysis&&(this.getComprehensiveAnalysisData(),this.getIndustryRankListData()):2==e?(this.getFinancialStockInfoData(),this.getFinancialComparisonData(),this.getFinancialMetricsData(),this.getFinancialMainBussinessData()):3==e&&this.getNewsListData())},clickCompanyFilesItem(e){this.selectCompanyFiles!=e&&(this.selectCompanyFiles=e,1==e?this.getManagementTeamData():2==e&&this.getBranchListData())},clickInDepthAnalysisItem(e){this.selectInDepthAnalysis!=e&&(this.selectInDepthAnalysis=e,2==e?this.getValueChainAnalysisData():3==e&&this.getKeyFactorsTimelineData())},clickCaiWuItem(e){this.selectCaiwu!=e&&(this.selectCaiwu=e,0==e?(this.getFinancialStockInfoData(),this.getFinancialComparisonData(),this.getFinancialMetricsData()):1==e?this.getFinancialMetricsData():2==e&&(this.getFinancialBalanceSheetData(),this.getCashFlowSheetData(),this.getIncomeStatementSheetData()))},clickDongTaiItem(e){this.selectDongtai!=e&&(this.selectDongtai=e,0==e?this.getNewsListData():1==e&&this.getCompanyAnnouncementsData())},clickIndustryRank(){this.$refs.industryRankPop.open()},clickCloseIndustryRankPop(){this.$refs.industryRankPop.close()},clickDevelopmentTimelineDetail(e){this.selectDevelopmentTimelineInfo=e,this.$refs.developmentTimelinePopup.open()},clickCloseDevelopmentTimelinePopup(){this.$refs.developmentTimelinePopup.close()},clickValueChainDetail(e){this.selectValueChainInfo=e,this.getValueChainRelatedCompanyData(),this.$refs.valueChainPopup.open()},clickCloseValueChainPopup(){this.$refs.valueChainPopup.close()},clickOptional(){},clickShare(){},getSearchStockInfoListData(){let e={q:this.keywords,limit:10};t.searchStockInfo(e).then((e=>{this.searchResultList=e.data,this.searchShow=this.searchResultList.length>0})).catch((e=>{}))},getStockBasicInfoData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.stockBasicInfo(e).then((e=>{this.stockBasicInfo=e.data,this.navTitle=e.data.SECNAME+"("+e.data.SECCODE+")"})).catch((e=>{}))},getQuoteDetailsData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.quoteDetailsInfo(e).then((e=>{this.quoteDetailsInfo=e.data})).catch((e=>{}))},getActualControlData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.actualControl(e).then((e=>{this.actualControlInfo=e.data[0]})).catch((e=>{}))},getOwnershipConcentration(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.ownershipConcentration(e).then((e=>{this.concentrationList=e.data.slice(0,8)})).catch((e=>{}))},getTopShareholdersData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.topShareholdersList(e,{limit:10}).then((e=>{this.topShareholdersList=e.data})).catch((e=>{}))},getTopCirculatingShareholdersData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.topCirculatingShareholdersList(e,{limit:10}).then((e=>{this.topCirculatingShareholdersList=e.data})).catch((e=>{}))},getManagementTeamData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.managementTeam(e,{active_only:!0}).then((e=>{let t=e.data,i=["高管","董事","监事","其他"],s=[];for(let a of i)s.push({key:a,list:[]});this.managementList=t.reduce(((e,t)=>{for(let i of e)if(t.position_category.indexOf(i.key)>-1){let s=-1;for(let t of e)if(i.key==t.key){s=e.indexOf(t);break}s>-1?e[s].list.push(t):e.push({key:i,list:[t]})}return t.position_category.indexOf(i[0])>-1&&t.position_category.indexOf(i[1])>-1&&t.position_category.indexOf(i[2]),e}),s)})).catch((e=>{}))},getBranchListData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.branchesList(e).then((e=>{this.branchList=e.data})).catch((e=>{}))},getComprehensiveAnalysisData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.comprehensiveAnalysis(e).then((e=>{this.qualitativeAnalysisInfo=e.data.qualitative_analysis,this.competitivePositionInfo=e.data.competitive_position,this.mainCompetitorsList=this.competitivePositionInfo.analysis.main_competitors.split(","),this.industryRankInfo=e.data.competitive_position.ranking;let t=this.competitivePositionInfo.scores.market_position;this.scoreList[0].score=t;let i=this.competitivePositionInfo.scores.technology;this.scoreList[1].score=i;let s=this.competitivePositionInfo.scores.brand;this.scoreList[2].score=s;let a=this.competitivePositionInfo.scores.operation;this.scoreList[3].score=a;let n=this.competitivePositionInfo.scores.finance;this.scoreList[4].score=n;let o=this.competitivePositionInfo.scores.innovation;this.scoreList[5].score=o;let c=this.competitivePositionInfo.scores.risk;this.scoreList[6].score=c;let l=this.competitivePositionInfo.scores.growth;this.scoreList[7].score=l,this.chartData2=[[t,i,s,a,n,o,c,l]],this.businessStructureList=e.data.business_structure,this.businessSegmentList=e.data.business_segments})).catch((e=>{}))},getIndustryRankListData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.industryRankList(e).then((e=>{this.industryRankList=e.data})).catch((e=>{}))},getValueChainAnalysisData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.valueChainAnalysis(e).then((e=>{this.valueChainAnalysisInfo=e.data.analysis_summary,this.totalNodes=e.data.value_chain_structure.total_nodes;let t=e.data.value_chain_structure.nodes_by_level;this.upstreamList=t["level_-2"].concat(t["level_-1"]),this.coreEnterpriseList=t.level_0,this.downstreamList=t.level_1.concat(t.level_2),this.valueChainFlowsList=e.data.value_chain_flows})).catch((e=>{}))},getValueChainRelatedCompanyData(){let e={};this.selectValueChainInfo&&(e.node_name=this.selectValueChainInfo.node_name),t.valueChainRelatedCompany(e).then((e=>{this.relatedCompanyList=e.data})).catch((e=>{}))},getKeyFactorsTimelineData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.keyFactorsTimeline(e).then((e=>{this.keyFactorsInfo=e.data.key_factors,this.keyFactorsList=e.data.key_factors.categories,this.timelineInfo=e.data.development_timeline.statistics,this.timelineList=e.data.development_timeline.events})).catch((e=>{}))},getFinancialStockInfoData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.financialStockInfo(e).then((e=>{this.financialStockInfo=e.data})).catch((e=>{}))},getFinancialMetricsData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialMetrics(e,{limit:8}).then((e=>{this.financialMetricsList=e.data})).catch((e=>{}))},getFinancialComparisonData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialComparison(e,{periods:8}).then((e=>{let t=e.data;this.mainBussinessBarCategoryList=[],this.mainBussinessBarList=[],this.mainBussinessLineList=[];for(let i of t){let e=i.report_type;e=e.replace("年三季报","Q3"),e=e.replace("年中报","中报"),e=e.replace("年年报","年报"),this.mainBussinessBarCategoryList.unshift(e),this.mainBussinessBarList.unshift((parseFloat(i.performance.revenue)/1e8).toFixed(2)),this.mainBussinessLineList.unshift((parseFloat(i.performance.net_profit)/1e8).toFixed(2))}})).catch((e=>{}))},getFinancialMainBussinessData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialMainBusiness(e,{periods:4}).then((e=>{this.productClassificationList=e.data.product_classification})).catch((e=>{}))},getFinancialBalanceSheetData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialBalanceSheet(e,{limit:8}).then((e=>{this.financialBalanceList=e.data})).catch((e=>{}))},getCashFlowSheetData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.cashflowSheet(e,{limit:8}).then((e=>{this.cashFlowList=e.data})).catch((e=>{}))},getIncomeStatementSheetData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.incomeStatementSheet(e,{limit:8}).then((e=>{this.incomeStatementList=e.data})).catch((e=>{}))},getNewsListData(){let e=this.stockCode;this.newsKeywords&&(e=this.newsKeywords);let i={importance:"all",sort:"new",q:e,page:1,per_page:10,mode:"vertical"};t.eventList(i,!0).then((e=>{this.newsList=e.data.events})).catch((e=>{}))},getCompanyAnnouncementsData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.companyAnnouncementsList(e,{limit:20}).then((e=>{this.companyAnnouncementList=e.data})).catch((e=>{}))}}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("gqjg-view")+e.resolveComponent("gltd-view")+e.resolveComponent("fzjg-view")+e.resolveComponent("gsxx-view")+e.resolveComponent("zlfx-view")+e.resolveComponent("ywjg-view")+e.resolveComponent("cyl-view")+e.resolveComponent("fzlc-view")+e.resolveComponent("zysj-view")+e.resolveComponent("cwfx-view")+e.resolveComponent("cwsj-view")+e.resolveComponent("news-view")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../components/gqjg-view/gqjg-view.js")+(()=>"../../components/gltd-view/gltd-view.js")+(()=>"../../components/fzjg-view/fzjg-view.js")+(()=>"../../components/gsxx-view/gsxx-view.js")+(()=>"../../components/zlfx-view/zlfx-view.js")+(()=>"../../components/ywjg-view/ywjg-view.js")+(()=>"../../components/cyl-view/cyl-view.js")+(()=>"../../components/fzlc-view/fzlc-view.js")+(()=>"../../components/zysj-view/zysj-view.js")+(()=>"../../components/cwfx-view/cwfx-view.js")+(()=>"../../components/cwsj-view/cwsj-view.js")+(()=>"../../components/news-view/news-view.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const n=e._export_sfc(a,[["render",function(t,i,a,n,o,c){return e.e({a:e.p({leftText:o.navTitle,hideNavBg:!0}),b:s._imports_0,c:s._imports_1,d:e.o([e=>o.keywords=e.detail.value,e=>c.clickSearch()]),e:o.keywords,f:e.s("top:"+o.navH+"px;"),g:o.searchShow},o.searchShow?{h:e.f(o.searchResultList,((t,i,s)=>({a:e.t(t.stock_code),b:e.t(t.stock_name),c:i,d:e.o((e=>c.clickSearchResultListItem(t)),i)}))),i:e.s("top:"+o.searchResultTop+"px;"),j:e.o((e=>c.clickSearchResultBg()))}:{},{k:o.stockBasicInfo},o.stockBasicInfo?e.e({l:e.t(o.stockBasicInfo.industry_l1),m:e.t(o.stockBasicInfo.sw_industry_l2),n:o.quoteDetailsInfo},o.quoteDetailsInfo?{o:e.t(o.quoteDetailsInfo.current_price),p:e.n("current "+(o.getRateUpOrDown(o.quoteDetailsInfo.change_percent)?"down":"up")),q:e.t(o.quoteDetailsInfo.change_percent),r:e.n("chg "+(o.getRateUpOrDown(o.quoteDetailsInfo.change_percent)?"down":"up")),s:e.t(o.quoteDetailsInfo.today_open),t:e.t(o.quoteDetailsInfo.yesterday_close),v:e.t(o.quoteDetailsInfo.today_high),w:e.t(o.quoteDetailsInfo.today_low)}:{},{x:o.quoteDetailsInfo},o.quoteDetailsInfo?e.e({y:e.t(o.quoteDetailsInfo.pe?o.quoteDetailsInfo.pe:"-"),z:o.quoteDetailsInfo.float_shares},o.quoteDetailsInfo.float_shares?{A:e.t(o.quoteDetailsInfo.float_shares)}:{},{B:e.t(o.quoteDetailsInfo.market_cap),C:e.t(o.quoteDetailsInfo.turnover_rate),D:o.quoteDetailsInfo.total_shares},o.quoteDetailsInfo.total_shares?{E:e.t(o.quoteDetailsInfo.total_shares)}:{},{F:e.t(o.quoteDetailsInfo.week52_low),G:e.t(o.quoteDetailsInfo.week52_high)}):{},{H:o.quoteDetailsInfo},o.quoteDetailsInfo?{I:e.t(o.getRateUpOrDown(o.quoteDetailsInfo.net_inflow)?"":"+"),J:e.t(o.getNumStr(o.quoteDetailsInfo.net_inflow)),K:e.n("content flex1 marginR "+(o.getRateUpOrDown(o.quoteDetailsInfo.net_inflow)?"down":"up")),L:e.s("width:"+c.getBuyPercent()+"%"),M:e.t(c.getBuyPercent()),N:e.t(c.getSellPercent())}:{},{O:s._imports_2$11,P:e.t(o.getLocalDate(o.stockBasicInfo.establish_date)),Q:s._imports_3$11,R:e.t(o.stockBasicInfo.reg_capital),S:s._imports_4$10,T:e.t(o.stockBasicInfo.province),U:e.t(o.stockBasicInfo.city),V:e.o((e=>c.clickOfficialWebsite())),W:e.t(o.stockBasicInfo.company_intro),X:!o.isExpandIntro},(o.isExpandIntro,{}),{Y:e.t(o.isExpandIntro?"收起":"展开全文"),Z:e.n("expand "+(o.isExpandIntro?"":"absolute")),aa:e.o((e=>c.clickExpandOrRetractCompanyIntro())),ab:e.n("info relative flex1 "+(o.isExpandIntro?"":"retract"))}):{},{ac:e.f(o.tabList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectTab==i?"select":"")),c:i,d:e.o((e=>c.clickTabItem(i)),i)}))),ad:0==o.selectTab},0==o.selectTab?e.e({ae:e.f(o.companyFilesList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectCompanyFiles==i?"select":"")),c:i,d:e.o((e=>c.clickCompanyFilesItem(i)),i)}))),af:0==o.selectCompanyFiles},0==o.selectCompanyFiles?{ag:e.p({actualControlInfo:o.actualControlInfo,concentrationList:o.concentrationList,shareholdersList:o.topShareholdersList,circulatingShareholdersList:o.topCirculatingShareholdersList})}:{},{ah:1==o.selectCompanyFiles},1==o.selectCompanyFiles?{ai:e.p({managementList:o.managementList})}:{},{aj:2==o.selectCompanyFiles},2==o.selectCompanyFiles?{ak:e.p({branchList:o.branchList})}:{},{al:3==o.selectCompanyFiles},3==o.selectCompanyFiles?{am:e.p({stockBasicInfo:o.stockBasicInfo})}:{}):{},{an:1==o.selectTab},1==o.selectTab?e.e({ao:e.f(o.inDepthAnalysisList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectInDepthAnalysis==i?"select":"")),c:i,d:e.o((e=>c.clickInDepthAnalysisItem(i)),i)}))),ap:0==o.selectInDepthAnalysis},0==o.selectInDepthAnalysis?{aq:e.o((e=>c.clickIndustryRank())),ar:e.p({qualitativeAnalysisInfo:o.qualitativeAnalysisInfo,competitivePositionInfo:o.competitivePositionInfo,industryRankInfo:o.industryRankInfo,mainCompetitorsList:o.mainCompetitorsList,scoreList:o.scoreList,data:o.chartData2})}:{},{as:1==o.selectInDepthAnalysis},1==o.selectInDepthAnalysis?{at:e.p({businessStructureList:o.businessStructureList,businessSegmentList:o.businessSegmentList})}:{},{av:2==o.selectInDepthAnalysis},2==o.selectInDepthAnalysis?{aw:e.o(c.clickValueChainDetail),ax:e.p({valueChainAnalysisInfo:o.valueChainAnalysisInfo,totalNodes:o.totalNodes,upstreamList:o.upstreamList,coreEnterpriseList:o.coreEnterpriseList,downstreamList:o.downstreamList,valueChainFlowsList:o.valueChainFlowsList})}:{},{ay:3==o.selectInDepthAnalysis},3==o.selectInDepthAnalysis?{az:e.o(c.clickDevelopmentTimelineDetail),aA:e.p({keyFactorsInfo:o.keyFactorsInfo,keyFactorsList:o.keyFactorsList,timelineInfo:o.timelineInfo,timelineList:o.timelineList})}:{}):{},{aB:2==o.selectTab},2==o.selectTab?e.e({aC:e.f(o.caiWuList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectCaiwu==i?"select":"")),c:i,d:e.o((e=>c.clickCaiWuItem(i)),i)}))),aD:0==o.selectCaiwu},0==o.selectCaiwu?{aE:e.p({stockInfo:o.financialStockInfo,barCategoryList:o.mainBussinessBarCategoryList,barList:o.mainBussinessBarList,lineList:o.mainBussinessLineList,productClassificationList:o.productClassificationList,financialMetricsInfo:o.financialMetricsList[0]})}:{},{aF:1==o.selectCaiwu},1==o.selectCaiwu?{aG:e.p({dataList:o.financialMetricsList})}:{},{aH:2==o.selectCaiwu},2==o.selectCaiwu?{aI:e.p({financialBalanceList:o.financialBalanceList,cashFlowList:o.cashFlowList,incomeStatementList:o.incomeStatementList})}:{}):{},{aJ:3==o.selectTab},3==o.selectTab?{aK:e.f(o.dongTaiList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectDongtai==i?"select":"")),c:i,d:e.o((e=>c.clickDongTaiItem(i)),i)}))),aL:e.p({type:o.selectDongtai,newsList:o.newsList,announcementList:o.companyAnnouncementList})}:{},{aM:e.s("top:"+o.contentTop+"px;"),aN:e.o((e=>t.sendEventComment())),aO:t.eventComment,aP:e.o((e=>t.eventComment=e.detail.value)),aQ:s._imports_2$10,aR:s._imports_3$10,aS:e.o((e=>c.clickOptional())),aT:s._imports_4$9,aU:e.o((e=>c.clickShare())),aV:s._imports_8,aW:e.o((e=>c.clickCloseIndustryRankPop())),aX:e.f(o.industryRankList,((t,i,s)=>({a:e.f(t.rankings,((t,i,s)=>e.e({a:e.t(t.industry_name),b:e.t(t.level_description),c:t.metrics.eps.value},t.metrics.eps.value?{d:e.t(t.metrics.eps.value.toFixed(2))}:{},{e:t.metrics.eps.rank},t.metrics.eps.rank?{f:e.t(t.metrics.eps.rank)}:{},{g:t.metrics.eps.industry_avg},t.metrics.eps.industry_avg?{h:e.t(t.metrics.eps.industry_avg.toFixed(2))}:{},{i:t.metrics.bvps.value},t.metrics.bvps.value?{j:e.t(t.metrics.bvps.value.toFixed(2))}:{},{k:t.metrics.bvps.rank},t.metrics.bvps.rank?{l:e.t(t.metrics.bvps.rank)}:{},{m:t.metrics.bvps.industry_avg},t.metrics.bvps.industry_avg?{n:e.t(t.metrics.bvps.industry_avg.toFixed(2))}:{},{o:t.metrics.roe.value},t.metrics.roe.value?{p:e.t(t.metrics.roe.value.toFixed(2))}:{},{q:e.t(t.metrics.roe.rank),r:t.metrics.roe.industry_avg},t.metrics.roe.industry_avg?{s:e.t(t.metrics.roe.industry_avg.toFixed(2))}:{},{t:t.metrics.revenue_growth.value},t.metrics.revenue_growth.value?{v:e.t(t.metrics.revenue_growth.value.toFixed(2))}:{},{w:e.t(t.metrics.revenue_growth.rank),x:t.metrics.revenue_growth.industry_avg},t.metrics.revenue_growth.industry_avg?{y:e.t(t.metrics.revenue_growth.industry_avg.toFixed(2))}:{},{z:t.metrics.profit_growth.value},t.metrics.profit_growth.value?{A:e.t(t.metrics.profit_growth.value.toFixed(2))}:{},{B:e.t(t.metrics.profit_growth.rank),C:t.metrics.profit_growth.industry_avg},t.metrics.profit_growth.industry_avg?{D:e.t(t.metrics.profit_growth.industry_avg.toFixed(2))}:{},{E:t.metrics.operating_margin.value},t.metrics.operating_margin.value?{F:e.t(t.metrics.operating_margin.value.toFixed(2))}:{},{G:e.t(t.metrics.operating_margin.rank),H:t.metrics.operating_margin.industry_avg},t.metrics.operating_margin.industry_avg?{I:e.t(t.metrics.operating_margin.industry_avg.toFixed(2))}:{},{J:t.metrics.debt_ratio.value},t.metrics.debt_ratio.value?{K:e.t(t.metrics.debt_ratio.value.toFixed(2))}:{},{L:t.metrics.debt_ratio.rank},t.metrics.debt_ratio.rank?{M:e.t(t.metrics.debt_ratio.rank)}:{},{N:t.metrics.debt_ratio.industry_avg},t.metrics.debt_ratio.industry_avg?{O:e.t(t.metrics.debt_ratio.industry_avg.toFixed(2))}:{},{P:t.metrics.receivable_turnover.value},t.metrics.receivable_turnover.value?{Q:e.t(t.metrics.receivable_turnover.value.toFixed(2))}:{},{R:t.metrics.receivable_turnover.rank},t.metrics.receivable_turnover.rank?{S:e.t(t.metrics.receivable_turnover.rank)}:{},{T:t.metrics.receivable_turnover.industry_avg},t.metrics.receivable_turnover.industry_avg?{U:e.t(t.metrics.receivable_turnover.industry_avg.toFixed(2))}:{},{V:i}))),b:e.t(t.period),c:i}))),aY:s._imports_1$13,aZ:e.sr("industryRankPop","817d6950-13"),ba:e.p({type:"bottom"}),bb:s._imports_8,bc:e.o((e=>c.clickCloseValueChainPopup())),bd:o.selectValueChainInfo},o.selectValueChainInfo?e.e({be:e.t(o.selectValueChainInfo.node_name),bf:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bg:e.t(o.selectValueChainInfo.node_type)}:{},{bh:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bi:e.t(o.selectValueChainInfo.market_share)}:{},{bj:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bk:e.t(o.selectValueChainInfo.node_type)}:{},{bl:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bm:e.t(o.selectValueChainInfo.market_share)}:{},{bn:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bo:e.t(o.selectValueChainInfo.node_type)}:{},{bp:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bq:e.t(o.selectValueChainInfo.market_share)}:{},{br:e.t(o.selectValueChainInfo.node_description),bs:e.t(o.selectValueChainInfo.importance_score),bt:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bv:e.s("width:"+(o.selectValueChainInfo.importance_score?o.selectValueChainInfo.importance_score:0)+"%;")}:{},{bw:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bx:e.s("width:"+o.selectValueChainInfo.importance_score+"%;")}:{},{by:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bz:e.s("width:"+o.selectValueChainInfo.importance_score+"%;")}:{},{bA:e.t(o.selectValueChainInfo.dependency_degree),bB:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bC:e.s("width:"+(o.selectValueChainInfo.dependency_degree?o.selectValueChainInfo.dependency_degree:0)+"%;")}:{},{bD:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bE:e.s("width:"+(o.selectValueChainInfo.dependency_degree?o.selectValueChainInfo.dependency_degree:0)+"%;")}:{},{bF:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bG:e.s("width:"+(o.selectValueChainInfo.dependency_degree?o.selectValueChainInfo.dependency_degree:0)+"%;")}:{},{bH:e.f(o.relatedCompanyList,((t,i,a)=>e.e({a:e.t(t.stock_name),b:e.t(t.stock_code),c:e.t(t.company_name),d:e.t(t.node_info.node_description),e:t.relationships.length>0},t.relationships.length>0?{f:s._imports_10$3,g:e.t(t.relationships[0].connected_node)}:{},{h:i})))}):{},{bI:e.sr("valueChainPopup","817d6950-14"),bJ:e.p({type:"bottom",safeArea:!1}),bK:s._imports_8,bL:e.o((e=>c.clickCloseDevelopmentTimelinePopup())),bM:o.selectDevelopmentTimelineInfo},o.selectDevelopmentTimelineInfo?{bN:e.t(o.selectDevelopmentTimelineInfo.event_title),bO:e.t(o.selectDevelopmentTimelineInfo.event_type),bP:e.n("eventType "+(1==o.selectDevelopmentTimelineInfo.impact_metrics.is_positive?"positive":"negative")),bQ:e.t(o.selectDevelopmentTimelineInfo.event_date),bR:e.t(o.selectDevelopmentTimelineInfo.event_desc),bS:e.t(o.selectDevelopmentTimelineInfo.related_info.financial_impact),bT:e.n("progress "+(1==o.selectDevelopmentTimelineInfo.impact_metrics.is_positive?"positive":"negative")),bU:e.s("width: "+o.selectDevelopmentTimelineInfo.impact_metrics.impact_score+"%;"),bV:e.t(o.selectDevelopmentTimelineInfo.impact_metrics.impact_score)}:{},{bW:e.sr("developmentTimelinePopup","817d6950-15"),bX:e.p({type:"bottom",safeArea:!1})})}]]);wx.createPage(n); diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.json b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.json new file mode 100644 index 0000000..4c765be --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.json @@ -0,0 +1,19 @@ +{ + "navigationBarTitleText": "", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar", + "gqjg-view": "../../components/gqjg-view/gqjg-view", + "gltd-view": "../../components/gltd-view/gltd-view", + "fzjg-view": "../../components/fzjg-view/fzjg-view", + "gsxx-view": "../../components/gsxx-view/gsxx-view", + "zlfx-view": "../../components/zlfx-view/zlfx-view", + "ywjg-view": "../../components/ywjg-view/ywjg-view", + "cyl-view": "../../components/cyl-view/cyl-view", + "fzlc-view": "../../components/fzlc-view/fzlc-view", + "zysj-view": "../../components/zysj-view/zysj-view", + "cwfx-view": "../../components/cwfx-view/cwfx-view", + "cwsj-view": "../../components/cwsj-view/cwsj-view", + "news-view": "../../components/news-view/news-view", + "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxml b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxml new file mode 100644 index 0000000..65a2be5 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxml @@ -0,0 +1 @@ +{{item.a}} {{item.b}}{{l}}·{{m}}沪深300、上证180{{o}}{{q}}%今开:{{s}}昨收:{{t}}最高:{{v}}最低:{{w}}关键指标市盈率 (PE){{y}}流通股本{{A}}亿股-流通市值{{B}}换手率{{C}}%发行总股本{{E}}亿股-52周波动{{F}}-{{G}}主力动态主力净流入{{I}}{{J}}股机构持仓暂无买入 {{M}}%卖出 {{N}}%成立{{P}}注册资本{{R}}亿元所在地{{T}} {{U}}公司简介{{W}} ...{{Y}}{{item.a}}{{item.a}}{{item.a}}{{item.a}}{{item.a}}对比自选分享行业排名EPS{{ritem.d}}-#{{ritem.f}}行业均值:{{ritem.h}}行业均值:-每股净资产{{ritem.j}}-#{{ritem.l}}行业均值:{{ritem.n}}行业均值:-ROE{{ritem.p}}%-#{{ritem.q}}行业均值:{{ritem.s}}%行业均值:-营收增长率{{ritem.v}}%-#{{ritem.w}}行业均值:{{ritem.y}}%行业均值:-利润增长率{{ritem.A}}%-#{{ritem.B}}行业均值:{{ritem.D}}%行业均值:-营业利润率{{ritem.F}}%-#{{ritem.G}}行业均值:{{ritem.I}}%行业均值:-资产负债率{{ritem.K}}-#{{ritem.M}}行业均值:{{ritem.O}}行业均值:-应收账款周转率{{ritem.Q}}-#{{ritem.S}}行业均值:{{ritem.U}}行业均值:-详情{{be}}{{bg}}份额: {{bi}}%{{bk}}份额: {{bm}}%{{bo}}份额: {{bq}}%节点描述{{br}}重要度评分{{bs}}依赖程度{{bA}}%相关公司{{item.a}}{{item.b}}上游{{item.c}}{{item.d}}产业链关系:流向 {{item.g}}详情{{bN}}{{bO}}{{bQ}}事件详情{{bR}}财务影响{{bS}}影响评估影响度{{bV}} / 100 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxss b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxss new file mode 100644 index 0000000..12ac039 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.searchC{background-color:rgba(41,41,41,.7);left:0;right:0;margin:20rpx 25rpx 0;padding:0 25rpx;height:70rpx;border-radius:35rpx;font-size:22rpx;font-weight:500}.searchC .icon{margin-right:12rpx;width:25rpx;height:auto}.searchC input{height:100%;color:#fff}.searchResultList{background-color:rgba(0,0,0,.5);left:0;right:0;bottom:0;padding:0 25rpx;z-index:20}.searchResultList .list{background-color:#fff;border-radius:10rpx}.searchResultList .list .item{padding:0 42rpx;line-height:60rpx;font-size:22rpx;font-weight:500;color:#333}.stockDetailsC{left:0;right:0;bottom:calc(110rpx + env(safe-area-inset-bottom))}.stockDetailsC .basicInfoC{background-color:#fff;margin:0 25rpx;padding:22rpx 20rpx 40rpx;border-radius:10rpx}.stockDetailsC .basicInfoC .categoryLabelC{font-size:24rpx;font-weight:500;color:#71675d}.stockDetailsC .basicInfoC .categoryLabelC .category{margin-right:14rpx;padding:0 12rpx;line-height:34rpx;border:solid 1rpx #71675D;border-radius:5rpx}.stockDetailsC .basicInfoC .priceC{margin-top:10rpx;padding:0 6rpx 16rpx;border-bottom:solid 1rpx #E7E7E7;font-weight:500}.stockDetailsC .basicInfoC .priceC .currentChgC{margin-right:40rpx}.stockDetailsC .basicInfoC .priceC .currentChgC .current{font-size:48rpx;font-weight:900}.stockDetailsC .basicInfoC .priceC .currentChgC .up{color:#ec3440}.stockDetailsC .basicInfoC .priceC .currentChgC .down{color:#345423}.stockDetailsC .basicInfoC .priceC .currentChgC .chg{font-size:24rpx;text-align:center}.stockDetailsC .basicInfoC .priceC .priceIndexC{font-size:24rpx;color:#71675d}.stockDetailsC .basicInfoC .priceC .priceIndexC .indexC{height:40rpx}.stockDetailsC .basicInfoC .priceC .priceIndexC .indexC .content.up{color:#ec3440}.stockDetailsC .basicInfoC .priceC .priceIndexC .indexC .content.down{color:#345423}.stockDetailsC .basicInfoC .priceC .priceIndexC .indexC.marginR{margin-left:80rpx}.stockDetailsC .basicInfoC .section{margin-top:14rpx;font-size:28rpx;font-weight:700;color:#2b2b2b}.stockDetailsC .basicInfoC .infoC{height:40rpx;font-size:22rpx;color:#71675d}.stockDetailsC .basicInfoC .infoC .rightInfoC{margin-left:32rpx}.stockDetailsC .basicInfoC .infoC .icon{margin-right:15rpx;width:26rpx;height:auto}.stockDetailsC .basicInfoC .infoC .title{margin-right:18rpx;font-weight:500}.stockDetailsC .basicInfoC .infoC .content{font-weight:700;text-align:right}.stockDetailsC .basicInfoC .infoC .title.important,.stockDetailsC .basicInfoC .infoC .content.important{color:#bb8520}.stockDetailsC .basicInfoC .infoC .content.up{color:#ec3440}.stockDetailsC .basicInfoC .infoC .content.down{color:#345423}.stockDetailsC .basicInfoC .progressC{background-color:#345423;margin:20rpx 10rpx 0;height:10rpx;border-radius:5rpx}.stockDetailsC .basicInfoC .progressC .buy{background-color:#ec3440;height:100%;border-radius:5rpx}.stockDetailsC .basicInfoC .buySaleC{margin:10rpx 0;padding:0 10rpx 20rpx;font-size:22rpx;font-weight:700;border-bottom:solid 1rpx #E7E7E7}.stockDetailsC .basicInfoC .buySaleC .buy{color:#ec3440}.stockDetailsC .basicInfoC .buySaleC .sale{color:#345423;text-align:right}.stockDetailsC .basicInfoC .companyInfo{display:flex;margin-top:16rpx;font-size:22rpx;font-weight:500;color:#71675d}.stockDetailsC .basicInfoC .companyInfo .title{margin-right:10rpx;font-weight:700}.stockDetailsC .basicInfoC .companyInfo .info.retract{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;text-overflow:ellipsis;overflow:hidden}.stockDetailsC .basicInfoC .companyInfo .expand{background-color:#fff;color:#bb8520;right:0;bottom:0}.stockDetailsC .basicInfoC .companyInfo .expand .ellipsis{color:#71675d}.stockDetailsC .otherInfoC{background-color:#fff;margin:20rpx 25rpx 0;border-radius:10rpx}.stockDetailsC .otherInfoC .tabC{white-space:nowrap;margin:0 20rpx;width:calc(100% - 40rpx);border-bottom:solid 1rpx #E7E7E7}.stockDetailsC .otherInfoC .tabC .item{display:inline-block;margin-right:40rpx;line-height:70rpx;font-size:26rpx;font-weight:500;color:#999}.stockDetailsC .otherInfoC .tabC .item.select{border-bottom:solid 1rpx #F2C369;font-size:28rpx;font-weight:700;color:#2b2b2b}.stockDetailsC .otherInfoC .companyFilesList{white-space:nowrap;margin:22rpx 26rpx 0}.stockDetailsC .otherInfoC .companyFilesList .item{display:inline-block;background-color:#f6f6f6;margin-right:20rpx;padding:0 12rpx;line-height:46rpx;border-radius:5rpx;font-size:24rpx;font-weight:500;color:#939393}.stockDetailsC .otherInfoC .companyFilesList .item.select{background-color:#f3c368;font-weight:700;color:#070707}.stockDetailsC .otherInfoC .ywjg_list{color:#2b2b2b}.stockDetailsC .otherInfoC .ywjg_list .title{font-size:28rpx;font-weight:700}.stockDetailsC .otherInfoC .ywjg_list .ywjg_item_1{font-weight:500;margin:20rpx;background-color:#fafafc;border-radius:10rpx;padding:25rpx 20rpx;box-sizing:border-box}.bottomC{background-color:#000;padding:20rpx 25rpx calc(20rpx + env(safe-area-inset-bottom));left:0;right:0;bottom:0}.bottomC .inputC{background-color:#424143;margin-right:20rpx;padding:0 33rpx;height:70rpx;border-radius:35rpx}.bottomC .inputC input{height:100%;font-size:26rpx;font-weight:500}.bottomC .contrastShareC .item{font-size:24rpx;font-weight:500;color:#fefaf6;text-align:center}.bottomC .contrastShareC .item .icon{margin:0 30rpx;width:auto;height:26rpx}.industryRankPop{background-color:#fff;border-radius:20rpx 20rpx 0 0}.industryRankPop .popTitle{margin:0 20rpx;line-height:100rpx;border-bottom:solid 1rpx #E7E7E7;font-size:35rpx;font-weight:700;color:#333;text-align:center}.industryRankPop .closeC{top:0;right:0;padding:40rpx 26rpx}.industryRankPop .closeC .icon{display:block;width:20rpx;height:auto}.industryRankPop .rankList{max-height:660rpx;overflow-y:scroll}.industryRankPop .rankList .sectionDateC{padding:30rpx 26rpx}.industryRankPop .rankList .sectionDateC .section{margin-right:11rpx;font-size:28rpx;font-weight:700;color:#2b2b2b}.industryRankPop .rankList .sectionDateC .industryC{background-color:#fff7e9;padding:0 15rpx;line-height:34rpx;border:solid 1rpx #F2C369;border-radius:18rpx;font-size:20rpx;font-weight:500;color:#f2c369}.industryRankPop .rankList .sectionDateC .industryC .icon{margin-right:3rpx;width:16rpx;height:auto}.industryRankPop .rankList .sectionDateC .date{font-size:24rpx;font-weight:500;color:#71675d}.industryRankPop .rankList .list{padding:0 25rpx}.industryRankPop .rankList .list .item{margin:0 20rpx 20rpx 0;padding:20rpx 12rpx;width:calc((100% - 40rpx)/3);border:solid 1rpx #FCE2B2;border-radius:10rpx}.industryRankPop .rankList .list .item .title{font-size:24rpx;font-weight:500;color:#3d3d3d}.industryRankPop .rankList .list .item .valueRankC .value{margin-right:9rpx;font-size:30rpx;font-weight:800;color:#bb8520}.industryRankPop .rankList .list .item .valueRankC .rank{background-color:#f3c368;padding:0 9rpx;line-height:30rpx;border-radius:15rpx;font-size:24rpx;color:#fff}.industryRankPop .rankList .list .item .average{font-size:22rpx;font-weight:500;color:#999;word-break:break-all}.industryRankPop .rankList .list .item:nth-child(3n){margin-right:0}.industryRankPop .detailPopup{height:70%;background-color:#fff;border-radius:20rpx 20rpx 0 0;padding-bottom:env(safe-area-inset-bottom)}.valueChainPopup{background-color:#fff;border-radius:20rpx 20rpx 0 0}.valueChainPopup .popTitle{margin:0 20rpx;line-height:100rpx;border-bottom:solid 1rpx #E7E7E7;font-size:35rpx;font-weight:700;color:#333;text-align:center}.valueChainPopup .closeC{top:0;right:0;padding:40rpx 26rpx}.valueChainPopup .closeC .icon{display:block;width:20rpx;height:auto}.valueChainPopup .valueChainInfoC .title{font-size:28rpx;font-weight:700;color:#2a2a2a}.valueChainPopup .valueChainInfoC .labelC{margin-top:20rpx}.valueChainPopup .valueChainInfoC .labelC .label{margin-right:10rpx;padding:0 10rpx;line-height:30rpx;font-size:20;text-align:center;border-radius:5rpx}.valueChainPopup .valueChainInfoC .labelC .label.upstream{color:#ff5501}.valueChainPopup .valueChainInfoC .labelC .label.upstream.type{background-color:#fff4ef}.valueChainPopup .valueChainInfoC .labelC .label.upstream.market{border:solid 1rpx #FF5501}.valueChainPopup .valueChainInfoC .labelC .label.core{color:#175ce6}.valueChainPopup .valueChainInfoC .labelC .label.core.type{background-color:#edf2fd}.valueChainPopup .valueChainInfoC .labelC .label.core.market{border:solid 1rpx #175CE6}.valueChainPopup .valueChainInfoC .labelC .label.downstream{color:#1db26f}.valueChainPopup .valueChainInfoC .labelC .label.downstream.type{background-color:#e7f5f0}.valueChainPopup .valueChainInfoC .labelC .label.downstream.market{border:solid 1rpx #1DB26F}.valueChainPopup .valueChainInfoC .progressBgC{background-color:#efefef;height:10rpx;border-radius:5rpx;margin-top:20rpx}.valueChainPopup .valueChainInfoC .progressBgC .progress{height:100%;border-radius:5rpx}.valueChainPopup .valueChainInfoC .progressBgC .progress.upstream{background:linear-gradient(90deg,#ff8c53,#ff5501)}.valueChainPopup .valueChainInfoC .progressBgC .progress.core{background:linear-gradient(90deg,#518bff,#175ce6)}.valueChainPopup .valueChainInfoC .progressBgC .progress.downstream{background:linear-gradient(90deg,#48d394,#1db26f)}.developmentTimelinePopup{background-color:#fff;border-radius:20rpx 20rpx 0 0}.developmentTimelinePopup .popTitle{margin:0 20rpx;line-height:100rpx;border-bottom:solid 1rpx #E7E7E7;font-size:35rpx;font-weight:700;color:#333;text-align:center}.developmentTimelinePopup .closeC{top:0;right:0;padding:40rpx 26rpx}.developmentTimelinePopup .closeC .icon{display:block;width:20rpx;height:auto}.developmentTimelinePopup .eventTypeDateC .eventType{margin-right:17rpx;font-size:20;border-radius:5rpx;line-height:40rpx;padding:0 10rpx}.developmentTimelinePopup .eventTypeDateC .eventType.positive{background-color:#ffe7e9;color:#ec3440}.developmentTimelinePopup .eventTypeDateC .eventType.negative{background-color:#deeed6;color:#345423}.developmentTimelinePopup .eventTypeDateC .date{font-size:22rpx;color:#999}.developmentTimelinePopup .progressBgC{background-color:#efefef;margin-left:13rpx;width:200rpx;height:10rpx;border-radius:5rpx}.developmentTimelinePopup .progressBgC .progress{height:100%;border-radius:5rpx}.developmentTimelinePopup .progressBgC .progress.positive{background:linear-gradient(90deg,#ff525d,#ec3440)}.developmentTimelinePopup .progressBgC .progress.negative{background:linear-gradient(90deg,#537d3d,#345423)} diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js new file mode 100644 index 0000000..b4ef3d3 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js @@ -0,0 +1 @@ +"use strict";const r={data:()=>({url:""}),onLoad(r){r.url&&(this.url=r.url)},methods:{}};const e=require("../../../common/vendor.js")._export_sfc(r,[["render",function(r,e,t,o,n,u){return{a:n.url}}]]);wx.createPage(e); diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.json b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.json new file mode 100644 index 0000000..a0812ee --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.wxml b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.wxml new file mode 100644 index 0000000..20c283c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/webView/webView.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.js b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.js new file mode 100644 index 0000000..345ed89 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.js @@ -0,0 +1 @@ +"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),n={data:()=>({navH:t.inject("navHeight"),contentTop:"",tabTypes:[{data:"1月14日",change:0,title:"当前日期"},{data:"102",change:3,title:"涨停家数"},{data:"22%",change:0,title:"炸板率"}],bkList:[{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8}],bkTypes:["板块关联图","板块分布","热门概念词云"]}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth")},methods:{bkydAction(e){t.index.navigateTo({url:`/pagesStock/stockCenterDetails/bkydmx?index=${e}`})}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("LCCalendar"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../components/LCCalendar/LCCalendar.js"))();const o=t._export_sfc(n,[["render",function(n,o,i,a,c,s){return{a:t.p({leftText:"涨停分析",hideNavBg:!0}),b:e._imports_0,c:e._imports_1$10,d:e._imports_2$8,e:t.f(c.tabTypes,((e,n,o)=>t.e({a:t.t(e.data),b:e.change>0},e.change>0?{c:t.t(e.change)}:{},{d:t.t(e.title),e:n}))),f:e._imports_3$8,g:t.f(c.bkList,((e,n,o)=>({a:t.t(e.title),b:t.t(e.count),c:n,d:t.o((t=>s.bkydAction(n)),n)}))),h:t.f(c.bkTypes,((e,n,o)=>({a:t.t(e),b:0==n?"#BB8520":"#999999",c:"1rpx solid "+(0==n?"#F2C369":"#D2D2D2"),d:0==n?"#FFFAF1":"#FFF"}))),i:e._imports_3$8,j:t.f(10,((t,e,n)=>({a:e}))),k:e._imports_1$11,l:e._imports_5$4,m:e._imports_5$4,n:t.s("top:"+c.contentTop+"px;")}}]]);wx.createPage(o); diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.json b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.json new file mode 100644 index 0000000..e554d6b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "涨停分析", + "usingComponents": { + "nav-bar": "../../components/navBar/navBar", + "l-c-calendar": "../../components/LCCalendar/LCCalendar" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.wxml b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.wxml new file mode 100644 index 0000000..b44e74c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.wxml @@ -0,0 +1 @@ +AI总结市场情绪温和,主线题材:存储芯片核心指标{{item.a}} +{{item.c}}{{item.d}}市场全景35个板块102只涨停高位股风险: 低板块热力图高热度 中热度 低热度 冷门 {{item.a}}{{item.b}}只{{item.a}} 词云图占位 高位股统计高位股10只平均3.7最高9版中风险博菲电气(销量一字,高风险) 9连板高位股风险较高,追涨需谨慎 \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.wxss b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.wxss new file mode 100644 index 0000000..e45f939 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/pagesStock/stockCenterDetails/ztfx.wxss @@ -0,0 +1 @@ +page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.stockDetailsC{left:0;right:0;bottom:env(safe-area-inset-bottom)} diff --git a/unpackage/dist/build/mp-weixin/project.config.json b/unpackage/dist/build/mp-weixin/project.config.json new file mode 100644 index 0000000..d8d46a2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/project.config.json @@ -0,0 +1,36 @@ +{ + "description": "项目配置文件。", + "packOptions": { + "ignore": [] + }, + "setting": { + "urlCheck": false, + "es6": true, + "postcss": false, + "minified": false, + "newFeature": true, + "bigPackageSizeSupport": true + }, + "compileType": "miniprogram", + "libVersion": "", + "appid": "wx0edeaab76d4fa414", + "projectname": "JiaZhiQianYan", + "condition": { + "search": { + "current": -1, + "list": [] + }, + "conversation": { + "current": -1, + "list": [] + }, + "game": { + "current": -1, + "list": [] + }, + "miniprogram": { + "current": -1, + "list": [] + } + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/request/api.js b/unpackage/dist/build/mp-weixin/request/api.js new file mode 100644 index 0000000..29430ba --- /dev/null +++ b/unpackage/dist/build/mp-weixin/request/api.js @@ -0,0 +1 @@ +"use strict";const e=require("./http.js");exports.actualControl=t=>e.get("/api/stock/"+t+"/actual-control",null,!0),exports.agreements=()=>e.get("/api/agreements"),exports.analyseHighStocks=t=>e.get("/api/limit-analyse/high-position-stocks",t,!0),exports.branchesList=t=>e.get("/api/stock/"+t+"/branches",null,!0),exports.calendarCombinedData=t=>e.get("/api/v1/calendar/combined-data",t,!0),exports.calendarDataList=t=>e.get("/api/calendar/data",t),exports.calendarEventCount=t=>e.get("/api/calendar-event-counts",t),exports.calendarEventList=t=>e.get("/api/calendar/events",t),exports.cashflowSheet=(t,a)=>e.get("/api/financial/cashflow/"+t,a,!0),exports.commentEvent=(t,a)=>e.post("/post/create/"+t,a),exports.companyAnnouncementsList=(t,a)=>e.get("/api/stock/"+t+"/announcements",a,!0),exports.comprehensiveAnalysis=t=>e.get("/api/company/comprehensive-analysis/"+t,null,!0),exports.conceptDetails=(t,a)=>e.get("/concept-api/concept/"+t,a,!0),exports.conceptNews=t=>e.get("/news-api/search_china_news",t,!0),exports.conceptOtherDetails=(t,a)=>e.post("/api/market/trade/batch",a),exports.conceptRankList=t=>e.get("/concept-api/statistics",t,!0),exports.conceptReport=t=>e.get("/report-api/search",t,!0),exports.conceptStocks=(t,a)=>e.get("/api/concept/"+t+"/stocks",a,!0),exports.conceptsDailyTop=t=>e.get("/api/concepts/daily-top",t,!0),exports.eventCommentList=t=>e.get("/api/event/"+t+"/comments"),exports.eventHistoryEvent=t=>e.get("/api/event/"+t+"/historical-events"),exports.eventList=(t,a)=>e.get("/api/events",t,a),exports.eventRelatedConcept=t=>e.post("/concept-api/search",t),exports.eventRelatedStock=t=>e.get("/api/event/"+t+"/related-stocks-detail"),exports.feedback=t=>e.post("/api/user/feedback",t),exports.filterOptions=t=>e.get("/api/filter/options",t),exports.financialBalanceSheet=(t,a)=>e.get("/api/financial/balance-sheet/"+t,a,!0),exports.financialComparison=(t,a)=>e.get("/api/financial/comparison/"+t,a,!0),exports.financialMainBusiness=(t,a)=>e.get("/api/financial/main-business/"+t,a,!0),exports.financialMetrics=(t,a)=>e.get("/api/financial/financial-metrics/"+t,a,!0),exports.financialStockInfo=t=>e.get("/api/financial/stock-info/"+t,null,!0),exports.followEvent=t=>e.post("/event/follow/"+t),exports.homeData=t=>e.get("/api/home",t),exports.incomeStatementSheet=(t,a)=>e.get("/api/financial/income-statement/"+t,a,!0),exports.industryCategoryList=t=>e.get("/api/sector/hierarchy",t),exports.industryRankList=t=>e.get("/api/financial/industry-rank/"+t,null,!0),exports.investEventDetails=(t,a)=>e.get("/api/calendar/detail/"+t,a),exports.keyFactorsTimeline=t=>e.get("/api/company/key-factors-timeline/"+t,null,!0),exports.likeEventComment=t=>e.post("/post/like/"+t),exports.loginByPhone=t=>e.post("/api/auth/login/phone",t),exports.loginByWx=t=>e.post("/api/auth/login/wechat",t),exports.managementTeam=(t,a)=>e.get("/api/stock/"+t+"/management",a,!0),exports.marketHeatmap=t=>e.get("/api/market/heatmap",t,!0),exports.marketHotspotOverview=t=>e.get("/api/market/hotspot-overview",t,!0),exports.marketStatistics=t=>e.get("/api/market/statistics",t,!0),exports.membershipStatus=t=>e.get("/api/membership/status",t),exports.newestPriceDate=t=>e.get("/concept-api/price/latest",t,!0),exports.ownershipConcentration=t=>e.get("/api/stock/"+t+"/concentration",null,!0),exports.priceTimeline=(t,a)=>e.get("/concept-api/concept/"+t+"/price-timeseries",a,!0),exports.quoteDetailsInfo=t=>e.get("/api/stock/"+t+"/quote-detail",null,!0),exports.replyComment=(t,a)=>e.post("/post/comment/"+t,a),exports.searchStockInfo=t=>e.get("/api/stocks/search",t,!0),exports.sendSMS=t=>e.post("/api/auth/send-sms",t),exports.stockBasicInfo=t=>e.get("/api/stock/"+t+"/basic-info",null,!0),exports.stockCandlestickChartData=(t,a)=>e.get("/api/stock/"+t+"/kline",a),exports.stockCategoryList=t=>e.get("/api/sector/banner",t),exports.stockDetails=(t,a)=>e.get("/api/event/"+t+"/stock/"+a+"/detail"),exports.topCirculatingShareholdersList=(t,a)=>e.get("/api/stock/"+t+"/top-circulation-shareholders",a,!0),exports.topShareholdersList=(t,a)=>e.get("/api/stock/"+t+"/top-shareholders",a,!0),exports.updateBasicInfo=t=>e.post("/settings/profile",t),exports.updateInvestPreference=t=>e.post("/settings/investment_preferences",t),exports.userActivityList=t=>e.get("/api/user/activities",t),exports.userInfo=t=>e.get("/api/user/profile",t),exports.valueChainAnalysis=t=>e.get("/api/company/value-chain-analysis/"+t,null,!0),exports.valueChainRelatedCompany=t=>e.get("/api/company/value-chain/related-companies",t,!0),exports.wxBindPhone=t=>e.post("/api/auth/bindphone/wechat",t); diff --git a/unpackage/dist/build/mp-weixin/request/http.js b/unpackage/dist/build/mp-weixin/request/http.js new file mode 100644 index 0000000..5fe15d1 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/request/http.js @@ -0,0 +1 @@ +"use strict";const e=require("../common/vendor.js");let o="";o="https://api.valuefrontier.cn:5002",exports.get=function(t,n,i){return new Promise(((a,r)=>{let d=e.index.getStorageSync("token");e.index.showLoading({title:"加载中"});let s=o;i&&(s="https://api.valuefrontier.cn"),e.index.request({url:s+t,data:n,header:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded",Authorization:d?"Bearer "+d:""},method:"GET",success:o=>{console.log(o),e.index.hideLoading(),401==o.data.code?(e.index.removeStorageSync("token"),e.index.navigateTo({url:"/pages/login/login"})):a(o.data)},fail:o=>{e.index.hideLoading(),e.index.showToast({title:"请求失败",icon:"error"}),r(o.response)}})}))},exports.getBaseURL1=function(){return"https://valuefrontier.cn"},exports.post=function(t,n,i){return new Promise(((i,a)=>{let r=e.index.getStorageSync("token"),d=0,s=0;if(n&&(d=n.isJson),n&&(s=n.isFile),e.index.showLoading({title:"加载中"}),s){let r=e.index.getStorageSync("token");e.index.uploadFile({url:o+t,filePath:n.avatar,name:"avatar",header:{Authorization:r?"Bearer "+r:""},formData:n,success:o=>{console.log(o),e.index.hideLoading(),401==o.data.code?(e.index.removeStorageSync("token"),e.index.navigateTo({url:"/pages/login/login"}),a(o.data)):i(o.data)},fail:o=>{console.log("上传失败"+o.errMsg),e.index.hideLoading(),e.index.showToast({title:"请求失败",icon:"error"}),a()}})}else{let l=o;(t.indexOf("concept-api")>-1||t.indexOf("api/market/trade/batch")>-1)&&(l="https://api.valuefrontier.cn"),e.index.request({url:l+t,data:n,header:{Accept:"application/json","Content-Type":d?"application/json":s?"multipart/form-data":"application/x-www-form-urlencoded",Authorization:r?"Bearer "+r:""},method:"POST",success:o=>{e.index.hideLoading(),n&&n.isNotNeedLogin||(console.log(o.data),401==o.data.code?(e.index.removeStorageSync("token"),e.index.navigateTo({url:"/pages/login/login"}),a(o.data)):i(o.data))},fail:o=>{e.index.hideLoading(),e.index.showToast({title:"请求失败",icon:"error"}),a(o.response)}})}}))}; diff --git a/unpackage/dist/build/mp-weixin/src/config/posthog.config.js b/unpackage/dist/build/mp-weixin/src/config/posthog.config.js new file mode 100644 index 0000000..3918c74 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/config/posthog.config.js @@ -0,0 +1 @@ +"use strict"; diff --git a/unpackage/dist/build/mp-weixin/src/constants/events.js b/unpackage/dist/build/mp-weixin/src/constants/events.js new file mode 100644 index 0000000..3918c74 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/constants/events.js @@ -0,0 +1 @@ +"use strict"; diff --git a/unpackage/dist/build/mp-weixin/src/plugins/analytics.js b/unpackage/dist/build/mp-weixin/src/plugins/analytics.js new file mode 100644 index 0000000..fb33bf6 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/plugins/analytics.js @@ -0,0 +1 @@ +"use strict";require("../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/constants.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/constants.js new file mode 100644 index 0000000..3918c74 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/constants.js @@ -0,0 +1 @@ +"use strict"; diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/core.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/core.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/core.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/device.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/device.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/device.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/error-tracker.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/error-tracker.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/error-tracker.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/http.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/http.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/http.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/identity.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/identity.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/identity.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/index.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/index.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/index.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/page-tracker.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/page-tracker.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/page-tracker.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/performance-tracker.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/performance-tracker.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/performance-tracker.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/queue.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/queue.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/queue.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/reading-tracker.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/reading-tracker.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/reading-tracker.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/search-tracker.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/search-tracker.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/search-tracker.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/session.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/session.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/session.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/storage.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/storage.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/storage.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/src/utils/posthog/user-tracker.js b/unpackage/dist/build/mp-weixin/src/utils/posthog/user-tracker.js new file mode 100644 index 0000000..bcc183b --- /dev/null +++ b/unpackage/dist/build/mp-weixin/src/utils/posthog/user-tracker.js @@ -0,0 +1 @@ +"use strict";require("../../../common/vendor.js"); diff --git a/unpackage/dist/build/mp-weixin/static/icon/back.png b/unpackage/dist/build/mp-weixin/static/icon/back.png new file mode 100644 index 0000000..960cbeb Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/back.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/backBlack.png b/unpackage/dist/build/mp-weixin/static/icon/backBlack.png new file mode 100644 index 0000000..002bd2a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/backBlack.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-0.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-0.png new file mode 100644 index 0000000..87f178b Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-0.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-1.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-1.png new file mode 100644 index 0000000..ecc6bd8 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-1.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-2.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-2.png new file mode 100644 index 0000000..c854173 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-2.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-3.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-3.png new file mode 100644 index 0000000..4ae6935 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-3.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-4.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-4.png new file mode 100644 index 0000000..9bab667 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/cate-4.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-0.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-0.png new file mode 100644 index 0000000..26c3c65 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-0.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-1.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-1.png new file mode 100644 index 0000000..5f0cea8 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-1.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-2.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-2.png new file mode 100644 index 0000000..a0a6193 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-2.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-3.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-3.png new file mode 100644 index 0000000..130536c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-3.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-4.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-4.png new file mode 100644 index 0000000..2b535e6 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-4.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-5.png b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-5.png new file mode 100644 index 0000000..6d08ca3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/gegu/gg-top-5.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/browser.png b/unpackage/dist/build/mp-weixin/static/icon/home/browser.png new file mode 100644 index 0000000..50c9176 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/browser.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/close.png b/unpackage/dist/build/mp-weixin/static/icon/home/close.png new file mode 100644 index 0000000..e738210 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/close.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/collect.png b/unpackage/dist/build/mp-weixin/static/icon/home/collect.png new file mode 100644 index 0000000..25b215f Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/collect.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/collect_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/collect_s.png new file mode 100644 index 0000000..0d22116 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/collect_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/comment.png b/unpackage/dist/build/mp-weixin/static/icon/home/comment.png new file mode 100644 index 0000000..e9e97a3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/comment.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/commentArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/commentArrow.png new file mode 100644 index 0000000..a0aea21 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/commentArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/active.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/active.png new file mode 100644 index 0000000..9c989c4 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/active.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/active_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/active_s.png new file mode 100644 index 0000000..a89113c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/active_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/browse.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/browse.png new file mode 100644 index 0000000..de4a045 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/browse.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/calendar.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/calendar.png new file mode 100644 index 0000000..ab113d2 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/calendar.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgDown.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgDown.png new file mode 100644 index 0000000..bb5e29d Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgDown.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgSort.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgSort.png new file mode 100644 index 0000000..7856c43 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgSort.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgUp.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgUp.png new file mode 100644 index 0000000..04e3242 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/chgUp.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/conceptNameSort.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/conceptNameSort.png new file mode 100644 index 0000000..a7c61c6 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/conceptNameSort.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/conceptScreenArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/conceptScreenArrow.png new file mode 100644 index 0000000..40dab43 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/conceptScreenArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/continuousRise.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/continuousRise.png new file mode 100644 index 0000000..eb5f556 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/continuousRise.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/continuousRise_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/continuousRise_s.png new file mode 100644 index 0000000..7251b87 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/continuousRise_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/correlationSort.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/correlationSort.png new file mode 100644 index 0000000..e359e90 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/correlationSort.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/decreaseRate.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/decreaseRate.png new file mode 100644 index 0000000..1090c7e Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/decreaseRate.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/decreaseRate_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/decreaseRate_s.png new file mode 100644 index 0000000..db8bcb1 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/decreaseRate_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/fluctuate.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/fluctuate.png new file mode 100644 index 0000000..a6493f8 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/fluctuate.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/fluctuate_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/fluctuate_s.png new file mode 100644 index 0000000..e752eef Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/fluctuate_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/free_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/free_s.png new file mode 100644 index 0000000..29cecfe Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/free_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/increaseRate.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/increaseRate.png new file mode 100644 index 0000000..d037b84 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/increaseRate.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/increaseRate_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/increaseRate_s.png new file mode 100644 index 0000000..d52d021 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/increaseRate_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/lock.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/lock.png new file mode 100644 index 0000000..43d93e2 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/lock.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/newsReport.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/newsReport.png new file mode 100644 index 0000000..97480d9 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/newsReport.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/next.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/next.png new file mode 100644 index 0000000..a02569a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/next.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/pre.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/pre.png new file mode 100644 index 0000000..0d4f771 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/pre.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/pro_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/pro_s.png new file mode 100644 index 0000000..bc49ccb Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/pro_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank1.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank1.png new file mode 100644 index 0000000..076e787 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank1.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank2.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank2.png new file mode 100644 index 0000000..5ae7385 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank2.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank3.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank3.png new file mode 100644 index 0000000..56ed897 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rank3.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rankChg.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rankChg.png new file mode 100644 index 0000000..57fbe10 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/rankChg.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/reasonExpand.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/reasonExpand.png new file mode 100644 index 0000000..0a1581a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/reasonExpand.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/reasonRetract.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/reasonRetract.png new file mode 100644 index 0000000..1339b30 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/reasonRetract.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/search.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/search.png new file mode 100644 index 0000000..0bb0351 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/search.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/sortType.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/sortType.png new file mode 100644 index 0000000..5475d05 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/sortType.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/statistics.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/statistics.png new file mode 100644 index 0000000..c9ecccc Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/statistics.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/stockNumSort.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/stockNumSort.png new file mode 100644 index 0000000..99b53d5 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/stockNumSort.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/timeAxis.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/timeAxis.png new file mode 100644 index 0000000..91519d2 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/timeAxis.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/timeScreenArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/timeScreenArrow.png new file mode 100644 index 0000000..e69de29 diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/transactionDate.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/transactionDate.png new file mode 100644 index 0000000..e69de29 diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/vipPopIcon.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/vipPopIcon.png new file mode 100644 index 0000000..e69de29 diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/visitModule.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptCenter/visitModule.png new file mode 100644 index 0000000..e69de29 diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptDownArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptDownArrow.png new file mode 100644 index 0000000..a3f72a1 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptDownArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/conceptUpArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/conceptUpArrow.png new file mode 100644 index 0000000..8829e25 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/conceptUpArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/dateRange.png b/unpackage/dist/build/mp-weixin/static/icon/home/dateRange.png new file mode 100644 index 0000000..59e6f30 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/dateRange.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/delete.png b/unpackage/dist/build/mp-weixin/static/icon/home/delete.png new file mode 100644 index 0000000..6c61cf2 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/delete.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/downArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/downArrow.png new file mode 100644 index 0000000..630d64c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/downArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/collect.png b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/collect.png new file mode 100644 index 0000000..6aedd08 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/collect.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/collect_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/collect_s.png new file mode 100644 index 0000000..81cd254 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/collect_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/comment.png b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/comment.png new file mode 100644 index 0000000..184e028 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/comment.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/like.png b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/like.png new file mode 100644 index 0000000..59d2b84 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/like.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/like_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/like_s.png new file mode 100644 index 0000000..96978b7 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/eventDetails/like_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/eventLevel.png b/unpackage/dist/build/mp-weixin/static/icon/home/eventLevel.png new file mode 100644 index 0000000..efa1145 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/eventLevel.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/expectScore.png b/unpackage/dist/build/mp-weixin/static/icon/home/expectScore.png new file mode 100644 index 0000000..ed2a363 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/expectScore.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/expectScoreDot.png b/unpackage/dist/build/mp-weixin/static/icon/home/expectScoreDot.png new file mode 100644 index 0000000..224577f Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/expectScoreDot.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/expectScoreTips.png b/unpackage/dist/build/mp-weixin/static/icon/home/expectScoreTips.png new file mode 100644 index 0000000..c683995 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/expectScoreTips.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/hot.png b/unpackage/dist/build/mp-weixin/static/icon/home/hot.png new file mode 100644 index 0000000..0d615f5 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/hot.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/industryScreen.png b/unpackage/dist/build/mp-weixin/static/icon/home/industryScreen.png new file mode 100644 index 0000000..a3012da Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/industryScreen.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/industrySearch.png b/unpackage/dist/build/mp-weixin/static/icon/home/industrySearch.png new file mode 100644 index 0000000..5ebb64f Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/industrySearch.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/industry_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/industry_s.png new file mode 100644 index 0000000..8bc9603 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/industry_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/level_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/level_s.png new file mode 100644 index 0000000..44da9aa Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/level_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/like.png b/unpackage/dist/build/mp-weixin/static/icon/home/like.png new file mode 100644 index 0000000..daaabe0 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/like.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/like_s.png b/unpackage/dist/build/mp-weixin/static/icon/home/like_s.png new file mode 100644 index 0000000..5ff5eb1 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/like_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/monthLeftArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/monthLeftArrow.png new file mode 100644 index 0000000..2dafdf3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/monthLeftArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/monthRightArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/monthRightArrow.png new file mode 100644 index 0000000..a2e2fcc Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/monthRightArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/new.png b/unpackage/dist/build/mp-weixin/static/icon/home/new.png new file mode 100644 index 0000000..d1c87fa Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/new.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/sort.png b/unpackage/dist/build/mp-weixin/static/icon/home/sort.png new file mode 100644 index 0000000..44e1486 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/sort.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/sortArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/sortArrow.png new file mode 100644 index 0000000..4c2cab1 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/sortArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/stockArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/stockArrow.png new file mode 100644 index 0000000..99b8d9c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/stockArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/timeScreen.png b/unpackage/dist/build/mp-weixin/static/icon/home/timeScreen.png new file mode 100644 index 0000000..0a7dfb4 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/timeScreen.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/upArrow.png b/unpackage/dist/build/mp-weixin/static/icon/home/upArrow.png new file mode 100644 index 0000000..7711242 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/upArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/home/yield.png b/unpackage/dist/build/mp-weixin/static/icon/home/yield.png new file mode 100644 index 0000000..5ded08a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/home/yield.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/invest/calendar.png b/unpackage/dist/build/mp-weixin/static/icon/invest/calendar.png new file mode 100644 index 0000000..cb3702a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/invest/calendar.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/invest/downArrow.png b/unpackage/dist/build/mp-weixin/static/icon/invest/downArrow.png new file mode 100644 index 0000000..6479b8e Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/invest/downArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/invest/star.png b/unpackage/dist/build/mp-weixin/static/icon/invest/star.png new file mode 100644 index 0000000..60039ef Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/invest/star.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/invest/star_s.png b/unpackage/dist/build/mp-weixin/static/icon/invest/star_s.png new file mode 100644 index 0000000..5becc96 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/invest/star_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/invest/upArrow.png b/unpackage/dist/build/mp-weixin/static/icon/invest/upArrow.png new file mode 100644 index 0000000..bc8b602 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/invest/upArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/login/code.png b/unpackage/dist/build/mp-weixin/static/icon/login/code.png new file mode 100644 index 0000000..0e076fa Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/login/code.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/login/mobile.png b/unpackage/dist/build/mp-weixin/static/icon/login/mobile.png new file mode 100644 index 0000000..93c962c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/login/mobile.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/login/select.png b/unpackage/dist/build/mp-weixin/static/icon/login/select.png new file mode 100644 index 0000000..b71419e Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/login/select.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/login/select_s.png b/unpackage/dist/build/mp-weixin/static/icon/login/select_s.png new file mode 100644 index 0000000..18766cd Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/login/select_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/aboutUs.png b/unpackage/dist/build/mp-weixin/static/icon/mine/aboutUs.png new file mode 100644 index 0000000..1cfef6a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/aboutUs.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/basicInfo/downArrow.png b/unpackage/dist/build/mp-weixin/static/icon/mine/basicInfo/downArrow.png new file mode 100644 index 0000000..c960d16 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/basicInfo/downArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/basicInfo/edit.png b/unpackage/dist/build/mp-weixin/static/icon/mine/basicInfo/edit.png new file mode 100644 index 0000000..72e8039 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/basicInfo/edit.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/customerService.png b/unpackage/dist/build/mp-weixin/static/icon/mine/customerService.png new file mode 100644 index 0000000..dc154d5 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/customerService.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/feedback.png b/unpackage/dist/build/mp-weixin/static/icon/mine/feedback.png new file mode 100644 index 0000000..527e579 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/feedback.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/infoArrow.png b/unpackage/dist/build/mp-weixin/static/icon/mine/infoArrow.png new file mode 100644 index 0000000..2241b55 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/infoArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/logout.png b/unpackage/dist/build/mp-weixin/static/icon/mine/logout.png new file mode 100644 index 0000000..0a381a8 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/logout.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/menuArrow.png b/unpackage/dist/build/mp-weixin/static/icon/mine/menuArrow.png new file mode 100644 index 0000000..c14933c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/menuArrow.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/privacyProtocol.png b/unpackage/dist/build/mp-weixin/static/icon/mine/privacyProtocol.png new file mode 100644 index 0000000..e7af136 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/privacyProtocol.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/mine/serviceTerm.png b/unpackage/dist/build/mp-weixin/static/icon/mine/serviceTerm.png new file mode 100644 index 0000000..acd0bfa Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/mine/serviceTerm.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/concept.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/concept.png new file mode 100644 index 0000000..692c06a Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/concept.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/concept_s.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/concept_s.png new file mode 100644 index 0000000..32c64ee Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/concept_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/gegu.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/gegu.png new file mode 100644 index 0000000..31cf4f3 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/gegu.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/gegu_s.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/gegu_s.png new file mode 100644 index 0000000..62bb467 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/gegu_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/home.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/home.png new file mode 100644 index 0000000..53a794c Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/home.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/home_s.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/home_s.png new file mode 100644 index 0000000..f400500 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/home_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/invest.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/invest.png new file mode 100644 index 0000000..3f26e9f Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/invest.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/invest_s.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/invest_s.png new file mode 100644 index 0000000..209f9fa Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/invest_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/mine.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/mine.png new file mode 100644 index 0000000..2853bfb Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/mine.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/mine_s.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/mine_s.png new file mode 100644 index 0000000..b3a6dc1 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/mine_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/zt.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/zt.png new file mode 100644 index 0000000..18cfd07 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/zt.png differ diff --git a/unpackage/dist/build/mp-weixin/static/icon/tabbar/zt_s.png b/unpackage/dist/build/mp-weixin/static/icon/tabbar/zt_s.png new file mode 100644 index 0000000..6eff515 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/icon/tabbar/zt_s.png differ diff --git a/unpackage/dist/build/mp-weixin/static/image/index/conceptTopBg.png b/unpackage/dist/build/mp-weixin/static/image/index/conceptTopBg.png new file mode 100644 index 0000000..334d037 Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/image/index/conceptTopBg.png differ diff --git a/unpackage/dist/build/mp-weixin/static/image/index/noData.png b/unpackage/dist/build/mp-weixin/static/image/index/noData.png new file mode 100644 index 0000000..69519ac Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/image/index/noData.png differ diff --git a/unpackage/dist/build/mp-weixin/static/image/login/logo.png b/unpackage/dist/build/mp-weixin/static/image/login/logo.png new file mode 100644 index 0000000..b43ff8f Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/image/login/logo.png differ diff --git a/unpackage/dist/build/mp-weixin/static/image/mine/service.png b/unpackage/dist/build/mp-weixin/static/image/mine/service.png new file mode 100644 index 0000000..b45492b Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/image/mine/service.png differ diff --git a/unpackage/dist/build/mp-weixin/static/image/mine/vipBg.png b/unpackage/dist/build/mp-weixin/static/image/mine/vipBg.png new file mode 100644 index 0000000..18113cd Binary files /dev/null and b/unpackage/dist/build/mp-weixin/static/image/mine/vipBg.png differ diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/canvas.js b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/canvas.js new file mode 100644 index 0000000..6fd8b17 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/canvas.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),t=require("./utils.js"),s={};class i{constructor(){this.__events={}}on(e,t){if(!e||!t)return;const s=this.__events[e]||[];s.push(t),this.__events[e]=s}emit(e,t){if(e.constructor===Object&&(e=(t=e)&&t.type),!e)return;const s=this.__events[e];s&&s.length&&s.forEach((e=>{e.call(this,t)}))}off(e,t){const s=this.__events,i=s[e];if(i&&i.length)if(t)for(let a=0,r=i.length;a{this.naturalWidth=this.width=e.width,this.naturalHeight=this.height=e.height,this.onload()},fail:()=>{this.onerror()}})}get src(){return this.currentSrc}}class r{constructor(e,t,s){this.tagName="canvas",this.com=t,this.canvasId=s,this.ctx=e}set width(e){this.com.offscreenWidth=e}set height(e){this.com.offscreenHeight=e}get width(){return this.com.offscreenWidth||0}get height(){return this.com.offscreenHeight||0}getContext(e){return this.ctx}getImageData(){return new Promise(((t,s)=>{this.com.$nextTick((()=>{e.index.canvasGetImageData({x:0,y:0,width:this.com.offscreenWidth,height:this.com.offscreenHeight,canvasId:this.canvasId,success:e=>{t(e)},fail:e=>{s(e)}},this.com)}))}))}}exports.Canvas=class{constructor(e,t,a,r={}){s[t.canvasId]={ctx:e},this.canvasId=t.canvasId,this.chart=null,this.isNew=a,this.tagName="canvas",this.canvasNode=r,this.com=t,a||this._initStyle(e),this._initEvent(),this._ee=new i}getContext(e){if("2d"===e)return this.ctx}setAttribute(e,t){"aria-label"===e&&(this.com.ariaLabel=t)}setChart(e){this.chart=e}createOffscreenCanvas(t){if(!this.children){this.com.isOffscreenCanvas=!0,this.com.offscreenWidth=t.width||300,this.com.offscreenHeight=t.height||300;const s=this.com,i=this.com.offscreenCanvasId,a=e.index.createCanvasContext(i,this.com);this._initStyle(a),this.children=new r(a,s,i)}return this.children}appendChild(e){console.log("child",e)}dispatchEvent(e,t){return"object"==typeof e?this._ee.emit(e.type,e):this._ee.emit(e,t),!0}attachEvent(){}detachEvent(){}addEventListener(e,t){this._ee.on(e,t)}removeEventListener(e,t){this._ee.off(e,t)}_initCanvas(e,t){}_initStyle(e,s){if(["fillStyle","strokeStyle","fontSize","globalAlpha","opacity","textAlign","textBaseline","shadow","lineWidth","lineCap","lineJoin","lineDash","miterLimit"].forEach((t=>{Object.defineProperty(e,t,{set:s=>{"opacity"!==t?("fillStyle"!==t&&"strokeStyle"!==t||"none"!==s&&null!==s)&&e["set"+t.charAt(0).toUpperCase()+t.slice(1)](s):e.setGlobalAlpha(s)}})})),this.isNew||s||(e.uniDrawImage=e.drawImage,e.drawImage=(...t)=>{t[0]=t[0].src,e.uniDrawImage(...t)}),e.createRadialGradient||(e.createRadialGradient=function(){return e.createCircularGradient(...[...arguments].slice(-3))}),e.strokeText||(e.strokeText=(...t)=>{e.fillText(...t)}),!e.measureText||"harmonyos"==t.getDeviceInfo().osName){e._measureText=e.measureText;const t=e=>{let t=0;for(let s=0;s0&&e.charCodeAt(s)<128?t++:t+=2;return t};e.measureText=(s,i)=>{var a;let r=(null==(a=null==e?void 0:e.state)?void 0:a.fontSize)||12;i&&(r=parseInt(i.match(/([\d\.]+)px/)[1])),r/=2;const n=r>=16?1.3:1;return{width:t(s)*r*n}}}}_initEvent(e){this.event={};[{wxName:"touchStart",ecName:"mousedown"},{wxName:"touchMove",ecName:"mousemove"},{wxName:"touchEnd",ecName:"mouseup"},{wxName:"touchEnd",ecName:"click"}].forEach((e=>{this.event[e.wxName]=t=>{const s=t.touches[0];this.chart.getZr().handler.dispatch(e.ecName,{zrX:"tap"===e.wxName?s.clientX:s.x,zrY:"tap"===e.wxName?s.clientY:s.y})}}))}set width(e){this.canvasNode.width=e}set height(e){this.canvasNode.height=e}get width(){return this.canvasNode.width||0}get height(){return this.canvasNode.height||0}get ctx(){return s[this.canvasId].ctx||null}set chart(e){s[this.canvasId].chart=e}get chart(){return s[this.canvasId].chart||null}},exports.dispatch=function(e,{x:t,y:s,wheelDelta:i}){this.dispatch(e,{zrX:t,zrY:s,zrDelta:i,preventDefault:()=>{},stopPropagation:()=>{}})},exports.setCanvasCreator=function(t,{canvas:s,node:i}){if(t&&!t.registerPreprocessor)return console.warn("echarts 版本不对或未传入echarts,vue3请使用esm格式");t.registerPreprocessor((e=>{e&&e.series&&(e.series.length>0?e.series.forEach((e=>{e.progressive=0})):"object"==typeof e.series&&(e.series.progressive=0))})),t.setPlatformAPI?t.setPlatformAPI({loadImage:s.setChart?function(e,t,s){let r=null;return i&&i.createImage?(r=i.createImage(),r.onload=t.bind(r),r.onerror=s.bind(r),r.src=e,r):(r=new a,r.onload=t.bind(r),r.onerror=s.bind(r),r.src=e,r)}:null,createCanvas(){const t="createOffscreenCanvas";return e.index.canIUse(t)&&e.index[t]?e.index[t]({type:"2d"}):s}}):t.setCanvasCreator&&t.setCanvasCreator((()=>s))}; diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.js b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.js new file mode 100644 index 0000000..844c743 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../../common/vendor.js"),e=require("./canvas.js"),s=require("./utils.js"),i={name:"lime-echart",props:{type:{type:String,default:"2d"},customStyle:String,isDisableScroll:Boolean,isClickable:{type:Boolean,default:!0},enableHover:Boolean,beforeDelay:{type:Number,default:30},landscape:Boolean},data:()=>({use2dCanvas:!0,ariaLabel:"图表",width:null,height:null,nodeWidth:null,nodeHeight:null,config:{},inited:!1,finished:!1,file:"",platform:"",isPC:!1,isDown:!1,isOffscreenCanvas:!1,offscreenWidth:0,offscreenHeight:0}),computed:{rootStyle(){if(this.landscape)return"transform: translate(-50%,-50%) rotate(90deg); top:50%; left:50%;"},canvasId(){return`lime-echart${this._&&this._.uid||this._uid}`},offscreenCanvasId(){return`${this.canvasId}_offscreen`},offscreenStyle(){return`width:${this.offscreenWidth}px;height: ${this.offscreenHeight}px; position: fixed; left: 99999px; background: red`},canvasStyle(){return this.rootStyle+(this.width&&this.height?"width:"+this.width+"px;height:"+this.height+"px":"")}},beforeUnmount(){this.clear(),this.dispose()},created(){const{platform:t}=s.getDeviceInfo();this.isPC=/windows/i.test(t),this.use2dCanvas="2d"===this.type&&s.canIUseCanvas2d()},mounted(){this.$nextTick((()=>{this.$emit("finished")}))},methods:{setChart(t){this.chart?"function"==typeof t&&this.chart&&t(this.chart):console.warn("组件还未初始化,请先使用 init")},setOption(){this.chart&&this.chart.setOption?this.chart.setOption(...arguments):console.warn("组件还未初始化,请先使用 init")},showLoading(){this.chart&&this.chart.showLoading(...arguments)},hideLoading(){this.chart&&this.chart.hideLoading()},clear(){this.chart&&!this.chart.isDisposed()&&this.chart.clear()},dispose(){this.chart&&!this.chart.isDisposed()&&this.chart.dispose()},resize(t){t&&t.width&&t.height?(this.height=t.height,this.width=t.width,this.chart&&this.chart.resize(t)):this.$nextTick((()=>{s.getRect(".lime-echart",this).then((t=>{if(t){let{width:e,height:s}=t;this.width=e=e||300,this.height=s=s||300,this.chart.resize({width:e,height:s})}}))}))},canvasToTempFilePath(e={}){const{use2dCanvas:s,canvasId:i}=this;return new Promise(((h,a)=>{const o=Object.assign({canvasId:i,success:h,fail:a},e);s&&(delete o.canvasId,o.canvas=this.canvasNode),t.index.canvasToTempFilePath(o,this)}))},async init(t,...i){if(i&&0==i.length&&!t)return void console.error("缺少参数:init(echarts, theme?:string, opts?: object, callback?: function)");let h,a=null,o={};i.forEach((t=>{"function"==typeof t&&(h=t),["string"].includes(typeof t)&&(a=t),"object"==typeof t&&(o=t)})),this.beforeDelay&&await s.sleep(this.beforeDelay);let c=await this.getContext();e.setCanvasCreator(t,c);try{return this.chart=t.init(c.canvas,a,Object.assign({},c,o||{})),null==h||h(this.chart),this.chart}catch(n){return console.error("【lime-echarts】:",n),null}},getContext(){return s.getRect(`#${this.canvasId}`,this,this.use2dCanvas).then((i=>{if(i){let h,a=s.devicePixelRatio,{width:o,height:c,node:n}=i;if(this.width=o=o||300,this.height=c=c||300,n){const t=n.getContext("2d");h=new e.Canvas(t,this,!0,n),this.canvasNode=n}else{a=this.isPC?s.devicePixelRatio:1,this.rect=i,this.nodeWidth=o*a,this.nodeHeight=c*a;const n=t.index.createCanvasContext(this.canvasId,this);h=new e.Canvas(n,this,!1)}return{canvas:h,width:o,height:c,devicePixelRatio:a,node:n}}return{}}))},getRelative(t,e){let{clientX:s,clientY:i}=t;return s&&i||!e||!e[0]||(s=e[0].clientX,i=e[0].clientY),{x:s-this.rect.left,y:i-this.rect.top,wheelDelta:t.wheelDelta||0}},getTouch(t,e){const{x:s}=e&&e[0]||{},i=s?e[0]:this.getRelative(t,e);return this.landscape&&([i.x,i.y]=[i.y,this.height-i.x]),i},touchStart(t){this.isDown=!0;const i=()=>{const i=s.convertTouchesToArray(t.touches);if(this.chart){const h=this.getTouch(t,i);this.startX=h.x,this.startY=h.y,this.startT=new Date;const a=this.chart.getZr().handler;e.dispatch.call(a,"mousedown",h),e.dispatch.call(a,"mousemove",h),a.processGesture(s.wrapTouch(t),"start"),clearTimeout(this.endTimer)}};this.isPC?s.getRect(`#${this.canvasId}`,{context:this}).then((t=>{this.rect=t,i()})):i()},touchMove(t){this.isPC&&this.enableHover&&!this.isDown&&(this.isDown=!0);const i=s.convertTouchesToArray(t.touches);if(this.chart&&this.isDown){const h=this.chart.getZr().handler;e.dispatch.call(h,"mousemove",this.getTouch(t,i)),h.processGesture(s.wrapTouch(t),"change")}},touchEnd(t){if(this.isDown=!1,this.chart){const i=s.convertTouchesToArray(t.changedTouches),{x:h}=i&&i[0]||{},a=(h?i[0]:this.getRelative(t,i))||{};this.landscape&&([a.x,a.y]=[a.y,this.height-a.x]);const o=this.chart.getZr().handler,c=Math.abs(a.x-this.startX)<10&&new Date-this.startT<200;e.dispatch.call(o,"mouseup",a),o.processGesture(s.wrapTouch(t),"end"),c?e.dispatch.call(o,"click",a):this.endTimer=setTimeout((()=>{e.dispatch.call(o,"mousemove",{x:999999999,y:999999999}),e.dispatch.call(o,"mouseup",{x:999999999,y:999999999})}),50)}}}};const h=t._export_sfc(i,[["render",function(e,s,i,h,a,o){return t.e({a:o.canvasId},o.canvasId?t.e({b:a.use2dCanvas},a.use2dCanvas?{c:o.canvasId,d:t.s(o.canvasStyle),e:i.isDisableScroll,f:t.o(((...t)=>o.touchStart&&o.touchStart(...t))),g:t.o(((...t)=>o.touchMove&&o.touchMove(...t))),h:t.o(((...t)=>o.touchEnd&&o.touchEnd(...t)))}:{i:a.nodeWidth,j:a.nodeHeight,k:t.s(o.canvasStyle),l:o.canvasId,m:o.canvasId,n:i.isDisableScroll,o:t.o(((...t)=>o.touchStart&&o.touchStart(...t))),p:t.o(((...t)=>o.touchMove&&o.touchMove(...t))),q:t.o(((...t)=>o.touchEnd&&o.touchEnd(...t)))},{r:a.isPC},a.isPC?{s:t.o(((...t)=>o.touchStart&&o.touchStart(...t))),t:t.o(((...t)=>o.touchMove&&o.touchMove(...t))),v:t.o(((...t)=>o.touchEnd&&o.touchEnd(...t))),w:t.o(((...t)=>o.touchStart&&o.touchStart(...t))),x:t.o(((...t)=>o.touchMove&&o.touchMove(...t))),y:t.o(((...t)=>o.touchEnd&&o.touchEnd(...t)))}:{},{z:a.isOffscreenCanvas},a.isOffscreenCanvas?{A:t.s(o.offscreenStyle),B:o.offscreenCanvasId}:{},{C:t.s(i.customStyle),D:a.ariaLabel}):{})}]]);wx.createComponent(h); diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.json b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.wxml b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.wxml new file mode 100644 index 0000000..0573580 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.wxss b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.wxss new file mode 100644 index 0000000..50cd9b1 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/l-echart.wxss @@ -0,0 +1 @@ +.lime-echart{position:relative;width:100%;height:100%}.lime-echart__canvas{width:100%;height:100%}.lime-echart__mask{position:absolute;width:100%;height:100%;left:0;top:0;z-index:1} diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/utils.js b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/utils.js new file mode 100644 index 0000000..5095367 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/components/l-echart/utils.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js");function n(){return e.index.getDeviceInfo||e.index.canIUse("getDeviceInfo")?e.index.getDeviceInfo():e.index.getSystemInfoSync()}function t(t){const{platform:o}=n();let{SDKVersion:r}=e.index.getAppBaseInfo||e.index.canIUse("getAppBaseInfo")?e.index.getAppBaseInfo():e.index.getSystemInfoSync();return"mac"!==o&&function(e,n){e=e.split("."),n=n.split(".");const t=Math.max(e.length,n.length);for(;e.lengthr)return 1;if(t=0}function o(e){return Array.isArray(e)?e:"object"==typeof e&&null!==e?Object.values(e):e}const r=(e.index.getWindowInfo||e.index.canIUse("getWindowInfo")?e.index.getWindowInfo():e.index.getSystemInfoSync()).pixelRatio;exports.canIUseCanvas2d=function(){return t("2.9.0")},exports.convertTouchesToArray=o,exports.devicePixelRatio=r,exports.getDeviceInfo=n,exports.getRect=function(n,t,o){return new Promise(((r,s)=>{const i=e.index.createSelectorQuery().in(t).select(n),c=e=>{e?r(e):s()};o?i.fields({node:!0,size:!0,rect:!0},c).exec():i.boundingClientRect(c).exec()}))},exports.sleep=function(e){return new Promise((n=>{setTimeout((()=>{n(!0)}),e)}))},exports.wrapTouch=function(e){e.touches=o(e.touches);for(let n=0;n=10&&r++,r}return{isNumber:r,isInteger:t,quantityExponent:e}}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))},function(n,r,t){var e;e=function(n){function r(n){for(var r=[];t(n);)r.push(n.length),n=n[0];return r}function t(n){return"[object Array]"===l.call(n)}function e(n,r){for(var t=[],e=0;er?1:n0)e=o;else{if(!(i<0))return o+1;t=o+1}}return t}function s(n,r,t){if(n&&r){if(n.map&&n.map===c)return n.map(r,t);for(var e=[],o=0,i=n.length;o=1)return n[t-1];var e=(t-1)*r,o=Math.floor(e),i=n[o],a=n[o+1];return i+(a-i)*(e-o)}}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))},function(n,r,t){var e;e=function(n){function r(n,r){function t(n,r){if(!n)throw new Error("Can not find dimension by "+r)}if(null!=r){var e=n.upstream;if(o.isArray(r)){for(var i=[],a=0;as&&(u.min=s),u.max0?w[E-1]:w[E]-c===M?c:w[E]-M,D[E].x1=E50?50:r},scott:function(n,r,t){return Math.ceil((t-r)/(3.5*a(n)*Math.pow(n.length,-1/3)))},freedmanDiaconis:function(n,r,t){return n.sort(c),Math.ceil((t-r)/(2*(i(n,.75)-i(n,.25))*Math.pow(n.length,-1/3)))},sturges:function(n){return Math.ceil(Math.log(n.length)/Math.LN2)+1}};return r}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))},function(n,r,t){var e;e=function(n){function r(n,r){for(var t=0;tMath.abs(n[t][e])&&(e=o);for(var i=t;i=t;s--)n[s][u]-=n[s][t]/n[t][t]*n[t][u]}for(var l=new Array(r),f=n.length-1,o=n.length-2;o>=0;o--){for(var a=0,t=o+1;t=0;l--)w+=l>1?Math.round(g[l]*Math.pow(10,l+1))/Math.pow(10,l+1)+"x^"+l+" + ":1===l?Math.round(100*g[l])/100+"x + ":Math.round(100*g[l])/100;return{points:x,parameter:g,expression:w}}},u=function(n,r,t){var e="number"==typeof t?{order:t}:t||{},u=i(e.dimensions,[0,1]),s=o(r,{dimensions:u}),l=a[n](s,{order:e.order,dimensions:u}),f=u[0];return l.points.sort(function(n,r){return n[f]-r[f]}),l};return u}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))},function(n,r,t){var e;e=function(n){var r=t(13);return function(n){var t=r(n);return t?Math.sqrt(t):t}}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))},function(n,r,t){var e;e=function(n){function r(n){for(var r=-(1/0),t=0;tr&&(r=n[t]);return r}var e=t(1),o=e.isNumber;return r}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))},function(n,r,t){var e;e=function(n){function r(n){var r=n.length;return r?e(n)/n.length:0}var e=t(14);return r}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))},function(n,r,t){var e;e=function(n){function r(n){for(var r=1/0,t=0;t=2){for(var t,e=i(n),a=0,u=0;u=Math.sqrt(50)?a*=10:u>=Math.sqrt(10)?a*=5:u>=Math.sqrt(2)&&(a*=2);var s=i<0?-i:0,l=+(t>=n?a:-a).toFixed(s);return{step:l,toFixedPrecision:s}}}.call(r,t,r,n),!(void 0!==e&&(n.exports=e))}])}); \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/echarts.min.js b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/echarts.min.js new file mode 100644 index 0000000..bcb954f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/echarts.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,function(t){"use strict";var d=function(t,e){return(d=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}d(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var y=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},w=new function(){this.browser=new y,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?(w.wxa=!0,w.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?w.worker=!0:!w.hasGlobalWindow||"Deno"in window||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&-1>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",o[u]+":0",i[1-l]+":auto",o[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}e.clearMarkers=function(){nt(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})}}return n}(e,r),r,o);if(e)return e(t,n,i),!0}return!1}function xe(t){return"CANVAS"===t.nodeName.toUpperCase()}var be=/([&<>"'])/g,we={"&":"&","<":"<",">":">",'"':""","'":"'"};function Se(t){return null==t?"":(t+"").replace(be,function(t,e){return we[e]})}var Me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=[],Ie=w.browser.firefox&&+w.browser.version.split(".")[0]<39;function Ce(t,e,n,i){return n=n||{},i?De(t,e,n):Ie&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):De(t,e,n),n}function De(t,e,n){if(w.domSupported&&t.getBoundingClientRect){var i,o=e.clientX,e=e.clientY;if(xe(t))return i=t.getBoundingClientRect(),n.zrX=o-i.left,void(n.zrY=e-i.top);if(_e(Te,t,o,e))return n.zrX=Te[0],void(n.zrY=Te[1])}n.zrX=n.zrY=0}function ke(t){return t||window.event}function Ae(t,e,n){var i;return null==(e=ke(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&Ce(t,i,e,n):(Ce(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},sn.prototype.contain=function(t,e){return sn.contain(this,t,e)},sn.prototype.clone=function(){return new sn(this.x,this.y,this.width,this.height)},sn.prototype.copy=function(t){sn.copy(this,t)},sn.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},sn.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},sn.prototype.isZero=function(){return 0===this.width||0===this.height},sn.create=function(t){return new sn(t.x,t.y,t.width,t.height)},sn.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},sn.applyTransform=function(t,e,n){var i,o,r,a;n?n[1]<1e-5&&-1e-5t.getWidth()||n<0||n>t.getHeight()}nt(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){bn.prototype[a]=function(t){var e,n,i=t.zrX,o=t.zrY,r=Mn(this,i,o);if("mouseup"===a&&r||(n=(e=this.findHover(i,o)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4>>1])<0?l=r:s=1+r;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);r(t,e[n+h])<0?l=h:a=h+1}return l}function Ln(A,L){var P,O,R=In,N=0,E=[];function e(t){var e=P[t],n=O[t],i=P[t+1],o=O[t+1],t=(O[t]=n+o,t===N-3&&(P[t+1]=P[t+2],O[t+1]=O[t+2]),N--,An(A[i],A,e,n,0,L));if(e+=t,0!=(n-=t)&&0!==(o=kn(A[e+n-1],A,i,o,o-1,L)))if(n<=o){var r=e,a=n,t=i,s=o,l=0;for(l=0;lO[t+1])break;e(t)}},forceMergeRuns:function(){for(;1>=1;return t+e}(o);do{}while((r=Cn(t,n,i,e))=this._maxSize&&0>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===i?parseInt(n.slice(4),16)/15:1),ki(t,e),e):void Ti(e,0,0,0,1):7===i||9===i?0<=(o=parseInt(n.slice(1,7),16))&&o<=16777215?(Ti(e,(16711680&o)>>16,(65280&o)>>8,255&o,9===i?parseInt(n.slice(7),16)/255:1),ki(t,e),e):void Ti(e,0,0,0,1):void 0;var o=n.indexOf("("),r=n.indexOf(")");if(-1!==o&&r+1===i){var i=n.substr(0,o),a=n.substr(o+1,r-(o+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?Ti(e,+a[0],+a[1],+a[2],1):Ti(e,0,0,0,1);s=wi(a.pop());case"rgb":return 3<=a.length?(Ti(e,bi(a[0]),bi(a[1]),bi(a[2]),3===a.length?s:wi(a[3])),ki(t,e),e):void Ti(e,0,0,0,1);case"hsla":return 4!==a.length?void Ti(e,0,0,0,1):(a[3]=wi(a[3]),Li(a,e),ki(t,e),e);case"hsl":return 3!==a.length?void Ti(e,0,0,0,1):(Li(a,e),ki(t,e),e);default:return}}Ti(e,0,0,0,1)}}function Li(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=wi(t[1]),o=wi(t[2]),i=o<=.5?o*(i+1):o+i-o*i,o=2*o-i;return Ti(e=e||[],_i(255*Si(o,i,n+1/3)),_i(255*Si(o,i,n)),_i(255*Si(o,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Pi(t,e){var n=Ai(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255e);g++);g=f(g-1,h-2)}i=u[g+1],n=u[g]}n&&i&&(this._lastFr=g,this._lastFrP=e,p=i.percent-n.percent,o=0==p?1:f((e-n.percent)/p,1),i.easingFunc&&(o=i.easingFunc(o)),f=a?this._additiveValue:d?$i:t[c],(Ki(l)||d)&&(f=f||(this._additiveValue=[])),this.discrete?t[c]=(o<1?n:i).rawValue:Ki(l)?(1===l?Yi:function(t,e,n,i){for(var o=e.length,r=o&&e[0].length,a=0;athis._sleepAfterStill)&&this.animation.stop()},mr.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},mr.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},mr.prototype.refreshHover=function(){this._needsRefreshHover=!0},mr.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},mr.prototype.resize=function(t){this._disposed||(this.painter.resize((t=t||{}).width,t.height),this.handler.resize())},mr.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},mr.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},mr.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},mr.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},mr.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},mr.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},mr.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},mr.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},mr.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;el&&(l=s[h],u=h);++r[u],s[u]=0,++a}return B(r,function(t){return t/i})}function Rr(t){var e=2*Math.PI;return(t%e+e)%e}function Nr(t){return-1e-4=n.maxIterations){e+=n.ellipsis;break}var s=0===a?function(t,e,n){for(var i=0,o=0,r=t.length;oh){C=r.lines.length;0i.width&&(r=e.split("\n"),c=!0),i.accumWidth=s):(s=Ga(e,t,i.width,i.breakAll,i.accumWidth),i.accumWidth=s.accumWidth+n,a=s.linesWidths,r=s.lines)),r=r||e.split("\n"),Go(t)),p=0;pthis._ux||i>this._uy;return this.addData(fs.L,t,e),this._ctx&&o&&this._ctx.lineTo(t,e),o?(this._xi=t,this._yi=e,this._pendingPtDist=0):(o=n*n+i*i)>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o),this},o.prototype.bezierCurveTo=function(t,e,n,i,o,r){return this._drawPendingPt(),this.addData(fs.C,t,e,n,i,o,r),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,o,r),this._xi=o,this._yi=r,this},o.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(fs.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},o.prototype.arc=function(t,e,n,i,o,r){return this._drawPendingPt(),ks[0]=i,ks[1]=o,Ls(ks,r),this.addData(fs.A,t,e,n,n,i=ks[0],(o=ks[1])-i,0,r?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,r),this._xi=Ss(o)*n+t,this._yi=Ms(o)*n+e,this},o.prototype.arcTo=function(t,e,n,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},o.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(fs.R,t,e,n,i),this},o.prototype.closePath=function(){this._drawPendingPt(),this.addData(fs.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},o.prototype.fill=function(t){t&&t.fill(),this.toStatic()},o.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},o.prototype.len=function(){return this._len},o.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!Ds||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;hn||Ts(y)>i||c===e-1)&&(f=Math.sqrt(C*C+y*y),o=g,r=_);break;case fs.C:var m=t[c++],v=t[c++],g=t[c++],_=t[c++],x=t[c++],b=t[c++],f=function(t,e,n,i,o,r,a,s,l){for(var u=t,h=e,c=0,d=1/l,p=1;p<=l;p++){var f=p*d,g=Qn(t,n,o,a,f),f=Qn(e,i,r,s,f),y=g-u,m=f-h;c+=Math.sqrt(y*y+m*m),u=g,h=f}return c}(o,r,m,v,g,_,x,b,10),o=x,r=b;break;case fs.Q:f=function(t,e,n,i,o,r,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var d=c*h,p=oi(t,n,o,d),d=oi(e,i,r,d),f=p-s,g=d-l;u+=Math.sqrt(f*f+g*g),s=p,l=d}return u}(o,r,m=t[c++],v=t[c++],g=t[c++],_=t[c++],10),o=g,r=_;break;case fs.A:var x=t[c++],b=t[c++],w=t[c++],S=t[c++],M=t[c++],T=t[c++],I=T+M;c+=1,p&&(a=Ss(M)*w+x,s=Ms(M)*S+b),f=ws(w,S)*bs(Cs,Math.abs(T)),o=Ss(I)*w+x,r=Ms(I)*S+b;break;case fs.R:a=o=t[c++],s=r=t[c++];f=2*t[c++]+2*t[c++];break;case fs.Z:var C=a-o,y=s-r;f=Math.sqrt(C*C+y*y),o=a,r=s}0<=f&&(u+=l[h++]=f)}return this._pathLen=u},o.prototype.rebuildPath=function(t,e){var n,i,o,r,a,s,l,u,h=this.data,E=this._ux,z=this._uy,B=this._len,c=e<1,d=0,p=0,f=0;if(!c||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=e*this._pathLen))t:for(var g=0;g=Gs[i=0]+t&&a<=Gs[1]+t?h:0;oMath.PI/2&&c<1.5*Math.PI?-h:h)}return l}(y,m,_,x,x+b,w,T,o);u=Math.cos(x+b)*v+y,h=Math.sin(x+b)*_+m;break;case Bs.R:c=u=a[p++],d=h=a[p++];if(S=c+a[p++],M=d+a[p++],n){if(Os(c,d,S,d,e,i,o)||Os(S,d,S,M,e,i,o)||Os(S,M,c,M,e,i,o)||Os(c,M,c,d,e,i,o))return!0}else l=(l+=zs(S,d,S,M,i,o))+zs(c,M,c,d,i,o);break;case Bs.Z:if(n){if(Os(u,h,c,d,e,i,o))return!0}else l+=zs(u,h,c,d,i,o);u=c,h=d}}return n||(t=h,r=d,Math.abs(t-r)n,i=(o=o.slice(0,n)).length*c),t&&u&&null!=f)for(var y=Oa(f,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;vhc.len()&&(sTr(i[1])?0':'':{renderMode:o,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function Lp(t,e){return e=e||"transparent",F(t)?t:E(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Pp(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location.href=t):window.open(t,e)}var Op={},Rp={},Np=(Ep.prototype.create=function(i,o){function t(t){var n=[];return nt(t,function(t,e){t=t.create(i,o);n=n.concat(t||[])}),n}this._nonSeriesBoxMasterList=t(Op),this._normalMasterList=t(Rp)},Ep.prototype.update=function(e,n){nt(this._normalMasterList,function(t){t.update&&t.update(e,n)})},Ep.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},Ep.register=function(t,e){"matrix"===t||"calendar"===t?Op[t]=e:Rp[t]=e},Ep.get=function(t){return Rp[t]||Op[t]},Ep);function Ep(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}var zp={coord:1,coord2:2};var Bp=it();var Vp={none:0,dataCoordSys:1,boxCoordSys:2};function Fp(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=Vp.none;return e&&(t="series"===t.mainType,"data"===(n=null==n?t?"data":"box":n)?(i=Vp.dataCoordSys,t||(i=Vp.none)):"box"===n&&(i=Vp.boxCoordSys,t||Op[e]||(i=Vp.none))),{coordSysType:e,kind:i}}function Gp(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,o=t.isDefaultDataCoordSys,t=(t.allowNotFound,Fp(e)),r=t.kind,t=t.coordSysType;o&&r!==Vp.dataCoordSys&&(r=Vp.dataCoordSys,t=n),r!==Vp.none&&t===n&&(o=i(n,e))&&(r===Vp.dataCoordSys?e.coordinateSystem=o:e.boxCoordinateSystem=o)}var Wp=nt,Hp=["left","right","top","bottom","width","height"],Yp=[["width","left","right"],["height","top","bottom"]];function Xp(a,s,l,u,h){var c=0,d=0,p=(null==u&&(u=1/0),null==h&&(h=1/0),0);s.eachChild(function(t,e){var n,i,o,r=t.getBoundingRect(),e=s.childAt(e+1),e=e&&e.getBoundingRect();p="horizontal"===a?(i=r.width+(e?-e.x+r.x:0),u<(n=c+i)||t.newline?(c=0,n=i,d+=p+l,r.height):Math.max(p,r.height)):(i=r.height+(e?-e.y+r.y:0),h<(o=d+i)||t.newline?(c+=p+l,d=0,o=i,r.width):Math.max(p,r.width)),t.newline||(t.x=c,t.y=d,t.markRedraw(),"horizontal"===a?c=n+l:d=o+l)})}var Up=Xp;function Zp(t,e){o=Kp(r=t,n=e,{enableLayoutOnlyByCenter:!0}),i=r.getBoxLayoutParams(),o.type===qp.point?(s=o.refPoint,a=jp(i,{width:n.getWidth(),height:n.getHeight()})):(r=V(n=r.get("center"))?n:[n,n],a=jp(i,o.refContainer),s=o.boxCoordFrom===zp.coord2?o.refPoint:[Y(r[0],a.width)+a.x,Y(r[1],a.height)+a.y]);var n={viewRect:a,center:s},i=n.viewRect,o=n.center,r=t.get("radius"),a=(V(r)||(r=[0,r]),Y(i.width,e.getWidth())),s=Y(i.height,e.getHeight()),n=Math.min(a,s),t=Y(r[0],n/2),e=Y(r[1],n/2);return{cx:o[0],cy:o[1],r0:t,r:e,viewRect:i}}function jp(t,e,n){n=Tp(n||0);var i=e.width,o=e.height,r=Y(t.left,i),a=Y(t.top,o),s=Y(t.right,i),l=Y(t.bottom,o),u=Y(t.width,i),h=Y(t.height,o),c=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-r),isNaN(h)&&(h=o-l-c-a),null!=p&&(isNaN(u)&&isNaN(h)&&(i/oe)return t[i];return t[n-1]}var Ef,zf="\0_ec_inner",Bf=(u(Vf,Ef=Nd),Vf.prototype.init=function(t,e,n,i,o,r){i=i||{},this.option=null,this._theme=new Nd(i),this._locale=new Nd(o),this._optionManager=r},Vf.prototype.setOption=function(t,e,n){e=Wf(e);this._optionManager.setOption(t,n,e),this._resetOption(null,e)},Vf.prototype.resetOption=function(t,e){return this._resetOption(t,Wf(e))},Vf.prototype._resetOption=function(t,e){var n,i=!1,o=this._optionManager;return t&&"recreate"!==t||(n=o.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(n,e)):Lf(this,n),i=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(n=o.getTimelineOption(this))&&(i=!0,this._mergeOption(n,e)),t&&"recreate"!==t&&"media"!==t||(n=o.getMediaOption(this)).length&&nt(n,function(t){i=!0,this._mergeOption(t,e)},this),i},Vf.prototype.mergeOption=function(t){this._mergeOption(t,null)},Vf.prototype._mergeOption=function(i,t){var o=this.option,h=this._componentsMap,c=this._componentsCount,n=[],r=it(),d=t&&t.replaceMergeMainTypeMap;wf(this).datasetMap=it(),nt(i,function(t,e){null!=t&&(g.hasClass(e)?e&&(n.push(e),r.set(e,!0)):o[e]=null==o[e]?v(t):p(o[e],t,!0))}),d&&d.each(function(t,e){g.hasClass(e)&&!r.get(e)&&(n.push(e),r.set(e,!0))}),g.topologicalTravel(n,g.getAllClassMainTypes(),function(r){var a,t=function(t,e,n){return(e=(e=Df.get(e))&&e(t))?n.concat(e):n}(this,r,Zr(i[r])),e=h.get(r),n=e?d&&d.get(r)?"replaceMerge":"normalMerge":"replaceAll",e=$r(e,t,n),s=(ia(e,r,g),o[r]=null,h.set(r,null),c.set(r,0),[]),l=[],u=0;nt(e,function(t,e){var n=t.existing,i=t.newOption;if(i){var o=g.getClass(r,t.keyInfo.subType,!("series"===r));if(!o)return;if("tooltip"===r){if(a)return;a=!0}n&&n.constructor===o?(n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1)):(e=P({componentIndex:e},t.keyInfo),P(n=new o(i,this,this,e),e),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0))}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(s.push(n.option),l.push(n),u++):(s.push(void 0),l.push(void 0))},this),o[r]=s,h.set(r,l),c.set(r,u),"series"===r&&kf(this)},this),this._seriesIndices||kf(this)},Vf.prototype.getOption=function(){var a=v(this.option);return nt(a,function(t,e){if(g.hasClass(e)){for(var n=Zr(t),i=n.length,o=!1,r=i-1;0<=r;r--)n[r]&&!na(n[r])?o=!0:(n[r]=null,o||i--);n.length=i,a[e]=n}}),delete a[zf],a},Vf.prototype.setTheme=function(t){this._theme=new Nd(t),this._resetOption("recreate",null)},Vf.prototype.getTheme=function(){return this._theme},Vf.prototype.getLocaleModel=function(){return this._locale},Vf.prototype.setUpdatePayload=function(t){this._payload=t},Vf.prototype.getUpdatePayload=function(){return this._payload},Vf.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){t=n[e||0];if(t)return t;if(null==e)for(var i=0;ig[1]&&(g[1]=f)}return{start:a,end:this._rawCount=this._count=s}},l.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,r=this._dimensions,a=r.length,s=this._rawExtent,l=B(r,function(t){return t.property}),u=0;uf[1]&&(f[1]=g)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},l.prototype.count=function(){return this._count},l.prototype.get=function(t,e){return 0<=e&&e=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return r;o=r-1}}}return-1},l.prototype.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array)for(var i=new e(n),o=0;ot[S][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(f))}return sy[1]&&(y[1]=g)}}}},l.prototype.lttbDownSample=function(t,e){var n,i=this.clone([t],!0),o=i._chunks[t],r=this.count(),a=0,s=Math.floor(1/e),l=this.getRawIndex(0),u=new(Iy(this._rawCount))(Math.min(2*(Math.ceil(r/s)+2),r));u[a++]=l;for(var h=1;hh[1]&&(h[1]=y),c[d++]=m}return o._count=d,o._indices=c,o._updateGetRawIdx(),o},l.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,o=0,r=this.count();o'+Se(u)+""+h,t))}function Xy(t,e,n,i){var o,r,a,s,l,u=t.renderMode,h=e.noName,c=e.noValue,d=!e.markerType,p=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return B(t=V(t)?t:[t],function(t,e){return Ip(t,V(r)?r[e]:r,f)})};if(!h||!c)return o=d?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||_.color.secondary,u),p=h?"":Ip(p,"ordinal",f),r=e.valueType,g=c?[]:g(e.value,e.dataIndex),e=!d||!h,a=!d&&h,l=By(i,u),s=l.nameStyle,l=l.valueStyle,"richText"===u?(d?"":o)+(h?"":jy(t,p,s))+(c?"":function(t,e,n,i,o){o=[o],i=i?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(V(e)?e.join(" "):e,o)}(t,g,e,a,l)):Zy(i,(d?"":o)+(h?"":''+Se(p)+"")+(c?"":function(t,e,n,i){n=n?"10px":"20px",e=e?"float:right;margin-left:"+n:"";return t=V(t)?t:[t],''+B(t,Se).join("  ")+""}(g,e,a,l)),n)}function Uy(t,e,n,i,o,r){if(t)return Hy(t)({useUTC:o,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,r)}function Zy(t,e,n){return'
    '+e+'
    '}function jy(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function qy(t,e){return Lp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Ky(t,e){t=t.get("padding");return null!=t?t:"richText"===e?[8,10]:10}Qy.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},Qy.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,e=Ap({color:e,type:t,renderMode:n,markerId:i});return F(e)?e:(this.richTextStyles[i]=e.style,e.content)},Qy.prototype.wrapRichTextStyle=function(t,e){var n={},e=(V(e)?nt(e,function(t){return P(n,t)}):P(n,e),this._generateStyleName());return this.richTextStyles[e]=n,"{"+e+"|"+t+"}"};var $y=Qy;function Qy(){this.richTextStyles={},this._nextStyleNameId=Hr()}function Jy(t){var e,n,i,o,r,a,s,l,u,h,c,d=t.series,p=t.dataIndex,t=t.multipleSeries,f=d.getData(),g=f.mapDimensionsAll("defaultedTooltip"),y=g.length,m=d.getRawValue(p),v=V(m),_=qy(d,p);function x(t,e){e=s.getDimensionInfo(e);e&&!1!==e.otherDims.tooltip&&(l?c.push(Gy("nameValue",{markerType:"subItem",markerColor:a,name:e.displayName,value:t,valueType:e.type})):(u.push(t),h.push(e.type)))}1this.getShallow("animationThreshold")?!1:t)},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel;return Of.prototype.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},r.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},r.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,o=this.getData(e);if("series"===i||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var r=0;re.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function lm(e,n){nt(Nt(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(t){e.wrapMethod(t,M(um,n))})}function um(t,e){t=hm(t);return t&&t.setOutputEnd((e||this).count()),e}function hm(t){var e,n=(t.ecModel||{}).scheduler,n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}st(im,Gg),st(im,Of),va(im,g);dm.prototype.init=function(t,e){},dm.prototype.render=function(t,e,n,i){},dm.prototype.dispose=function(t,e){},dm.prototype.updateView=function(t,e,n,i){},dm.prototype.updateLayout=function(t,e,n,i){},dm.prototype.updateVisual=function(t,e,n,i){},dm.prototype.toggleBlurSeries=function(t,e,n){},dm.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)};var cm=dm;function dm(){this.group=new cr,this.uid=Bd("viewComponent")}function pm(){var r=i();return function(t){var e=r(t),t=t.pipelineContext,n=!!e.large,i=!!e.progressiveRender,o=e.large=!(!t||!t.large),e=e.progressiveRender=!(!t||!t.progressiveRender);return!(n==o&&i==e)&&"reset"}}ma(cm),wa(cm);var fm=i(),gm=pm(),ym=(mm.prototype.init=function(t,e){},mm.prototype.render=function(t,e,n,i){},mm.prototype.highlight=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"emphasis")},mm.prototype.downplay=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"normal")},mm.prototype.remove=function(t,e){this.group.removeAll()},mm.prototype.dispose=function(t,e){},mm.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.eachRendered=function(t){td(this.group,t)},mm.markUpdateMethod=function(t,e){fm(t).updateMethod=e},mm.protoInitialize=void(mm.prototype.type="chart"),mm);function mm(){this.group=new cr,this.uid=Bd("viewChart"),this.renderTask=Yg({plan:xm,reset:bm}),this.renderTask.context={view:this}}function vm(t,e,n){t&&Iu(t)&&("emphasis"===e?lu:uu)(t,n)}function _m(e,t,n){var i,o=oa(e,t),r=t&&null!=t.highlightKey?(t=t.highlightKey,i=null==(i=Pl[t])&&Ll<=32?Pl[t]=Ll++:i):null;null!=o?nt(Zr(o),function(t){vm(e.getItemGraphicEl(t),n,r)}):e.eachItemGraphicEl(function(t){vm(t,n,r)})}function xm(t){return gm(t.model)}function bm(t){var e=t.model,n=t.ecModel,i=t.api,o=t.payload,r=e.pipelineContext.progressiveRender,t=t.view,a=o&&fm(o).updateMethod,r=r?"incrementalPrepareRender":a&&t[a]?a:"render";return"render"!==r&&t[r](e,n,i,o),wm[r]}ma(ym),wa(ym);var wm={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Sm="\0__throttleOriginMethod",Mm="\0__throttleRate",Tm="\0__throttleType";function Im(t,o,r){var a,s,l,u,h,c=0,d=0,p=null;function f(){d=(new Date).getTime(),p=null,t.apply(l,u||[])}o=o||0;function e(){for(var t=[],e=0;en.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},zm.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},zm.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:o}},zm.prototype.restorePipelines=function(t){var i=this,o=i._pipelineMap=it();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;o.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),i._pipe(t,t.dataTask)})},zm.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.api.getModel(),o=this.api;nt(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,{});Tt(!(t.reset&&t.overallReset),""),t.reset&&this._createSeriesStageTask(t,e,i,o),t.overallReset&&this._createOverallStageTask(t,e,i,o)},this)},zm.prototype.prepareView=function(t,e,n,i){var o=t.renderTask,r=o.context;r.model=e,r.ecModel=n,r.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(e,o)},zm.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},zm.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},zm.prototype._performStageTasks=function(t,s,l,u){u=u||{};var h=!1,c=this;function d(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}nt(t,function(i,t){var e,n,o,r,a;u.visualType&&u.visualType!==i.visualType||(e=(n=c._stageTaskMap.get(i.uid)).seriesTaskMap,(n=n.overallTask)?((r=n.agentStubMap).each(function(t){d(u,t)&&(t.dirty(),o=!0)}),o&&n.dirty(),c.updatePayload(n,l),a=c.getPerformArgs(n,u.block),r.each(function(t){t.perform(a)}),n.perform(a)&&(h=!0)):e&&e.each(function(t,e){d(u,t)&&t.dirty();var n=c.getPerformArgs(t,u.block);n.skip=!i.performRawSeries&&s.isSeriesFiltered(t.context.model),c.updatePayload(t,l),t.perform(n)&&(h=!0)}))}),this.unfinished=h||this.unfinished},zm.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},zm.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})},zm.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},zm.prototype._createSeriesStageTask=function(n,t,i,o){var r=this,a=t.seriesTaskMap,s=t.seriesTaskMap=it(),t=n.seriesType,e=n.getTargetSeries;function l(t){var e=t.uid,e=s.set(e,a&&a.get(e)||Yg({plan:Wm,reset:Hm,count:Um}));e.context={model:t,ecModel:i,api:o,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:r},r._pipe(t,e)}n.createOnAllSeries?i.eachRawSeries(l):t?i.eachRawSeriesByType(t,l):e&&e(i,o).each(l)},zm.prototype._createOverallStageTask=function(t,e,n,i){var o=this,r=e.overallTask=e.overallTask||Yg({reset:Bm}),a=(r.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:o},r.agentStubMap),s=r.agentStubMap=it(),e=t.seriesType,l=t.getTargetSeries,u=!0,h=!1;function c(t){var e=t.uid,e=s.set(e,a&&a.get(e)||(h=!0,Yg({reset:Vm,onDirty:Gm})));e.context={model:t,overallProgress:u},e.agent=r,e.__block=u,o._pipe(t,e)}Tt(!t.createOnAllSeries,""),e?n.eachRawSeriesByType(e,c):l?l(n,i).each(c):(u=!1,nt(n.getSeries(),c)),h&&r.dirty()},zm.prototype._pipe=function(t,e){t=t.uid,t=this._pipelineMap.get(t);t.head||(t.head=e),t.tail&&t.tail.pipe(e),(t.tail=e).__idxInPipeline=t.count++,e.__pipeline=t},zm.wrapStageHandler=function(t,e){return(t=N(t)?{overallReset:t,seriesType:function(t){Zm=null;try{t(jm,qm)}catch(t){}return Zm}(t)}:t).uid=Bd("stageHandler"),e&&(t.visualType=e),t};var Em=zm;function zm(t,e,n,i){this._stageTaskMap=it(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}function Bm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Vm(t){return t.overallProgress&&Fm}function Fm(){this.agent.dirty(),this.getDownstream().dirty()}function Gm(){this.agent&&this.agent.dirty()}function Wm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Hm(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=Zr(t.reset(t.model,t.ecModel,t.api,t.payload));return 1'+t.dom+""}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()):(i.connectedBackgroundColor&&f.add(new pl({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),nt(d,function(t){t=new ol({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(i&&i.type||"png")))):this.getDataURL(i);this.id},h.prototype.convertToPixel=function(t,e,n){return fv(this,"convertToPixel",t,e,n)},h.prototype.convertToLayout=function(t,e,n){return fv(this,"convertToLayout",t,e,n)},h.prototype.convertFromPixel=function(t,e,n){return fv(this,"convertFromPixel",t,e,n)},h.prototype.containPixel=function(t,i){var o;if(!this._disposed)return nt(aa(this._model,t),function(t,n){0<=n.indexOf("Models")&&nt(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?o=o||!!e.containPoint(i):"seriesModels"===n&&(e=this._chartsMap[t.__viewId])&&e.containPoint&&(o=o||e.containPoint(i,t))},this)},this),!!o;this.id},h.prototype.getVisual=function(t,e){var t=aa(this._model,t,{defaultMainType:"series"}),n=t.seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;if(null==t)return n0(n,e);var i=n,o=t,r=e;switch(r){case"color":return i.getItemVisual(o,"style")[i.getVisual("drawType")];case"opacity":return i.getItemVisual(o,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return i.getItemVisual(o,r)}},h.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},h.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},h.prototype._initEvents=function(){var n,i,s=this,o=(nt(Ev,function(a){function t(t){var n,e,i,o=s.getModel(),r=t.target;"globalout"===a?n={}:r&&r0(r,function(t){var e,t=U(t);return t&&null!=t.dataIndex?(e=t.dataModel||o.getSeriesByIndex(t.seriesIndex),n=e&&e.getDataParams(t.dataIndex,t.dataType,r)||{},1):t.eventData&&(n=P({},t.eventData),1)},!0),n&&(e=n.componentType,i=n.componentIndex,"markLine"!==e&&"markPoint"!==e&&"markArea"!==e||(e="series",i=n.seriesIndex),i=(e=e&&null!=i&&o.getComponent(e,i))&&s["series"===e.mainType?"_chartsMap":"_componentsMap"][e.__viewId],n.event=t,n.type=a,s._$eventProcessor.eventInfo={targetEl:r,packedEvent:n,model:e,view:i},s.trigger(a,n))}t.zrEventfulCallAtLast=!0,s._zr.on(a,t,s)}),this._messageCenter);nt(Vv,function(t,e){o.on(e,function(t){s.trigger(e,t)})}),i=(n=this)._api,o.on("selectchanged",function(t){var e=i.getModel();t.isFromClick?(o0("map","selectchanged",n,e,t),o0("pie","selectchanged",n,e,t)):"select"===t.fromAction?(o0("map","selected",n,e,t),o0("pie","selected",n,e,t)):"unselect"===t.fromAction&&(o0("map","unselected",n,e,t),o0("pie","unselected",n,e,t))})},h.prototype.isDisposed=function(){return this._disposed},h.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},h.prototype.dispose=function(){var t,e,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&ca(this.getDom(),qv,""),e=(t=this)._api,n=t._model,nt(t._componentsViews,function(t){t.dispose(n,e)}),nt(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Xv[t.id])},h.prototype.resize=function(t){if(!this[Q0])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var e=e.resetOption("media"),n=t&&t.silent;this[tv]&&(null==n&&(n=this[tv].silent),e=!0,this[tv]=null),this[Q0]=!0,Dv(this);try{e&&hv(this),pv.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this[Q0]=!1,t}this[Q0]=!1,mv.call(this,n),vv.call(this,n)}}},h.prototype.showLoading=function(t,e){this._disposed?this.id:(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Yv[t]&&(t=Yv[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},h.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},h.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=Bv[t.type],e},h.prototype.dispatchAction=function(t,e){var n;this._disposed?this.id:(E(e)||(e={silent:!!e}),zv[t.type]&&this._model&&(this[Q0]?this._pendingActions.push(t):(n=e.silent,yv.call(this,t,n),(t=e.flush)?this._zr.flush():!1!==t&&w.browser.weChat&&this._throttledZrFlush(),mv.call(this,n),vv.call(this,n))))},h.prototype.updateLabelLayout=function(){K0.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},h.prototype.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp())},h.internalField=(hv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cv(t,!0),cv(t,!1),e.plan()},cv=function(t,o){for(var r=t._model,a=t._scheduler,s=o?t._componentsViews:t._chartsViews,l=o?t._componentsMap:t._chartsMap,u=t._zr,h=t._api,e=0;es.get("hoverLayerThreshold")&&!w.node&&!w.worker&&s.eachSeries(function(t){t.preventUsingHoverLayer||(t=i._chartsMap[t.__viewId]).__alive&&t.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}),K0.trigger("series:afterupdate",t,e,n)},Iv=function(t){t[ev]=!0,t.getZr().wakeUp()},Dv=function(t){t[J0]=(t[J0]+1)%1e3},Cv=function(t){t[ev]&&(t.getZr().storage.traverse(function(t){xc(t)||Pv(t)}),t[ev]=!1)},Mv=function(n){return u(t,e=Hf),t.prototype.getCoordinateSystems=function(){return n._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return n._model.getComponent(e.mainType,e.index);t=t.parent}},t.prototype.enterEmphasis=function(t,e){lu(t,e),Iv(n)},t.prototype.leaveEmphasis=function(t,e){uu(t,e),Iv(n)},t.prototype.enterBlur=function(t){hu(t),Iv(n)},t.prototype.leaveBlur=function(t){cu(t),Iv(n)},t.prototype.enterSelect=function(t){du(t),Iv(n)},t.prototype.leaveSelect=function(t){pu(t),Iv(n)},t.prototype.getModel=function(){return n.getModel()},t.prototype.getViewOfComponentModel=function(t){return n.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return n.getViewOfSeriesModel(t)},t.prototype.getMainProcessVersion=function(){return n[J0]},new t(n);function t(){return null!==e&&e.apply(this,arguments)||this}var e},void(Tv=function(i){function o(t,e){for(var n=0;no[1]&&(o[0]=o[1]),r}function tx(t){var e=Math.pow(10,Vr(t)),t=t/e;return t?2===t?t=3:3===t?t=5:t*=2:t=1,Dr(t*e)}function ex(t){return Ar(t)+2}function nx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function ix(t,e){return t>=e[0]&&t<=e[1]}rx.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=S(t.normalize,t),this.scale=S(t.scale,t)):(this.normalize=ax,this.scale=sx)};var ox=rx;function rx(){this.normalize=ax,this.scale=sx}function ax(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function sx(t,e){return t*(e[1]-e[0])+e[0]}function lx(t,e,n){t=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/t,Math.log(n?e[1]:Math.max(0,e[1]))/t]}hx.prototype.getSetting=function(t){return this._setting[t]},hx.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent((t[0]e[1]?t:e)[1])},hx.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},hx.prototype.getExtent=function(){return this._extent.slice()},hx.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},hx.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},hx.prototype.setBreaksFromOption=function(t){},hx.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},hx.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},hx.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},hx.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},hx.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},hx.prototype.isBlank=function(){return this._isBlank},hx.prototype.setBlank=function(t){this._isBlank=t};var ux=hx;function hx(t){this._calculator=new ox,this._setting=t||{},this._extent=[1/0,-1/0]}wa(ux);var cx=0,dx=(px.createByAxisModel=function(t){var t=t.option,e=t.data,e=e&&B(e,fx);return new px({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},px.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},px.prototype.parseAndCollect=function(t){var e,n,i=this._needCollect;return F(t)||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n)):null==(n=(e=this._getOrCreateMap()).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n):t},px.prototype._getOrCreateMap=function(){return this._map||(this._map=it(this.categories))},px);function px(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cx,this._onCollect=t.onCollect}function fx(t){return E(t)&&null!=t.value?t.value:t+""}u(mx,gx=ux),mx.prototype.parse=function(t){return null==t?NaN:F(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},mx.prototype.contain=function(t){return ix(t,this._extent)&&0<=t&&t=t},mx.prototype.getOrdinalMeta=function(){return this._ordinalMeta},mx.prototype.calcNiceTicks=function(){},mx.prototype.calcNiceExtent=function(){},mx.type="ordinal";var gx,yx=mx;function mx(t){var t=gx.call(this,t)||this,e=(t.type="ordinal",t.getSetting("ordinalMeta"));return V(e=e||new dx({}))&&(e=new dx({categories:B(e,function(t){return E(t)?t.value:t})})),t._ordinalMeta=e,t._extent=t.getSetting("extent")||[0,e.categories.length-1],t}ux.registerClass(yx);var vx,_x=Dr,xx=(u(bx,vx=ux),bx.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},bx.prototype.contain=function(t){return ix(t,this._extent)},bx.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},bx.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},bx.prototype.getInterval=function(){return this._interval},bx.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=ex(t)},bx.prototype.getTicks=function(t){t=t||{};var n=this._interval,e=this._extent,i=this._niceExtent,o=this._intervalPrecision,r=Zd,a=[];if(n)if("only_break"===t.breakTicks&&r)r.addBreaksToTicks(a,this._brkCtx.breaks,this._extent);else{e[0]h&&(t.expandToNicedExtent?a.push({value:_x(h+n,o)}):a.push({value:e[1]})),"none"!==t.breakTicks&&r&&r.addBreaksToTicks(a,this._brkCtx.breaks,this._extent)}return a},bx.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),o=1;oi[0]&&cx));)g[o](g[i]()+t),f=g.getTime(),y&&0<(d=y.calcNiceTickMultiple(f,p))&&(g[o](g[i]()+d*t),f=g.getTime());a.push({value:f,notAdd:!0})}function i(t,e,n){var i,o,r,a,s=[],l=!e.length;if(i=ap(t),o=_[0],r=_[1],a=v,up(new Date(o),i,a).getTime()!==up(new Date(r),i,a).getTime()){l&&(e=[{value:function(t,e,n){e=Math.max(0,D(np,e)-1);return up(new Date(t),np[e],n).getTime()}(_[0],t,v)},{value:_[1]}]);for(var u,h,c=0;c=_[0]&&d<=_[1]&&w(f,d,p,g,y,0,s),"year"===t&&1=_[0]&&p<=_[1]&&a++)}u=e/m;if(1.5*u=_[0]&&t.value<=_[1]&&!t.notAdd})}),function(t){return 0n&&(this._approxInterval=n),Bx.length),t=Math.min(function(t,e,n,i){for(;n>>1;t[o][1]>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);i.push([(o=s+=o)/n,(r=l+=r)/n])}return i}function O1(t,r){var e,n,o;return B(ht((t=(e=t).UTF8Encoding?(null==(o=(n=e).UTF8Scale)&&(o=1024),nt(n.features,function(t){var e=t.geometry,n=e.encodeOffsets,i=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=P1(i,n,o);break;case"Polygon":case"MultiLineString":L1(i,n,o);break;case"MultiPolygon":nt(i,function(t,e){return L1(t,n[e],o)})}}),n.UTF8Encoding=!1,n):e).features,function(t){return t.geometry&&t.properties&&0=e[0]&&t<=e[1]}),function(t){var e={value:t};return{formattedLabel:i(e),rawLabel:n.scale.getLabel(e),tickValue:t,time:void 0,break:void 0}})}):"category"===n.type?(s=t,a=(t=n).getLabelModel(),s=G1(t,a,s),!a.get("show")||t.scale.isBlank()?{labels:[]}:s):(a=(o=n).scale.getTicks(),r=o1(o),{labels:B(a,function(t,e){return{formattedLabel:r(t,e),rawLabel:o.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function F1(t,e,n){var i,o,r,a,s,l,u=t.getTickModel().get("customValues");return u?(i=t.scale.getExtent(),{ticks:ht(B1(t,u),function(t){return t>=i[0]&&t<=i[1]})}):"category"===t.type?(u=e,a=W1(e=t),s=a1(u),(l=X1(a,s))||(u.get("show")&&!e.scale.isBlank()||(o=[]),o=N(s)?K1(e,s,!0):"auto"===s?(l=G1(e,e.getLabelModel(),z1(E1.determine)),r=l.labelCategoryInterval,B(l.labels,function(t){return t.tickValue})):q1(e,r=s,!0),U1(a,s,{ticks:o,tickCategoryInterval:r}))):{ticks:B(t.scale.getTicks(n),function(t){return t.value})}}function G1(t,e,n){var i,o=H1(t),r=a1(e),e=n.kind===E1.estimate;if(!e){var a=X1(o,r);if(a)return a}var s={labels:N(r)?K1(t,r):q1(t,i="auto"===r?function(t,e){{var n;if(e.kind===E1.estimate)return n=t.calculateCategoryInterval(e),e.out.noPxChangeTryDetermine.push(function(){return N1(t).autoInterval=n,!0}),n}var i=N1(t).autoInterval;return null!=i?i:N1(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):r),labelCategoryInterval:i};return e?n.out.noPxChangeTryDetermine.push(function(){return U1(o,r,s),!0}):U1(o,r,s),s}var W1=Y1("axisTick"),H1=Y1("axisLabel");function Y1(e){return function(t){return N1(t)[e]||(N1(t)[e]={list:[]})}}function X1(t,e){for(var n=0;nl[1],h(n[0].coord,l[0])&&(t?n[0].coord=l[0]:n.shift()),t&&h(l[0],n[0].coord)&&n.unshift({coord:l[0],onBand:!0}),h(l[1],i.coord)&&(t?i.coord=l[1]:n.pop()),t)&&h(i.coord,l[1])&&n.push({coord:l[1],onBand:!0}),u},Q1.prototype.getMinorTicksCoords=function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),B(this.scale.getMinorTicks(t=0=u}}for(var r,a=this.__startIndex;ao[0]){for(l=0;lt);l++);s=i[o[l]]}o.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(e.dom,n.nextSibling):a.appendChild(e.dom):a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom)),e.painter||(e.painter=this)}},Kb.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":a?0<=o.height?"bottom":"top":0<=o.width?"right":"left"),h=cd(i),l=(hd(t,h,{labelFetcher:r,labelDataIndex:n,defaultText:xw(r.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u}),t.getTextContent()),h=(s&&l&&(s=i.get(["label","position"]),t.textConfig.inside="middle"===s||null,function(t,e,n,i){if(G(i))t.setTextConfig({rotation:i});else if(V(e))t.setTextConfig({rotation:0});else{var o,i=t.shape,r=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(r+a)/2,i=n(e);switch(i){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=s;break;case"startAngle":case"insideStartAngle":o=r;break;case"endAngle":case"insideEndAngle":o=a;break;default:return t.setTextConfig({rotation:0})}n=1.5*Math.PI-o;"middle"===i&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),t.setTextConfig({rotation:n})}}(t,"outside"===s?u:s,Bw(a),i.get(["label","rotate"]))),u=l,s=h,a=r.getRawValue(n),l=function(t){return bw(e,t)},u&&((u=vd(u)).prevValue=u.value,u.value=a,a=s.normal,u.valueAnimation=a.get("valueAnimation"),u.valueAnimation)&&(u.precision=a.get("precision"),u.defaultInterpolatedText=l,u.statesModels=s),i.getModel(["emphasis"]));bu(t,h.get("focus"),h.get("blurScope"),h.get("disabled")),Mu(t,i),null!=(r=o).startAngle&&null!=r.endAngle&&r.startAngle===r.endAngle&&(t.style.fill="none",t.style.stroke="none",nt(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var Fw,Gw=function(){},Ww=(u(Hw,Fw=Ks),Hw.prototype.getDefaultShape=function(){return new Gw},Hw.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,o=1-this.baseDimIdx,r=[],a=[],s=this.barWidth,l=0;le[u-1].coord&&(e.reverse(),h.reverse()),function(t,e){var n,i,o=[],r=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Ni((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;si)return;return 1}(a,e))return o=e.mapDimension(a.dim),r={},nt(a.getViewLabels(),function(t){t=a.scale.getRawOrdinalNumber(t.tickValue);r[t]=1}),function(t){return!r.hasOwnProperty(e.get(o,t))}}}function DS(t){for(var e,n,i=t.length/2;0l?x:_,(g=Math.abs(p.label.y-l))>=f.maxY&&(m=p.label.x-s-p.len2*h,y=u+p.len,m=Math.abs(m)t.unconstrainedWidth)?null:s,i.setStyle("width",l)),HS(o,i))}function HS(t,e){XS.rect=t,Ib(XS,e,YS)}var YS={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},XS={};function US(t){return"center"===t.position}function ZS(t){var S,M,T=t.getData(),I=[],C=!1,E=(t.get("minShowLabelAngle")||0)*FS,e=T.getLayout("viewRect"),D=T.getLayout("r"),k=e.width,A=e.x,n=e.y,L=e.height;function P(t){t.ignore=!0}if(T.each(function(t){var e,n,i,o,r,a,s,l,u,h,c=T.getItemGraphicEl(t),d=c.shape,p=c.getTextContent(),f=c.getTextGuideLine(),t=T.getItemModel(t),g=t.getModel("label"),y=g.get("position")||t.get(["emphasis","label","position"]),m=g.get("distanceToLabelLine"),v=g.get("alignTo"),_=Y(g.get("edgeDistance"),k),x=g.get("bleedMargin"),t=(null==x&&(x=200=e.r0},JS.type="pie";var $S,QS=JS;function JS(){var t=null!==$S&&$S.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}function tM(t,e,n){e=V(e)?{coordDimensions:e}:P({encodeDefine:t.getEncode()},e);var i=t.getSource(),e=Y_(i,e).dimensions,e=new H_(e,t);return e.initData(i,n),e}nM.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},nM.prototype.containName=function(t){return 0<=this._getRawData().indexOfName(t)},nM.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},nM.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)};var eM=nM;function nM(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}var iM,oM=i(),rM=(u(aM,iM=im),aM.prototype.init=function(t){iM.prototype.init.apply(this,arguments),this.legendVisualProvider=new eM(S(this.getData,this),S(this.getRawData,this)),this._defaultLabelLine(t)},aM.prototype.mergeOption=function(){iM.prototype.mergeOption.apply(this,arguments)},aM.prototype.getInitialData=function(){return tM(this,{coordDimensions:["value"],encodeDefaulter:M(Mf,this)})},aM.prototype.getDataParams=function(t){var e,n=this.getData(),i=oM(n),o=i.seats,i=(o||(e=[],n.each(n.mapDimension("value"),function(t){e.push(t)}),o=i.seats=Or(e,n.hostModel.get("percentPrecision"))),iM.prototype.getDataParams.call(this,t));return i.percent=o[t]||0,i.$vars.push("percent"),i},aM.prototype._defaultLabelLine=function(t){jr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},aM.type="series.pie",aM.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},aM);function aM(){return null!==iM&&iM.apply(this,arguments)||this}Id={fullType:rM.type,getCoord2:function(t){return t.getShallow("center")}},Bp.set(Id.fullType,{getCoord2:void 0}).getCoord2=Id.getCoord2,y1(function(t){t.registerChartView(QS),t.registerSeriesModel(rM),i0("pie",t.registerAction),t.registerLayout(M(zS,"pie")),t.registerProcessor(VS("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),e=n.get(e,t);return!(G(e)&&!isNaN(e)&&e<0)})}})});var sM=["itemStyle","borderColor"],lM=["itemStyle","borderColor0"],uM=["itemStyle","borderColorDoji"],hM=["itemStyle","color"],cM=["itemStyle","color0"];function dM(t,e){return e.get(0i[1],i="start"===e&&!t||"start"!==e&&t;e=Nr(n-nT/2)?(o=i?"bottom":"top","center"):Nr(n-1.5*nT)?(o=i?"top":"bottom","center"):(o="middle",n<1.5*nT&&nT/2l[0]&&isFinite(c)&&isFinite(l[0]);)h=tx(h),c=l[1]-h*a;else{e=(h=a "+d)),u++)}var p,f,g,i=n.get("coordinateSystem"),i=("cartesian2d"===i||"polar"===i||"matrix"===i?p=$_(t,n):(D(i=(i=Np.get(i))&&i.dimensions||[],"value")<0&&i.concat(["value"]),i=Y_(t,{coordDimensions:i,encodeDefine:n.getEncode()}).dimensions,(p=new H_(i,n)).initData(t)),new H_(["value"],n));return i.initData(l,s),o&&o(p,i),g=(f={mainData:p,struct:r,structAttr:"graph",datas:{node:p,edge:i},datasAttr:{node:"data",edge:"edgeData"}}).mainData,(n=f.datas)||(n={main:g},f.datasAttr={main:"data"}),f.datas=f.mainData=null,kC(g,n,f),nt(n,function(e){nt(g.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,M(MC,f))})}),g.wrapMethod("cloneShallow",M(IC,f)),nt(g.CHANGABLE_METHODS,function(t){g.wrapMethod(t,M(TC,f))}),Tt(n[g.dataType]===g),r.update(),r}u(RC,PC=im),RC.prototype.init=function(t){PC.prototype.init.apply(this,arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new eM(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},RC.prototype.mergeOption=function(t){PC.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},RC.prototype.mergeDefaultAndTheme=function(t){PC.prototype.mergeDefaultAndTheme.apply(this,arguments),jr(t,"edgeLabel",["show"])},RC.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],t=t.data||t.nodes||[],r=this;if(t&&i)return GT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},WT(n)),nt((n=LC(t,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=Nd.prototype.getModel;function i(t,e){t=n.call(this,t,e);return t.resolveParentPath=o,t}function o(t){var e;return!t||"label"!==t[0]&&"label"!==t[1]?t:(e=t.slice(),"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e)}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=o,t.getModel=i,t})})).edges,function(t){var e,n,i;e=t.node1,n=t.node2,i=this,t=t.dataIndex,GT(i)&&(e=HT(e,n,i),i=(n=i.__edgeMap)[YT(e)],n[e]&&!i?n[e].isForward=!0:i&&n[e]&&(i.isForward=!0,n[e].isForward=!1),n[e]=n[e]||[],n[e].push(t))},this),n.data},RC.prototype.getGraph=function(){return this.getData().graph},RC.prototype.getEdgeData=function(){return this.getGraph().edgeData},RC.prototype.getCategoriesData=function(){return this._categoriesData},RC.prototype.formatTooltip=function(t,e,n){var i,o,r;return"edge"===n?(o=this.getData(),n=this.getDataParams(t,n),r=o.graph.getEdgeByIndex(t),i=o.getName(r.node1.dataIndex),o=o.getName(r.node2.dataIndex),r=[],null!=i&&r.push(i),null!=o&&r.push(o),Gy("nameValue",{name:r.join(" > "),value:n.value,noValue:null==n.value})):Jy({series:this,dataIndex:t,multipleSeries:e})},RC.prototype._updateCategoriesData=function(){var t=B(this.option.categories||[],function(t){return null!=t.value?t:P({value:0},t)}),e=new H_(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},RC.prototype.setZoom=function(t){this.option.zoom=t},RC.prototype.setCenter=function(t){this.option.center=t},RC.prototype.isAnimationEnabled=function(){return PC.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},RC.type="series.graph",RC.dependencies=["grid","polar","geo","singleAxis","calendar"],RC.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:_.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:_.color.primary}}};var PC,OC=RC;function RC(){var t=null!==PC&&PC.apply(this,arguments)||this;return t.type=RC.type,t.hasSymbolVisual=!0,t}y1(function(t){t.registerChartView(pC),t.registerSeriesModel(OC),t.registerProcessor(ET),t.registerVisual(zT),t.registerVisual(VT),t.registerLayout($T),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,rI),t.registerLayout(sI),t.registerCoordinateSystem("graphView",{dimensions:yI.dimensions,create:xI}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Vt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Vt),t.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(n,t,i){t.eachComponent({mainType:"series",query:n},function(t){var e=i.getViewOfSeriesModel(t);e&&(null!=n.dx&&null!=n.dy&&e.updateViewOnPan(t,i,n),null!=n.zoom)&&null!=n.originX&&null!=n.originY&&e.updateViewOnZoom(t,i,n);e=cI(t.coordinateSystem,n,t.get("scaleLimit"));t.setCenter&&t.setCenter(e.center),t.setZoom&&t.setZoom(e.zoom)})})});var NC,EC=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},zC=(u(BC,NC=Ks),BC.prototype.getDefaultShape=function(){return new EC},BC.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},BC.prototype.highlight=function(){lu(this)},BC.prototype.downplay=function(){uu(this)},BC);function BC(t){return NC.call(this,t)||this}u(GC,VC=ym),GC.prototype.init=function(t,e){this._controller=new ZI(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},GC.prototype.render=function(b,t,i){var e,n,o,r,a,s,l,u,h,c=this,d=b.getGraph(),w=this._mainGroup,p=b.layoutInfo,S=p.width,M=p.height,f=b.getData(),T=b.getData("edge"),I=b.get("orient");this._model=b,w.removeAll(),w.x=p.x,w.y=p.y,this._updateViewCoordSys(b,i),e=b,n=i,o=w,p=this._controller,r=this._controllerHost,a=null,s=new X(0,0,0,0),p.enable(e.get("roam"),{api:n,zInfo:{component:e},triggerInfo:{roamTrigger:e.get("roamTrigger"),isInSelf:function(t,e,n){return s.copy(o.getBoundingRect()),s.applyTransform(o.getComputedTransform()),s.contain(e,n)},isInClip:function(t,e,n){return!a||a.contain(e,n)}}}),r.zoomLimit=e.get("scaleLimit"),u=e.coordinateSystem,r.zoom=u?u.getZoom():1,l=e.subType+"Roam",p.off("pan").off("zoom").on("pan",function(t){lI(r,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:l,dx:t.dx,dy:t.dy})}).on("zoom",function(t){uI(r,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:l,zoom:t.scale,originX:t.originX,originY:t.originY}),n.updateLabelLayout()}),d.eachEdge(function(e){var t,n,i,o,r,a,s,l=new zC,u=U(l),u=(u.dataIndex=e.dataIndex,u.seriesIndex=b.seriesIndex,u.dataType="edge",e.getModel()),h=u.getModel("lineStyle"),c=h.get("curveness"),d=e.node1.getLayout(),p=e.node1.getModel(),f=p.get("localX"),p=p.get("localY"),g=e.node2.getLayout(),y=e.node2.getModel(),m=y.get("localX"),y=y.get("localY"),v=e.getLayout(),_=(l.shape.extent=Math.max(1,v.dy),f="vertical"===(l.shape.orient=I)?(t=(null!=f?f*S:d.x)+v.sy,n=(null!=p?p*M:d.y)+d.dy,i=(null!=m?m*S:g.x)+v.ty,r=t,a=n*(1-c)+(o=null!=y?y*M:g.y)*c,s=i,n*c+o*(1-c)):(t=(null!=f?f*S:d.x)+d.dx,n=(null!=p?p*M:d.y)+v.sy,r=t*(1-c)+(i=null!=m?m*S:g.x)*c,a=n,s=t*c+i*(1-c),o=(null!=y?y*M:g.y)+v.ty),l.setShape({x1:t,y1:n,x2:i,y2:o,cpx1:r,cpy1:a,cpx2:s,cpy2:f}),l.useStyle(h.getItemStyle()),WC(l.style,I,e),""+u.get("value")),x=cd(u,"edgeLabel"),p=(hd(l,x,{labelFetcher:{getFormattedLabel:function(t,e,n,i,o,r){return b.getFormattedLabel(t,e,"edge",i,wt(o,x.normal&&x.normal.get("formatter"),_),r)}},labelDataIndex:e.dataIndex,defaultText:_}),l.setTextConfig({position:"inside"}),u.getModel("emphasis")),d=(Mu(l,u,"lineStyle",function(t){t=t.getItemStyle();return WC(t,I,e),t}),w.add(l),T.setItemGraphicEl(e.dataIndex,l),p.get("focus"));bu(l,"adjacency"===d?e.getAdjacentDataIndices():"trajectory"===d?e.getTrajectoryDataIndices():d,p.get("blurScope"),p.get("disabled"))}),d.eachNode(function(t){var e=t.getLayout(),n=t.getModel(),i=n.get("localX"),o=n.get("localY"),r=n.getModel("emphasis"),a=n.get(["itemStyle","borderRadius"])||0,i=new pl({shape:{x:null!=i?i*S:e.x,y:null!=o?o*M:e.y,width:e.dx,height:e.dy,r:a},style:n.getModel("itemStyle").getItemStyle(),z2:10}),o=(hd(i,cd(n),{labelFetcher:{getFormattedLabel:function(t,e){return b.getFormattedLabel(t,e,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),i.disableLabelAnimation=!0,i.setStyle("fill",t.getVisual("color")),i.setStyle("decal",t.getVisual("style").decal),Mu(i,n),w.add(i),f.setItemGraphicEl(t.dataIndex,i),U(i).dataType="node",r.get("focus"));bu(i,"adjacency"===o?t.getAdjacentDataIndices():"trajectory"===o?t.getTrajectoryDataIndices():o,r.get("blurScope"),r.get("disabled"))}),f.eachItemGraphicEl(function(t,n){f.getItemModel(n).get("draggable")&&(t.drift=function(t,e){c._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=e,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:b.id,dataIndex:f.getRawIndex(n),localX:this.shape.x/S,localY:this.shape.y/M})},t.ondragend=function(){c._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")}),!this._data&&b.isAnimationEnabled()&&w.setClipPath((u=w.getBoundingRect(),p=b,d=function(){w.removeClipPath()},_c(h=new pl({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}}),{shape:{width:u.width+20}},p,d),h)),this._data=b.getData()},GC.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},GC.prototype._updateViewCoordSys=function(t,e){var n=t.layoutInfo,i=n.width,n=n.height,e=t.coordinateSystem=new yI(null,{api:e,ecModel:t.ecModel});e.zoomLimit=t.get("scaleLimit"),e.setBoundingRect(0,0,i,n),e.setCenter(t.get("center")),e.setZoom(t.get("zoom")),this._controllerHost.target.attr({x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY})},GC.type="sankey";var VC,FC=GC;function GC(){var t=null!==VC&&VC.apply(this,arguments)||this;return t.type=GC.type,t._mainGroup=new cr,t._focusAdjacencyDisabled=!1,t}function WC(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),o=n.node2.getVisual("color");F(i)&&F(o)&&(t.fill=new Jh(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:o,offset:1}]))}}u(XC,HC=im),XC.prototype.getInitialData=function(t,e){for(var n=t.edges||t.links||[],i=t.data||t.nodes||[],o=t.levels||[],r=(this.levelModels=[],this.levelModels),a=0;av&&(v=b.depth),x.setLayout({depth:B?b.depth:y},!0),"vertical"===c?x.setLayout({dy:h},!0):x.setLayout({dx:h},!0);for(var w=0;we[1]&&e.reverse(),e},B2.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},B2.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)};var E2,z2=B2;function B2(t,e,n,i,o){t=E2.call(this,t,e,n)||this;return t.index=0,t.type=i||"value",t.position=o||"bottom",t}function V2(t,e,n){n=n||{};var i=e.axis,o={},r=i.getAxesOnZeroOf()[0],a=i.position,s=r?"onZero":a,i=i.dim,t=[t.x,t.x+t.width,t.y,t.y+t.height],l={left:0,right:1,top:0,bottom:1,onZero:2},u=e.get("offset")||0,u="x"===i?[t[2]-u,t[3]+u]:[t[0]-u,t[1]+u],h=(r&&(h=r.toGlobalCoord(r.dataToCoord(0)),u[l.onZero]=Math.max(Math.min(h,u[1]),u[0])),o.position=["y"===i?u[l[s]]:t[0],"x"===i?u[l[s]]:t[3]],o.rotation=Math.PI/2*("x"===i?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[a],o.labelOffset=r?u[l[a]]-u[l.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),bt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection),e.get(["axisLabel","rotate"]));return o.labelRotate="top"===s?-h:h,o.z2=1,o}function F2(i){var o={xAxisModel:null,yAxisModel:null};return nt(o,function(t,e){var n=e.replace(/Model$/,""),n=i.getReferringComponents(n,la).models[0];o[e]=n}),o}var G2=[[3,1],[0,2]],W2=(H2.prototype.getRect=function(){return this._rect},H2.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=dt(t),i=n.length;if(i){for(var o=[],r=i-1;0<=r;r--){var a=t[+n[r]],s=a.model,l=a.scale;Q_(l)&&s.get("alignTicks")&&null==s.get("interval")?o.push(a):(n1(l,s),Q_(l)&&(e=a))}o.length&&(e||n1((e=o.pop()).scale,e.model),nt(o,function(t){PT(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var o={};nt(n.x,function(t){X2(n,"y",t,o)}),nt(n.y,function(t){X2(n,"x",t,o)}),this.resize(this.model,e)},H2.prototype.resize=function(t,e,n){var i,o,r,a,s,l=Kp(t,e),u=this._rect=jp(t.getBoxLayoutParams(),l.refContainer),h=this._axesMap,c=this._coordsList,d=t.get("containLabel");Z2(h,u),n||(i=u,o=c,n=h,r=d,a=e,s=new sT($2),nt(n,function(t){return nt(t,function(t){h1(t.model)&&(t.axisBuilder=function(t,e,n,i,o,r){for(var t=V2(t,n),a=!1,s=!1,l=0;lu[1]&&u.reverse(),(s=null==s||s>u[1]?u[1]:s)n||!!e&&(r=tD(t).seriesDataCount,e=o.getExtent(),Math.abs(e[0]-e[1])/r>n)):!0===i)},TD.prototype.makeElOption=function(t,e,n,i,o){},TD.prototype.createPointerEl=function(t,e,n,i){var o=e.pointer;o&&(o=wD(t).pointerEl=new ad[o.type](SD(e.pointer)),t.add(o))},TD.prototype.createLabelEl=function(t,e,n,i){e.label&&(e=wD(t).labelEl=new _l(SD(e.label)),t.add(e),CD(e,i))},TD.prototype.updatePointerEl=function(t,e,n){t=wD(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},TD.prototype.updateLabelEl=function(t,e,n,i){t=wD(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{x:e.label.x,y:e.label.y}),CD(t,i))},TD.prototype._renderHandle=function(t){var e,n,i,o,r,a;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,o=e.getModel("handle"),a=e.get("status"),o.get("show")&&a&&"hide"!==a?(this._handle||(r=!0,i=this._handle=Zc(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Le(t.event)},onmousedown:MD(this._onHandleDragMove,this,0,0),drift:MD(this._onHandleDragMove,this),ondragend:MD(this._onHandleDragEnd,this)}),n.add(i)),kD(i,e,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),V(a=o.get("size"))||(a=[a,a]),i.scaleX=a[0]/2,i.scaleY=a[1]/2,Cm(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,r)):(i&&n.remove(i),this._handle=null))},TD.prototype._moveHandleToValue=function(t,e){ID(this._axisPointerModel,!e&&this._moveAnimation,this._handle,DD(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},TD.prototype._onHandleDragMove=function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(DD(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(DD(t)),wD(n).lastProp=null,this._doDispatchAxisPointer())},TD.prototype._doDispatchAxisPointer=function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},TD.prototype._onHandleDragEnd=function(){var t;this._dragging=!1,this._handle&&(t=this._axisPointerModel.get("value"),this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"}))},TD.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var t=t.getZr(),e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Dm(this,"_doDispatchAxisPointer")},TD.prototype.doClear=function(){},TD.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},TD);function TD(){this._dragging=!1,this.animationThreshold=15}function ID(t,e,n,i){!function n(i,t){{var o;return E(i)&&E(t)?(o=!0,nt(t,function(t,e){o=o&&n(i[e],t)}),!!o):i===t}}(wD(n).lastProp,i)&&(wD(n).lastProp=i,e?vc(n,i,t):(n.stopAnimation(),n.attr(i)))}function CD(t,e){t[e.get(["label","show"])?"show":"hide"]()}function DD(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function kD(t,e,n){var i=e.get("z"),o=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=o&&(t.zlevel=o),t.silent=n)})}function AD(t){var e,n=t.get("type"),t=t.getModel(n+"Style");return"line"===n?(e=t.getLineStyle()).fill=null:"shadow"===n&&((e=t.getAreaStyle()).stroke=null),e}function LD(t,e,n,i,o){var r=PD(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),n=n.getModel("label"),a=Tp(n.get("padding")||0),s=n.getFont(),l=Uo(r,s),u=o.position,h=l.width+a[1]+a[3],l=l.height+a[0]+a[2],c=o.align,c=("right"===c&&(u[0]-=h),"center"===c&&(u[0]-=h/2),o.verticalAlign),i=("bottom"===c&&(u[1]-=l),"middle"===c&&(u[1]-=l/2),o=u,c=h,h=l,i=(l=i).getWidth(),l=l.getHeight(),o[0]=Math.min(o[0]+c,i)-c,o[1]=Math.min(o[1]+h,l)-h,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0),n.get("backgroundColor"));i&&"auto"!==i||(i=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:dd(n,{text:r,font:s,fill:n.getTextColor(),padding:a,backgroundColor:i}),z2:10}}function PD(t,e,n,i,o){t=e.scale.parse(t);var r,a=e.scale.getLabel({value:t},{precision:o.precision}),o=o.formatter;return o&&(r={value:r1(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},nt(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&r.seriesData.push(e)}),F(o)?a=o.replace("{value}",a):N(o)&&(a=o(r))),a}function OD(t,e,n){var i=ze();return We(i,i,n.rotation),Ge(i,i,n.position),Gc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function RD(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function ND(t,e,n,i,o,r){return{cx:t,cy:e,r0:n,r:i,startAngle:o,endAngle:r,clockwise:!0}}u(BD,ED=Xl),BD.prototype.makeElOption=function(t,e,n,i,o){var r,a=n.axis,s=("angle"===a.dim&&(this.animationThreshold=Math.PI/18),a.polar),l=s.getOtherAxis(a).getExtent(),u=a.dataToCoord(e),h=i.get("type"),a=(h&&"none"!==h&&(r=AD(i),(h=FD[h](a,s,u,l)).style=r,t.graphicKey=h.type,t.pointer=h),i.get(["label","margin"]));LD(t,n,i,o,function(t,e,n,i){var o,r,a=e.axis,t=a.dataToCoord(t),s=(l=(l=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());{var l;s="radius"===a.dim?(a=ze(),We(a,a,l),Ge(a,a,[n.cx,n.cy]),o=Gc([t,-i],a),a=e.getModel("axisLabel").get("rotate")||0,e=fT.innerTextLayout(l,a*Math.PI/180,-1),r=e.textAlign,e.textVerticalAlign):(l=s[1],o=n.coordToPoint([l+i,t]),a=n.cx,e=n.cy,r=Math.abs(o[0]-a)/l<.3?"center":o[0]>a?"left":"right",Math.abs(o[1]-e)/l<.3?"middle":o[1]>e?"top":"bottom")}return{position:o,align:r,verticalAlign:s}}(e,n,s,a))};var ED,zD=BD;function BD(){return null!==ED&&ED.apply(this,arguments)||this}var VD,FD={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:RD(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var o=Math.max(1,t.getBandWidth()),r=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:ND(e.cx,e.cy,i[0],i[1],(-n-o/2)*r,(o/2-n)*r)}:{type:"Sector",shape:ND(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}},GD=(u(WD,VD=Xl),WD.prototype.makeElOption=function(t,e,n,i,o){var r,a=n.axis,s=a.grid,l=i.get("type"),u=HD(s,a).getOtherAxis(a).getGlobalExtent(),h=a.toGlobalCoord(a.dataToCoord(e,!0)),a=(l&&"none"!==l&&(r=AD(i),(l=YD[l](a,h,u)).style=r,t.graphicKey=l.type,t.pointer=l),V2(s.getRect(),n));h=e,u=t,r=a,l=n,s=i,e=o,t=fT.innerTextLayout(r.rotation,0,r.labelDirection),r.labelMargin=s.get(["label","margin"]),LD(u,l,s,e,{position:OD(l.axis,h,r),align:t.textAlign,verticalAlign:t.textVerticalAlign})},WD.prototype.getHandleTransform=function(t,e,n){var i=V2(e.axis.grid.getRect(),e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),OD(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},WD.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,o=n.grid,r=n.getGlobalExtent(!0),o=HD(o,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(r[1],a[n]),a[n]=Math.max(r[0],a[n]),(o[1]+o[0])/2),r=[e,e];r[n]=a[n];return{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:r,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}},WD);function WD(){return null!==VD&&VD.apply(this,arguments)||this}function HD(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var YD={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:RD([e,n[0]],[e,n[1]],XD(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:(e=[e-i/2,n[0]],n=[i,o],i=XD(t),{x:e[i=i||0],y:e[1-i],width:n[i],height:n[1-i]})}}};function XD(t){return"x"===t.dim?0:1}u(jD,UD=g),jD.type="axisPointer",jD.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:_.color.border,width:1,type:"dashed"},shadowStyle:{color:_.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:_.color.neutral00,padding:[5,7,5,7],backgroundColor:_.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:_.color.accent40,throttle:40}};var UD,ZD=jD;function jD(){var t=null!==UD&&UD.apply(this,arguments)||this;return t.type=jD.type,t}var qD=i(),KD=nt;function $D(t,e,n){var i,c,d;function o(t,h){c.on(t,function(e){n=d;var n,i,o={dispatchAction:r,pendings:i={showTip:[],hideTip:[]}};function r(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=r,n.dispatchAction(t))}KD(qD(c).records,function(t){t&&h(t,e,o.dispatchAction)});var t,a=o.pendings,s=d,l=a.showTip.length,u=a.hideTip.length;l?t=a.showTip[l-1]:u&&(t=a.hideTip[u-1]),t&&(t.dispatchAction=null,s.dispatchAction(t))})}w.node||(i=e.getZr(),qD(i).records||(qD(i).records={}),d=e,qD(c=i).initialized||(qD(c).initialized=!0,o("click",M(JD,"click")),o("mousemove",M(JD,"mousemove")),o("globalout",QD)),(qD(i).records[t]||(qD(i).records[t]={})).handler=n)}function QD(t,e,n){t.handler("leave",null,n)}function JD(t,e,n,i){e.handler(t,n,i)}function tk(t,e){w.node||(e=e.getZr(),(qD(e).records||{})[t]&&(qD(e).records[t]=null))}u(ik,ek=cm),ik.prototype.render=function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";$D("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},ik.prototype.remove=function(t,e){tk("axisPointer",e)},ik.prototype.dispose=function(t,e){tk("axisPointer",e)},ik.type="axisPointer";var ek,nk=ik;function ik(){var t=null!==ek&&ek.apply(this,arguments)||this;return t.type=ik.type,t}function ok(t,e){var n,i,o,r,a=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||null==(s=oa(n=e.getData(),t))||s<0||V(s)?{point:[]}:(i=n.getItemGraphicEl(s),o=e.coordinateSystem,e.getTooltipPosition?a=e.getTooltipPosition(s)||[]:o&&o.dataToPoint?a=t.isStacked?(e=o.getBaseAxis(),t=o.getOtherAxis(e).dim,e=e.dim,t="x"===t||"radius"===t?1:0,e=n.mapDimension(e),(r=[])[t]=n.get(e,s),r[1-t]=n.get(n.getCalculationInfo("stackResultDimension"),s),o.dataToPoint(r)||[]):o.dataToPoint(n.getValues(B(o.dimensions,function(t){return n.mapDimension(t)}),s))||[]:i&&((e=i.getBoundingRect().clone()).applyTransform(i.transform),a=[e.x+e.width/2,e.y+e.height/2]),{point:a,el:i})}var rk=i();function ak(t,e,n){var r,a,i,s,l,o,u,h,c,d,p,f,g,y,m=t.currTrigger,v=[t.x,t.y],_=t,x=t.dispatchAction||S(n.dispatchAction,n),b=e.getComponent("axisPointer").coordSysAxesInfo;if(b)return ck(v)&&(v=ok({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},e).point),r=ck(v),a=_.axesInfo,i=b.axesInfo,s="leave"===m||ck(v),l={},e={list:[],map:{}},u={showPointer:M(lk,o={}),showTooltip:M(uk,e)},nt(b.coordSysMap,function(t,e){var o=r||t.containPoint(v);nt(b.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);s||!o||a&&!i||null!=(i=null!=(i=i&&i.value)||r?i:n.pointToData(v))&&sk(t,i,u,!1,l)})}),h={},nt(i,function(n,t){var i=n.linkGroup;i&&!o[t]&&nt(i.axesInfo,function(t,e){var e=o[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,hk(t),hk(n)))),h[n.key]=e)})}),nt(h,function(t,e){sk(i[e],t,u,!0,l)}),c=o,_=i,d=l.axesInfo=[],nt(_,function(t,e){var n=t.axisPointerModel.option,e=c[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&d.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),m=e,_=t,e=x,ck(t=v)||!m.list.length?e({type:"hideTip"}):(x=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:x.dataIndexInside,dataIndex:x.dataIndex,seriesIndex:x.seriesIndex,dataByCoordSys:m.list})),e=i,_=(t=n).getZr(),x="axisPointerLastHighlights",p=rk(_)[x]||{},f=rk(_)[x]={},nt(e,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&nt(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;f[e]=t})}),g=[],y=[],nt(p,function(t,e){f[e]||y.push(t)}),nt(f,function(t,e){p[e]||g.push(t)}),y.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),l}function sk(t,e,n,i,o){var r,a,s,l,u,h,c,d,p,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(a=e,s=t.axis,l=s.dim,u=a,h=[],c=Number.MAX_VALUE,d=-1,nt(t.seriesModels,function(e,t){var n,i=e.getData().mapDimensionsAll(l);if(e.getAxisTooltipData)var o=e.getAxisTooltipData(i,a,s),r=o.dataIndices,o=o.nestestValue;else{if(!(r=e.indicesOfNearest(l,i[0],a,"category"===s.type?.5:null)).length)return;o=e.getData().get(i[0],r[0])}null!=o&&isFinite(o)&&(i=a-o,(n=Math.abs(i))<=c)&&((ne[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var t=t-this.cx,e=e-this.cy,t=t*t+e*e,e=this.r,n=this.r0;return e!==n&&t-1e-4<=e*e&&n*n<=1e-4+t},x:this.cx-e[1],y:this.cy-e[1],width:2*e[1],height:2*e[1]}},Ok.prototype.convertToPixel=function(t,e,n){return Rk(e)===this?this.dataToPoint(n):null},Ok.prototype.convertFromPixel=function(t,e,n){return Rk(e)===this?this.pointToData(n):null},Ok);function Ok(t){this.dimensions=Lk,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Tk,this._angleAxis=new kk,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}function Rk(t){var e=t.seriesModel,t=t.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function Nk(t,e){var n,i=this,o=i.getAngleAxis(),r=i.getRadiusAxis();o.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){var e;t.coordinateSystem===i&&(nt(l1(e=t.getData(),"radius"),function(t){r.scale.unionExtentFromData(e,t)}),nt(l1(e,"angle"),function(t){o.scale.unionExtentFromData(e,t)}))}),n1(o.scale,o.model),n1(r.scale,r.model),"category"!==o.type||o.onBand||(t=o.getExtent(),n=360/o.scale.count(),o.inverse?t[1]+=n:t[1]-=n,o.setExtent(t[0],t[1]))}function Ek(t,e){var n,i;t.type=e.get("type"),t.scale=i1(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse=t.inverse!==e.get("clockwise"),n=e.get("startAngle"),i=null!=(i=e.get("endAngle"))?i:n+(t.inverse?-360:360),t.setExtent(n,i)),(e.axis=t).model=e}var zk={dimensions:Lk,create:function(t,a){var s=[];return t.eachComponent("polar",function(t,e){var e=new Pk(e+""),n=(e.update=Nk,e.getRadiusAxis()),i=e.getAngleAxis(),o=t.findAxisModel("radiusAxis"),r=t.findAxisModel("angleAxis");Ek(n,o),Ek(i,r),n=e,o=a,r=(i=t).get("center"),o=Kp(i,o).refContainer,n.cx=Y(r[0],o.width)+o.x,n.cy=Y(r[1],o.height)+o.y,r=n.getRadiusAxis(),n=Math.min(o.width,o.height)/2,null==(o=i.get("radius"))?o=[0,"100%"]:V(o)||(o=[0,o]),i=[Y(o[0],n),Y(o[1],n)],r.inverse?r.setExtent(i[1],i[0]):r.setExtent(i[0],i[1]),s.push(e),(t.coordinateSystem=e).model=t}),t.eachSeries(function(t){var e;"polar"===t.get("coordinateSystem")&&(e=t.getReferringComponents("polar",la).models[0],t.coordinateSystem=e.coordinateSystem)}),s}},Bk=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function Vk(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function Fk(t){return t.getRadiusAxis().inverse?0:1}function Gk(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}u(Yk,Wk=rD),Yk.prototype.render=function(e,t){var n,i,o,r,a,s;this.group.removeAll(),e.get("show")&&(n=e.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),r=n.getTicksCoords({breakTicks:"none"}),a=n.getMinorTicksCoords(),Gk(s=B(n.getViewLabels(),function(t){t=v(t);var e=n.scale,e="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(e),t})),Gk(r),nt(Bk,function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||Uk[t](this.group,e,i,r,a,o,s)},this))},Yk.type="angleAxis";var Wk,Hk=Yk;function Yk(){var t=null!==Wk&&Wk.apply(this,arguments)||this;return t.type=Yk.type,t.axisPointerClass="PolarAxisPointer",t}var Xk,Uk={axisLine:function(t,e,n,i,o,r){var e=e.getModel(["axisLine","lineStyle"]),a=n.getAngleAxis(),s=Math.PI/180,l=a.getExtent(),u=Fk(n),h=u?0:1,c=360===Math.abs(l[1]-l[0])?"Circle":"Arc",c=0===r[h]?new ad[c]({shape:{cx:n.cx,cy:n.cy,r:r[u],startAngle:-l[0]*s,endAngle:-l[1]*s,clockwise:a.inverse},style:e.getLineStyle(),z2:1,silent:!0}):new bh({shape:{cx:n.cx,cy:n.cy,r:r[u],r0:r[h]},style:e.getLineStyle(),z2:1,silent:!0});c.style.fill=null,t.add(c)},axisTick:function(t,e,n,i,o,r){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=r[Fk(n)],r=B(i,function(t){return new Nh({shape:Vk(n,[l,l+s],t.coord)})});t.add(Ec(r,{style:z(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,o,r){if(o.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=r[Fk(n)],h=[],c=0;ca?"left":"right",o=Math.abs(r[1]-s)/o<.3?"middle":r[1]>s?"top":"bottom",l=(p&&p[i]&&E(s=p[i])&&s.textStyle&&(n=new Nd(s.textStyle,f,f.ecModel)),new _l({silent:fT.isLabelSilent(h),style:dd(n,{x:r[0],y:r[1],fill:n.getTextColor()||h.get(["axisLine","lineStyle","color"]),text:t.formattedLabel,align:a,verticalAlign:o})}));u.add(l),Qc({el:l,componentModel:h,itemName:t.formattedLabel,formatterParamsExtra:{isTruncated:function(){return l.isTruncated},value:t.rawLabel,tickIndex:e}}),y&&((i=fT.makeAxisEventDataBase(h)).targetType="axisLabel",i.value=t.rawLabel,U(l).eventData=i)},this)},splitLine:function(t,e,n,i,o,r){for(var a=e.getModel("splitLine").getModel("lineStyle"),s=0,l=(l=a.get("color"))instanceof Array?l:[l],u=[],h=0;hn[o],f=[-c.x,-c.y],e=(e||(f[i]=l[s]),[0,0]),s=[-d.x,-d.y],g=W(t.get("pageButtonGap",!0),t.get("itemGap",!0)),f=(p&&("end"===t.get("pageButtonPosition",!0)?s[i]+=n[o]-d[o]:e[i]+=d[o]+g),s[1-i]+=c[r]/2-d[r]/2,l.setPosition(f),u.setPosition(e),h.setPosition(s),{x:0,y:0}),c=(f[o]=(p?n:c)[o],f[r]=Math.max(c[r],d[r]),f[a]=Math.min(0,d[a]+s[1-i]),u.__rectSize=n[o],p?((e={x:0,y:0})[o]=Math.max(n[o]-d[o]-g,0),e[r]=f[r],u.setClipPath(new pl({shape:e})),u.__rectSize=e[o]):h.eachChild(function(t){t.attr({invisible:!0,silent:!0})}),this._getPageInfo(t));return null!=c.pageIndex&&vc(l,{x:c.contentPosition[0],y:c.contentPosition[1]},p?t:null),this._updatePageInfoView(t,c),f},zA.prototype._pageGo=function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},zA.prototype._updatePageInfoView=function(n,i){var o=this._controllerGroup,t=(nt(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=o.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")}),o.childOfName("pageText")),e=n.get("pageFormatter"),r=i.pageIndex,r=null!=r?r+1:0,a=i.pageCount;t&&e&&t.setStyle("text",F(e)?e.replace("{current}",null==r?"":r+"").replace("{total}",null==a?"":a+""):e({current:r,total:a}))},zA.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,t=t.getOrient().index,o=RA[t],r=NA[t],e=this._findTargetItemIndex(e),a=n.children(),s=a[e],l=a.length,u=l?1:0,h={contentPosition:[n.x,n.y],pageCount:u,pageIndex:u-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s);h.contentPosition[t]=-n.s;for(var c=e+1,d=n,p=n,f=null;c<=l;++c)(!(f=g(a[c]))&&p.e>d.s+i||f&&!y(f,d.s))&&(d=p.i>d.i?p:f)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=d.i),++h.pageCount),p=f;for(c=e-1,d=n,p=n,f=null;-1<=c;--c)(f=g(a[c]))&&y(p,f.s)||!(d.i=e&&t.s<=e+i}},zA.prototype._findTargetItemIndex=function(n){var i,o;return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==o&&null!=t&&(o=e),t===n&&(i=e)}),null!=i?i:o):0},zA.type="legend.scroll",zA);function zA(){var t=null!==PA&&PA.apply(this,arguments)||this;return t.type=zA.type,t.newlineDisabled=!0,t._currentIndex=0,t}y1(function(t){y1(CA),t.registerComponentModel(kA),t.registerComponentView(EA),t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})});u(FA,BA=g),FA.type="tooltip",FA.dependencies=["axisPointer"],FA.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:_.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:_.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:_.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:_.color.tertiary,fontSize:14}};var BA,VA=FA;function FA(){var t=null!==BA&&BA.apply(this,arguments)||this;return t.type=FA.type,t}function GA(t){var e=t.get("confine");return null!=e?e:"richText"===t.get("renderMode")}function WA(t){if(w.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n'):""),F(t))r.innerHTML=t+c;else if(t){r.innerHTML="",V(t)||(t=[t]);for(var d,p=0;p"),r=f.join(e);this._showOrMove(i,function(){this._updateContentNotChangedOnAxis(t,d)?this._updatePosition(i,o,n[0],n[1],this._tooltipContent,d):this._showTooltipContent(i,r,d,Math.random()+"",n[0],n[1],o,null,g)})},sL.prototype._showSeriesItemTooltip=function(t,e,n){var i,o,r,a,s,l=this._ecModel,e=U(e),u=e.seriesIndex,h=l.getSeriesByIndex(u),c=e.dataModel||h,d=e.dataIndex,e=e.dataType,p=c.getData(e),f=this._renderMode,g=t.positionDefault,y=lL([p.getItemModel(d),c,h&&(h.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null),h=y.get("trigger");null!=h&&"item"!==h||(i=c.getDataParams(d,e),o=new $y,i.marker=o.makeTooltipMarker("item",Lp(i.color),f),g=Hg(c.formatTooltip(d,!1,e)),h=y.get("order"),e=y.get("valueFormatter"),r=g.frag,a=r?Uy(e?P({valueFormatter:e},r):r,o,f,h,l.get("useUTC"),y.get("textStyle")):g.text,s="item_"+c.name+"_"+d,this._showOrMove(y,function(){this._showTooltipContent(y,a,i,s,t.offsetX,t.offsetY,t.position,t.target,o)}),n({type:"showTip",dataIndexInside:d,dataIndex:p.getRawIndex(d),seriesIndex:u,from:this.uid}))},sL.prototype._showComponentItemTooltip=function(e,n,t){var i="html"===this._renderMode,o=U(n),r=o.tooltipConfig.option||{},a=r.encodeHTMLContent,a=(F(r)&&(r={content:r,formatter:r},a=!0),a&&i&&r.content&&((r=v(r)).content=Se(r.content)),[r]),i=this._ecModel.getComponent(o.componentMainType,o.componentIndex),o=(i&&a.push(i),a.push({formatter:r.content}),e.positionDefault),s=lL(a,this._tooltipModel,o?{position:o}:null),l=s.get("content"),u=Math.random()+"",h=new $y;this._showOrMove(s,function(){var t=v(s.get("formatterParams")||{});this._showTooltipContent(s,l,t,u,e.offsetX,e.offsetY,e.position,n,h)}),t({type:"showTip",from:this.uid})},sL.prototype._showTooltipContent=function(n,t,i,e,o,r,a,s,l){var u,h,c,d,p;this._ticket="",n.get("showContent")&&n.get("show")&&((u=this._tooltipContent).setEnterable(n.get("enterable")),h=n.get("formatter"),a=a||n.get("position"),t=t,c=this._getNearestPoint([o,r],i,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)).color,h&&(t=F(h)?(d=n.ecModel.get("useUTC"),t=h,kp(t=(p=V(i)?i[0]:i)&&p.axisType&&0<=p.axisType.indexOf("time")?sp(p.axisValue,t,d):t,i,!0)):N(h)?(p=S(function(t,e){t===this._ticket&&(u.setContent(e,l,n,c,a),this._updatePosition(n,a,o,r,u,i,s))},this),this._ticket=e,h(i,e,p)):h),u.setContent(t,l,n,c,a),u.show(n,c),this._updatePosition(n,a,o,r,u,i,s))},sL.prototype._getNearestPoint=function(t,e,n,i,o){return"axis"===n||V(e)?{color:i||o}:V(e)?void 0:{color:i||e.color||e.borderColor}},sL.prototype._updatePosition=function(t,e,n,i,o,r,a){var s,l=this._api.getWidth(),u=this._api.getHeight(),h=(e=e||t.get("position"),o.getSize()),c=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();a&&p.applyTransform(a.transform),V(e=N(e)?e([n,i],r,o.el,p,{viewSize:[l,u],contentSize:h.slice()}):e)?(n=Y(e[0],l),i=Y(e[1],u)):E(e)?((r=e).width=h[0],r.height=h[1],n=(r=jp(r,{width:l,height:u})).x,i=r.y,d=c=null):i=(n=(s=F(e)&&a?function(t,e,n,i){var o=n[0],r=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-o/2,l=e.y+h/2-r/2;break;case"top":s=e.x+u/2-o/2,l=e.y-r-a;break;case"bottom":s=e.x+u/2-o/2,l=e.y+h+a;break;case"left":s=e.x-o-a,l=e.y+h/2-r/2;break;case"right":s=e.x+u+a,l=e.y+h/2-r/2}return[s,l]}(e,p,h,t.get("borderWidth")):function(t,e,n,i,o,r,a){var n=n.getSize(),s=n[0],n=n[1];null!=r&&(ih[0]?s:o)[0]:r[0]=(a[0]>h[0]?o:s)[0],"y0"===n[1]?r[1]=(a[1]>h[1]?s:o)[1]:r[1]=(a[1]>h[1]?o:s)[1],i.getMarkerPosition(r,n,!0)):(a=[l=t.get(n[0],e),u=t.get(n[1],e)],c.clampData&&c.clampData(a,a),c.dataToPoint(a,!0)),_w(c,"cartesian2d")&&(o=c.getAxis("x"),s=c.getAxis("y"),l=t.get(n[0],e),u=t.get(n[1],e),QL(l)?h[0]=o.toGlobalCoord(o.getExtent()["x0"===n[0]?0:1]):QL(u)&&(h[1]=s.toGlobalCoord(s.getExtent()["y0"===n[1]?0:1]))),isNaN(p)||(h[0]=p),isNaN(d)||(h[1]=d)):h=[p,d],h}var nP,iP=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],oP=(u(rP,nP=_a),rP.prototype.updateTransform=function(t,e,o){e.eachSeries(function(n){var i,t=gL.getMarkerModelFromSeries(n,"markArea");t&&(i=t.getData()).each(function(e){var t=B(iP,function(t){return eP(i,e,t,n,o)});i.setItemLayout(e,t),i.getItemGraphicEl(e).setShape("points",t)})},this)},rP.prototype.renderSeries=function(a,o,t,s){var l=a.coordinateSystem,e=a.id,u=a.getData(),n=this.markerGroupMap,r=n.get(e)||n.set(e,{group:new cr}),h=(this.group.add(r.group),this.markKeep(r),function(t,n,e){var i,o;{var r;i=t?(r=B(t&&t.dimensions,function(t){var e=n.getData();return P(P({},e.getDimensionInfo(e.mapDimension(t))||{}),{name:t,ordinalMeta:null})}),o=B(["x0","y0","x1","y1"],function(t,e){return{name:t,type:r[e%2].type}}),new H_(o,e)):new H_(o=[{name:"value",type:"float"}],e)}e=B(e.get("data"),M(KL,n,t,e));t&&(e=ht(e,M(tP,t)));t=t?function(t,e,n,i){return ny(t.coord[Math.floor(i/2)][i%2],o[i])}:function(t,e,n,i){return ny(t.value,o[i])};return i.initData(e,null,t),i.hasItemOption=!0,i}(l,a,o));o.setData(h),h.each(function(e){var t=B(iP,function(t){return eP(h,e,t,a,s)}),n=l.getAxis("x").scale,i=l.getAxis("y").scale,o=n.getExtent(),r=i.getExtent(),n=[n.parse(h.get("x0",e)),n.parse(h.get("x1",e))],i=[i.parse(h.get("y0",e)),i.parse(h.get("y1",e))],o=(kr(n),kr(i),!(o[0]>n[1]||o[1]i[1]||r[1]r&&(e[1-i]=e[i]+n.sign*r)}function wP(t,e){t=t[e]-t[1-e];return{span:Math.abs(t),sign:0e[1]&&(e[1]=t[1])})}),[(e=Jx((n=e.getAxisModel()).axis.scale,n,o).calculate()).min,e.max]),this._updateMinMaxSpan(),n=this.calculateDataWindow(t.settledOption),this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel())},BP.prototype.filterData=function(t,e){var o,n,r,c;t===this._dataZoomModel&&(o=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),c=this._valueWindow,"none"!==r)&&NP(n,function(n){var l,u,i=n.getData(),h=i.mapDimensionsAll(o);h.length&&("weakFilter"===r?(l=i.getStore(),u=B(h,function(t){return i.getDimensionIndex(t)},i),i.filterSelf(function(t){for(var e,n,i,o=0;oc[1];if(a&&!s&&!r)return!0;a&&(i=!0),s&&(e=!0),r&&(n=!0)}return i&&e&&n})):NP(h,function(t){var e;"empty"===r?n.setData(i=i.map(t,function(t){return(e=t)>=c[0]&&e<=c[1]?t:NaN;var e})):((e={})[t]=c,i.selectRange(e))}),NP(h,function(t){i.setApproximateExtent(c,t)}))})},BP.prototype._updateMinMaxSpan=function(){var i=this._minMaxSpan={},o=this._dataZoomModel,r=this._dataExtent;NP(["min","max"],function(t){var e=o.get(t+"Span"),n=o.get(t+"ValueSpan");null!=(n=null!=n?this.getAxisModel().axis.scale.parse(n):n)?e=Ir(r[0]+n,r,[0,100],!0):null!=e&&(n=Ir(e,[0,100],r,!0)-r[0]),i[t+"Span"]=e,i[t+"ValueSpan"]=n},this)},BP.prototype._setAxisModel=function(){var t,e=this.getAxisModel(),n=this._percentWindow,i=this._valueWindow;n&&(t=Pr(i,[0,500]),t=Math.min(t,20),e=e.axis.scale.rawExtentInfo,0!==n[0]&&e.setDeterminedMinMax("min",+i[0].toFixed(t)),100!==n[1]&&e.setDeterminedMinMax("max",+i[1].toFixed(t)),e.freeze())},BP);function BP(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}var VP={getTargetSeries:function(r){function t(o){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(t,e){var n=r.getComponent(lP(t),e);o(t,e,n,i)})})}t(function(t,e,n,i){n.__dzAxisProxy=null});var o=[],e=(t(function(t,e,n,i){n.__dzAxisProxy||(n.__dzAxisProxy=new zP(t,e,i,r),o.push(n.__dzAxisProxy))}),it());return nt(o,function(t){nt(t.getTargetSeriesModels(),function(t){e.set(t.uid,t)})}),e},overallReset:function(t,i){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(t,e){n.getAxisProxy(t,e).reset(n)}),n.eachTargetAxis(function(t,e){n.getAxisProxy(t,e).filterData(n,i)})}),t.eachComponent("dataZoom",function(t){var e,n=t.findRepresentativeAxisProxy();n&&(e=n.getDataPercentWindow(),n=n.getDataValueWindow(),t.setCalculatedRange({start:e[0],end:e[1],startValue:n[0],endValue:n[1]}))})}};var FP=!1;function GP(t){FP||(FP=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,VP),t.registerAction("dataZoom",function(e,t){nt(uP(t,e),function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function WP(t){GP(t),t.registerComponentModel(mP),t.registerComponentView(AP),DP(t)}u(XP,HP=c0),XP.type="dataZoom.slider",XP.layoutMode="box",XP.defaultOption=Vd(c0.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:_.color.accent10,borderRadius:0,backgroundColor:_.color.transparent,dataBackground:{lineStyle:{color:_.color.accent30,width:.5},areaStyle:{color:_.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:_.color.accent40,width:.5},areaStyle:{color:_.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:_.color.neutral00,borderColor:_.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:_.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:_.color.tertiary},brushSelect:!0,brushStyle:{color:_.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:_.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15});var HP,YP=XP;function XP(){var t=null!==HP&&HP.apply(this,arguments)||this;return t.type=XP.type,t}var UP,ZP=pl,jP="horizontal",qP="vertical",KP=["line","bar","candlestick","scatter"],$P={easing:"cubicOut",duration:100,delay:0},QP=(u(JP,UP=jh),JP.prototype.init=function(t,e){this.api=e,this._onBrush=S(this._onBrush,this),this._onBrushEnd=S(this._onBrushEnd,this)},JP.prototype.render=function(t,e,n,i){UP.prototype.render.apply(this,arguments),Cm(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1===t.get("show")?this.group.removeAll():t.noTarget()?(this._clear(),this.group.removeAll()):(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView())},JP.prototype.dispose=function(){this._clear(),UP.prototype.dispose.apply(this,arguments)},JP.prototype._clear=function(){Dm(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},JP.prototype._buildView=function(){var t=this.group,e=(t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval(),this._displayables.sliderGroup=new cr);this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},JP.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,e=Kp(t,e).refContainer,i=this._findCoordRect(),o=t.get("defaultLocationEdgeGap",!0)||0,r=this._orient===jP?{right:e.width-i.x-i.width,top:e.height-30-o-n,width:i.width,height:30}:{right:o,top:i.y,width:30,height:i.height},a=Jp(t.option),n=(nt(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=r[t])}),jp(a,e));this._location={x:n.x,y:n.y},this._size=[n.width,n.height],this._orient===qP&&this._size.reverse()},JP.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),i=i&&i.get("inverse"),o=this._displayables.sliderGroup,r=(this._dataShadowInfo||{}).otherAxisInverse,n=(o.attr(n!==jP||i?n===jP&&i?{scaleY:r?1:-1,scaleX:-1}:n!==qP||i?{scaleY:r?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:r?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:r?1:-1,scaleX:1}),t.getBoundingRect([o]));t.x=e.x-n.x,t.y=e.y-n.y,t.markRedraw()},JP.prototype._getViewExtent=function(){return[0,this._size[0]]},JP.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect"),t=(n.add(new ZP({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),new ZP({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:S(this._onClickPanel,this)})),e=this.api.getZr();i?(t.on("mousedown",this._onBrushStart,this),t.cursor="crosshair",e.on("mousemove",this._onBrush),e.on("mouseup",this._onBrushEnd)):(e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)),n.add(t)},JP.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,o=i.getRawData(),r=i.getShadowDim&&i.getShadowDim(),r=r&&o.getDimensionInfo(r)?i.getShadowDim():t.otherDim;if(null!=r)for(var a,s,l,u,h,c,d,p,f,g,y,m,v,_=this._shadowPolygonPts,x=this._shadowPolylinePts,b=(o===this._shadowData&&r===this._shadowDim&&e[0]===n[0]&&e[1]===n[1]||(a=o.getDataExtent(t.thisDim),i=.3*((s=o.getDataExtent(r))[1]-s[0]),s=[s[0]-i,s[1]+i],l=[0,e[1]],n=[0,e[0]],u=[[e[0],0],[0,0]],h=[],c=n[1]/Math.max(1,o.count()-1),d=e[0]/(a[1]-a[0]),p="time"===t.thisAxis.type,f=-c,g=Math.round(o.count()/e[0]),o.each([t.thisDim,r],function(t,e,n){0e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,t=this._updateInterval("all",t[0]-e),this._updateView(),t&&this._dispatchZoomAction(!1))},JP.prototype._onBrushStart=function(t){var e=t.offsetX,t=t.offsetY;this._brushStart=new H(e,t),this._brushing=!0,this._brushStartTime=+new Date},JP.prototype._onBrushEnd=function(t){var e,n,i,o;this._brushing&&(i=this._displayables.brushRect,this._brushing=!1,i)&&(i.attr("ignore",!0),i=i.shape,+new Date-this._brushStartTime<200&&Math.abs(i.width)<5||(e=this._getViewExtent(),n=[0,100],bP(0,i=this._handleEnds=[i.x,i.x+i.width],e,0,null!=(o=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan()).minSpan?Ir(o.minSpan,n,e,!0):null,null!=o.maxSpan?Ir(o.maxSpan,n,e,!0):null),this._range=kr([Ir(i[0],e,n,!0),Ir(i[1],e,n,!0)]),this._updateView(),this._dispatchZoomAction(!1)))},JP.prototype._onBrush=function(t){this._brushing&&(Le(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},JP.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,o=n.brushRect,i=(o||(o=n.brushRect=new ZP({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(o)),o.attr("ignore",!1),this._brushStart),n=this._displayables.sliderGroup,t=n.transformCoordToLocal(t,e),e=n.transformCoordToLocal(i.x,i.y),n=this._size;t[0]=Math.max(Math.min(n[0],t[0]),0),o.setShape({x:e[0],y:0,width:t[0]-e[0],height:n[1]})},JP.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?$P:null,start:e[0],end:e[1]})},JP.prototype._findCoordRect=function(){var t,e,n=hP(this.dataZoomModel).infoList;return t=(t=!t&&n.length?(n=n[0].model.coordinateSystem).getRect&&n.getRect():t)?t:{x:.2*(n=this.api.getWidth()),y:.2*(e=this.api.getHeight()),width:.6*n,height:.6*e}},JP.type="dataZoom.slider",JP);function JP(){var t=null!==UP&&UP.apply(this,arguments)||this;return t.type=JP.type,t._displayables={},t}function tO(t){t.registerComponentModel(YP),t.registerComponentView(QP),GP(t)}y1(function(t){y1(WP),y1(tO)}),y1(iw);var eO={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},nO=(iO.prototype.evaluate=function(t){var e=typeof t;return F(e)?this._condVal.test(t):!!G(e)&&this._condVal.test(t+"")},iO);function iO(t){null==(this._condVal=F(t)?new RegExp(t):_t(t)?t:null)&&f("")}rO.prototype.evaluate=function(){return this.value};var oO=rO;function rO(){}sO.prototype.evaluate=function(){for(var t=this.children,e=0;e + + + + + + + + + +
    + + + + + + + diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/nvue.html b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/nvue.html new file mode 100644 index 0000000..c0f7558 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/nvue.html @@ -0,0 +1,177 @@ + + + + + + + + + + +
    + + + + + + + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/uni.webview.1.5.3.js b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/uni.webview.1.5.3.js new file mode 100644 index 0000000..a9f59f2 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/lime-echart/static/uni.webview.1.5.3.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).uni=n()}(this,(function(){"use strict";try{var e={};Object.defineProperty(e,"passive",{get:function(){!0}}),window.addEventListener("test-passive",null,e)}catch(e){}var n=Object.prototype.hasOwnProperty;function i(e,i){return n.call(e,i)}var t=[];function o(){return window.__dcloud_weex_postMessage||window.__dcloud_weex_}var r=function(e,n){var i={options:{timestamp:+new Date},name:e,arg:n};if(o()){if("postMessage"===e){var r={data:[n]};return window.__dcloud_weex_postMessage?window.__dcloud_weex_postMessage(r):window.__dcloud_weex_.postMessage(JSON.stringify(r))}var a={type:"WEB_INVOKE_APPSERVICE",args:{data:i,webviewIds:t}};window.__dcloud_weex_postMessage?window.__dcloud_weex_postMessageToService(a):window.__dcloud_weex_.postMessageToService(JSON.stringify(a))}if(!window.plus)return window.parent.postMessage({type:"WEB_INVOKE_APPSERVICE",data:i,pageId:""},"*");if(0===t.length){var d=plus.webview.currentWebview();if(!d)throw new Error("plus.webview.currentWebview() is undefined");var s=d.parent(),w="";w=s?s.id:d.id,t.push(w)}if(plus.webview.getWebviewById("__uniapp__service"))plus.webview.postMessageToUniNView({type:"WEB_INVOKE_APPSERVICE",args:{data:i,webviewIds:t}},"__uniapp__service");else{var u=JSON.stringify(i);plus.webview.getLaunchWebview().evalJS('UniPlusBridge.subscribeHandler("'.concat("WEB_INVOKE_APPSERVICE",'",').concat(u,",").concat(JSON.stringify(t),");"))}},a={navigateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("navigateTo",{url:encodeURI(n)})},navigateBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.delta;r("navigateBack",{delta:parseInt(n)||1})},switchTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("switchTab",{url:encodeURI(n)})},reLaunch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("reLaunch",{url:encodeURI(n)})},redirectTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("redirectTo",{url:encodeURI(n)})},getEnv:function(e){o()?e({nvue:!0}):window.plus?e({plus:!0}):e({h5:!0})},postMessage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r("postMessage",e.data||{})}},d=/uni-app/i.test(navigator.userAgent),s=/Html5Plus/i.test(navigator.userAgent),w=/complete|loaded|interactive/;var u=window.my&&navigator.userAgent.indexOf("AlipayClient")>-1;var g=window.swan&&window.swan.webView&&/swan/i.test(navigator.userAgent);var c=window.qq&&window.qq.miniProgram&&/QQ/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var v=window.tt&&window.tt.miniProgram&&/toutiaomicroapp/i.test(navigator.userAgent);var m=window.wx&&window.wx.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var p=window.qa&&/quickapp/i.test(navigator.userAgent);var f=window.ks&&window.ks.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var l=window.tt&&window.tt.miniProgram&&/Lark|Feishu/i.test(navigator.userAgent);var _=window.jd&&window.jd.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);for(var E,b=function(){window.UniAppJSBridge=!0,document.dispatchEvent(new CustomEvent("UniAppJSBridgeReady",{bubbles:!0,cancelable:!0}))},h=[function(e){if(d||s)return window.__dcloud_weex_postMessage||window.__dcloud_weex_?document.addEventListener("DOMContentLoaded",e):window.plus&&w.test(document.readyState)?setTimeout(e,0):document.addEventListener("plusready",e),a},function(e){if(m)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.wx.miniProgram},function(e){if(c)return window.QQJSBridge&&window.QQJSBridge.invoke?setTimeout(e,0):document.addEventListener("QQJSBridgeReady",e),window.qq.miniProgram},function(e){if(u){document.addEventListener("DOMContentLoaded",e);var n=window.my;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(g)return document.addEventListener("DOMContentLoaded",e),window.swan.webView},function(e){if(v)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(p){window.QaJSBridge&&window.QaJSBridge.invoke?setTimeout(e,0):document.addEventListener("QaJSBridgeReady",e);var n=window.qa;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(f)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.ks.miniProgram},function(e){if(l)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(_)return window.JDJSBridgeReady&&window.JDJSBridgeReady.invoke?setTimeout(e,0):document.addEventListener("JDJSBridgeReady",e),window.jd.miniProgram},function(e){return document.addEventListener("DOMContentLoaded",e),a}],y=0;y0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("navigateTo",{url:encodeURI(n)})},navigateBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.delta;r("navigateBack",{delta:parseInt(n)||1})},switchTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("switchTab",{url:encodeURI(n)})},reLaunch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("reLaunch",{url:encodeURI(n)})},redirectTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("redirectTo",{url:encodeURI(n)})},getEnv:function(e){a()?e({uvue:!0}):o()?e({nvue:!0}):window.plus?e({plus:!0}):e({h5:!0})},postMessage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r("postMessage",e.data||{})}},s=/uni-app/i.test(navigator.userAgent),w=/Html5Plus/i.test(navigator.userAgent),u=/complete|loaded|interactive/;var g=window.my&&navigator.userAgent.indexOf(["t","n","e","i","l","C","y","a","p","i","l","A"].reverse().join(""))>-1;var v=window.swan&&window.swan.webView&&/swan/i.test(navigator.userAgent);var c=window.qq&&window.qq.miniProgram&&/QQ/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var p=window.tt&&window.tt.miniProgram&&/toutiaomicroapp/i.test(navigator.userAgent);var _=window.wx&&window.wx.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var m=window.qa&&/quickapp/i.test(navigator.userAgent);var f=window.ks&&window.ks.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var l=window.tt&&window.tt.miniProgram&&/Lark|Feishu/i.test(navigator.userAgent);var E=window.jd&&window.jd.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var x=window.xhs&&window.xhs.miniProgram&&/xhsminiapp/i.test(navigator.userAgent);for(var S,h=function(){window.UniAppJSBridge=!0,document.dispatchEvent(new CustomEvent("UniAppJSBridgeReady",{bubbles:!0,cancelable:!0}))},y=[function(e){if(s||w)return window.__uniapp_x_postMessage||window.__uniapp_x_||window.__dcloud_weex_postMessage||window.__dcloud_weex_?document.addEventListener("DOMContentLoaded",e):window.plus&&u.test(document.readyState)?setTimeout(e,0):document.addEventListener("plusready",e),d},function(e){if(_)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.wx.miniProgram},function(e){if(c)return window.QQJSBridge&&window.QQJSBridge.invoke?setTimeout(e,0):document.addEventListener("QQJSBridgeReady",e),window.qq.miniProgram},function(e){if(g){document.addEventListener("DOMContentLoaded",e);var n=window.my;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(v)return document.addEventListener("DOMContentLoaded",e),window.swan.webView},function(e){if(p)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(m){window.QaJSBridge&&window.QaJSBridge.invoke?setTimeout(e,0):document.addEventListener("QaJSBridgeReady",e);var n=window.qa;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(f)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.ks.miniProgram},function(e){if(l)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(E)return window.JDJSBridgeReady&&window.JDJSBridgeReady.invoke?setTimeout(e,0):document.addEventListener("JDJSBridgeReady",e),window.jd.miniProgram},function(e){if(x)return window.xhs.miniProgram},function(e){return document.addEventListener("DOMContentLoaded",e),d}],M=0;M + + + + + + + + + +
    + + + + + + + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js new file mode 100644 index 0000000..34318eb --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../../common/vendor.js"),s={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup(t){}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let t={backgroundColor:this.bg};return this.borderRadius,t=Object.assign(t,{borderRadius:this.borderRadius}),t},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:s,windowHeight:i,windowTop:o,safeArea:e,screenHeight:a,safeAreaInsets:r}=t.index.getWindowInfo();this.popupWidth=s,this.popupHeight=i+(o||0),e&&this.safeArea?this.safeAreaInsets=a-e.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(t=!0){},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(t){t.stopPropagation(),this.clearPropagation=!0},open(t){if(this.showPopup)return;t&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(t)||(t=this.type),this.config[t]?(this[this.config[t]](),this.$emit("change",{show:!0,type:t})):console.error("缺少类型:",t)},close(t){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(t){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.showPoptrans(),this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},t||this.showPoptrans()},center(t){this.popupstyle="center",this.ani=["fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},t||this.showPoptrans()},left(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},t||this.showPoptrans()},right(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},t||this.showPoptrans()},showPoptrans(){this.$nextTick((()=>{this.showPopup=!0,this.showTrans=!0}))}}};if(!Array){t.resolveComponent("uni-transition")()}Math;const i=t._export_sfc(s,[["render",function(s,i,o,e,a,r){return t.e({a:a.showPopup},a.showPopup?t.e({b:a.maskShow},a.maskShow?{c:t.o(r.onTap),d:t.p({name:"mask","mode-class":"fade",styles:a.maskClass,duration:a.duration,show:a.showTrans})}:{},{e:t.s(r.getStyles),f:t.n(a.popupstyle),g:t.o(((...t)=>r.clear&&r.clear(...t))),h:t.o(r.onTap),i:t.p({"mode-class":a.ani,name:"content",styles:a.transClass,duration:a.duration,show:a.showTrans}),j:t.o(((...t)=>r.touchstart&&r.touchstart(...t))),k:t.n(a.popupstyle),l:t.n(r.isDesktop?"fixforpc-z-index":"")}):{})}]]);wx.createComponent(i); diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json new file mode 100644 index 0000000..3a0615f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "uni-transition": "../../../uni-transition/components/uni-transition/uni-transition" + } +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml new file mode 100644 index 0000000..9d064c5 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss new file mode 100644 index 0000000..5635524 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss @@ -0,0 +1 @@ +.uni-popup{position:fixed;z-index:99999}.uni-popup.top,.uni-popup.left,.uni-popup.right{top:0}.uni-popup .uni-popup__wrapper{display:block;position:relative}.uni-popup .uni-popup__wrapper.left,.uni-popup .uni-popup__wrapper.right{padding-top:0;flex:1}.fixforpc-z-index{z-index:999}.fixforpc-top{top:0} diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js new file mode 100644 index 0000000..affdd6a --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../../common/vendor.js");class e{constructor(e,i){this.options=e,this.animation=t.index.createAnimation({...e}),this.currentStepAnimates={},this.next=0,this.$=i}_nvuePushAnimates(t,e){let n=this.currentStepAnimates[this.next],s={};if(s=n||{styles:{},config:{}},i.includes(t)){s.styles.transform||(s.styles.transform="");let i="";"rotate"===t&&(i="deg"),s.styles.transform+=`${t}(${e+i}) `}else s.styles[t]=`${e}`;this.currentStepAnimates[this.next]=s}_animateRun(t={},e={}){let i=this.$.$refs.ani.ref;if(i)return new Promise(((n,s)=>{nvueAnimation.transition(i,{styles:t,...e},(t=>{n()}))}))}_nvueNextAnimate(t,e=0,i){let n=t[e];if(n){let{styles:s,config:a}=n;this._animateRun(s,a).then((()=>{e+=1,this._nvueNextAnimate(t,e,i)}))}else this.currentStepAnimates={},"function"==typeof i&&i(),this.isEnd=!0}step(t={}){return this.animation.step(t),this}run(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof t&&t()}),this.$.durationTime)}}const i=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];i.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((t=>{e.prototype[t]=function(...e){return this.animation[t](...e),this}})),exports.createAnimation=function(t,i){if(i)return clearTimeout(i.timer),new e(t,i)}; diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js new file mode 100644 index 0000000..bafc826 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js @@ -0,0 +1 @@ +"use strict";const t=require("./createAnimation.js"),i=require("../../../../common/vendor.js"),s={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:0,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let t={...this.styles,"transition-duration":this.duration/1e3+"s"},i="";for(let s in t){i+=this.toLine(s)+":"+t[s]+";"}return i},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(i={}){i.duration&&(this.durationTime=i.duration),this.animation=t.createAnimation(Object.assign(this.config,i),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(t,i={}){return this.animation?(Object.keys(t).forEach((i=>{const s=t[i];"function"==typeof this.animation[i]&&(Array.isArray(s)?this.animation[i](...s):this.animation[i](s))})),this.animation.step(i),this):this},run(t){this.animation&&this.animation.run(t)},open(){clearTimeout(this.timer),this.isShow=!0,this.transform=this.styleInit(!1).transform||"",this.opacity=this.styleInit(!1).opacity||0,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=t.createAnimation(this.config,this),this.tranfromInit(!1).step(),this.animation.run((()=>{this.transform="",this.opacity=this.styleInit(!1).opacity||1,this.$emit("change",{detail:this.isShow})}))}),80)}))},close(t){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:t,transform:i}=this.styleInit(!1);this.opacity=t||1,this.transform=i,this.$emit("change",{detail:this.isShow})}))},styleInit(t){let i={transform:"",opacity:1};const s=(t,s)=>{const a=this.animationType(t)[s];s.startsWith("fade")?i.opacity=a:i.transform+=a+" "};return"string"==typeof this.modeClass?s(t,this.modeClass):this.modeClass.forEach((i=>s(t,i))),i},tranfromInit(t){let i=(t,i)=>{let s=null;"fade"===i?s=t?0:1:(s=t?"-100%":"0","zoom-in"===i&&(s=t?.8:1),"zoom-out"===i&&(s=t?1.2:1),"slide-right"===i&&(s=t?"100%":"0"),"slide-bottom"===i&&(s=t?"100%":"0")),this.animation[this.animationMode()[i]](s)};return"string"==typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((s=>{i(t,s)})),this.animation},animationType:t=>({fade:t?1:0,"slide-top":`translateY(${t?"0":"-100%"})`,"slide-right":`translateX(${t?"0":"100%"})`,"slide-bottom":`translateY(${t?"0":"100%"})`,"slide-left":`translateX(${t?"0":"-100%"})`,"zoom-in":`scaleX(${t?1:.8}) scaleY(${t?1:.8})`,"zoom-out":`scaleX(${t?1:1.2}) scaleY(${t?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:t=>t.replace(/([A-Z])/g,"-$1").toLowerCase()}};const a=i._export_sfc(s,[["render",function(t,s,a,n,e,o){return{a:e.isShow,b:e.animationData,c:i.n(a.customClass),d:i.s(o.transformStyles),e:i.o(((...t)=>o.onClick&&o.onClick(...t)))}}]]);wx.createComponent(a); diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml new file mode 100644 index 0000000..8fa2f75 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.js b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.js new file mode 100644 index 0000000..a63ff2f --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.js @@ -0,0 +1 @@ +"use strict";const t=require("../../../../common/vendor.js"),e="counterclockwise",r="clockwise",i={name:"zui-progress-circle",components:{},props:{size:{type:Number,default:180},position:{type:Number,default:0},range:{type:[Array],default:()=>[0,360]},direction:{type:String,default:r,validator:t=>[e,r].includes(t)},ringWidth:{type:Number,default:8},linecap:{type:String,default:"round"},texture:{type:[String,Array],default:()=>["#1BB507","#E2D8D8"]},pointer:String,pointerOffset:Number,fixOverlay:Boolean,debug:Boolean},data:()=>({}),computed:{preset(){const t={};return t.start=this.range[0],t.end=this.range[0]>this.range[1]?this.range[1]+360:this.range[1],t.ringRadius=(this.size-this.ringWidth)/2,t.ringCenter=this.size/2,t.ringPerimeter=2*Math.PI*t.ringRadius,t.ringLength=(t.end-t.start)*Math.PI*t.ringRadius/180,t.ringStart=t.start*Math.PI*t.ringRadius/180,t.ringEnd=t.end*Math.PI*t.ringRadius/180,/^(ccw|counterclockwise)$/i.test(this.direction)?t.direction=e:t.direction=r,t},textureFG(){const t=this.size;return"string"==typeof this.texture?this.parseTexture(this.texture,t):"[object Array]"===Object.prototype.toString.call(this.texture)?"number"==typeof this.texture[0]?this.parseTexture(this.texture,t):this.parseTexture(this.texture[0],t):this.parseTexture("#1BB507",t)},textureBG(){const t=this.size;return"string"==typeof this.texture?this.parseTexture(void 0,t):"[object Array]"===Object.prototype.toString.call(this.texture)?"number"==typeof this.texture[0]?this.parseTexture(void 0,t):this.parseTexture(this.texture[1],t):this.parseTexture("#E2D8D8",t)},hasBackground(){return!!this.textureBG},svgDataUrl(){let t=this.createSVG();return t=`data:image/svg+xml,${encodeURIComponent(t.replace(/ +/g," "))}`,t},style(){const t={width:`${this.size}px`,height:`${this.size}px`,"--zui-progress-circle-ring-size":`${this.size}px`,"--zui-progress-circle-ring-width":`${this.ringWidth}px`};return Object.keys(t).map((e=>`${e}:${t[e]}`)).join(";")},pointerStyle(){const t={},{start:e,end:r,ringRadius:i}=this.preset;let n=(r-e)*this.position+e;"round"!==this.linecap&&"butt"!==this.linecap||(n+=this.ringWidth/3*180/(Math.PI*i));const s=this.pointerOffset||0;return t["--zui-progress-circle-pointer-rotate"]=`translate(-${s}px, -50%) rotate(${n}deg)`,t["--zui-progress-circle-pointer-center"]=`${s}px 50%`,Object.keys(t).map((e=>`${e}:${t[e]}`)).join(";")}},methods:{parseTexture(t,e){if(!t)return;if(/^#[0-9a-f]+/i.test(t))return{type:"color",value:t};const r=(()=>{const t=999999*Math.random();return Math.round(t)+1e5})();return/Gradient>/i.test(t)?{type:"gradient",value:`url(#def_${r})`,def:t=/id="[^"]+"/.test(t)?t.replace(/id="[^"]+"/,`id="def_${r}"`):t.replace(/<(\w+Gradient) /,`<$1 id="def_${r}" `)}:"[object Array]"===Object.prototype.toString.call(t)?{type:"gradient",value:`url(#def_${r})`,def:t=this.createGradient(r,t.slice(1),t[0])}:{type:"pattern",value:`url(#def_${r})`,def:t=/\n ${new Array(e.length).fill(null).map(((t,r)=>``)).join("")}\n `},createPattern:(t,e,r)=>`\n \n `,createCircle(t,e,r){const{ringCenter:i,ringRadius:n,fixOverlay:s}=this.preset,a={cx:i,cy:i,r:n,"stroke-width":this.ringWidth,stroke:t&&t.value,"stroke-linecap":this.linecap,"stroke-dasharray":e.join(",")};if(s){const t="fg"===r?this.ringWidth:this.ringWidth-1;a["stroke-width"]=t>8?t:8}return`a[t]?`${t}="${a[t]}"`:"")).join(" ")}>`},generateDashArray(t){const{direction:r,ringStart:i,ringPerimeter:n,ringLength:s}=this.preset;let a=r===e?i+(1-t)*s:i,o=0,h=0,d=0;h=1+a,d=t*s;const c=a+t*s;return c>n?(o=c-n,h=a-o):o=0,[o,h,d,n]},createSVG(){const t=this.hasBackground?this.createCircle(this.textureBG,this.generateDashArray(1)):"",e=this.createCircle(this.textureFG,this.generateDashArray(this.position),"fg"),r=[this.textureFG.def||"",this.textureBG&&this.textureBG.def||""];return`\n \n ${r.join("\n")}\n \n \n ${t}\n ${e}\n \n`}}};const n=t._export_sfc(i,[["render",function(e,r,i,n,s,a){return t.e({a:i.pointer},i.pointer?{b:i.pointer,c:t.s(a.pointerStyle)}:{},{d:a.svgDataUrl,e:i.debug},(i.debug,{}),{f:t.n(i.debug?"debug":""),g:t.s(a.style)})}],["__scopeId","data-v-429415b9"]]);wx.createComponent(n); diff --git a/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.json b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.wxml b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.wxml new file mode 100644 index 0000000..10ff551 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.wxss b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.wxss new file mode 100644 index 0000000..47bac20 --- /dev/null +++ b/unpackage/dist/build/mp-weixin/uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.wxss @@ -0,0 +1 @@ +.zui-progress-circle.data-v-429415b9{--zui-progress-circle-debug-color: #f00;position:relative}.zui-progress-circle-wrapper.data-v-429415b9{width:100%;height:100%}.zui-progress-circle-ring.data-v-429415b9{width:var(--zui-progress-circle-ring-size);height:var(--zui-progress-circle-ring-size)}.zui-progress-circle-slot.data-v-429415b9{position:absolute;top:0;left:0;width:100%;height:100%;padding:var(--zui-progress-circle-ring-width);box-sizing:border-box}.zui-progress-circle-pointer.data-v-429415b9{position:absolute;z-index:10;top:50%;left:50%;transform:var(--zui-progress-circle-pointer-rotate);transform-origin:var(--zui-progress-circle-pointer-center);width:50%;height:50%;transition:transform .1s linear}.debug-frame.data-v-429415b9,.cross-v.data-v-429415b9,.cross-h.data-v-429415b9,.half-size.data-v-429415b9{position:absolute}.debug-frame.data-v-429415b9{position:absolute;z-index:99;top:0;left:0;width:100%;height:100%;border:1px solid var(--zui-progress-circle-debug-color);border-radius:50%}.cross-h.data-v-429415b9,.cross-v.data-v-429415b9,.half-size.data-v-429415b9{top:50%;left:50%;transform:translate(-50%,-50%);background-color:var(--zui-progress-circle-debug-color);mix-blend-mode:difference}.cross-v.data-v-429415b9{width:1px;height:100%}.cross-h.data-v-429415b9{width:100%;height:1px}.half-size.data-v-429415b9{width:50%;height:50%;border:1px solid var(--zui-progress-circle-debug-color);background-color:transparent;border-radius:50%} diff --git a/unpackage/dist/build/mp-weixin/utils/share.js b/unpackage/dist/build/mp-weixin/utils/share.js new file mode 100644 index 0000000..64a9f9e --- /dev/null +++ b/unpackage/dist/build/mp-weixin/utils/share.js @@ -0,0 +1 @@ +"use strict";const e=require("../common/vendor.js"),s={created(){e.index.showShareMenu({menus:["shareAppMessage","shareTimeline"]})}};exports.share=s; diff --git a/unpackage/dist/build/mp-weixin/utils/util.js b/unpackage/dist/build/mp-weixin/utils/util.js new file mode 100644 index 0000000..c9dc59c --- /dev/null +++ b/unpackage/dist/build/mp-weixin/utils/util.js @@ -0,0 +1 @@ +"use strict";function t(t,e){var r=0,n=t.toString(),o=e.toString();try{r+=n.split(".")[1].length}catch(a){}try{r+=o.split(".")[1].length}catch(a){}return Number(n.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,r)}require("../common/vendor.js"),require("../request/http.js"),exports.accAdd=function(t,e){var r,n,o;try{r=t.toString().split(".")[1].length}catch(a){r=0}try{n=e.toString().split(".")[1].length}catch(a){n=0}return(t*(o=Math.pow(10,Math.max(r,n)))+e*o)/o},exports.accDiv=function(e,r){var n=0,o=0;try{n=e.toString().split(".")[1].length}catch(a){}try{o=r.toString().split(".")[1].length}catch(a){}return t(Number(e.toString().replace(".",""))/Number(r.toString().replace(".","")),Math.pow(10,o-n))},exports.accMul=t,exports.accSub=function(t,e){var r,n,o;try{r=t.toString().split(".")[1].length}catch(a){r=0}try{n=e.toString().split(".")[1].length}catch(a){n=0}return((t*(o=Math.pow(10,Math.max(r,n)))-e*o)/o).toFixed(r>=n?r:n)},exports.getAgeByBirthYear=function(t){if(!t)return 0;let e=(new Date).getFullYear();return parseInt(e)-parseInt(t)},exports.getChgRateStr=function(t){if(t)return(t=String(t)).indexOf("-")>-1?(t=t.substr(1,t.length-1),"-"+parseFloat(t).toFixed(2)):0==parseFloat(t)?0:"+"+parseFloat(t).toFixed(2)},exports.getLastNameStr=function(t){if(t)return t.substr(0,1)},exports.getLocalDate=function(t){-1==t.indexOf("T")&&(t=t.replace(/-/g,"/"));let e=new Date(t),r=e.getFullYear(),n=e.getMonth()+1,o=e.getDate();return r+"-"+(n<10?"0"+n:n)+"-"+(o<10?"0"+o:o)},exports.getLocaleHourMinute=function(t){-1==t.indexOf("T")&&(t=t.replace(/-/g,"/"));let e=new Date(t),r=e.getHours(),n=e.getMinutes();return(r<10?"0"+r:r)+":"+(n<10?"0"+n:n)},exports.getLocaleMonthDayHourMinte=function(t){-1==t.indexOf("T")&&(t=t.replace(/-/g,"/"));let e=new Date(t),r=e.getMonth()+1,n=e.getDate(),o=e.getHours(),a=e.getMinutes();return(r<10?"0"+r:r)+"-"+(n<10?"0"+n:n)+" "+(o<10?"0"+o:o)+":"+(a<10?"0"+a:a)},exports.getLocaleTime=function(t){-1==t.indexOf("T")&&(t=t.replace(/-/g,"/"));let e=new Date(t),r=e.getFullYear(),n=e.getMonth()+1,o=e.getDate(),a=e.getHours(),i=e.getMinutes();return r+"-"+(n<10?"0"+n:n)+"-"+(o<10?"0"+o:o)+" "+(a<10?"0"+a:a)+":"+(i<10?"0"+i:i)},exports.getNumStr=function(t){if(!t)return;let e=t;return t<0&&(e=0-t),e=parseFloat(e),e>1e8?(t/1e8).toFixed(2)+"亿":e>1e4?(t/1e4).toFixed(2)+"万":t},exports.getRateStr=function(t){if(t)return(t=String(t)).indexOf("-")>-1?(t=t.substr(1,t.length-1),parseFloat(t).toFixed(2)):0==parseFloat(t)?0:parseFloat(t).toFixed(2)},exports.getRateUpOrDown=function(t){if(t)return String(t).indexOf("-")>-1},exports.isValidJSON=function(t){if("string"!=typeof t)return console.warn("输入必须是字符串类型"),!1;if(""===(t=t.trim()))return!1;try{const e=JSON.parse(t);return"object"==typeof e&&null!==e}catch(e){return console.log("JSON 格式错误:",e.message),!1}},exports.replaceAnswerLabel=function(t){return t.replace("","").replace("","")}; diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/WordCloud.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/WordCloud.js.map new file mode 100644 index 0000000..e212d8a --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/WordCloud.js.map @@ -0,0 +1 @@ +{"version":3,"file":"WordCloud.js","sources":["components/WordCloud/WordCloud.vue"],"sourcesContent":["\n\n\n\n\n"],"names":["uni"],"mappings":";;AAcA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA;AAAA,IAEL,UAAU;AAAA,MACR,MAAM;AAAA,MACN,UAAU;AAAA,MACV,SAAS,MAAM,CAAC;AAAA,IACjB;AAAA;AAAA,IAED,OAAO;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA,IAED,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA,IAED,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,WAAW,WAAW,SAAS;AAAA;AAAA,IAChD;AAAA;AAAA,IAED,gBAAgB;AAAA,MACd,MAAM;AAAA,MACN,SAAS,OAAO;AAAA,QACd,SAAS;AAAA;AAAA,QACT,SAAS;AAAA;AAAA,QACT,aAAa;AAAA;AAAA;IAEjB;AAAA,EACD;AAAA,EACD,OAAO;AACL,WAAO;AAAA,MACL,aAAa,KAAK;AAAA,MAClB,cAAc,KAAK;AAAA,MACnB,KAAK;AAAA;AAAA,MACL,aAAa,CAAG;AAAA;AAAA;EAEnB;AAAA,EACD,OAAO;AAAA,IACL,UAAU;AAAA,MACR,UAAU;AACR,aAAK,cAAa;AAAA,MACnB;AAAA,MACD,MAAM;AAAA,IACR;AAAA,EACD;AAAA,EACD,UAAU;AACR,SAAK,WAAU;AAAA,EAChB;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,MAAM,aAAa;AAEjB,YAAM,IAAI,QAAQ,aAAW,WAAW,SAAS,EAAE,CAAC;AAGpD,YAAM,QAAQA,cAAAA,MAAI,oBAAqB,EAAC,GAAG,IAAI;AAE/C,YAAM,OAAO,oBAAoB,EAC9B,OAAO,EAAE,MAAM,MAAM,MAAM,KAAG,CAAG,EACjC,KAAK,OAAO,QAAQ;AAEnB,Y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M,OAAO,KAAK,IAAI,GAAG,cAAc,IAAI,OAAK,EAAE,CAAC,CAAC;AACpD,YAAM,QAAQ,KAAK,IAAI,GAAG,cAAc,IAAI,OAAK,EAAE,CAAC,CAAC;AACrD,YAAM,MAAM,KAAK,IAAI,GAAG,cAAc,IAAI,OAAK,EAAE,CAAC,CAAC;AACnD,YAAM,SAAS,KAAK,IAAI,GAAG,cAAc,IAAI,OAAK,EAAE,CAAC,CAAC;AAEtD,aAAO,EAAE,MAAM,OAAO,KAAK,OAAK;AAAA,IACjC;AAAA;AAAA,IAGD,mBAAmB,MAAM,GAAG,GAAG,OAAO,UAAU;AAC9C,YAAM,MAAM,KAAK;AAGjB,UAAI,KAAI;AAGR,UAAI,UAAU,GAAG,CAAC;AAElB,UAAI,OAAO,KAAK;AAGhB,UAAI,YAAY;AAChB,UAAI,eAAe;AACnB,UAAI,SAAS,MAAM,GAAG,CAAC;AAGvB,UAAI,QAAO;AAAA,IACb;AAAA,EACF;AACF;;;;;;;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map index 9bf0bcd..c9ae042 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map @@ -1 +1 @@ -{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["\r\n\r\n\n","import App from './App'\nimport share from './utils/share.js'\n\n// #ifndef VUE3 \nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nimport analyticsPlugin from '@/src/plugins/analytics.js'\n\nexport function createApp() {\n const app = createSSRApp(App)\n // app.use(analyticsPlugin,{\n\t \n // })\n app.mixin(share)\n return {\n app\n }\n}\n// #endif"],"names":["uni","provide","res","createSS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AA,mBACA;AAAA,iBACD;AAAA,cACF;AAAA,YACA;AAAA,YACD,KAAK,OAAO;AAAA,YAEZ;AAAA,WACA;AAAA,QACF;AACA,sBAAc,eAAe,MAAM;AAElCF,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,SAAS;AAAA,YACT,YAAY;AAAA,WACZ;AAAA,SACD;AAAA,OACD;AAAA,IACF;AAAA,EACD;AACD;ACpDM,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAI5B,MAAI,MAAMC,iBAAK;AACf,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"} \ No newline at end of file +{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["\r\n\r\n\n","import App from './App'\nimport share from './utils/share.js'\n\n// #ifndef VUE3 \nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nimport analyticsPlugin from '@/src/plugins/analytics.js'\n\nexport function createApp() {\n const app = createSSRApp(App)\n // app.use(analyticsPlugin,{\n\t \n // })\n app.mixin(share)\n return {\n app\n }\n}\n// #endif"],"names":["uni","provide","res","createSSRApp","App","share"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,YAAY;AACxB,QAAI,aAAaA,cAAG,MAAC,cAAc;AACnCC,0BAAQ,gBAAe,WAAW,eAAe;AACjDA,0BAAQ,eAAc,WAAW,WAAW;AAC5CA,kBAAAA,QAAQ,eAAc,WAAW,SAAS,GAAG;AAC7C,QAAI,iBAAiB,WAAW,eAAe;AAC/C,QAAI,iBAAiBD,oBAAI;AACzBC,kBAAO,QAAC,aAAY,eAAe,SAAS,eAAe,MAAM,WAAW,eAAe;AA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mp-weixin/common/assets.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map index ec1e196..06a6c84 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map @@ -1 +1 @@ -{"version":3,"file":"assets.js","sources":["static/image/index/conceptTopBg.png","static/icon/home/conceptCenter/search.png","static/icon/home/conceptCenter/conceptScreenArrow.png","static/icon/home/downArrow.png","static/icon/home/upArrow.png","static/icon/home/browser.png","static/icon/home/like.png","static/icon/home/collect.png","static/icon/backBlack.png","static/icon/home/dateRange.png","static/icon/home/industrySearch.png","static/icon/home/industry_s.png","static/icon/home/level_s.png","static/icon/invest/upArrow.png","static/icon/invest/downArrow.png","static/image/index/noData.png","static/icon/home/monthLeftArrow.png","static/icon/home/monthRightArrow.png","static/icon/home/conceptCenter/sortType.png","static/icon/home/conceptCenter/transactionDate.png","static/icon/home/conceptCenter/timeAxis.png","static/icon/home/close.png","static/icon/home/conceptCenter/statistics.png","static/icon/home/conceptCenter/rank1.png","static/icon/home/conceptCenter/rank2.png","static/icon/home/conceptCenter/rank3.png","static/icon/home/conceptCenter/rankChg.png","static/icon/home/conceptCenter/calendar.png","static/icon/home/conceptCenter/browse.png","static/icon/home/sortArrow.png","static/icon/home/conceptCenter/pre.png","static/icon/home/conceptCenter/next.png","static/icon/home/conceptCenter/vipPopIcon.png","static/icon/home/conceptCenter/visitModule.png","static/icon/home/conceptCenter/free_s.png","static/icon/home/conceptCenter/pro_s.png","static/icon/mine/infoArrow.png","static/image/mine/vipBg.png","static/icon/mine/menuArrow.png","static/image/mine/service.png","static/icon/mine/basicInfo/edit.png","static/icon/mine/basicInfo/downArrow.png","static/icon/home/conceptCenter/lock.png","static/icon/home/expectScore.png","static/icon/home/expectScoreTips.png","static/icon/home/expectScoreDot.png","static/icon/home/eventDetails/like.png","static/icon/home/eventDetails/collect.png","static/icon/home/collect_s.png","static/icon/home/like_s.png","static/image/login/logo.png","static/icon/login/select_s.png","static/icon/login/select.png","static/icon/login/mobile.png","static/icon/login/code.png","static/icon/home/conceptCenter/chgDown.png","static/icon/home/conceptCenter/chgUp.png","static/icon/home/conceptCenter/newsReport.png","static/icon/home/conceptCenter/timeScreenArrow.png","static/icon/home/conceptCenter/reasonExpand.png","static/icon/home/conceptCenter/reasonRetract.png","pages/geGuCenter/icon/ydjk-icon.png","pages/geGuCenter/icon/ydjk-zs.png","pagesStock/static/icon/ai-icon.png","pagesStock/static/icon/ai-icon-1.png","pagesStock/static/icon/all-icon-3.png","pagesStock/static/icon/all-icon-4.png","pagesStock/static/icon/all-icon-5.png","pagesMine/static/image/vip/vipTopBg.png","pagesMine/static/image/vip/noVipTopBg.png","pagesMine/static/icon/vip/titleLeft_v.png","pagesMine/static/icon/vip/titleLeft.png","pagesMine/static/icon/vip/titleRight_v.png","pagesMine/static/icon/vip/titleRight.png","pagesMine/static/icon/vip/step1_v.png","pagesMine/static/icon/vip/step1.png","pagesMine/static/icon/vip/step2_v.png","pagesMine/static/icon/vip/step2.png","pagesMine/static/icon/vip/step3_v.png","pagesMine/static/icon/vip/step3.png","pagesMine/static/icon/vip/step4_v.png","pagesMine/static/icon/vip/step4.png","pagesMine/static/icon/vip/investQuestion.png","pagesMine/static/icon/vip/industrialResearch.png","pagesMine/static/icon/vip/operatingDecision.png","pagesMine/static/icon/vip/notContain.png","pagesMine/static/icon/vip/contain.png","pagesStock/static/icon/establishedTime.png","pagesStock/static/icon/registeredCapital.png","pagesStock/static/icon/location.png","pagesStock/static/icon/visitWebsite.png","pagesStock/static/icon/contrast.png","pagesStock/static/icon/optional.png","pagesStock/static/icon/share.png","pagesStock/static/icon/existStatus.png","pagesStock/static/icon/yRightArrow.png","pagesStock/static/icon/all-down-ed.png","static/icon/back.png","pagesStock/static/icon/all-icon-2.png","pagesStock/static/icon/downArrow.png","pagesStock/static/icon/upArrow.png","pagesStock/static/icon/female.png","pagesStock/static/icon/male.png","pagesStock/static/icon/lookMoreArrow.png","pagesStock/static/icon/logOffStatus.png","pagesStock/static/icon/industryRank.png","pagesStock/static/icon/rightArrow.png","pagesStock/static/icon/shangJiantou.png","pagesStock/static/icon/xiaJiantou.png","pagesStock/static/icon/yuan_shang.png","pagesStock/static/icon/yuan_jiang.png","pagesStock/static/icon/cwfx-1.png","pagesStock/static/icon/all-icon.png","pagesStock/static/icon/all-down.png","pagesStock/static/icon/cwfx-2.png","pagesStock/static/icon/news-search.png","pagesStock/static/icon/newsTime.png","pagesStock/static/icon/newsEyes.png","pagesStock/static/icon/newsFire.png"],"sourcesContent":["export default \"__VITE_ASSET__d6ecc137__\"","export default \"__VITE_ASSET__b302f437__\"","export default \"__VITE_ASSET__5adf95ad__\"","export default \"__VITE_ASSET__8df7b0f5__\"","export default \"__VITE_ASSET__ba196620__\"","export default \"__VITE_ASSET__7cd87439__\"","export default \"__VITE_ASSET__5865adfd__\"","export default \"__VITE_ASSET__91a42cd3__\"","export default \"__VITE_ASSET__e2320cab__\"","export default \"__VITE_ASSET__2eb5afb5__\"","export default \"__VITE_ASSET__88b167a0__\"","export default \"__VITE_ASSET__9575934c__\"","export default \"__VITE_ASSET__8c7915d5__\"","export default \"__VITE_ASSET__90bc001f__\"","export default \"__VITE_ASSET__aea13a27__\"","export default \"__VITE_ASSET__b24d5a1a__\"","export default \"__VITE_ASSET__dee2fcfb__\"","export default \"__VITE_ASSET__0c2c02c5__\"","export default \"__VITE_ASSET__82470a68__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__c7a73343__\"","export default \"__VITE_ASSET__e8755299__\"","export default \"__VITE_ASSET__02e2faf5__\"","export default \"__VITE_ASSET__8a40398b__\"","export default \"__VITE_ASSET__d84819c5__\"","export default \"__VITE_ASSET__3d07c79e__\"","export default \"__VITE_ASSET__48155bdc__\"","export default \"__VITE_ASSET__bad00d9c__\"","export default \"__VITE_ASSET__52b3a70e__\"","export default \"__VITE_ASSET__ef257487__\"","export default \"__VITE_ASSET__fd14dd9b__\"","export default \"__VITE_ASSET__a07753e4__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__c17f08dd__\"","export default \"__VITE_ASSET__deb69ad5__\"","export default \"__VITE_ASSET__5af0f618__\"","export default \"__VITE_ASSET__e806101e__\"","export default \"__VITE_ASSET__a9e08887__\"","export default \"__VITE_ASSET__38508020__\"","export default \"__VITE_ASSET__1abaff53__\"","export default \"__VITE_ASSET__e7517ca7__\"","export default \"__VITE_ASSET__004627de__\"","export default \"__VITE_ASSET__a55565e3__\"","export default \"__VITE_ASSET__f8a69fa0__\"","export default \"__VITE_ASSET__a2591d84__\"","export default \"__VITE_ASSET__5caa42c4__\"","export default \"__VITE_ASSET__ef008f83__\"","export default \"__VITE_ASSET__66931b80__\"","export default \"__VITE_ASSET__6e05d96f__\"","export default \"__VITE_ASSET__0f1956fd__\"","export default \"__VITE_ASSET__47866a71__\"","export default \"__VITE_ASSET__418b9a81__\"","export default \"__VITE_ASSET__5c886da6__\"","export default \"__VITE_ASSET__3eac5e41__\"","export default \"__VITE_ASSET__be94c031__\"","export default \"__VITE_ASSET__7a596e5e__\"","export default \"__VITE_ASSET__74e8da32__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__3278d016__\"","export default \"__VITE_ASSET__3216ef00__\"","export default \"__VITE_ASSET__9712ef19__\"","export default \"__VITE_ASSET__f6ba6c32__\"","export default \"/pagesStock/static/icon/ai-icon.png\"","export default \"/pagesStock/static/icon/ai-icon-1.png\"","export default \"/pagesStock/static/icon/all-icon-3.png\"","export default \"/pagesStock/static/icon/all-icon-4.png\"","export default \"/pagesStock/static/icon/all-icon-5.png\"","export default \"/pagesMine/static/image/vip/vipTopBg.png\"","export default \"/pagesMine/static/image/vip/noVipTopBg.png\"","export default \"/pagesMine/static/icon/vip/titleLeft_v.png\"","export default \"/pagesMine/static/icon/vip/titleLeft.png\"","export default \"/pagesMine/static/icon/vip/titleRight_v.png\"","export default \"/pagesMine/static/icon/vip/titleRight.png\"","export default \"/pagesMine/static/icon/vip/step1_v.png\"","export default \"/pagesMine/static/icon/vip/step1.png\"","export default \"/pagesMine/static/icon/vip/step2_v.png\"","export default \"/pagesMine/static/icon/vip/step2.png\"","export default \"/pagesMine/static/icon/vip/step3_v.png\"","export default \"/pagesMine/static/icon/vip/step3.png\"","export default \"/pagesMine/static/icon/vip/step4_v.png\"","export default \"/pagesMine/static/icon/vip/step4.png\"","export default \"/pagesMine/static/icon/vip/investQuestion.png\"","export default \"/pagesMine/static/icon/vip/industrialResearch.png\"","export default \"/pagesMine/static/icon/vip/operatingDecision.png\"","export default \"/pagesMine/static/icon/vip/notContain.png\"","export default \"/pagesMine/static/icon/vip/contain.png\"","export default \"/pagesStock/static/icon/establishedTime.png\"","export default \"/pagesStock/static/icon/registeredCapital.png\"","export default \"/pagesStock/static/icon/location.png\"","export default \"/pagesStock/static/icon/visitWebsite.png\"","export default \"/pagesStock/static/icon/contrast.png\"","export default \"/pagesStock/static/icon/optional.png\"","export default \"/pagesStock/static/icon/share.png\"","export default \"/pagesStock/static/icon/existStatus.png\"","export default \"/pagesStock/static/icon/yRightArrow.png\"","export default \"/pagesStock/static/icon/all-down-ed.png\"","export default \"__VITE_ASSET__c9455274__\"","export default \"/pagesStock/static/icon/all-icon-2.png\"","export default \"/pagesStock/static/icon/downArrow.png\"","export default \"/pagesStock/static/icon/upArrow.png\"","export default \"/pagesStock/static/icon/female.png\"","export default \"/pagesStock/static/icon/male.png\"","export default \"/pagesStock/static/icon/lookMoreArrow.png\"","export default \"/pagesStock/static/icon/logOffStatus.png\"","export default \"/pagesStock/static/icon/industryRank.png\"","export default \"/pagesStock/static/icon/rightArrow.png\"","export default \"/pagesStock/static/icon/shangJiantou.png\"","export default \"/pagesStock/static/icon/xiaJiantou.png\"","export default \"/pagesStock/static/icon/yuan_shang.png\"","export default \"/pagesStock/static/icon/yuan_jiang.png\"","export default \"/pagesStock/static/icon/cwfx-1.png\"","export default \"/pagesStock/static/icon/all-icon.png\"","export default \"/pagesStock/static/icon/all-down.png\"","export default \"/pagesStock/static/icon/cwfx-2.png\"","export default \"/pagesStock/static/icon/news-search.png\"","export default \"/pagesStock/static/icon/newsTime.png\"","export default \"/pagesStock/static/icon/newsEyes.png\"","export default \"/pagesStock/static/icon/newsFire.png\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"assets.js","sources":["static/image/index/conceptTopBg.png","static/icon/home/conceptCenter/search.png","static/icon/home/conceptCenter/conceptScreenArrow.png","static/icon/home/downArrow.png","static/icon/home/upArrow.png","static/icon/home/browser.png","static/icon/home/like.png","static/icon/home/collect.png","static/icon/backBlack.png","static/icon/home/dateRange.png","static/icon/home/industrySearch.png","static/icon/home/industry_s.png","static/icon/home/level_s.png","static/icon/invest/upArrow.png","static/icon/invest/downArrow.png","static/image/index/noData.png","static/icon/home/monthLeftArrow.png","static/icon/home/monthRightArrow.png","static/icon/home/conceptCenter/sortType.png","static/icon/home/conceptCenter/transactionDate.png","static/icon/home/conceptCenter/timeAxis.png","static/icon/home/close.png","static/icon/home/conceptCenter/statistics.png","static/icon/home/conceptCenter/rank1.png","static/icon/home/conceptCenter/rank2.png","static/icon/home/conceptCenter/rank3.png","static/icon/home/conceptCenter/rankChg.png","static/icon/home/conceptCenter/calendar.png","static/icon/home/conceptCenter/browse.png","static/icon/home/sortArrow.png","static/icon/home/conceptCenter/pre.png","static/icon/home/conceptCenter/next.png","static/icon/home/conceptCenter/vipPopIcon.png","static/icon/home/conceptCenter/visitModule.png","static/icon/home/conceptCenter/free_s.png","static/icon/home/conceptCenter/pro_s.png","static/icon/mine/infoArrow.png","static/image/mine/vipBg.png","static/icon/mine/menuArrow.png","static/image/mine/service.png","static/icon/mine/basicInfo/edit.png","static/icon/mine/basicInfo/downArrow.png","static/icon/home/conceptCenter/lock.png","static/icon/home/expectScore.png","static/icon/home/expectScoreTips.png","static/icon/home/expectScoreDot.png","static/icon/home/eventDetails/like.png","static/icon/home/eventDetails/collect.png","static/icon/home/collect_s.png","static/icon/home/like_s.png","static/image/login/logo.png","static/icon/login/select_s.png","static/icon/login/select.png","static/icon/login/mobile.png","static/icon/login/code.png","static/icon/home/conceptCenter/chgDown.png","static/icon/home/conceptCenter/chgUp.png","static/icon/home/conceptCenter/newsReport.png","static/icon/home/conceptCenter/timeScreenArrow.png","static/icon/home/conceptCenter/reasonExpand.png","static/icon/home/conceptCenter/reasonRetract.png","pages/geGuCenter/icon/ydjk-icon.png","pages/geGuCenter/icon/ydjk-zs.png","pagesStock/static/icon/ai-icon.png","pagesStock/static/icon/ai-icon-1.png","pagesStock/static/icon/all-icon-3.png","pagesStock/static/icon/all-icon-4.png","pagesStock/static/icon/all-icon-5.png","pagesMine/static/image/vip/vipTopBg.png","pagesMine/static/image/vip/noVipTopBg.png","pagesMine/static/icon/vip/titleLeft_v.png","pagesMine/static/icon/vip/titleLeft.png","pagesMine/static/icon/vip/titleRight_v.png","pagesMine/static/icon/vip/titleRight.png","pagesMine/static/icon/vip/step1_v.png","pagesMine/static/icon/vip/step1.png","pagesMine/static/icon/vip/step2_v.png","pagesMine/static/icon/vip/step2.png","pagesMine/static/icon/vip/step3_v.png","pagesMine/static/icon/vip/step3.png","pagesMine/static/icon/vip/step4_v.png","pagesMine/static/icon/vip/step4.png","pagesMine/static/icon/vip/investQuestion.png","pagesMine/static/icon/vip/industrialResearch.png","pagesMine/static/icon/vip/operatingDecision.png","pagesMine/static/icon/vip/notContain.png","pagesMine/static/icon/vip/contain.png","pagesStock/static/icon/establishedTime.png","pagesStock/static/icon/registeredCapital.png","pagesStock/static/icon/location.png","pagesStock/static/icon/contrast.png","pagesStock/static/icon/optional.png","pagesStock/static/icon/share.png","pagesStock/static/icon/existStatus.png","pagesStock/static/icon/yRightArrow.png","pagesStock/static/icon/all-down-ed.png","static/icon/back.png","pagesStock/static/icon/all-icon-2.png","pagesStock/static/icon/downArrow.png","pagesStock/static/icon/upArrow.png","pagesStock/static/icon/female.png","pagesStock/static/icon/male.png","pagesStock/static/icon/lookMoreArrow.png","pagesStock/static/icon/logOffStatus.png","pagesStock/static/icon/industryRank.png","pagesStock/static/icon/rightArrow.png","pagesStock/static/icon/shangJiantou.png","pagesStock/static/icon/xiaJiantou.png","pagesStock/static/icon/yuan_shang.png","pagesStock/static/icon/yuan_jiang.png","pagesStock/static/icon/cwfx-1.png","pagesStock/static/icon/all-icon.png","pagesStock/static/icon/all-down.png","pagesStock/static/icon/cwfx-2.png","pagesStock/static/icon/news-search.png","pagesStock/static/icon/newsTime.png","pagesStock/static/icon/newsEyes.png","pagesStock/static/icon/newsFire.png"],"sourcesContent":["export default \"__VITE_ASSET__d6ecc137__\"","export default \"__VITE_ASSET__b302f437__\"","export default \"__VITE_ASSET__5adf95ad__\"","export default \"__VITE_ASSET__8df7b0f5__\"","export default \"__VITE_ASSET__ba196620__\"","export default \"__VITE_ASSET__7cd87439__\"","export default \"__VITE_ASSET__5865adfd__\"","export default \"__VITE_ASSET__91a42cd3__\"","export default \"__VITE_ASSET__e2320cab__\"","export default \"__VITE_ASSET__2eb5afb5__\"","export default \"__VITE_ASSET__88b167a0__\"","export default \"__VITE_ASSET__9575934c__\"","export default \"__VITE_ASSET__8c7915d5__\"","export default \"__VITE_ASSET__90bc001f__\"","export default \"__VITE_ASSET__aea13a27__\"","export default \"__VITE_ASSET__b24d5a1a__\"","export default \"__VITE_ASSET__dee2fcfb__\"","export default \"__VITE_ASSET__0c2c02c5__\"","export default \"__VITE_ASSET__82470a68__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__c7a73343__\"","export default \"__VITE_ASSET__e8755299__\"","export default \"__VITE_ASSET__02e2faf5__\"","export default \"__VITE_ASSET__8a40398b__\"","export default \"__VITE_ASSET__d84819c5__\"","export default \"__VITE_ASSET__3d07c79e__\"","export default \"__VITE_ASSET__48155bdc__\"","export default \"__VITE_ASSET__bad00d9c__\"","export default \"__VITE_ASSET__52b3a70e__\"","export default \"__VITE_ASSET__ef257487__\"","export default \"__VITE_ASSET__fd14dd9b__\"","export default \"__VITE_ASSET__a07753e4__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__c17f08dd__\"","export default \"__VITE_ASSET__deb69ad5__\"","export default \"__VITE_ASSET__5af0f618__\"","export default \"__VITE_ASSET__e806101e__\"","export default \"__VITE_ASSET__a9e08887__\"","export default \"__VITE_ASSET__38508020__\"","export default \"__VITE_ASSET__1abaff53__\"","export default \"__VITE_ASSET__e7517ca7__\"","export default \"__VITE_ASSET__004627de__\"","export default \"__VITE_ASSET__a55565e3__\"","export default \"__VITE_ASSET__f8a69fa0__\"","export default \"__VITE_ASSET__a2591d84__\"","export default \"__VITE_ASSET__5caa42c4__\"","export default \"__VITE_ASSET__ef008f83__\"","export default \"__VITE_ASSET__66931b80__\"","export default \"__VITE_ASSET__6e05d96f__\"","export default \"__VITE_ASSET__0f1956fd__\"","export default \"__VITE_ASSET__47866a71__\"","export default \"__VITE_ASSET__418b9a81__\"","export default \"__VITE_ASSET__5c886da6__\"","export default \"__VITE_ASSET__3eac5e41__\"","export default \"__VITE_ASSET__be94c031__\"","export default \"__VITE_ASSET__7a596e5e__\"","export default \"__VITE_ASSET__74e8da32__\"","export default \"__VITE_ASSET__e3b0c442__\"","export default \"__VITE_ASSET__3278d016__\"","export default \"__VITE_ASSET__3216ef00__\"","export default \"__VITE_ASSET__9712ef19__\"","export default \"__VITE_ASSET__f6ba6c32__\"","export default \"/pagesStock/static/icon/ai-icon.png\"","export default \"/pagesStock/static/icon/ai-icon-1.png\"","export default \"/pagesStock/static/icon/all-icon-3.png\"","export default \"/pagesStock/static/icon/all-icon-4.png\"","export default \"/pagesStock/static/icon/all-icon-5.png\"","export default \"/pagesMine/static/image/vip/vipTopBg.png\"","export default \"/pagesMine/static/image/vip/noVipTopBg.png\"","export default \"/pagesMine/static/icon/vip/titleLeft_v.png\"","export default \"/pagesMine/static/icon/vip/titleLeft.png\"","export default \"/pagesMine/static/icon/vip/titleRight_v.png\"","export default \"/pagesMine/static/icon/vip/titleRight.png\"","export default \"/pagesMine/static/icon/vip/step1_v.png\"","export default \"/pagesMine/static/icon/vip/step1.png\"","export default \"/pagesMine/static/icon/vip/step2_v.png\"","export default \"/pagesMine/static/icon/vip/step2.png\"","export default \"/pagesMine/static/icon/vip/step3_v.png\"","export default \"/pagesMine/static/icon/vip/step3.png\"","export default \"/pagesMine/static/icon/vip/step4_v.png\"","export default \"/pagesMine/static/icon/vip/step4.png\"","export default \"/pagesMine/static/icon/vip/investQuestion.png\"","export default \"/pagesMine/static/icon/vip/industrialResearch.png\"","export default \"/pagesMine/static/icon/vip/operatingDecision.png\"","export default \"/pagesMine/static/icon/vip/notContain.png\"","export default \"/pagesMine/static/icon/vip/contain.png\"","export default \"/pagesStock/static/icon/establishedTime.png\"","export default \"/pagesStock/static/icon/registeredCapital.png\"","export default \"/pagesStock/static/icon/location.png\"","export default \"/pagesStock/static/icon/contrast.png\"","export default \"/pagesStock/static/icon/optional.png\"","export default \"/pagesStock/static/icon/share.png\"","export default \"/pagesStock/static/icon/existStatus.png\"","export default \"/pagesStock/static/icon/yRightArrow.png\"","export default \"/pagesStock/static/icon/all-down-ed.png\"","export default \"__VITE_ASSET__c9455274__\"","export default \"/pagesStock/static/icon/all-icon-2.png\"","export default \"/pagesStock/static/icon/downArrow.png\"","export default \"/pagesStock/static/icon/upArrow.png\"","export default \"/pagesStock/static/icon/female.png\"","export default \"/pagesStock/static/icon/male.png\"","export default \"/pagesStock/static/icon/lookMoreArrow.png\"","export default \"/pagesStock/static/icon/logOffStatus.png\"","export default \"/pagesStock/static/icon/industryRank.png\"","export default \"/pagesStock/static/icon/rightArrow.png\"","export default \"/pagesStock/static/icon/shangJiantou.png\"","export default \"/pagesStock/static/icon/xiaJiantou.png\"","export default \"/pagesStock/static/icon/yuan_shang.png\"","export default \"/pagesStock/static/icon/yuan_jiang.png\"","export default \"/pagesStock/static/icon/cwfx-1.png\"","export default \"/pagesStock/static/icon/all-icon.png\"","export default \"/pagesStock/static/icon/all-down.png\"","export default \"/pagesStock/static/icon/cwfx-2.png\"","export default \"/pagesStock/static/icon/news-search.png\"","export default \"/pagesStock/static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dev/.sourcemap/mp-weixin/components/LCCalendar/LCCalendar.js.map index cc6ff8f..18f0a68 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/LCCalendar/LCCalendar.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/LCCalendar/LCCalendar.js.map @@ -1 +1 @@ -{"version":3,"file":"LCCalendar.js","sources":["components/LCCalendar/LCCalendar.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/LCCalendar/LCCalendar.vue?type=component"],"sourcesContent":["\r\n\r\n \r\n\r\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/LCCalendar/LCCalendar.vue'\nwx.createComponent(Component)"],"names":["calendarCombinedData","uni","date"],"mappings":";;;;AA6FC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;AAAA,MACN,UAAU,CAAC,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,GAAG;AAAA,MAC5C,eAAe,CAAE;AAAA,MACjB,kBAAkB;AAAA;AAAA,MAClB,aAAa;AAAA;AAAA,MACb,eAAe;AAAA;AAAA,MACf,cAAc;AAAA;AAAA,MACd,YAAY;AAAA;AAAA,MACZ,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,iBAAiB,CAAE;AAAA;AAAA;EAEpB;AAAA,EACD,UAAU;AACT,QAAI,cAAc,oBAAI;AAEtB,QAAI,cAAc,YAAY;AAC9B,QAAI,eAAe,YAAY,SAAQ,IAAK;AAC5C,QAAI,aAAa,YAAY;AAC7B,SAAK,mBAAmB,KAAK,KAAK,eAAe;AACjD,SAAK,cAAc,cAAc,MAAM,eAAe;AAEtD,SAAK,eAAe,cAAc,OAAO,eAAe,IAAI,eAAgB,MAAM,gBAAiB;AAInG,SAAK,aAAa,KAAK,gBACtB,GAAG,WAAW,IAAI,eAAe,IAAI,eAAe,MAAM,YAAY,IAAI,aAAa,IAAI,aAAa,MAAM,UAAU;AACzH,SAAK,qBAAqB;AAC1B,SAAK,0B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,IAAI,cAAe,MAAM,eAAgB;AAC/F,UAAI,iBAAiB,IAAI,KAAK,YAAY,aAAa,CAAC;AACxD,WAAK,aAAa,aAAa,OAAO,cAAc,IAAI,cAAe,MAAM,eAAgB,MAC5F,eAAe,QAAQ;AACxBA,oBAAAA,MAAY,MAAA,OAAA,+CAAA,MAAM;AAElB,WAAK,aAAa;AAClB,WAAK,QAAQ;AACb,WAAK,wBAAuB;AAAA,IAC5B;AAAA;AAAA;AAAA;AAAA;AAAA,IAKD,gBAAgB,MAAM,OAAO;AACzB,UAAI,CAAC,KAAK;AAAgB;AAC1B,UAAI,KAAK,iBAAiB,KAAK,MAAM;AACpC,aAAK,gBAAgB,KAAK;AAE1B,cAAM,UAAU,KAAK,sBAAsB,KAAK,IAAI,KAAK;AAEzD,cAAM,aAAa;AAAA,UAClB,GAAG;AAAA;AAAA,UACH,UAAU,QAAQ,YAAY;AAAA;AAAA,UAC9B,YAAY,QAAQ,cAAc;AAAA;AAAA,UAClC,YAAY,QAAQ,cAAc;AAAA;AAAA,UAClC,WAAW,QAAQ,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA;AAE7C,aAAK,eAAe;AAEpB,cAAM,CAAC,MAAM,OAAO,GAAG,IAAI,KAAK,KAAK,MAAM,GAAG,EAAE,IAAI,MAAM;AAC1D,aAAK,eAAe,MAAM,OAAO,KAAK,UAAU;AAChDA,sBAAY,MAAA,MAAA,OAAA,+CAAA,eAAe,UAAU;AAAA,MACtC;AAAA,IACD;AAAA,EACJ;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACpeD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file +{"version":3,"file":"LCCalendar.js","sources":["components/LCCalendar/LCCalendar.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/LCCalendar/LCCalendar.vue?type=component"],"sourcesContent":["\r\n\r\n \r\n\r\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/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AA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5lBD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/LCCalendar2/LCCalendar2.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/LCCalendar2/LCCalendar2.js.map index 921ef16..3091457 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/LCCalendar2/LCCalendar2.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/LCCalendar2/LCCalendar2.js.map @@ -1 +1 @@ -{"version":3,"file":"LCCalendar2.js","sources":["components/LCCalendar2/LCCalendar2.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/LCCalendar2/LCCalendar2.vue?type=component"],"sourcesContent":["\r\n\r\n\r\n\r\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/LCCalendar2/LCCalendar2.vue'\nwx.createComponent(Component)"],"names":["date","uni"],"mappings":";;;AAoDC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;AAAA,MACN,UAAU,CAAC,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,GAAG;AAAA,MAC5C,eAAe,CAAE;AAAA,MACjB,kBAAkB;AAAA;AAAA,MAClB,aAAa;AAAA;AAAA,MACb,eAAe;AAAA;AAAA,MACf,cAAc;AAAA;AAAA,MACd,YAAY;AAAA;AAAA;EAEb;AAAA,EACD,UAAU;AACT,QAAI,cAAc,oBAAI;AAEtB,QAAI,cAAc,YAAY;AAC9B,QAAI,eAAe,YAAY,SAAQ,IAAK;AAC5C,QAAI,aAAa,YAAY;AAC7B,SAAK,mBAAmB,KAAK,KAAK,eAAe;AACjD,SAAK,cAAc,cAAc,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QAAQ;AACxBA,oBAAAA,MAAA,MAAA,OAAA,iDAAY,MAAM;AAAA,IAClB;AAAA;AAAA;AAAA;AAAA;AAAA,IAKD,gBAAgB,MAAM;AACrB,UAAI,CAAC,KAAK;AAAgB;AAC1B,UAAI,KAAK,iBAAiB,KAAK,MAAM;AACpC,aAAK,gBAAgB,KAAK;AAC1B,aAAK,eAAe;AACpBA,sBAAAA,MAAY,MAAA,OAAA,iDAAA,MAAM;AAAA,MACnB;AAAA,IACD;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3RD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file +{"version":3,"file":"LCCalendar2.js","sources":["components/LCCalendar2/LCCalendar2.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/LCCalendar2/LCCalendar2.vue?type=component"],"sourcesContent":["\r\n\r\n\r\n\r\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/LCCalendar2/LCCalendar2.vue'\nwx.createComponent(Component)"],"names":["date","uni"],"mappings":";;;AAoDC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;AAAA,MACN,UAAU,CAAC,KAAK,KAAK,KAAK,KAAK,KAAK,KAAK,GAAG;AAAA,MAC5C,eAAe,CAAE;AAAA,MACjB,kBAAkB;AAAA;AAAA,MAClB,aAAa;AAAA;AAAA,MACb,eAAe;AAAA;AAAA,MACf,cAAc;AAAA;AAAA,MACd,YAAY;AAAA;AAAA;EAEb;AAAA,EACD,UAAU;AACT,QAAI,cAAc,oBAAI;AAEtB,QAAI,cAAc,YAAY;AAC9B,QAAI,eAAe,YAAY,SAAQ,IAAK;AAC5C,QAAI,aAAa,YAAY;AAC7B,SAAK,mBAAmB,KAAK,KAAK,eAAe;AACjD,SAAK,cAAc,cAAc,MAAM,eAAe;AAEtD,SAAK,eAAe,cAAc,OAAO,eAAe,IAAI,eAAgB,MAAM,gBAAiB;AAEnG,SAAK,aAAa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A,MAAA,MAAA,OAAA,iDAAY,MAAM;AAAA,IAClB;AAAA;AAAA;AAAA;AAAA;AAAA,IAKD,gBAAgB,MAAM;AACrB,UAAI,CAAC,KAAK;AAAgB;AAC1B,UAAI,KAAK,iBAAiB,KAAK,MAAM;AACpC,aAAK,gBAAgB,KAAK;AAC1B,aAAK,eAAe;AACpBA,sBAAAA,MAAY,MAAA,OAAA,iDAAA,MAAM;AAClB,aAAK,MAAM,eAAe,KAAK,aAAa;AAAA,MAC7C;AAAA,IACD;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AChSD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/WordCloud/WordCloud.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/WordCloud/WordCloud.js.map new file mode 100644 index 0000000..926d2d5 --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/WordCloud/WordCloud.js.map @@ -0,0 +1 @@ +{"version":3,"file":"WordCloud.js","sources":["components/WordCloud/WordCloud.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/WordCloud/WordCloud.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/WordCloud/WordCloud2.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/WordCloud/WordCloud2.js.map new file mode 100644 index 0000000..5fbae25 --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/WordCloud/WordCloud2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"WordCloud2.js","sources":["/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/WordCloud/WordCloud.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/WordCloud/WordCloud.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwfx-view/cwfx-view.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwfx-view/cwfx-view.js.map index dd85a44..9460b9b 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwfx-view/cwfx-view.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwfx-view/cwfx-view.js.map @@ -1 +1 @@ -{"version":3,"file":"cwfx-view.js","sources":["components/cwfx-view/cwfx-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwfx-view/cwfx-view.vue?type=component"],"sourcesContent":["\n\n\n\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwfx-view/cwfx-view.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AA0EC,MAAM,UAAU,QAAQ,qDAAqD;AAC7E,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AACN,WAAO;AAAA,MACN,4BAA2B;AAAA,QAAC;AAAA,UAC3B,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACP;AAAA,MAAC;AAAA,MACD,6BAA4B;AAAA,MAC5B,uBAAsB;AAAA,QAAC;AAAA,UACtB,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM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,wBAC1B;AACC,mBAAK,KAAK,KAAK,kBAAkB,uBAAuB,QAAQ,CAAC,CAAC;AAAA,YAClE;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD,WAAS,SAAO,GAAG;AAElB,mBAAS,QAAQ,KAAK,UAAU;AAC/B,gBAAG,KAAK,kBAAkB,oBAC1B;AACC,mBAAK,KAAK,KAAK,kBAAkB,mBAAmB,QAAQ,CAAC,CAAC;AAAA,YAC9D;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD,WAAS,SAAO,GAAG;AAElB,mBAAS,QAAQ,KAAK,UAAU;AAC/B,gBAAG,KAAK,kBAAkB,yBAC1B;AACC,mBAAK,KAAK,KAAK,kBAAkB,wBAAwB,QAAQ,CAAC,CAAC;AAAA,YACnE;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD;AACA,aAAK,QAAQ,OAAO,CAAC,EAAE,OAAO;AAC9B,aAAK,aAAa;AAAA,MACnB;AAAA,IACD;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9cD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file +{"version":3,"file":"cwfx-view.js","sources":["components/cwfx-view/cwfx-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwfx-view/cwfx-view.vue?type=component"],"sourcesContent":["\n\n\n\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwfx-view/cwfx-view.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AA0EC,MAAM,UAAU,QAAQ,qDAAqD;AAC7E,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AACN,WAAO;AAAA,MACN,4BAA2B;AAAA,QAAC;AAAA,UAC3B,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,QACN;AAAA,QACD;AAAA,UACC,OAAM;AAAA,Q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AK,KAAK,KAAK,kBAAkB,aAAa,QAAQ,CAAC,CAAC;AAAA,YACxD;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD,WAAS,SAAO,GAAG;AAElB,mBAAS,QAAQ,KAAK,UAAU;AAC/B,gBAAG,KAAK,kBAAkB,MAC1B;AACC,mBAAK,KAAK,KAAK,kBAAkB,KAAK,QAAQ,CAAC,CAAC;AAAA,YAChD;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD,WAAS,SAAO,GAAG;AAElB,mBAAS,QAAQ,KAAK,UAAU;AAC/B,gBAAG,KAAK,kBAAkB,wBAC1B;AACC,mBAAK,KAAK,KAAK,kBAAkB,uBAAuB,QAAQ,CAAC,CAAC;AAAA,YAClE;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD,WAAS,SAAO,GAAG;AAElB,mBAAS,QAAQ,KAAK,UAAU;AAC/B,gBAAG,KAAK,kBAAkB,oBAC1B;AACC,mBAAK,KAAK,KAAK,kBAAkB,mBAAmB,QAAQ,CAAC,CAAC;AAAA,YAC9D;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD,WAAS,SAAO,GAAG;AAElB,mBAAS,QAAQ,KAAK,UAAU;AAC/B,gBAAG,KAAK,kBAAkB,yBAC1B;AACC,mBAAK,KAAK,KAAK,kBAAkB,wBAAwB,QAAQ,CAAC,CAAC;AAAA,YACnE;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD;AACA,aAAK,QAAQ,OAAO,CAAC,EAAE,OAAO;AAC9B,aAAK,aAAa;AAAA,MACnB;AAAA,IACD;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/cD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwsj-view/cwsj-view.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwsj-view/cwsj-view.js.map index 949ee0e..04ee78a 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwsj-view/cwsj-view.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/cwsj-view/cwsj-view.js.map @@ -1 +1 @@ -{"version":3,"file":"cwsj-view.js","sources":["components/cwsj-view/cwsj-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwsj-view/cwsj-view.vue?type=component"],"sourcesContent":["\n\n\n\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwsj-view/cwsj-view.vue'\nwx.createComponent(Component)"],"names":["getNumStr"],"mappings":";;;;AA4MC,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AACN,WAAO;AAAA,MACN,6BAA4B;AAAA,MAC5B,sBAAqB;AAAA,MACrB,wBAAuB;AAAA,MACvB,SAAQ;AAAA,QACP,QAAO;AAAA,UACN,MAAK;AAAA,UACL,MAAK,CAAC,QAAO,OAAO;AAAA,QACpB;AAAA,QACD,MAAK;AAAA,UACJ,MAAK;AAAA,UACL,OAAM;AAAA,UACN,KAAI;AAAA,UACJ,QAAO;AAAA,QACP;AAAA,QACD,OAAO;AAAA,UACH,MAAM;AAAA,UACN,MAAM,CAAE;AAAA,UACX,WAAU;AAAA,YACT,QAAO;AAAA,YACP,UAAS;AAAA,UACV;AAAA,QACA;AAAA,QACD,OAAO;AAAA,UAAC;AAAA,YACP,MAAM;AAAA,YACN,MAAK;AAAA,YACL,UAAS;AAAA,YACT,YAAW;AAAA,YACX,UAAS;AAAA,cACR,QAAO;AAAA,YACR;AAAA,UACA;AAAA,UACD;AAAA,YACC,MAAM;AAAA,YACN,MAAK;AAAA,YACL,UAAS;AAAA,YACT,YAAW;AAAA,YACX,UAAS;AAAA,cACP,QAAO;AAAA,YACT;AAAA,UACD;AAAA,QAAC;AAAA,QACD,UAAS,CAAC;AAAA,UACT,MAAK;AAAA,QACN,CAAC;AAAA,QACD,QAAQ;AAAA,UACJ;AAAA,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EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtZD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file +{"version":3,"file":"cwsj-view.js","sources":["components/cwsj-view/cwsj-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwsj-view/cwsj-view.vue?type=component"],"sourcesContent":["\n\n\n\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cwsj-view/cwsj-view.vue'\nwx.createComponent(Component)"],"names":["getNumStr","accDiv","accSub","accMul"],"mappings":";;;;AAkMC,MAAM,UAAU,QAAQ,qDAAqD;AAE7E,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AACN,WAAO;AAAA,MACN,6BAA4B;AAAA,MAC5B,sBAAqB;AAAA,MACrB,wBAAuB;AAAA,MACvB,SAAQ;AAAA,QACP,QAAO;AAAA,UACN,MAAK;AAAA,UACL,MAAK,CAAC,QAAO,OAAO;AAAA,QACpB;AAAA,QACD,MAAK;AAAA,UACJ,MAAK;AAAA,UACL,OAAM;AAAA,UACN,KAAI;AAAA,UACJ,QAAO;AAAA,QACP;AAAA,QACD,OAAO;AAAA,UACH,MAAM;AAAA,UACN,MAAM,CAAE;AAAA,UACX,WAAU;AAAA,YACT,QAAO;AAAA,YACP,UAAS;AAAA,UACV;AAAA,QACA;AAAA,QACD,OAAO;AAAA,UAAC;AAAA,YACP,MAAM;AAAA,YACN,MAAK;AAAA,YACL,UAAS;AAAA,YACT,YAAW;AAAA,YACX,UAAS;AAAA,cACR,QAAO;AAAA,YACR;AAAA,UACA;AAAA,UACD;AAAA,YACC,MAAM;AAAA,YACN,MAAK;AAAA,YACL,UAAS;AAAA,YACT,YAAW;AAAA,YACX,UAAS;AAAA,cACP,QAAO;AAAA,YACT;AAAA,UACD;AAAA,QAAC;AAAA,QACD,UAAS,CAAC;AAAA,UACT,MAAK;AAAA,QACN,CAAC;AAAA,QAC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BAAG,KAAK,qBAAqB,UAC7B;AACC,mBAAK,KAAKA,WAAM,OAAC,KAAK,qBAAqB,UAAS,GAAS,EAAE,QAAQ,CAAC,CAAC;AAAA,YACzE;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD,WAAS,SAAO,GAAG;AAElB,mBAAS,QAAQ,KAAK,cAAc;AACnC,gBAAG,KAAK,sBAAsB,UAC9B;AACC,mBAAK,KAAKA,WAAM,OAAC,KAAK,sBAAsB,UAAS,GAAS,EAAE,QAAQ,CAAC,CAAC;AAAA,YAC1E;AACA,mBAAK,KAAK,CAAC;AAAA,UACb;AAAA,QACD;AACA,aAAK,QAAQ,OAAO,CAAC,EAAE,OAAO;AAC9B,aAAK,aAAa;AAAA,MACnB;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKD,yBAAyB,OAAO;AAC/B,UAAG,KAAK,wBAAsB,OAAO;AACpC,aAAK,uBAAuB;AAAA,MAC7B;AAAA,IACD;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC7gBD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/cyl-view/cyl-view.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/cyl-view/cyl-view.js.map index 20d9a37..c560792 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/cyl-view/cyl-view.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/cyl-view/cyl-view.js.map @@ -1 +1 @@ -{"version":3,"file":"cyl-view.js","sources":["components/cyl-view/cyl-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cyl-view/cyl-view.vue?type=component"],"sourcesContent":["\r\n\r\n\r\n\r\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cyl-view/cyl-view.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AA2FC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;AAAA,MACN,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,OAAO;AAAA,QAAC;AAAA,UACN,OAAO;AAAA,UACP,OAAO;AAAA,UACP,MAAM;AAAA,UACN,MAAK;AAAA,QACL;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,MAAM;AAAA,UACN,MAAK;AAAA,QACL;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,MAAM;AAAA,UACN,MAAK;AAAA,QACN;AAAA,MACA;AAAA,MACD,WAAW;AAAA;EAGZ;AAAA,EACD,OAAM;AAAA,IACL,wBAAuB;AAAA,IACvB,cAAa;AAAA;AAAA,IACb,oBAAmB;AAAA;AAAA,IACnB,gBAAe;AAAA;AAAA,IACf,YAAW;AAAA;AAAA,EACX;AAAA,EACD,OAAM;AAAA,IACL,uBAAuB,UACvB;AACC,WAAK,MAAM,CAAC,EAAE,QAAQ,SAAS;AAC/B,WAAK,MAAM,CAAC,EAAE,QAAQ,SAAS;AAC/B,WAAK,MAAM,CAAC,EAAE,QAAQ,SAAS;AAAA,IAChC;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,kBAAkB,OAAO;AACxB,WAAK,eAAe;AAAA,IACpB;AAAA,IACD,YAAY,MAAM;AACjB,WAAK,MAAM,UAAS,IAAI;AAAA,IACzB;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9ID,GAAG,gBAAgB,SAAS;"} \ No newline at end of file +{"version":3,"file":"cyl-view.js","sources":["components/cyl-view/cyl-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cyl-view/cyl-view.vue?type=component"],"sourcesContent":["\r\n\r\n\r\n\r\n","import Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/cyl-view/cyl-view.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;AA8FC,MAAM,UAAU,QAAQ,qDAAqD;AAE7E,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;AAAA,MACN,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,OAAO;AAAA,QAAC;AAAA,UACN,OAAO;AAAA,UACP,OAAO;AAAA,UACP,MAAM;AAAA,UACN,MAAK;AAAA,QACL;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,MAAM;AAAA,UACN,MAAK;AAAA,QACL;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,MAAM;AAAA,UACN,MAAK;AAAA,QACN;AAAA,MACA;AAAA,MACD,WAAW;AAAA,MACX,QAAO;AAAA,QACN,QAAO;AAAA,UACN,MAAK;AAAA,QACL;AAAA,QACD,MAAK;AAAA,UACJ,MAAK;AAAA,UACL,OAAM;AAAA,UACN,KAAI;AAAA,UACJ,QAAO;AAAA,QACP;AAAA,QACD,QAAQ;AAAA,UACJ;AAAA,YACE,MAAM;AAAA,YACT,MAAK;AAAA,YACF,MAAM,CAAE;AAAA,YACX,OAAM,CAAE;AAAA,UACP;AAAA,QACJ;AAAA,MACA;AAAA;EAEF;AAAA,EACD,OAAM;AAAA,IACL,wBAAuB;AAAA,IACvB,cAAa;AAAA;AAAA,IACb,oBAAmB;AAAA;AAAA,IACnB,gBAAe;AAAA;AAAA,IACf,YAAW;AAAA;AAAA,IACX,qBAAoB;AAAA;AAAA,EACpB;AAAA,EACD,OAAM;AAAA,IACL,uBAAuB,UACvB;AACC,WAAK,MAAM,CAAC,EAAE,QAAQ,SAAS;AAC/B,WAAK,MAAM,CAAC,EAAE,QAAQ,SAAS;AAC/B,WAAK,MAAM,CAAC,EAAE,QAAQ,SAAS;AAAA,IAC/B;AAAA,IACD,oBAAoB,UACpB;AACC,UAAI,OAAO,CAAC;AACZ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.map index f8de7e4..27197e3 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/geGuCenter/detail.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/geGuCenter/detail.js.map @@ -1 +1 @@ -{"version":3,"file":"detail.js","sources":["pages/geGuCenter/detail.vue","pages/geGuCenter/detail.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/geGuCenter/detail.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject"],"mappings":";;;AAwDC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAMA,cAAM,OAAC,WAAW;AAAA,MACxB,YAAY;AAAA,MACZ,UAAU;AAAA,QAAC;AAAA,UACT,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACR;AAAA,MACA;AAAA,MACD,YAAY;AAAA,IACb;AAAA,EACA;AAAA,EACD,OAAO,GAAG;AACT,SAAK,cAAc,EAAE;AACrB,SAAK,aAAa,KAAK,QAAQ,KAAK,KAAK,MAAM,MAAMA,cAAM,OAAC,aAAa;AAAA,EACzE;AAAA,EACD,SAAS,CAET;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnFD,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"detail.js","sources":["pages/geGuCenter/detail.vue","pages/geGuCenter/detail.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/geGuCenter/detail.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","marketHeatmap","uni"],"mappings":";;;;AAiEC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,M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AA;AAAA;IAExB;AAAA,IACA,gBAAgB;AACf,UAAI,QAAQ;AAAA,QACX,OAAO;AAAA,QACP,MAAM,KAAK;AAAA,MACZ;AACAC,kBAAAA,cAAc,KAAK,EAAE,KAAK,SAAO;AAEhC,aAAK,eAAe,IAAI,QAAQ,CAAA;AAEhC,aAAK,uBAAsB;AAAA,MAE5B,CAAC,EAAE,MAAM,WAAS;AAAA,OAEjB;AAAA,IACD;AAAA;AAAA,IAED,yBAAyB;AACxB,YAAM;AAAA,QACL;AAAA,QACA;AAAA,MACD,IAAI;AACJ,UAAI,WAAW,CAAA;AAEf,cAAQ,YAAU;AAAA,QACjB,KAAK;AACJ,qBAAW,aAAa,OAAO,UAAQ,KAAK,aAAa,GAAI;AAC7D;AAAA,QACD,KAAK;AACJ,qBAAW,aAAa,OAAO,UAAQ,KAAK,cAAc,OAAO,KAAK,cAAc,GAAI;AACxF;AAAA,QACD,KAAK;AACJ,qBAAW,aAAa,OAAO,UAAQ,KAAK,cAAc,OAAO,KAAK,cAAc,GAAG;AACvF;AAAA,QACD;AACC,qBAAW;AAAA,MACb;AAEA,WAAK,eAAe;AAAA,IACpB;AAAA,IACD,YAAY,MAAM;AACjBC,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK,4DAA4D,KAAK;AAAA,OACtE;AAAA,IACD;AAAA,EACF;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9KD,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/geGuCenter/geGuCenter.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/geGuCenter/geGuCenter.js.map index 2ed9314..458013d 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/geGuCenter/geGuCenter.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/geGuCenter/geGuCenter.js.map @@ -1 +1 @@ -{"version":3,"file":"geGuCenter.js","sources":["pages/geGuCenter/geGuCenter.vue","pages/geGuCenter/geGuCenter.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/geGuCenter/geGuCenter.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","conceptsDailyTop","marketHeatmap","marketStatistics","marketHotspotOverview","uni"],"mappings":";;;;AAuOC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAMA,cAAM,OAAC,WAAW;AAAA,MACxB,YAAY;AAAA,MACZ,UAAU;AAAA,QAAC;AAAA,UACT,OAAO;AAAA,UACP,OAAO;AAAA,UACP,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,UACP,OAAO;AAAA,UACP,UAAU;AAAA,QACX;AAAA,MACA;AAAA,MACD,WAAW;AAAA,QAAC;AAAA,UACV,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACR;AAAA,MACA;AAAA,MACD,YAAY;AAAA,MACZ,UAAU;AAAA,QAAC;AAAA,UACV,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD;AAAA,UACC,OAAO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AAA,MAC/B,WAAU,SAAS,GAAG;AACrB,aAAK,MAAM,WAAW,EAAE,MAAM;AAAA,MAC/B,WAAU,SAAS,GAAG;AACrB,aAAK,MAAM,aAAa,EAAE,MAAM;AAAA,MACjC;AAAA,IACA;AAAA,IACD,cAAc,OAAO;AACpB,UAAI,SAAS,GAAG;AACf,aAAK,MAAM,WAAW,EAAE,MAAM;AAAA,MAC/B,WAAU,SAAS,GAAG;AACrB,aAAK,MAAM,WAAW,EAAE,MAAM;AAAA,MAC/B;AAAA,IACA;AAAA,IACD,WAAW,MAAM;AAChB,WAAK,MAAM,aAAa,EAAE,KAAK;AAAA,IAChC;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzXD,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"geGuCenter.js","sources":["pages/geGuCenter/geGuCenter.vue","pages/geGuCenter/geGuCenter.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/geGuCenter/geGuCenter.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","conceptsDailyTop","marketHeatmap","marketStatistics","marketHotspotOverview","uni","conceptStocks"],"mappings":";;;;AAsTC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAMA,cAAM,OAAC,WAAW;AAAA,MACxB,YAAY;AAAA,MACZ,aAAa;AAAA;AAAA,MACb,cAAc;AAAA;AAAA,MACd,cAAc,CAAE;AAAA,MAChB,cAAc,CAAE;AAAA,MAChB,mBAAmB,CAAE;AAAA,MACrB,iBAAiB;AAAA,QAChB,SAAS;AAAA,UACR,MAAM;AAAA,UACN,OAAO;AAAA;AAAA,UACP,QAAQ;AAAA,QACR;AAAA,QACD,mBAAmB;AAA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dist/dev/.sourcemap/mp-weixin/pages/ztfx/ztfx.js.map index 7c9b96f..d35efb9 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/ztfx/ztfx.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/ztfx/ztfx.js.map @@ -1 +1 @@ -{"version":3,"file":"ztfx.js","sources":["pages/ztfx/ztfx.vue","pages/ztfx/ztfx.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/ztfx/ztfx.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","uni","analyseHighStocks"],"mappings":";;;;AAqKC,MAAM,UAAU,QAAQ,qDAAqD;AAE7E,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAMA,cAAM,OAAC,WAAW;AAAA,MACxB,YAAY;AAAA,MACX,mBAAmB;AAAA;AAAA,MACd,kBAAkB;AAAA;AAAA,MAClB,cAAc;AAAA;AAAA,MACpB,UAAU;AAAA,QAAC;AAAA,UACT,MAAM;AAAA,UACN,QAAQ;AAAA,UACR,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,MAAM;AAAA,UACN,QAAQ;AAAA,UACR,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,MAAM;AAAA,UACN,QAAQ;AAAA,UACR,OAAO;AAAA,QACR;AAAA,MACA;AAAA,MACD,QAAQ;AAAA,QAAC;AAAA,UACP,OAAO;AAAA,UACP,OAAO;AAAA,QACR;AAAA,QAAG;AAAA,UACF,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,UACP,OAAO;AAAA,QACP;AA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AW,aAAY;AACvC,WAAK,SAAS,CAAC,EAAE,OAAO,QAAQ;IAGvC;AAAA,IACJ,oBAAmB;AACjB,YAAM,aAAa,KAAK,iBAAiB,QAAQ,MAAM,EAAE;AACxD,UAAI,QAAQ;AAAA,QACV,MAAM;AAAA,MACR;AACFC,kBAAAA,kBAAkB,KAAK,EAAE,KAAK,SAAK;AAAA,MAEnC,CAAC,EAAE,MAAM,WAAO;AAAA,OAEf;AAAA,IACD;AAAA,IACD,MAAM,OAAO;AAEZ,YAAM,QAAQ,MAAM,KAAK,MAAM,SAAS,KAAK,OAAO;AAIpD,YAAM,UAAU,KAAK,OAAO;AAAA,IAC5B;AAAA,IACD,WAAW,OAAO;AACjBD,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK,+CAA+C,KAAK;AAAA,OACzD;AAAA,IACF;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjYD,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"ztfx.js","sources":["pages/ztfx/ztfx.vue","pages/ztfx/ztfx.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/ztfx/ztfx.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","uni","getBaseURL1","analyseHighStocks"],"mappings":";;;;;AA8MC,MAAM,UAAU,QAAQ,qDAAqD;AAC7E,MAAK,YAAa,MAAW;AAI7B,MAAM,gBAAgB;AAAA,EACrB,YAAY;AAAA,IAAC;AAAA,MACX,MAAM;AAAA,IACN;AAAA,IACD;AAAA,MACC,MAAM;AAAA,IACN;AAAA,IACD;AAAA,MACC,MAAM;AAAA,IACP;AAAA,EACA;AAAA,EACD,OAAO;AAAA,IAAC;AAAA,MACN,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,UAAU;AAAA,IACV;AAAA,IACD;AAAA,MACC,MAAM;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/dev/.sourcemap/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js.map index ec5fc3d..6690ea4 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js.map @@ -1 +1 @@ -{"version":3,"file":"stockCenterDetails.js","sources":["pagesStock/stockCenterDetails/stockCenterDetails.vue","pagesStock/stockCenterDetails/stockCenterDetails.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pagesStock/stockCenterDetails/stockCenterDetails.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","getLocalDate","getRateUpOrDown","getNumStr","searchStockInfo","stockBasicInfo","quoteDetailsInfo","actualControl","ownershipConcentration","topShareholdersList","topCirculatingShareholdersList","managementTeam","branchesList","comprehensiveAnalysis","industryRankList","valueChainAnalysis","valueChainRelatedCompany","keyFactorsTimeline","financialStockInfo","financialMetrics","financialComparison","financialMainBusiness","financialBalanceSheet","cashflowSheet","incomeStatementSheet","eventList","companyAnnouncementsList"],"mappings":";;;;;AAwbC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAMA,cAAM,OAAC,WAAW;AAAA,MACxB,UAAS;AAAA;AAAA,MACT,iBAAgB;AAAA;AAAA,MAChB,YAAY;AAAA,MACZ,UAAU;AAAA;AAAA,MACV,YAAW;AAAA;AAAA,MACX,kBAAiB,CAAE;AAAA;AAAA,MACnB,uBAAsB;AAAA;AAAA,MACtB,WAAU;AAAA;AAAA,MACV,gBAAe;AAAA;AAAA,MACf,kBAAiB;AAAA;AAAA,MACjB,eAAc;AAAA;AAAA,MACd,SAAS;AAAA,QAAC;AAAA,UACR,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA;AAAA;AAAA;AAAA,QAID;AAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1sCD,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"stockCenterDetails.js","sources":["pagesStock/stockCenterDetails/stockCenterDetails.vue","pagesStock/stockCenterDetails/stockCenterDetails.vue?type=page"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pagesStock/stockCenterDetails/stockCenterDetails.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","getLocalDate","getRateUpOrDown","getNumStr","accAdd","accDiv","accSub","searchStockInfo","stockBasicInfo","quoteDetailsInfo","actualControl","ownershipConcentration","topShareholdersList","topCirculatingShareholdersList","managementTeam","branchesList","comprehensiveAnalysis","industryRankList","valueChainAnalysis","valueChainRelatedCompany","keyFactorsTimeline","financialStockInfo","financialMetrics","financialComparison","financialMainBusiness","financialBalanceSheet","cashflowSheet","incomeStatementSheet","eventList","companyAnnouncementsList"],"mappings":";;;;;AA6bC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAMA,cAAM,OAAC,WAAW;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/uCD,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js.map new file mode 100644 index 0000000..46b24f3 --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webView.js","sources":["pagesStock/stockCenterDetails/webView/webView.vue","pagesStock/stockCenterDetails/webView/webView.vue?type=page"],"sourcesContent":["\n\n\n\n\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pagesStock/stockCenterDetails/webView/webView.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAOC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,KAAI;AAAA,IACL;AAAA,EACA;AAAA,EACD,OAAO,GAAG;AACT,QAAG,EAAE,KACL;AACC,WAAK,MAAM,EAAE;AAAA,IACd;AAAA,EACA;AAAA,EACD,SAAS,CAET;AACD;;;;;;;ACrBD,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/request/api.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/request/api.js.map index 97a0eca..0182235 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/request/api.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/request/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sources":["request/api.js"],"sourcesContent":["// api接口统一管理\nimport { get, post } from './http.js'\n\n\n/**\n * 发送短信\n */\nexport const sendSMS = param => post('/api/auth/send-sms',param)\n\n\n/**\n * 手机登录\n */\nexport const loginByPhone = param => post('/api/auth/login/phone',param)\n/**\n * 邮箱登录\n */\nexport const loginByEmail = param => post('/api/auth/login/email',param)\n/**\n * 微信登录\n */\nexport const loginByWx = param => post('/api/auth/login/wechat',param)\n/**\n * 微信绑定手机号\n */\nexport const wxBindPhone = param => post('/api/auth/bindphone/wechat',param)\n\n/**\n * 行业分类列表\n */\nexport const industryCategoryList = param => get('/api/sector/hierarchy',param)\n/**\n * 股票分类列表\n */\nexport const stockCategoryList = param => get('/api/sector/banner',param)\n/**\n * 筛选选项\n */\nexport const filterOptions = param => get('/api/filter/options',param)\n/**\n * 事件列表\n */\nexport const eventList = (param,isNotPort) => get('/api/events',param,isNotPort)\n/**\n * 首页热门事件、分类统计、相关企业数据\n */\nexport const homeData = param => get('/api/home',param)\n/**\n * 事件相关标的\n */\nexport const eventRelatedStock = id => get('/api/event/'+id+'/related-stocks-detail')\n/**\n * 个股详情\n */\nexport const stockDetails = (id,code) => get('/api/event/'+id+'/stock/'+code+'/detail')\n/**\n * 股票K线数据\n */\nexport const stockCandlestickChartData = (code,param) => get('/api/stock/'+code+'/kline',param)\n/**\n * 事件相关概念\n */\nexport const eventRelatedConcept = param => post('/concept-api/search',param,true)\n/**\n * 事件历史事件\n */\nexport const eventHistoryEvent = id => get('/api/event/'+id+'/historical-events')\n/**\n * 事件关联数据\n */\nexport const eventRelatedData = id => get('/api/event/'+id+'/related-data-list')\n/**\n * 事件传导链\n */\nexport const eventTransmissionChain = id => get('/api/event/'+id+'/transmission-chain')\n/**\n * 事件评论列表\n */\nexport const eventCommentList = id => get('/api/event/'+id+'/comments')\n/**\n * 事件添加关注\n */\nexport const followEvent = id => post('/event/follow/'+id)\n/**\n * 评论事件\n */\nexport const commentEvent = (id,param) => post('/post/create/'+id,param)\n/**\n * 点赞事件评论\n */\nexport const likeEventComment = id => post('/post/like/'+id)\n/**\n * 回复评论\n */\nexport const replyComment = (id,param) => post('/post/comment/'+id,param)\n/**\n * 评论回复列表\n */\nexport const commentReplyList = id => post('/post/comments/'+id)\n\n/**\n * 最新价格日期\n */\nexport const newestPriceDate = param => get('/concept-api/price/latest',param,true)\n/**\n * 概念统计排行榜\n */\nexport const conceptRankList = param => get('/concept-api/statistics',param,true)\n/**\n * 概念详情\n */\nexport const conceptDetails = (id,param) => get('/concept-api/concept/'+id,param,true)\n\nexport const conceptOtherDetails = (id,param) => post('/api/market/trade/batch',param)\n\n/**\n * 概念价格时间序列\n */\nexport const priceTimeline = (id,param) => get('/concept-api/concept/'+id+'/price-timeseries',param,true)\n/**\n * 概念新闻\n */\nexport const conceptNews = param => get('/news-api/search_china_news',param,true)\n/**\n * 概念研报\n */\nexport const conceptReport = param => get('/report-api/search',param,true)\n\n/**\n * 获取某一天的事件列表\n */\nexport const calendarEventList = param => get('/api/calendar/events',param)\n/**\n * 获取某一天的数据列表\n */\nexport const calendarDataList = param => get('/api/calendar/data',param)\n/**\n * 投资时间详情\n */\nexport const investEventDetails = (id,param) => get('/api/calendar/detail/'+id,param)\n/**\n * 获取当前月的每一天的事件数量\n */\nexport const calendarEventCount = param => get('/api/calendar-event-counts',param)\n\n/**\n * 根据输入内容搜索个股\n */\nexport const searchStockInfo = param => get('/api/stocks/search',param,true)\n/**\n * 个股基本信息\n */\nexport const stockBasicInfo = code => get('/api/stock/'+code+'/basic-info',null,true)\n/**\n * 个股当前价格信息\n */\nexport const quoteDetailsInfo = code => get('/api/stock/'+code+'/quote-detail',null,true)\n/**\n * 实际控制人\n */\nexport const actualControl = code => get('/api/stock/'+code+'/actual-control',null,true)\n/**\n * 股权集中度\n */\nexport const ownershipConcentration = code => get('/api/stock/'+code+'/concentration',null,true)\n/**\n * 股东列表\n */\nexport const topShareholdersList = (code,param) => get('/api/stock/'+code+'/top-shareholders',param,true)\n/**\n * 流动股东列表\n */\nexport const topCirculatingShareholdersList = (code,param) => get('/api/stock/'+code+'/top-circulation-shareholders',param,true)\n/**\n * 管理团队\n */\nexport const managementTeam = (code,param) => get('/api/stock/'+code+'/management',param,true)\n/**\n * 分支机构\n */\nexport const branchesList = code => get('/api/stock/'+code+'/branches',null,true)\n/**\n * 综合分析\n */\nexport const comprehensiveAnalysis = code => get('/api/company/comprehensive-analysis/'+code,null,true)\n/**\n * 行业排名列表\n */\nexport const industryRankList = code => get('/api/financial/industry-rank/'+code,null,true)\n/**\n * 价值链分析\n */\nexport const valueChainAnalysis = code => get('/api/company/value-chain-analysis/'+code,null,true)\n/**\n * 价值链相关公司\n */\nexport const valueChainRelatedCompany = param => get('/api/company/value-chain/related-companies',param,true)\n/**\n * 关键因素和时间线\n */\nexport const keyFactorsTimeline = code => get('/api/company/key-factors-timeline/'+code,null,true)\n/**\n * 股票信息\n */\nexport const financialStockInfo = code => get('/api/financial/stock-info/'+code,null,true)\n/**\n * 财务指标\n */\nexport const financialMetrics = (code,param) => get('/api/financial/financial-metrics/'+code,param,true)\n/**\n * 财务比较\n */\nexport const financialComparison = (code,param) => get('/api/financial/comparison/'+code,param,true)\n/**\n * 主营业务\n */\nexport const financialMainBusiness = (code,param) => get('/api/financial/main-business/'+code,param,true)\n/**\n * 资产负债表\n */\nexport const financialBalanceSheet = (code,param) => get('/api/financial/balance-sheet/'+code,param,true)\n/**\n * 现金流量表\n */\nexport const cashflowSheet = (code,param) => get('/api/financial/cashflow/'+code,param,true)\n/**\n * 利润表\n */\nexport const incomeStatementSheet = (code,param) => get('/api/financial/income-statement/'+code,param,true)\n/**\n * 公司公告\n */\nexport const companyAnnouncementsList = (code,param) => get('/api/stock/'+code+'/announcements',param,true)\n\n\n/**\n * 用户信息\n */\nexport const userInfo = param => get('/api/user/profile',param)\n/**\n * 会员状态\n */\nexport const membershipStatus = param => get('/api/membership/status',param)\n/**\n * 编辑基本信息\n */\nexport const updateBasicInfo = param => post('/settings/profile',param)\n/**\n * 编辑投资偏好\n */\nexport const updateInvestPreference = param => post('/settings/investment_preferences',param)\n/**\n * 用户活动\n */\nexport const userActivityList = param => get('/api/user/activities',param)\n/**\n * 意见反馈\n */\nexport const feedback = param => post('/api/user/feedback',param)\n/**\n * 协议\n */\nexport const agreements = () => get('/api/agreements')\n/**\n * 热门概念接口\n */\nexport const conceptsDailyTop =param => get('/api/concepts/daily-top',param,true)\n\n/**\n * 市值热力图\n */\nexport const marketHeatmap =param => get('/api/market/heatmap',param,true)\n/**\n * 市场统计\n */\nexport const marketStatistics =param => get('/api/market/statistics',param,true)\n/**\n * 热点概览接口\n */\nexport const marketHotspotOverview =param => get('/api/market/hotspot-overview',param,true)\n\n/**\n *日历数据\n */\nexport const calendarCombinedData =param => get('/api/v1/calendar/combined-data',param,true)\n/**\n *高位股数据\n */\nexport const analyseHighStocks =param => get('/api/limit-analyse/high-position-stocks',param,true)\n"],"names":["post","get"],"mappings":";;AAOY,MAAC,UAAU,WAASA,kBAAK,sBAAqB,KAAK;AAMnD,MAAC,eAAe,WAASA,kBAAK,yBAAwB,KAAK;AAQ3D,MAAC,YAAY,WAASA,kBAAK,0BAAyB,KAAK;AAIzD,MAAC,cAAc,WAASA,kBAAK,8BAA6B,KAAK;AAK/D,MAAC,uBAAuB,WAASC,iBAAI,yBAAwB,KAAK;AAIlE,MAAC,oBAAoB,WAASA,iBAAI,sBAAqB,KAAK;AAI5D,MAAC,gBAAgB,WAASA,iBAAI,uBAAsB,KAAK;AAIzD,MAAC,YAAY,CAAC,OAAM,cAAcA,aAAG,IAAC,eAAc,OAAM,SAAS;AAInE,MAAC,WAAW,WAASA,iBAAI,aAAY,KAAK;AAI1C,MAAC,oBAAoB,QAAMA,aAAAA,IAAI,gBAAc,KAAG,wBAAwB;AAIxE,MAAC,eAAe,CAAC,IAAG,SAASA,aAAG,IAAC,gBAAc,KAAG,YAAU,OAAK,SAAS;AAI1E,MAAC,4BAA4B,CAAC,MAAK,UAAUA,aAAAA,IAAI,gBAAc,OAAK,UAAS,KAAK;AAIlF,MAAC,sBAAsB,WAAS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AI;AAI5F,MAAC,gBAAgB,CAAC,MAAK,UAAUA,aAAAA,IAAI,6BAA2B,MAAK,OAAM,IAAI;AAI/E,MAAC,uBAAuB,CAAC,MAAK,UAAUA,aAAAA,IAAI,qCAAmC,MAAK,OAAM,IAAI;AAI9F,MAAC,2BAA2B,CAAC,MAAK,UAAUA,aAAG,IAAC,gBAAc,OAAK,kBAAiB,OAAM,IAAI;AAM9F,MAAC,WAAW,WAASA,iBAAI,qBAAoB,KAAK;AAIlD,MAAC,mBAAmB,WAASA,iBAAI,0BAAyB,KAAK;AAI/D,MAAC,kBAAkB,WAASD,kBAAK,qBAAoB,KAAK;AAI1D,MAAC,yBAAyB,WAASA,kBAAK,oCAAmC,KAAK;AAIhF,MAAC,mBAAmB,WAASC,iBAAI,wBAAuB,KAAK;AAI7D,MAAC,WAAW,WAASD,kBAAK,sBAAqB,KAAK;AAIpD,MAAC,aAAa,MAAMC,aAAG,IAAC,iBAAiB;AAIzC,MAAC,mBAAkB,WAASA,aAAAA,IAAI,2BAA0B,OAAM,IAAI;AAKpE,MAAC,gBAAe,WAASA,aAAAA,IAAI,uBAAsB,OAAM,IAAI;AAI7D,MAAC,mBAAkB,WAASA,aAAAA,IAAI,0BAAyB,OAAM,IAAI;AAInE,MAAC,wBAAuB,WAASA,aAAAA,IAAI,gCAA+B,OAAM,IAAI;AAK9E,MAAC,uBAAsB,WAASA,aAAAA,IAAI,kCAAiC,OAAM,IAAI;AAI/E,MAAC,oBAAmB,WAASA,aAAAA,IAAI,2CAA0C,OAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"api.js","sources":["request/api.js"],"sourcesContent":["// api接口统一管理\nimport { get, post } from './http.js'\n\n\n/**\n * 发送短信\n */\nexport const sendSMS = param => post('/api/auth/send-sms',param)\n\n\n/**\n * 手机登录\n */\nexport const loginByPhone = param => post('/api/auth/login/phone',param)\n/**\n * 邮箱登录\n */\nexport const loginByEmail = param => post('/api/auth/login/email',param)\n/**\n * 微信登录\n */\nexport const loginByWx = param => post('/api/auth/login/wechat',param)\n/**\n * 微信绑定手机号\n */\nexport const wxBindPhone = param => post('/api/auth/bindphone/wechat',param)\n\n/**\n * 行业分类列表\n */\nexport const industryCategoryList = param => get('/api/sector/hierarchy',param)\n/**\n * 股票分类列表\n */\nexport const stockCategoryList = param => get('/api/sector/banner',param)\n/**\n * 筛选选项\n */\nexport const filterOptions = param => get('/api/filter/options',param)\n/**\n * 事件列表\n */\nexport const eventList = (param,isNotPort) => get('/api/events',param,isNotPort)\n/**\n * 首页热门事件、分类统计、相关企业数据\n */\nexport const homeData = param => get('/api/home',param)\n/**\n * 事件相关标的\n */\nexport const eventRelatedStock = id => get('/api/event/'+id+'/related-stocks-detail')\n/**\n * 个股详情\n */\nexport const stockDetails = (id,code) => get('/api/event/'+id+'/stock/'+code+'/detail')\n/**\n * 股票K线数据\n */\nexport const stockCandlestickChartData = (code,param) => get('/api/stock/'+code+'/kline',param)\n/**\n * 事件相关概念\n */\nexport const eventRelatedConcept = param => post('/concept-api/search',param,true)\n/**\n * 事件历史事件\n */\nexport const eventHistoryEvent = id => get('/api/event/'+id+'/historical-events')\n/**\n * 事件关联数据\n */\nexport const eventRelatedData = id => get('/api/event/'+id+'/related-data-list')\n/**\n * 事件传导链\n */\nexport const eventTransmissionChain = id => get('/api/event/'+id+'/transmission-chain')\n/**\n * 事件评论列表\n */\nexport const eventCommentList = id => get('/api/event/'+id+'/comments')\n/**\n * 事件添加关注\n */\nexport const followEvent = id => post('/event/follow/'+id)\n/**\n * 评论事件\n */\nexport const commentEvent = (id,param) => post('/post/create/'+id,param)\n/**\n * 点赞事件评论\n */\nexport const likeEventComment = id => post('/post/like/'+id)\n/**\n * 回复评论\n */\nexport const replyComment = (id,param) => post('/post/comment/'+id,param)\n/**\n * 评论回复列表\n */\nexport const commentReplyList = id => post('/post/comments/'+id)\n\n/**\n * 最新价格日期\n */\nexport const newestPriceDate = param => get('/concept-api/price/latest',param,true)\n/**\n * 概念统计排行榜\n */\nexport const conceptRankList = param => get('/concept-api/statistics',param,true)\n/**\n * 概念详情\n */\nexport const conceptDetails = (id,param) => get('/concept-api/concept/'+id,param,true)\n\nexport const conceptOtherDetails = (id,param) => post('/api/market/trade/batch',param)\n\n/**\n * 概念价格时间序列\n */\nexport const priceTimeline = (id,param) => get('/concept-api/concept/'+id+'/price-timeseries',param,true)\n/**\n * 概念新闻\n */\nexport const conceptNews = param => get('/news-api/search_china_news',param,true)\n/**\n * 概念研报\n */\nexport const conceptReport = param => get('/report-api/search',param,true)\n\n/**\n * 获取某一天的事件列表\n */\nexport const calendarEventList = param => get('/api/calendar/events',param)\n/**\n * 获取某一天的数据列表\n */\nexport const calendarDataList = param => get('/api/calendar/data',param)\n/**\n * 投资时间详情\n */\nexport const investEventDetails = (id,param) => get('/api/calendar/detail/'+id,param)\n/**\n * 获取当前月的每一天的事件数量\n */\nexport const calendarEventCount = param => get('/api/calendar-event-counts',param)\n\n/**\n * 根据输入内容搜索个股\n */\nexport const searchStockInfo = param => get('/api/stocks/search',param,true)\n/**\n * 个股基本信息\n */\nexport const stockBasicInfo = code => get('/api/stock/'+code+'/basic-info',null,true)\n/**\n * 个股当前价格信息\n */\nexport const quoteDetailsInfo = code => get('/api/stock/'+code+'/quote-detail',null,true)\n/**\n * 实际控制人\n */\nexport const actualControl = code => get('/api/stock/'+code+'/actual-control',null,true)\n/**\n * 股权集中度\n */\nexport const ownershipConcentration = code => get('/api/stock/'+code+'/concentration',null,true)\n/**\n * 股东列表\n */\nexport const topShareholdersList = (code,param) => get('/api/stock/'+code+'/top-shareholders',param,true)\n/**\n * 流动股东列表\n */\nexport const topCirculatingShareholdersList = (code,param) => get('/api/stock/'+code+'/top-circulation-shareholders',param,true)\n/**\n * 管理团队\n */\nexport const managementTeam = (code,param) => get('/api/stock/'+code+'/management',param,true)\n/**\n * 分支机构\n */\nexport const branchesList = code => get('/api/stock/'+code+'/branches',null,true)\n/**\n * 综合分析\n */\nexport const comprehensiveAnalysis = code => get('/api/company/comprehensive-analysis/'+code,null,true)\n/**\n * 行业排名列表\n */\nexport const industryRankList = code => get('/api/financial/industry-rank/'+code,null,true)\n/**\n * 价值链分析\n */\nexport const valueChainAnalysis = code => get('/api/company/value-chain-analysis/'+code,null,true)\n/**\n * 价值链相关公司\n */\nexport const valueChainRelatedCompany = param => get('/api/company/value-chain/related-companies',param,true)\n/**\n * 关键因素和时间线\n */\nexport const keyFactorsTimeline = code => get('/api/company/key-factors-timeline/'+code,null,true)\n/**\n * 股票信息\n */\nexport const financialStockInfo = code => get('/api/financial/stock-info/'+code,null,true)\n/**\n * 财务指标\n */\nexport const financialMetrics = (code,param) => get('/api/financial/financial-metrics/'+code,param,true)\n/**\n * 财务比较\n */\nexport const financialComparison = (code,param) => get('/api/financial/comparison/'+code,param,true)\n/**\n * 主营业务\n */\nexport const financialMainBusiness = (code,param) => get('/api/financial/main-business/'+code,param,true)\n/**\n * 资产负债表\n */\nexport const financialBalanceSheet = (code,param) => get('/api/financial/balance-sheet/'+code,param,true)\n/**\n * 现金流量表\n */\nexport const cashflowSheet = (code,param) => get('/api/financial/cashflow/'+code,param,true)\n/**\n * 利润表\n */\nexport const incomeStatementSheet = (code,param) => get('/api/financial/income-statement/'+code,param,true)\n/**\n * 公司公告\n */\nexport const companyAnnouncementsList = (code,param) => get('/api/stock/'+code+'/announcements',param,true)\n\n\n/**\n * 用户信息\n */\nexport const userInfo = param => get('/api/user/profile',param)\n/**\n * 会员状态\n */\nexport const membershipStatus = param => get('/api/membership/status',param)\n/**\n * 编辑基本信息\n */\nexport const updateBasicInfo = param => post('/settings/profile',param)\n/**\n * 编辑投资偏好\n */\nexport const updateInvestPreference = param => post('/settings/investment_preferences',param)\n/**\n * 用户活动\n */\nexport const userActivityList = param => get('/api/user/activities',param)\n/**\n * 意见反馈\n */\nexport const feedback = param => post('/api/user/feedback',param)\n/**\n * 协议\n */\nexport const agreements = () => get('/api/agreements')\n/**\n * 热门概念接口\n */\nexport const conceptsDailyTop =param => get('/api/concepts/daily-top',param,true)\n\n/**\n * 市值热力图\n */\nexport const marketHeatmap =param => get('/api/market/heatmap',param,true)\n/**\n * 市场统计\n */\nexport const marketStatistics =param => get('/api/market/statistics',param,true)\n/**\n * 热点概览接口\n */\nexport const marketHotspotOverview =param => get('/api/market/hotspot-overview',param,true)\n\n/**\n * 热点概览接口详情\n */\nexport const conceptStocks = (concept_id,param) => get('/api/concept/'+concept_id+'/stocks',param,true)\n\n/**\n *日历数据\n */\nexport const calendarCombinedData =param => get('/api/v1/calendar/combined-data',param,true)\n/**\n *高位股数据\n */\nexport const analyseHighStocks =param => get('/api/limit-analyse/high-position-stocks',param,true)\n"],"names":["post","get"],"mappings":";;AAOY,MAAC,UAAU,WAASA,kBAAK,sBAAqB,KAAK;AAMnD,MAAC,eAAe,WAASA,kBAAK,yBAAwB,KAAK;AAQ3D,MAAC,YAAY,WAASA,kBAAK,0BAAyB,KAAK;AAIzD,MAAC,cAAc,WAASA,kBAAK,8BAA6B,KAAK;AAK/D,MAAC,uBAAuB,WAASC,iBAAI,yBAAwB,KAAK;AAIlE,MAAC,oBAAoB,WAASA,iBAAI,sBAAqB,KAAK;AAI5D,MAAC,gBAAgB,WAASA,iBAAI,uBAAsB,KAAK;AAIzD,MAAC,YAAY,CAAC,OAAM,cAAcA,aAAG,IAAC,eAAc,OAAM,SAAS;AAInE,MAAC,WAAW,WAASA,iBAAI,aAAY,KAAK;AAI1C,MAAC,oBAAoB,QAAMA,aAAAA,IAAI,gBAAc,KAAG,wBAAwB;AAIxE,MAAC,eAAe,CAAC,IAAG,SAASA,aAAG,IAAC,gBAAc,KAAG,YAAU,OAAK,SAAS;AAI1E,MAAC,4BAA4B,CAAC,MAAK,UAAUA,aAAAA,IAAI,gBAAc,OAAK,UAAS,KAAK;AAIlF,MAAC,sBAAsB,WAASD,kBAAK,uBAAsB,KAAU;AAIrE,MAAC,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UAAUA,aAAAA,IAAI,6BAA2B,MAAK,OAAM,IAAI;AAI/E,MAAC,uBAAuB,CAAC,MAAK,UAAUA,aAAAA,IAAI,qCAAmC,MAAK,OAAM,IAAI;AAI9F,MAAC,2BAA2B,CAAC,MAAK,UAAUA,aAAG,IAAC,gBAAc,OAAK,kBAAiB,OAAM,IAAI;AAM9F,MAAC,WAAW,WAASA,iBAAI,qBAAoB,KAAK;AAIlD,MAAC,mBAAmB,WAASA,iBAAI,0BAAyB,KAAK;AAI/D,MAAC,kBAAkB,WAASD,kBAAK,qBAAoB,KAAK;AAI1D,MAAC,yBAAyB,WAASA,kBAAK,oCAAmC,KAAK;AAIhF,MAAC,mBAAmB,WAASC,iBAAI,wBAAuB,KAAK;AAI7D,MAAC,WAAW,WAASD,kBAAK,sBAAqB,KAAK;AAIpD,MAAC,aAAa,MAAMC,aAAG,IAAC,iBAAiB;AAIzC,MAAC,mBAAkB,WAASA,aAAAA,IAAI,2BAA0B,OAAM,IAAI;AAKpE,MAAC,gBAAe,WAASA,aAAAA,IAAI,uBAAsB,OAAM,IAAI;AAI7D,MAAC,mBAAkB,WAASA,aAAAA,IAAI,0BAAyB,OAAM,IAAI;AAInE,MAAC,wBAAuB,WAASA,aAAAA,IAAI,gCAA+B,OAAM,IAAI;AAK9E,MAAC,gBAAgB,CAAC,YAAW,UAAUA,aAAG,IAAC,kBAAgB,aAAW,WAAU,OAAM,IAAI;AAK1F,MAAC,uBAAsB,WAASA,aAAAA,IAAI,kCAAiC,OAAM,IAAI;AAI/E,MAAC,oBAAmB,WAASA,aAAAA,IAAI,2CAA0C,OAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/request/http.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/request/http.js.map index cbe1aa8..c745558 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/request/http.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/request/http.js.map @@ -1 +1 @@ -{"version":3,"file":"http.js","sources":["request/http.js"],"sourcesContent":["\nlet baseURL = ''\n\nif (process.env.NODE_ENV==='development') {\n\t// baseURL = 'https://app.valuefrontier.cn:5002'\n\tbaseURL = 'https://api.valuefrontier.cn:5002'\n\t// baseURL = 'http://43.143.189.195:5002'\n} else{\n\t// baseURL = 'https://app.valuefrontier.cn:5002'\n\tbaseURL = 'https://api.valuefrontier.cn:5002'\n\t// baseURL = 'http://43.143.189.195:5002'\n}\n\nexport function getBaseURL() {\n\treturn baseURL\n}\n\n/**\n * get方法,对应get请求\n * @param {String} url [请求的url地址]\n * @param {Object} params [请求时携带的参数]\n */\nexport function get(url, params, isNotPort){ \n return new Promise((resolve, reject) =>{ \n\t\tlet token = uni.getStorageSync('token')\n\t\tuni.showLoading({\n\t\t\ttitle:'加载中'\n\t\t})\n\t\tlet baseUrl = baseURL\n\t\tif (isNotPort) {\n\t\t\t//如果不需要端口号\n\t\t\tbaseUrl = 'https://api.valuefrontier.cn'\n\t\t}\n uni.request({\n \turl:baseUrl+url,\n\t\t\tdata:params,\n\t\t\theader:{\n\t\t\t\t'Accept':'application/json',\n\t\t\t\t'Content-Type':'application/x-www-form-urlencoded',\n\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t},\n\t\t\tmethod:\"GET\",\n\t\t\tsuccess:(response) =>{\n\t\t\t\tconsole.log(response)\n\t\t\t\tuni.hideLoading()\n\t\t\t\tif (response.data.code==401) {\n\t\t\t\t\tuni.removeStorageSync('token')\n\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\turl:'/pages/login/login',\n\t\t\t\t\t})\n\t\t\t\t} else{\n\t\t\t\t\tresolve(response.data)\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail:(error) =>{\n\t\t\t\tuni.hideLoading()\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle:'请求失败',\n\t\t\t\t\ticon:'error'\n\t\t\t\t})\n\t\t\t\treject(error.response)\n\t\t\t}\n })\n\t});\n}\n\n/** \n * post方法,对应post请求 \n * @param {String} url [请求的url地址] \n * @param {Object} params [请求时携带的参数] \n */\nexport function post(url, params, isNotPort) {\n return new Promise((resolve, reject) => {\n\t\tlet token = uni.getStorageSync('token')\n\t\tlet isJson = 0\n\t\tlet isFile = 0\n\t\tif(params)\n\t\t{\n\t\t\tisJson = params.isJson\n\t\t}\n\t\tif(params)\n\t\t{\n\t\t\tisFile = params.isFile\n\t\t}\n\t\tuni.showLoading({\n\t\t\ttitle:'加载中'\n\t\t})\n\t\tif(isFile)\n\t\t{\n\t\t\tlet token = uni.getStorageSync('token')\n\t\t\tuni.uploadFile({\n\t\t\t\turl: baseURL+url,\n\t\t\t\tfilePath: params.avatar,\n\t\t\t\tname: 'avatar',\n\t\t\t\theader:{\n\t\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t\t},\n\t\t\t\tformData:params,\n\t\t\t\tsuccess: (response) => {\n\t\t\t\t\tconsole.log(response)\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tif (response.data.code==401) {\n\t\t\t\t\t\tuni.removeStorageSync('token')\n\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\turl:'/pages/login/login'\n\t\t\t\t\t\t})\n\t\t\t\t\t\treject(response.data)\n\t\t\t\t\t} else{\n\t\t\t\t\t\tresolve(response.data)\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tfail: (error) => {\n\t\t\t\t\tconsole.log('上传失败'+error.errMsg)\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle:'请求失败',\n\t\t\t\t\t\ticon:'error'\n\t\t\t\t\t})\n\t\t\t\t\treject()\n\t\t\t\t}\n\t\t\t});\n\t\t}else\n\t\t{\n\t\t\tlet baseUrl = baseURL\n\t\t\tif(url.indexOf('concept-api')>-1||url.indexOf('api/market/trade/batch')>-1)\n\t\t\t{\n\t\t\t\tbaseUrl = 'https://api.valuefrontier.cn'\n\t\t\t}\n\t\t\tuni.request({\n\t\t\t\turl:baseUrl+url,\n\t\t\t\tdata:params,\n\t\t\t\theader:{\n\t\t\t\t\t'Accept':'application/json',\n\t\t\t\t\t'Content-Type':isJson?'application/json':(isFile?'multipart/form-data':'application/x-www-form-urlencoded'),\n\t\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t\t},\n\t\t\t\tmethod:\"POST\",\n\t\t\t\tsuccess:(response) =>{\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tif (params&¶ms.isNotNeedLogin) {\n\t\t\t\t\t\t\n\t\t\t\t\t}else \n\t\t\t\t\t{\n\t\t\t\t\t\tconsole.log(response.data)\n\t\t\t\t\t\tif (response.data.code==401) {\n\t\t\t\t\t\t\tuni.removeStorageSync('token')\n\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\turl:'/pages/login/login'\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\treject(response.data)\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\tresolve(response.data)\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tfail:(error) =>{\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle:'请求失败',\n\t\t\t\t\t\ticon:'error'\n\t\t\t\t\t})\n\t\t\t\t\treject(error.response)\n\t\t\t\t}\n\t\t\t})\n\t\t}\n });\n}\n\n"],"names":["uni","token"],"mappings":";;AACA,IAAI,UAAU;AAE4B;AAE/B,YAAA;AAEX;AAegB,SAAA,IAAI,KAAK,QAAQ,WAAU;AACvC,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAU;AACrC,QAAA,QAAQA,cAAAA,MAAI,eAAe,OAAO;AACtCA,kBAAAA,MAAI,YAAY;AAAA,MACf,OAAM;AAAA,IAAA,CACN;AACD,QAAI,UAAU;AACd,QAAI,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SAAS,IAAI;AAAA,YAAA,OACf;AACL,sBAAQ,SAAS,IAAI;AAAA,YACtB;AAAA,UACD;AAAA,QACD;AAAA,QACA,MAAK,CAAC,UAAS;AACdA,wBAAA,MAAI,YAAY;AAChBA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAM;AAAA,YACN,MAAK;AAAA,UAAA,CACL;AACD,iBAAO,MAAM,QAAQ;AAAA,QACtB;AAAA,MAAA,CACA;AAAA,IACF;AAAA,EAAA,CACG;AACL;;;"} \ No newline at end of file +{"version":3,"file":"http.js","sources":["request/http.js"],"sourcesContent":["\nlet baseURL = ''\n\nif (process.env.NODE_ENV==='development') {\n\t// baseURL = 'https://app.valuefrontier.cn:5002'\n\tbaseURL = 'https://api.valuefrontier.cn:5002'\n\t// baseURL = 'http://43.143.189.195:5002'\n} else{\n\t// baseURL = 'https://app.valuefrontier.cn:5002'\n\tbaseURL = 'https://api.valuefrontier.cn:5002'\n\t// baseURL = 'http://43.143.189.195:5002'\n}\n\nexport function getBaseURL() {\n\treturn baseURL\n}\nexport function getBaseURL1() {\n\treturn \"https://valuefrontier.cn\"\n}\n\n/**\n * get方法,对应get请求\n * @param {String} url [请求的url地址]\n * @param {Object} params [请求时携带的参数]\n */\nexport function get(url, params, isNotPort){ \n return new Promise((resolve, reject) =>{ \n\t\tlet token = uni.getStorageSync('token')\n\t\tuni.showLoading({\n\t\t\ttitle:'加载中'\n\t\t})\n\t\tlet baseUrl = baseURL\n\t\tif (isNotPort) {\n\t\t\t//如果不需要端口号\n\t\t\tbaseUrl = 'https://api.valuefrontier.cn'\n\t\t}\n uni.request({\n \turl:baseUrl+url,\n\t\t\tdata:params,\n\t\t\theader:{\n\t\t\t\t'Accept':'application/json',\n\t\t\t\t'Content-Type':'application/x-www-form-urlencoded',\n\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t},\n\t\t\tmethod:\"GET\",\n\t\t\tsuccess:(response) =>{\n\t\t\t\tconsole.log(response)\n\t\t\t\tuni.hideLoading()\n\t\t\t\tif (response.data.code==401) {\n\t\t\t\t\tuni.removeStorageSync('token')\n\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\turl:'/pages/login/login',\n\t\t\t\t\t})\n\t\t\t\t} else{\n\t\t\t\t\tresolve(response.data)\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail:(error) =>{\n\t\t\t\tuni.hideLoading()\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle:'请求失败',\n\t\t\t\t\ticon:'error'\n\t\t\t\t})\n\t\t\t\treject(error.response)\n\t\t\t}\n })\n\t});\n}\n\n/** \n * post方法,对应post请求 \n * @param {String} url [请求的url地址] \n * @param {Object} params [请求时携带的参数] \n */\nexport function post(url, params, isNotPort) {\n return new Promise((resolve, reject) => {\n\t\tlet token = uni.getStorageSync('token')\n\t\tlet isJson = 0\n\t\tlet isFile = 0\n\t\tif(params)\n\t\t{\n\t\t\tisJson = params.isJson\n\t\t}\n\t\tif(params)\n\t\t{\n\t\t\tisFile = params.isFile\n\t\t}\n\t\tuni.showLoading({\n\t\t\ttitle:'加载中'\n\t\t})\n\t\tif(isFile)\n\t\t{\n\t\t\tlet token = uni.getStorageSync('token')\n\t\t\tuni.uploadFile({\n\t\t\t\turl: baseURL+url,\n\t\t\t\tfilePath: params.avatar,\n\t\t\t\tname: 'avatar',\n\t\t\t\theader:{\n\t\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t\t},\n\t\t\t\tformData:params,\n\t\t\t\tsuccess: (response) => {\n\t\t\t\t\tconsole.log(response)\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tif (response.data.code==401) {\n\t\t\t\t\t\tuni.removeStorageSync('token')\n\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\turl:'/pages/login/login'\n\t\t\t\t\t\t})\n\t\t\t\t\t\treject(response.data)\n\t\t\t\t\t} else{\n\t\t\t\t\t\tresolve(response.data)\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tfail: (error) => {\n\t\t\t\t\tconsole.log('上传失败'+error.errMsg)\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle:'请求失败',\n\t\t\t\t\t\ticon:'error'\n\t\t\t\t\t})\n\t\t\t\t\treject()\n\t\t\t\t}\n\t\t\t});\n\t\t}else\n\t\t{\n\t\t\tlet baseUrl = baseURL\n\t\t\tif(url.indexOf('concept-api')>-1||url.indexOf('api/market/trade/batch')>-1)\n\t\t\t{\n\t\t\t\tbaseUrl = 'https://api.valuefrontier.cn'\n\t\t\t}\n\t\t\tuni.request({\n\t\t\t\turl:baseUrl+url,\n\t\t\t\tdata:params,\n\t\t\t\theader:{\n\t\t\t\t\t'Accept':'application/json',\n\t\t\t\t\t'Content-Type':isJson?'application/json':(isFile?'multipart/form-data':'application/x-www-form-urlencoded'),\n\t\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t\t},\n\t\t\t\tmethod:\"POST\",\n\t\t\t\tsuccess:(response) =>{\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tif (params&¶ms.isNotNeedLogin) {\n\t\t\t\t\t\t\n\t\t\t\t\t}else \n\t\t\t\t\t{\n\t\t\t\t\t\tconsole.log(response.data)\n\t\t\t\t\t\tif (response.data.code==401) {\n\t\t\t\t\t\t\tuni.removeStorageSync('token')\n\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\turl:'/pages/login/login'\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\treject(response.data)\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\tresolve(response.data)\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tfail:(error) =>{\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle:'请求失败',\n\t\t\t\t\t\ticon:'error'\n\t\t\t\t\t})\n\t\t\t\t\treject(error.response)\n\t\t\t\t}\n\t\t\t})\n\t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AAO;AAAA,QACzC;AAAA,QACA,QAAO;AAAA,QACP,SAAQ,CAAC,aAAY;AACpBA,wBAAA,MAAI,YAAY;AACZ,cAAA,UAAQ,OAAO;AAAgB;AAAA,eAGnC;AACCA,0BAAA,MAAA,MAAA,OAAA,0BAAY,SAAS,IAAI;AACrB,gBAAA,SAAS,KAAK,QAAM,KAAK;AAC5BA,kCAAI,kBAAkB,OAAO;AAC7BA,4BAAAA,MAAI,WAAW;AAAA,gBACd,KAAI;AAAA,cAAA,CACJ;AACD,qBAAO,SAAS,IAAI;AAAA,YAAA,OACf;AACL,sBAAQ,SAAS,IAAI;AAAA,YACtB;AAAA,UACD;AAAA,QACD;AAAA,QACA,MAAK,CAAC,UAAS;AACdA,wBAAA,MAAI,YAAY;AAChBA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAM;AAAA,YACN,MAAK;AAAA,UAAA,CACL;AACD,iBAAO,MAAM,QAAQ;AAAA,QACtB;AAAA,MAAA,CACA;AAAA,IACF;AAAA,EAAA,CACG;AACL;;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/utils/util.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/utils/util.js.map index b599a3d..a6b8bad 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/utils/util.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/utils/util.js.map @@ -1 +1 @@ -{"version":3,"file":"util.js","sources":["utils/util.js"],"sourcesContent":["import {getBaseURL} from '@/request/http.js'\n\nexport function uploadImg(path)\n{\n\treturn new Promise ((resolve,reject)=>\n\t{\n\t\tlet token = uni.getStorageSync('token')\n\t\tuni.uploadFile({\n\t\t\turl: getBaseURL()+'/file-upload',\n\t\t\tfilePath: path,\n\t\t\tname: 'file',\n\t\t\theader:{\n\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t},\n\t\t\tsuccess: (res) => {\n\t\t\t\tconsole.log(res)\n\t\t\t\tvar result = JSON.parse(res.data);//返回的结果,可能不同项目结果不一样\n\t\t\t\tresolve(result.url)\n\t\t\t},\n\t\t\tfail: (error) => {\n\t\t\t\tconsole.log('上传失败'+error.errMsg)\n\t\t\t\treject()\n\t\t\t}\n\t\t});\n\t})\n}\n\nexport async function uploadImgs(paths, success)\n{\n\tfor (let path of paths) {\n\t\ttry {\n\t\t\tconst uploadData = await uploadImg(path)\n\t\t\tsuccess(uploadData)\n\t\t} catch (e) {\n\t\t\t//TODO handle the exception\n\t\t\tconsole.log(e)\n\t\t\tuni.showToast({\n\t\t\t\ttitle: e || '上传失败',\n\t\t\t\ticon: 'error'\n\t\t\t})\n\t\t\tbreak\n\t\t}\n\t}\n}\n\nexport function isValidJSON(jsonString) {\n // 先做基础类型校验,排除非字符串的情况\n if (typeof jsonString !== 'string') {\n console.warn('输入必须是字符串类型');\n return false;\n }\n\n // 去除首尾空白字符(可选,但能兼容常见的格式问题)\n jsonString = jsonString.trim();\n\n // 空字符串直接判定为无效\n if (jsonString === '') {\n return false;\n }\n\n try {\n // 尝试解析 JSON 字符串\n const parsed = JSON.parse(jsonString);\n // 额外校验:确保解析结果是对象/数组(排除单个数字/布尔值等非结构化 JSON)\n // 如果不需要这个校验,可以删除下面这行\n if (typeof parsed !== 'object' || parsed === null) return false;\n return true;\n } catch (error) {\n // 解析失败,说明格式错误\n console.log('JSON 格式错误:', error.message);\n return false;\n }\n}\n\nexport function accDiv(arg1,arg2){ \n\t var t1=0,t2=0,r1,r2; \n\t try{t1=arg1.toString().split(\".\")[1].length}catch(e){} \n\t try{t2=arg2.toString().split(\".\")[1].length}catch(e){} \n\t r1=Number(arg1.toString().replace(\".\",\"\")) \n\t r2=Number(arg2.toString().replace(\".\",\"\")) \n\t return accMul((r1/r2),Math.pow(10,t2-t1)); \n } \n//乘法 \nexport function accMul(arg1,arg2) \n{ \n\tvar m=0,s1=arg1.toString(),s2=arg2.toString(); \n\ttry{m+=s1.split(\".\")[1].length}catch(e){} \n\ttry{m+=s2.split(\".\")[1].length}catch(e){} \n\treturn Number(s1.replace(\".\",\"\"))*Number(s2.replace(\".\",\"\"))/Math.pow(10,m) \n} \n\n//加法 \nexport function accAdd(arg1,arg2){ \n\tvar r1,r2,m; \n\ttry{r1=arg1.toString().split(\".\")[1].length}catch(e){r1=0} \n\ttry{r2=arg2.toString().split(\".\")[1].length}catch(e){r2=0} \n\tm=Math.pow(10,Math.max(r1,r2)) \n\treturn (arg1*m+arg2*m)/m \n} \n\n//减法 \nexport function accSub(arg1,arg2){ \n var r1,r2,m,n; \n try{r1=arg1.toString().split(\".\")[1].length}catch(e){r1=0} \n try{r2=arg2.toString().split(\".\")[1].length}catch(e){r2=0} \n m=Math.pow(10,Math.max(r1,r2)); \n n=(r1>=r2)?r1:r2; \n return ((arg1*m-arg2*m)/m).toFixed(n); \n} \n\nfunction isEmptyStr(str)\n{\n\treturn (!str || 0 === str.length);\n}\nfunction isNotaNumber(str)\n{\n\t// return isNaN(str);\n\treturn true\n}\n\nexport function maskPhoneNumber(phoneNumber) {\n return phoneNumber.replace(/(\\d{3})\\d*(\\d{4})/, '$1****$2');\n}\n\n\nfunction getCurrentTimeStr()\n{\n\tlet date = new Date()\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn month+'月'+day+'日'+hour+':'+(minute<10?('0'+minute):minute)\n}\n\nfunction getChineseTimeStrBySecond(s)\n{\n\tif (s<0) {\n\t\ts = 0-s\n\t}\n\tlet day = parseInt(s/(24*60*60))\n\tlet hour = parseInt(s%(24*60*60)/(60*60))\n\tlet minute = parseInt(s/60)%60\n\tlet second = s%60\n\t\n\treturn (day>0?(day+'天'):'')+(hour>0?(hour+'小时'):'')+minute+'分'+second+'秒'\n}\n\nfunction getTimeStrBySecond(s)\n{\n\tif (s<0) {\n\t\ts = 0-s\n\t}\n\tlet hour = parseInt(s/(60*60))\n\tlet minute = parseInt(s/60)%60\n\tlet second = s%60\n\t\n\treturn (hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)+':'+(second<10?('0'+second):second)\n}\n\nfunction getChineseTimeStrByHour(h)\n{\n\tif (!h) return\n\tif (h<0) {\n\t\th = 0-h\n\t}\n\tlet day = parseInt(h/24)\n\tlet hour = parseInt(h%24)\n\tconsole.log(day,hour)\n\treturn (day>0?(day+'天'):'')+(hour>0?(hour+'小时'):'')\n}\n\n/**\n * 获取涨幅字符串\n * @param {Object} r\n */\nexport function getRateStr(r)\n{\n\tif (!r) return\n\tr = String(r)\n\tif(r.indexOf('-')>-1)\n\t{\n\t\tr = r.substr(1,r.length-1)\n\t\treturn parseFloat(r).toFixed(2)\n\t}else\n\t{\n\t\tif(parseFloat(r)==0)\n\t\t{\n\t\t\treturn 0.00\n\t\t}else\n\t\t\treturn parseFloat(r).toFixed(2)\n\t}\n}\n\n/**\n * 获取涨跌幅字符串\n * @param {Object} r\n */\nexport function getChgRateStr(r)\n{\n\tif (!r) return\n\tr = String(r)\n\tif(r.indexOf('-')>-1)\n\t{\n\t\tr = r.substr(1,r.length-1)\n\t\treturn '-'+parseFloat(r).toFixed(2)\n\t}else\n\t{\n\t\tif(parseFloat(r)==0)\n\t\t{\n\t\t\treturn 0.00\n\t\t}else\n\t\t\treturn '+'+parseFloat(r).toFixed(2)\n\t}\n}\n\n/**\n * 获取涨幅字符串是涨还是跌 true为跌false为涨\n * @param {Object} r\n */\nexport function getRateUpOrDown(r)\n{\n\tif (!r) return\n\treturn String(r).indexOf('-')>-1\n}\n\n/**\n * 根据数字大小展示亿或者完\n * @param {Object} r\n */\nexport function getNumStr(r)\n{\n\tif (!r) return\n\tlet value = r\n\tif (r<0) value = 0-r\n\tvalue = parseFloat(value)\n\tif (value>100000000) {\n\t\treturn (r/100000000).toFixed(2)+'亿'\n\t}else if (value>10000) {\n\t\treturn (r/10000).toFixed(2)+'万'\n\t}else \n\t\treturn r\n}\n\n/**\n * 根据姓名获取姓\n * @param {Object} r\n */\nexport function getLastNameStr(r)\n{\n\tif (!r) return\n\treturn r.substr(0,1)\n}\n\n/**\n * 根据出生年份计算年龄\n * @param {Object} r\n */\nexport function getAgeByBirthYear(r)\n{\n\tif (!r) return 0\n\tlet date = new Date()\n\tlet year = date.getFullYear()\n\t\n\treturn parseInt(year)-parseInt(r)\n}\n\n/**\n * 获取本地时间\n * @param {Object} time\n */\nexport function getLocaleTime(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet year = date.getFullYear()\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn year+'-'+(month<10?('0'+month):month)+'-'+(day<10?('0'+day):day)+' '+(hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)\n}\n\n/**\n * 获取本地时分\n * @param {Object} time\n */\nexport function getLocaleHourMinute(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn (hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)\n}\n\n/**\n * 获取本地月日时分\n * @param {Object} time\n */\nexport function getLocaleMonthDayHourMinte(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn (month<10?('0'+month):month)+'-'+(day<10?('0'+day):day)+' '+(hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)\n}\n\n/**\n * 获取本地日期\n * @param {Object} time\n */\nexport function getLocalDate(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet year = date.getFullYear()\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\t\n\treturn year+'-'+(month<10?('0'+month):month)+'-'+(day<10?('0'+day):day)\n}\n\n/**\n * 替换\n * @param {Object} time\n */\nexport function replaceAnswerLabel(text) \n{\n\treturn text.replace('','').replace('','')\n}\n\n/**\r\n * 身份证号校验\r\n */\r\nexport function checkIdCard (cardNum)\r\n{\r\n cardNum = cardNum.replace(/(^\\s*)|(\\s*$)/g,\"\")\r\n if (cardNum.length==15) {\r\n return isValidateBirthBy15IdCard(cardNum)\r\n }else if(cardNum.length==18)\r\n {\r\n var idCard = cardNum.split(\"\")\r\n if (isValidateBirthBy18IdCard(cardNum)&&isValidateCodeBy18IdCard(idCard)) {\r\n return true\r\n }else \r\n return false\r\n }else \r\n return false\r\n}\r\nfunction isValidateCodeBy18IdCard(cardNum)\r\n{\r\n var wi = [7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2,1] //加权因子\r\n var valideCode = [1,0,10,9,8,7,6,5,4,3,2]\r\n var sum = 0\r\n if (cardNum[17].toLowerCase() == 'x') {\r\n cardNum[17] = 10 //将最后位的x替换成10\r\n }\r\n for (let i = 0; i < 17; i++) {\r\n sum+= wi[i] * cardNum[i]\r\n }\r\n var valCodePosition = sum%11\r\n if (cardNum[17] == valideCode[valCodePosition]) {\r\n return true\r\n }else\r\n return false\r\n}\r\n/**\r\n * 验证18位身份证号中的生日是否为有效生日\r\n * @param {*} cardNum \r\n */\r\nfunction isValidateBirthBy18IdCard (cardNum)\r\n{\r\n var year = cardNum.substring(6,10)\r\n var month = cardNum.substring(10,12)\r\n var day = cardNum.substring(12,14)\r\n var tempDate = new Date(year,parseFloat(month)-1,parseFloat(day))\r\n //这里用getFullYear获取年份\r\n if (tempDate.getFullYear()!=parseFloat(year)||\r\n tempDate.getMonth()!=(parseFloat(month)-1)||\r\n tempDate.getDate()!=parseFloat(day)) {\r\n return false\r\n }else \r\n return true\r\n}\r\n\r\n/**\r\n * 验证15位身份证号中的生日是否为有效生日\r\n * @param {*} cardNum \r\n */\r\nfunction isValidateBirthBy15IdCard (cardNum)\r\n{\r\n var year = cardNum.substring(6,8)\r\n var month = cardNum.substring(8,10)\r\n var day = cardNum.substring(10,12)\r\n var tempDate = new Date(year,parseFloat(month)-1,parseFloat(day))\r\n //这里用getFullYear获取年份\r\n if (tempDate.getFullYear()!=parseFloat(year)||\r\n tempDate.getMonth()!=(parseFloat(month)-1)||\r\n tempDate.getDate()!=parseFloat(day)) {\r\n return false\r\n }else \r\n return true\r\n}\n"],"names":["uni"],"mappings":";;;AA6CO,SAAS,YAAY,YAAY;AAEpC,MAAI,OAAO,eAAe,UAAU;AAChCA,kBAAAA,2CAAa,YAAY;AACzB,WAAO;AAAA,EACV;AAGD,eAAa,WAAW;AAGxB,MAAI,eAAe,IAAI;AACnB,WAAO;AAAA,EACV;AAED,MAAI;AAEA,UAAM,SAAS,KAAK,MAAM,UAAU;AAGpC,QAAI,OAAO,WAAW,YAAY,WAAW;AAAM,aAAO;AAC1D,WAAO;AAAA,EACV,SAAQ,OAAO;AAEZA,kBAAA,MAAA,MAAA,OAAA,uBAAY,cAAc,MAAM,OAAO;AACvC,WAAO;AAAA,EACV;AACL;AAEO,SAAS,OAAO,MAAK,MAAK;AAC/B,MAAI,KAAG,GAAE,KAAG,GAAE,IAAG;AACjB,MAAG;AAAC,SAAG,KAAK,SAAU,EAAC,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EAAM,SAAO,GAAE;AAAA,EAAE;AACtD,MAAG;AAAC,SAAG,KAAK,SAAU,EAAC,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EAAM,SAAO,GAAE;AAAA,EAAE;AACtD,OAAG,OAAO,KAAK,SAAU,EAAC,QAAQ,KAAI,EAAE,CAAC;AACzC,OAAG,OAAO,KAAK,SAAU,EAAC,QAAQ,KAAI,EAAE,CAAC;AACzC,SAAO,OAAQ,KAAG,IAAI,KAAK,IAAI,IAAG,KAAG,EAAE,CAAC;AACxC;AAEK,SAAS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K,QAAM,KAAI,MAAI,QAAO,SAAO,OAAK,MAAI,KAAI,MAAI,MAAK;AACpE;AAMO,SAAS,mBAAmB,MACnC;AACC,SAAO,KAAK,QAAQ,YAAW,EAAE,EAAE,QAAQ,aAAY,EAAE;AAC1D;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"util.js","sources":["utils/util.js"],"sourcesContent":["import {getBaseURL} from '@/request/http.js'\n\nexport function uploadImg(path)\n{\n\treturn new Promise ((resolve,reject)=>\n\t{\n\t\tlet token = uni.getStorageSync('token')\n\t\tuni.uploadFile({\n\t\t\turl: getBaseURL()+'/file-upload',\n\t\t\tfilePath: path,\n\t\t\tname: 'file',\n\t\t\theader:{\n\t\t\t\t'Authorization':token?('Bearer '+token):''\n\t\t\t},\n\t\t\tsuccess: (res) => {\n\t\t\t\tconsole.log(res)\n\t\t\t\tvar result = JSON.parse(res.data);//返回的结果,可能不同项目结果不一样\n\t\t\t\tresolve(result.url)\n\t\t\t},\n\t\t\tfail: (error) => {\n\t\t\t\tconsole.log('上传失败'+error.errMsg)\n\t\t\t\treject()\n\t\t\t}\n\t\t});\n\t})\n}\n\nexport async function uploadImgs(paths, success)\n{\n\tfor (let path of paths) {\n\t\ttry {\n\t\t\tconst uploadData = await uploadImg(path)\n\t\t\tsuccess(uploadData)\n\t\t} catch (e) {\n\t\t\t//TODO handle the exception\n\t\t\tconsole.log(e)\n\t\t\tuni.showToast({\n\t\t\t\ttitle: e || '上传失败',\n\t\t\t\ticon: 'error'\n\t\t\t})\n\t\t\tbreak\n\t\t}\n\t}\n}\n\nexport function isValidJSON(jsonString) {\n // 先做基础类型校验,排除非字符串的情况\n if (typeof jsonString !== 'string') {\n console.warn('输入必须是字符串类型');\n return false;\n }\n\n // 去除首尾空白字符(可选,但能兼容常见的格式问题)\n jsonString = jsonString.trim();\n\n // 空字符串直接判定为无效\n if (jsonString === '') {\n return false;\n }\n\n try {\n // 尝试解析 JSON 字符串\n const parsed = JSON.parse(jsonString);\n // 额外校验:确保解析结果是对象/数组(排除单个数字/布尔值等非结构化 JSON)\n // 如果不需要这个校验,可以删除下面这行\n if (typeof parsed !== 'object' || parsed === null) return false;\n return true;\n } catch (error) {\n // 解析失败,说明格式错误\n console.log('JSON 格式错误:', error.message);\n return false;\n }\n}\n\nexport function accDiv(arg1,arg2){ \n\t var t1=0,t2=0,r1,r2; \n\t try{t1=arg1.toString().split(\".\")[1].length}catch(e){} \n\t try{t2=arg2.toString().split(\".\")[1].length}catch(e){} \n\t r1=Number(arg1.toString().replace(\".\",\"\")) \n\t r2=Number(arg2.toString().replace(\".\",\"\")) \n\t return accMul((r1/r2),Math.pow(10,t2-t1)); \n } \n//乘法 \nexport function accMul(arg1,arg2) \n{ \n\tvar m=0,s1=arg1.toString(),s2=arg2.toString(); \n\ttry{m+=s1.split(\".\")[1].length}catch(e){} \n\ttry{m+=s2.split(\".\")[1].length}catch(e){} \n\treturn Number(s1.replace(\".\",\"\"))*Number(s2.replace(\".\",\"\"))/Math.pow(10,m) \n} \n\n//加法 \nexport function accAdd(arg1,arg2){ \n\tvar r1,r2,m; \n\ttry{r1=arg1.toString().split(\".\")[1].length}catch(e){r1=0} \n\ttry{r2=arg2.toString().split(\".\")[1].length}catch(e){r2=0} \n\tm=Math.pow(10,Math.max(r1,r2)) \n\treturn (arg1*m+arg2*m)/m \n} \n\n//减法 \nexport function accSub(arg1,arg2){ \n var r1,r2,m,n; \n try{r1=arg1.toString().split(\".\")[1].length}catch(e){r1=0} \n try{r2=arg2.toString().split(\".\")[1].length}catch(e){r2=0} \n m=Math.pow(10,Math.max(r1,r2)); \n n=(r1>=r2)?r1:r2; \n return ((arg1*m-arg2*m)/m).toFixed(n); \n} \n\nfunction isEmptyStr(str)\n{\n\treturn (!str || 0 === str.length);\n}\nfunction isNotaNumber(str)\n{\n\t// return isNaN(str);\n\treturn true\n}\n\nexport function maskPhoneNumber(phoneNumber) {\n return phoneNumber.replace(/(\\d{3})\\d*(\\d{4})/, '$1****$2');\n}\n\n\nfunction getCurrentTimeStr()\n{\n\tlet date = new Date()\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn month+'月'+day+'日'+hour+':'+(minute<10?('0'+minute):minute)\n}\n\nfunction getChineseTimeStrBySecond(s)\n{\n\tif (s<0) {\n\t\ts = 0-s\n\t}\n\tlet day = parseInt(s/(24*60*60))\n\tlet hour = parseInt(s%(24*60*60)/(60*60))\n\tlet minute = parseInt(s/60)%60\n\tlet second = s%60\n\t\n\treturn (day>0?(day+'天'):'')+(hour>0?(hour+'小时'):'')+minute+'分'+second+'秒'\n}\n\nfunction getTimeStrBySecond(s)\n{\n\tif (s<0) {\n\t\ts = 0-s\n\t}\n\tlet hour = parseInt(s/(60*60))\n\tlet minute = parseInt(s/60)%60\n\tlet second = s%60\n\t\n\treturn (hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)+':'+(second<10?('0'+second):second)\n}\n\nfunction getChineseTimeStrByHour(h)\n{\n\tif (!h) return\n\tif (h<0) {\n\t\th = 0-h\n\t}\n\tlet day = parseInt(h/24)\n\tlet hour = parseInt(h%24)\n\treturn (day>0?(day+'天'):'')+(hour>0?(hour+'小时'):'')\n}\n\n/**\n * 获取涨幅字符串\n * @param {Object} r\n */\nexport function getRateStr(r)\n{\n\tif (!r) return\n\tr = String(r)\n\tif(r.indexOf('-')>-1)\n\t{\n\t\tr = r.substr(1,r.length-1)\n\t\treturn parseFloat(r).toFixed(2)\n\t}else\n\t{\n\t\tif(parseFloat(r)==0)\n\t\t{\n\t\t\treturn 0.00\n\t\t}else\n\t\t\treturn parseFloat(r).toFixed(2)\n\t}\n}\n\n/**\n * 获取涨跌幅字符串\n * @param {Object} r\n */\nexport function getChgRateStr(r)\n{\n\tif (!r) return\n\tr = String(r)\n\tif(r.indexOf('-')>-1)\n\t{\n\t\tr = r.substr(1,r.length-1)\n\t\treturn '-'+parseFloat(r).toFixed(2)\n\t}else\n\t{\n\t\tif(parseFloat(r)==0)\n\t\t{\n\t\t\treturn 0.00\n\t\t}else\n\t\t\treturn '+'+parseFloat(r).toFixed(2)\n\t}\n}\n\n/**\n * 获取涨幅字符串是涨还是跌 true为跌false为涨\n * @param {Object} r\n */\nexport function getRateUpOrDown(r)\n{\n\tif (!r) return\n\treturn String(r).indexOf('-')>-1\n}\n\n/**\n * 根据数字大小展示亿或者完\n * @param {Object} r\n */\nexport function getNumStr(r)\n{\n\tif (!r) return\n\tlet value = r\n\tif (r<0) value = 0-r\n\tvalue = parseFloat(value)\n\tif (value>100000000) {\n\t\treturn (r/100000000).toFixed(2)+'亿'\n\t}else if (value>10000) {\n\t\treturn (r/10000).toFixed(2)+'万'\n\t}else \n\t\treturn r\n}\n\n/**\n * 根据姓名获取姓\n * @param {Object} r\n */\nexport function getLastNameStr(r)\n{\n\tif (!r) return\n\treturn r.substr(0,1)\n}\n\n/**\n * 根据出生年份计算年龄\n * @param {Object} r\n */\nexport function getAgeByBirthYear(r)\n{\n\tif (!r) return 0\n\tlet date = new Date()\n\tlet year = date.getFullYear()\n\t\n\treturn parseInt(year)-parseInt(r)\n}\n\n/**\n * 获取本地时间\n * @param {Object} time\n */\nexport function getLocaleTime(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet year = date.getFullYear()\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn year+'-'+(month<10?('0'+month):month)+'-'+(day<10?('0'+day):day)+' '+(hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)\n}\n\n/**\n * 获取本地时分\n * @param {Object} time\n */\nexport function getLocaleHourMinute(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn (hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)\n}\n\n/**\n * 获取本地月日时分\n * @param {Object} time\n */\nexport function getLocaleMonthDayHourMinte(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\tlet hour = date.getHours()\n\tlet minute = date.getMinutes()\n\t\n\treturn (month<10?('0'+month):month)+'-'+(day<10?('0'+day):day)+' '+(hour<10?('0'+hour):hour)+':'+(minute<10?('0'+minute):minute)\n}\n\n/**\n * 获取本地日期\n * @param {Object} time\n */\nexport function getLocalDate(time)\n{\n\tif(time.indexOf('T')==-1)\n\t{\n\t\ttime = time.replace(/-/g,'/')\n\t}\n\tlet date = new Date(time)\n\tlet year = date.getFullYear()\n\tlet month = date.getMonth()+1\n\tlet day = date.getDate()\n\t\n\treturn year+'-'+(month<10?('0'+month):month)+'-'+(day<10?('0'+day):day)\n}\n\n/**\n * 替换\n * @param {Object} time\n */\nexport function replaceAnswerLabel(text) \n{\n\treturn text.replace('','').replace('','')\n}\n\n/**\r\n * 身份证号校验\r\n */\r\nexport function checkIdCard (cardNum)\r\n{\r\n cardNum = cardNum.replace(/(^\\s*)|(\\s*$)/g,\"\")\r\n if (cardNum.length==15) {\r\n return isValidateBirthBy15IdCard(cardNum)\r\n }else if(cardNum.length==18)\r\n {\r\n var idCard = cardNum.split(\"\")\r\n if (isValidateBirthBy18IdCard(cardNum)&&isValidateCodeBy18IdCard(idCard)) {\r\n return true\r\n }else \r\n return false\r\n }else \r\n return false\r\n}\r\nfunction isValidateCodeBy18IdCard(cardNum)\r\n{\r\n var wi = [7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2,1] //加权因子\r\n var valideCode = [1,0,10,9,8,7,6,5,4,3,2]\r\n var sum = 0\r\n if (cardNum[17].toLowerCase() == 'x') {\r\n cardNum[17] = 10 //将最后位的x替换成10\r\n }\r\n for (let i = 0; i < 17; i++) {\r\n sum+= wi[i] * cardNum[i]\r\n }\r\n var valCodePosition = sum%11\r\n if (cardNum[17] == valideCode[valCodePosition]) {\r\n return true\r\n }else\r\n return false\r\n}\r\n/**\r\n * 验证18位身份证号中的生日是否为有效生日\r\n * @param {*} cardNum \r\n */\r\nfunction isValidateBirthBy18IdCard (cardNum)\r\n{\r\n var year = cardNum.substring(6,10)\r\n var month = cardNum.substring(10,12)\r\n var day = cardNum.substring(12,14)\r\n var tempDate = new Date(year,parseFloat(month)-1,parseFloat(day))\r\n //这里用getFullYear获取年份\r\n if (tempDate.getFullYear()!=parseFloat(year)||\r\n tempDate.getMonth()!=(parseFloat(month)-1)||\r\n tempDate.getDate()!=parseFloat(day)) {\r\n return false\r\n }else \r\n return true\r\n}\r\n\r\n/**\r\n * 验证15位身份证号中的生日是否为有效生日\r\n * @param {*} cardNum \r\n */\r\nfunction isValidateBirthBy15IdCard (cardNum)\r\n{\r\n var year = cardNum.substring(6,8)\r\n var month = cardNum.substring(8,10)\r\n var day = cardNum.substring(10,12)\r\n var tempDate = new Date(year,parseFloat(month)-1,parseFloat(day))\r\n //这里用getFullYear获取年份\r\n if (tempDate.getFullYear()!=parseFloat(year)||\r\n tempDate.getMonth()!=(parseFloat(month)-1)||\r\n tempDate.getDate()!=parseFloat(day)) {\r\n return false\r\n }else \r\n return true\r\n}\n"],"names":["uni"],"mappings":";;;AA6CO,SAAS,YAAY,YAAY;AAEpC,MAAI,OAAO,eAAe,UAAU;AAChCA,kBAAAA,2CAAa,YAAY;AACzB,WAAO;AAAA,EACV;AAGD,eAAa,WAAW;AAGxB,MAAI,eAAe,IAAI;AACnB,WAAO;AAAA,EACV;AAED,MAAI;AAEA,UAAM,SAAS,KAAK,MAAM,UAAU;AAGpC,QAAI,OAAO,WAAW,YAAY,WAAW;AAAM,aAAO;AAC1D,WAAO;AAAA,EACV,SAAQ,OAAO;AAEZA,kBAAA,MAAA,MAAA,OAAA,uBAAY,cA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dev/null +++ b/unpackage/dist/dev/mp-weixin/WordCloud.js @@ -0,0 +1,207 @@ +"use strict"; +const common_vendor = require("./common/vendor.js"); +const _sfc_main = { + name: "WordCloud", + props: { + // 词云数据 [{text: '关键词', value: 100}, ...] + wordData: { + type: Array, + required: true, + default: () => [] + }, + // 画布宽度 + width: { + type: Number, + default: 300 + }, + // 画布高度 + height: { + type: Number, + default: 300 + }, + // 文字颜色列表(分层配色) + colorList: { + type: Array, + default: () => ["#60A5FA", "#FEC200", "#EF4444"] + // 外圈、中间、中心 + }, + // 新增:字号配置,让组件更灵活 + fontSizeConfig: { + type: Object, + default: () => ({ + minSize: 12, + // 最小字号 + maxSize: 40, + // 最大字号 + scaleFactor: 0.1 + // 缩放因子,越大字号差异越明显 + }) + } + }, + data() { + return { + canvasWidth: this.width, + canvasHeight: this.height, + ctx: null, + // canvas 2d 上下文 + placedWords: [] + // 已放置的文字信息(用于碰撞检测) + }; + }, + watch: { + wordData: { + handler() { + this.drawWordCloud(); + }, + deep: true + } + }, + mounted() { + this.initCanvas(); + }, + methods: { + // 初始化canvas + async initCanvas() { + await new Promise((resolve) => setTimeout(resolve, 50)); + const query = common_vendor.index.createSelectorQuery().in(this); + query.select(".word-cloud-canvas").fields({ node: true, size: true }).exec(async (res) => { + if (!res || !res[0] || !res[0].node) { + common_vendor.index.__f__("error", "at components/WordCloud/WordCloud.vue:82", "获取canvas节点失败,请检查canvas是否正确渲染"); + return; + } + const canvas = res[0].node; + let ctx = null; + try { + ctx = canvas.getContext("2d"); + } catch (e) { + common_vendor.index.__f__("warn", "at components/WordCloud/WordCloud.vue:93", "获取2d上下文失败,尝试兼容处理", e); + ctx = common_vendor.index.createCanvasContext("wordCloudCanvas", this); + } + if (!ctx) { + common_vendor.index.__f__("error", "at components/WordCloud/WordCloud.vue:99", "无法获取canvas 2d上下文"); + return; + } + const dpr = common_vendor.index.getSystemInfoSync().pixelRatio || 1; + canvas.width = this.canvasWidth * dpr; + canvas.height = this.canvasHeight * dpr; + ctx.scale(dpr, dpr); + this.ctx = ctx; + this.drawWordCloud(); + }); + }, + // 绘制词云核心方法 + drawWordCloud() { + if (!this.ctx || !this.wordData.length) + return; + this.ctx.clearRect(0, 0, this.canvasWidth, this.canvasHeight); + this.placedWords = []; + const sortedWords = [...this.wordData].sort((a, b) => b.value - a.value); + const values = sortedWords.map((item) => item.value); + this.valueMax = Math.max(...values); + this.valueMin = Math.min(...values); + sortedWords.forEach((word, index) => { + this.placeWord(word, index); + }); + }, + // 放置单个文字(核心:碰撞检测,确保不重叠) + placeWord(word, index) { + const ctx = this.ctx; + const maxAttempts = 150; + const { minSize, maxSize, scaleFactor } = this.fontSizeConfig; + let normalizedValue = 1; + if (this.valueMax !== this.valueMin) { + normalizedValue = (word.value - this.valueMin) / (this.valueMax - this.valueMin); + } + const fontSize = Math.min( + minSize + (maxSize - minSize) * normalizedValue * scaleFactor, + maxSize + ); + const rotateAngle = (Math.random() - 0.5) * 120 * Math.PI / 180; + ctx.font = `${fontSize}px sans-serif`; + const textWidth = ctx.measureText(word.text || word.name).width; + const textHeight = fontSize * 1.05; + for (let i = 0; i < maxAttempts; i++) { + const x = this.canvasWidth * 0.05 + Math.random() * this.canvasWidth * 0.9; + const y = this.canvasHeight * 0.05 + Math.random() * this.canvasHeight * 0.9; + const isOverlap = this.checkOverlap(x, y, textWidth, textHeight, rotateAngle, 2); + if (!isOverlap) { + const centerX = this.canvasWidth / 2; + const centerY = this.canvasHeight / 2; + const distance = Math.sqrt(Math.pow(x - centerX, 2) + Math.pow(y - centerY, 2)); + const maxDistance = Math.sqrt(Math.pow(centerX, 2) + Math.pow(centerY, 2)); + let color; + if (distance > maxDistance * 0.66) { + color = this.colorList[0]; + } else if (distance > maxDistance * 0.33) { + color = this.colorList[1]; + } else { + color = this.colorList[2]; + } + ctx.fillStyle = color; + this.drawTextAtPosition(word.text || word.name, x, y, rotateAngle, fontSize); + this.placedWords.push({ + x, + y, + width: textWidth, + height: textHeight, + angle: rotateAngle + }); + break; + } + } + }, + // 碰撞检测:检查当前文字是否与已放置的文字重叠(新增间距容差参数) + checkOverlap(x, y, width, height, angle, gap = 2) { + const currentRect = this.getBoundingRect(x, y, width, height, angle, gap); + for (const placed of this.placedWords) { + const placedRect = this.getBoundingRect(placed.x, placed.y, placed.width, placed.height, placed.angle, gap); + if (currentRect.left < placedRect.right && currentRect.right > placedRect.left && currentRect.top < placedRect.bottom && currentRect.bottom > placedRect.top) { + return true; + } + } + return false; + }, + // 获取旋转后文字的包围盒(新增间距容差参数,缩小包围盒) + getBoundingRect(x, y, width, height, angle, gap = 2) { + const cos = Math.cos(angle); + const sin = Math.sin(angle); + const halfW = (width - gap) / 2; + const halfH = (height - gap) / 2; + const points = [ + { x: -halfW, y: -halfH }, + { x: -halfW, y: halfH }, + { x: halfW, y: halfH }, + { x: halfW, y: -halfH } + ]; + const rotatedPoints = points.map((point) => ({ + x: x + point.x * cos - point.y * sin, + y: y + point.x * sin + point.y * cos + })); + const left = Math.min(...rotatedPoints.map((p) => p.x)); + const right = Math.max(...rotatedPoints.map((p) => p.x)); + const top = Math.min(...rotatedPoints.map((p) => p.y)); + const bottom = Math.max(...rotatedPoints.map((p) => p.y)); + return { left, right, top, bottom }; + }, + // 在指定位置绘制旋转后的文字 + drawTextAtPosition(text, x, y, angle, fontSize) { + const ctx = this.ctx; + ctx.save(); + ctx.translate(x, y); + ctx.rotate(angle); + ctx.textAlign = "center"; + ctx.textBaseline = "middle"; + ctx.fillText(text, 0, 0); + ctx.restore(); + } + } +}; +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return { + a: $data.canvasWidth + "px", + b: $data.canvasHeight + "px" + }; +} +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cab45d13"]]); +exports.MiniProgramPage = MiniProgramPage; +//# sourceMappingURL=../.sourcemap/mp-weixin/WordCloud.js.map diff --git a/unpackage/dist/dev/mp-weixin/app.js b/unpackage/dist/dev/mp-weixin/app.js index f907b0d..245397a 100644 --- a/unpackage/dist/dev/mp-weixin/app.js +++ b/unpackage/dist/dev/mp-weixin/app.js @@ -27,12 +27,14 @@ if (!Math) { "./pages/geGuCenter/geGuCenter.js"; "./pages/ztfx/ztfx.js"; "./pages/geGuCenter/detail.js"; + "./components/WordCloud/WordCloud.js"; "./pagesMine/vip/vip.js"; "./pagesMine/vipMeal/vipMeal.js"; "./pagesStock/stockCenterDetails/stockCenterDetails.js"; "./pagesStock/stockCenterDetails/cwDetails.js"; "./pagesStock/stockCenterDetails/ztfx.js"; "./pagesStock/stockCenterDetails/bkydmx.js"; + "./pagesStock/stockCenterDetails/webView/webView.js"; } const _sfc_main = { onLaunch: function() { diff --git a/unpackage/dist/dev/mp-weixin/app.json b/unpackage/dist/dev/mp-weixin/app.json index 9faecf0..5fa8baf 100644 --- a/unpackage/dist/dev/mp-weixin/app.json +++ b/unpackage/dist/dev/mp-weixin/app.json @@ -23,7 +23,8 @@ "pages/concept/reportDetails/reportDetails", "pages/geGuCenter/geGuCenter", "pages/ztfx/ztfx", - "pages/geGuCenter/detail" + "pages/geGuCenter/detail", + "components/WordCloud/WordCloud" ], "subPackages": [ { @@ -39,7 +40,8 @@ "stockCenterDetails/stockCenterDetails", "stockCenterDetails/cwDetails", "stockCenterDetails/ztfx", - "stockCenterDetails/bkydmx" + "stockCenterDetails/bkydmx", + "stockCenterDetails/webView/webView" ] } ], diff --git a/unpackage/dist/dev/mp-weixin/common/assets.js b/unpackage/dist/dev/mp-weixin/common/assets.js index 554fde7..baa7d54 100644 --- a/unpackage/dist/dev/mp-weixin/common/assets.js +++ b/unpackage/dist/dev/mp-weixin/common/assets.js @@ -5,27 +5,27 @@ const _imports_3$e = "/static/icon/home/conceptCenter/conceptScreenArrow.png"; const _imports_1$i = "/static/icon/home/downArrow.png"; const _imports_2$f = "/static/icon/home/upArrow.png"; const _imports_3$d = "/static/icon/home/browser.png"; -const _imports_11$4 = "/static/icon/home/like.png"; +const _imports_11$3 = "/static/icon/home/like.png"; const _imports_7$3 = "/static/icon/home/collect.png"; const _imports_2$e = "/static/icon/backBlack.png"; -const _imports_9$4 = "/static/icon/home/dateRange.png"; -const _imports_10$2 = "/static/icon/home/industrySearch.png"; -const _imports_11$3 = "/static/icon/home/industry_s.png"; +const _imports_9$3 = "/static/icon/home/dateRange.png"; +const _imports_10$3 = "/static/icon/home/industrySearch.png"; +const _imports_11$2 = "/static/icon/home/industry_s.png"; const _imports_12$3 = "/static/icon/home/level_s.png"; const _imports_2$d = "/static/icon/invest/upArrow.png"; const _imports_4$c = "/static/icon/invest/downArrow.png"; const _imports_4$b = "/static/image/index/noData.png"; -const _imports_5$7 = "/static/icon/home/monthLeftArrow.png"; +const _imports_5$6 = "/static/icon/home/monthLeftArrow.png"; const _imports_6$1 = "/static/icon/home/monthRightArrow.png"; const _imports_2$c = "/static/icon/home/conceptCenter/sortType.png"; const _imports_4$a = "/static/icon/home/conceptCenter/timeScreenArrow.png"; const _imports_1$h = "/static/icon/home/conceptCenter/timeAxis.png"; -const _imports_9$3 = "/static/icon/home/close.png"; +const _imports_8$4 = "/static/icon/home/close.png"; const _imports_7$2 = "/static/icon/home/conceptCenter/statistics.png"; const _imports_8$3 = "/static/icon/home/conceptCenter/rank1.png"; const _imports_9$2 = "/static/icon/home/conceptCenter/rank2.png"; -const _imports_10$1 = "/static/icon/home/conceptCenter/rank3.png"; -const _imports_11$2 = "/static/icon/home/conceptCenter/rankChg.png"; +const _imports_10$2 = "/static/icon/home/conceptCenter/rank3.png"; +const _imports_11$1 = "/static/icon/home/conceptCenter/rankChg.png"; const _imports_12$2 = "/static/icon/home/conceptCenter/calendar.png"; const _imports_13$2 = "/static/icon/home/conceptCenter/browse.png"; const _imports_12$1 = "/static/icon/home/sortArrow.png"; @@ -44,7 +44,7 @@ const _imports_2$a = "/static/icon/mine/basicInfo/downArrow.png"; const _imports_1$d = "/static/icon/home/conceptCenter/lock.png"; const _imports_3$b = "/static/icon/home/expectScore.png"; const _imports_4$8 = "/static/icon/home/expectScoreTips.png"; -const _imports_5$6 = "/static/icon/home/expectScoreDot.png"; +const _imports_5$5 = "/static/icon/home/expectScoreDot.png"; const _imports_8$2 = "/static/icon/home/eventDetails/like.png"; const _imports_9$1 = "/static/icon/home/eventDetails/collect.png"; const _imports_4$7 = "/static/icon/home/collect_s.png"; @@ -56,28 +56,28 @@ const _imports_1$b = "/static/icon/login/mobile.png"; const _imports_2$9 = "/static/icon/login/code.png"; const _imports_3$9 = "/static/icon/home/conceptCenter/chgDown.png"; const _imports_4$5 = "/static/icon/home/conceptCenter/chgUp.png"; -const _imports_5$5 = "/static/icon/home/conceptCenter/newsReport.png"; +const _imports_5$4 = "/static/icon/home/conceptCenter/newsReport.png"; const _imports_1$a = "/static/icon/home/conceptCenter/timeScreenArrow.png"; const _imports_2$8 = "/static/icon/home/conceptCenter/reasonExpand.png"; const _imports_3$8 = "/static/icon/home/conceptCenter/reasonRetract.png"; const _imports_3$7 = "/assets/ydjk-icon.9712ef19.png"; -const _imports_5$4 = "/assets/ydjk-zs.f6ba6c32.png"; +const _imports_5$3 = "/assets/ydjk-zs.f6ba6c32.png"; const _imports_1$9 = "/pagesStock/static/icon/ai-icon.png"; const _imports_2$7 = "/pagesStock/static/icon/ai-icon-1.png"; const _imports_3$6 = "/pagesStock/static/icon/all-icon-3.png"; const _imports_1$8 = "/pagesStock/static/icon/all-icon-4.png"; -const _imports_5$3 = "/pagesStock/static/icon/all-icon-5.png"; +const _imports_5$2 = "/pagesStock/static/icon/all-icon-5.png"; const _imports_1$7 = "/pagesMine/static/image/vip/vipTopBg.png"; const _imports_2$6 = "/pagesMine/static/image/vip/noVipTopBg.png"; const _imports_3$5 = "/pagesMine/static/icon/vip/titleLeft_v.png"; const _imports_4$4 = "/pagesMine/static/icon/vip/titleLeft.png"; -const _imports_5$2 = "/pagesMine/static/icon/vip/titleRight_v.png"; +const _imports_5$1 = "/pagesMine/static/icon/vip/titleRight_v.png"; const _imports_6 = "/pagesMine/static/icon/vip/titleRight.png"; const _imports_7$1 = "/pagesMine/static/icon/vip/step1_v.png"; const _imports_8$1 = "/pagesMine/static/icon/vip/step1.png"; const _imports_9 = "/pagesMine/static/icon/vip/step2_v.png"; -const _imports_10 = "/pagesMine/static/icon/vip/step2.png"; -const _imports_11$1 = "/pagesMine/static/icon/vip/step3_v.png"; +const _imports_10$1 = "/pagesMine/static/icon/vip/step2.png"; +const _imports_11 = "/pagesMine/static/icon/vip/step3_v.png"; const _imports_12 = "/pagesMine/static/icon/vip/step3.png"; const _imports_13 = "/pagesMine/static/icon/vip/step4_v.png"; const _imports_14 = "/pagesMine/static/icon/vip/step4.png"; @@ -89,12 +89,11 @@ const _imports_8 = "/pagesMine/static/icon/vip/contain.png"; const _imports_2$5 = "/pagesStock/static/icon/establishedTime.png"; const _imports_3$4 = "/pagesStock/static/icon/registeredCapital.png"; const _imports_4$3 = "/pagesStock/static/icon/location.png"; -const _imports_5$1 = "/pagesStock/static/icon/visitWebsite.png"; const _imports_2$4 = "/pagesStock/static/icon/contrast.png"; const _imports_3$3 = "/pagesStock/static/icon/optional.png"; const _imports_4$2 = "/pagesStock/static/icon/share.png"; const _imports_1$6 = "/pagesStock/static/icon/existStatus.png"; -const _imports_11 = "/pagesStock/static/icon/yRightArrow.png"; +const _imports_10 = "/pagesStock/static/icon/yRightArrow.png"; const _imports_1$5 = "/pagesStock/static/icon/all-down-ed.png"; const _imports_1$4 = "/static/icon/back.png"; const _imports_1$3 = "/pagesStock/static/icon/all-icon-2.png"; @@ -148,14 +147,14 @@ exports._imports_1$6 = _imports_1$d; exports._imports_1$7 = _imports_1$c; exports._imports_1$8 = _imports_1$b; exports._imports_1$9 = _imports_1$a; -exports._imports_10 = _imports_10$2; -exports._imports_10$1 = _imports_10$1; -exports._imports_10$2 = _imports_10; -exports._imports_11 = _imports_11$4; -exports._imports_11$1 = _imports_11$3; -exports._imports_11$2 = _imports_11$2; -exports._imports_11$3 = _imports_11$1; -exports._imports_11$4 = _imports_11; +exports._imports_10 = _imports_10$3; +exports._imports_10$1 = _imports_10$2; +exports._imports_10$2 = _imports_10$1; +exports._imports_10$3 = _imports_10; +exports._imports_11 = _imports_11$3; +exports._imports_11$1 = _imports_11$2; +exports._imports_11$2 = _imports_11$1; +exports._imports_11$3 = _imports_11; exports._imports_12 = _imports_12$3; exports._imports_12$1 = _imports_12$1; exports._imports_12$2 = _imports_12$2; @@ -214,27 +213,26 @@ exports._imports_4$6 = _imports_4$6; exports._imports_4$7 = _imports_4$5; exports._imports_4$8 = _imports_4$4; exports._imports_4$9 = _imports_4$2; -exports._imports_5 = _imports_5$7; -exports._imports_5$1 = _imports_5$6; -exports._imports_5$2 = _imports_5$5; -exports._imports_5$3 = _imports_5$4; -exports._imports_5$4 = _imports_5$3; -exports._imports_5$5 = _imports_5$2; -exports._imports_5$6 = _imports_5$1; -exports._imports_5$7 = _imports_5; +exports._imports_5 = _imports_5$6; +exports._imports_5$1 = _imports_5$5; +exports._imports_5$2 = _imports_5$4; +exports._imports_5$3 = _imports_5$3; +exports._imports_5$4 = _imports_5$2; +exports._imports_5$5 = _imports_5$1; +exports._imports_5$6 = _imports_5; exports._imports_6 = _imports_6$1; exports._imports_6$1 = _imports_6; exports._imports_7 = _imports_7$3; exports._imports_7$1 = _imports_7$2; exports._imports_7$2 = _imports_7$1; exports._imports_7$3 = _imports_7; -exports._imports_8 = _imports_8$3; -exports._imports_8$1 = _imports_8$2; -exports._imports_8$2 = _imports_8$1; -exports._imports_8$3 = _imports_8; -exports._imports_9 = _imports_9$4; -exports._imports_9$1 = _imports_9$3; -exports._imports_9$2 = _imports_9$2; -exports._imports_9$3 = _imports_9$1; -exports._imports_9$4 = _imports_9; +exports._imports_8 = _imports_8$4; +exports._imports_8$1 = _imports_8$3; +exports._imports_8$2 = _imports_8$2; +exports._imports_8$3 = _imports_8$1; +exports._imports_8$4 = _imports_8; +exports._imports_9 = _imports_9$3; +exports._imports_9$1 = _imports_9$2; +exports._imports_9$2 = _imports_9$1; +exports._imports_9$3 = _imports_9; //# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map diff --git a/unpackage/dist/dev/mp-weixin/common/vendor.js b/unpackage/dist/dev/mp-weixin/common/vendor.js index b6bb23e..5f6cf29 100644 --- a/unpackage/dist/dev/mp-weixin/common/vendor.js +++ b/unpackage/dist/dev/mp-weixin/common/vendor.js @@ -6149,7 +6149,7 @@ function populateParameters(fromRes, toRes) { let _SDKVersion = SDKVersion; const hostLanguage = (language || "").replace(/_/g, "-"); const parameters = { - appId: "__UNI__83518F0", + appId: "__UNI__1836EC9", appName: "JiaZhiQianYan", appVersion: "1.0.0", appVersionCode: "100", @@ -6298,7 +6298,7 @@ const getAppBaseInfo = { hostName: _hostName, hostSDKVersion: SDKVersion, hostTheme: theme, - appId: "__UNI__83518F0", + appId: "__UNI__1836EC9", appName: "JiaZhiQianYan", appVersion: "1.0.0", appVersionCode: "100", @@ -7053,7 +7053,7 @@ function isConsoleWritable() { function initRuntimeSocketService() { const hosts = "127.0.0.1,192.168.2.91"; const port = "8090"; - const id = "mp-weixin_D36YnR"; + const id = "mp-weixin_geGcgf"; const lazy = typeof swan !== "undefined"; let restoreError = lazy ? () => { } : initOnError(); diff --git a/unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.js b/unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.js index f9a2981..a41a867 100644 --- a/unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.js +++ b/unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.js @@ -35,12 +35,40 @@ const _sfc_main = { this.endDateStr = this.selectDateStr = `${currentYear}-${currentMonth > 9 ? currentMonth : "0" + currentMonth}-${currentDay > 9 ? currentDay : "0" + currentDay}`; this.getYesterdayDateData(); this.generateMonthDateListData(); - this.emitDateChange(currentYear, currentMonth, currentDay, this.getTodayItem(currentYear, currentMonth, currentDay)); + this.emitDateChange( + currentYear, + currentMonth, + currentDay, + this.getTodayItem(currentYear, currentMonth, currentDay), + this.getPrevDayItem(currentYear, currentMonth, currentDay) + // 新增上一天数据 + ); }, mounted() { this.getCalendarCombinedData(); }, methods: { + // 3. 在日历组件methods中新增getPrevDayItem方法 + /** + * 获取指定日期的上一天数据 + */ + getPrevDayItem(year, month, day) { + const currentDate = /* @__PURE__ */ new Date(`${year}-${month}-${day}`); + const prevDate = new Date(currentDate.getTime() - 24 * 60 * 60 * 1e3); + const prevYear = prevDate.getFullYear(); + const prevMonth = prevDate.getMonth() + 1; + const prevDay = prevDate.getDate(); + const targetDate = `${prevYear}-${prevMonth > 9 ? prevMonth : "0" + prevMonth}-${prevDay > 9 ? prevDay : "0" + prevDay}`; + const currentMonthList = this.monthDateList[this.selectMonthIndex] || []; + const localItem = currentMonthList.find((item) => item.date === targetDate) || null; + const apiData = this.getCalendarItemByDate(targetDate) || {}; + return { + ...localItem, + zt_count: apiData.zt_count || 0, + top_sector: apiData.top_sector || "-", + zaban_rate: apiData.zaban_rate || "0%" + }; + }, /** * 获取当天的item数据(合并接口数据) */ @@ -63,14 +91,34 @@ const _sfc_main = { /** * 触发日期变更事件(传递包含接口数据的item) */ - emitDateChange(year, month, day, item) { + // emitDateChange(year, month, day, item) { + // const yearMonth = `${year}-${month > 9 ? month : '0' + month}`; + // const fullDate = `${year}-${month > 9 ? month : '0' + month}-${day > 9 ? day : '0' + day}`; + // this.$emit('date-change', { + // yearMonth, + // fullDate, + // item: item || { // 兜底:无item时赋值空对象+默认值 + // date: fullDate, + // year, + // month, + // day, + // zt_count: 0, + // top_sector: '-', + // zaban_rate: '0%' + // }, + // year, + // month, + // day + // }); + // }, + emitDateChange(year, month, day, item, prevItem = { zt_count: 0 }) { const yearMonth = `${year}-${month > 9 ? month : "0" + month}`; const fullDate = `${year}-${month > 9 ? month : "0" + month}-${day > 9 ? day : "0" + day}`; this.$emit("date-change", { yearMonth, fullDate, item: item || { - // 兜底:无item时赋值空对象+默认值 + // 兜底:无当前item时赋值空对象+默认值 date: fullDate, year, month, @@ -79,6 +127,12 @@ const _sfc_main = { top_sector: "-", zaban_rate: "0%" }, + prevItem: prevItem || { + // 新增:传递上一天数据,兜底默认值 + zt_count: 0, + top_sector: "-", + zaban_rate: "0%" + }, year, month, day @@ -159,18 +213,24 @@ const _sfc_main = { const res = await request_api.calendarCombinedData(param); if (res.success && Array.isArray(res.data)) { this.calendarApiData = res.data; - common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:258", "日历数据加载成功", this.calendarApiData); if (this.selectDateStr) { const [year, month, day] = this.selectDateStr.split("-").map(Number); - this.emitDateChange(year, month, day, this.getTodayItem(year, month, day)); + this.emitDateChange( + year, + month, + day, + this.getTodayItem(year, month, day), + this.getPrevDayItem(year, month, day) + // 新增上一天数据 + ); } } else { this.calendarApiData = []; - common_vendor.index.__f__("warn", "at components/LCCalendar/LCCalendar.vue:266", "日历接口返回数据格式异常", res); + common_vendor.index.__f__("warn", "at components/LCCalendar/LCCalendar.vue:330", "日历接口返回数据格式异常", res); } } catch (error) { this.calendarApiData = []; - common_vendor.index.__f__("error", "at components/LCCalendar/LCCalendar.vue:270", "获取日历数据失败", error); + common_vendor.index.__f__("error", "at components/LCCalendar/LCCalendar.vue:334", "获取日历数据失败", error); } }, /** @@ -292,7 +352,7 @@ const _sfc_main = { this.selectYear = year; this.Month = month; this.getCalendarCombinedData(); - common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:405", "点击上个月"); + common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:469", "点击上个月"); } }, /** @@ -321,7 +381,7 @@ const _sfc_main = { this.selectMonth = year + "年" + month + "月"; this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-01"; this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay; - common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:434", "点击下个月"); + common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:498", "点击下个月"); this.selectYear = year; this.Month = month; this.getCalendarCombinedData(); @@ -338,7 +398,7 @@ const _sfc_main = { this.startDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-01"; let lastDayOfMonth = new Date(selectYear, selectMonth, 0); this.endDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + lastDayOfMonth.getDate(); - common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:454", "月份变更"); + common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:518", "月份变更"); this.selectYear = selectYear; this.Month = selectMonth; this.getCalendarCombinedData(); @@ -365,12 +425,53 @@ const _sfc_main = { isWeekend: index % 7 === 0 || index % 7 === 6 // 是否周末 }; + const currentDate = new Date(item.date); + const prevDate = new Date(currentDate.getTime() - 24 * 60 * 60 * 1e3); + const prevYear = prevDate.getFullYear(); + const prevMonth = prevDate.getMonth() + 1; + const prevDay = prevDate.getDate(); + const prevDateStr = `${prevYear}-${prevMonth > 9 ? prevMonth : "0" + prevMonth}-${prevDay > 9 ? prevDay : "0" + prevDay}`; + const prevApiData = this.getCalendarItemByDate(prevDateStr) || {}; + let prevLocalItem = null; + const currentMonthList = this.monthDateList[this.selectMonthIndex] || []; + prevLocalItem = currentMonthList.find((i) => i.date === prevDateStr); + if (!prevLocalItem) { + const prevMonthIndex = this.selectMonthIndex - (prevMonth < item.month ? 1 : 0); + const prevMonthList = this.monthDateList[prevMonthIndex] || []; + prevLocalItem = prevMonthList.find((i) => i.date === prevDateStr); + } + const prevMergedItem = { + ...prevLocalItem || {}, + zt_count: prevApiData.zt_count || 0, + top_sector: prevApiData.top_sector || "-", + zaban_rate: prevApiData.zaban_rate || "0%", + isWeekend: false + // 兜底默认值 + }; this.chgStockData = mergedItem; const [year, month, day] = item.date.split("-").map(Number); - this.emitDateChange(year, month, day, mergedItem); - common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:482", "点击某天(含接口数据)", mergedItem); + this.emitDateChange(year, month, day, mergedItem, prevMergedItem); + common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:580", "点击某天(含接口数据)", { current: mergedItem, prev: prevMergedItem }); } } + // clickSelectDate(item, index) { + // if (!item.isCurrentMonth) return + // if (this.selectDateStr != item.date) { + // this.selectDateStr = item.date + // const apiData = this.getCalendarItemByDate(item.date) || {}; + // const mergedItem = { + // ...item, + // zt_count: apiData.zt_count || 0, + // top_sector: apiData.top_sector || '-', + // zaban_rate: apiData.zaban_rate || '0%', + // isWeekend: index % 7 === 0 || index % 7 === 6 + // }; + // this.chgStockData = mergedItem; + // const [year, month, day] = item.date.split('-').map(Number); + // this.emitDateChange(year, month, day, mergedItem); + // uni.__f__('log','at components/LCCalendar/LCCalendar.vue:602','点击某天(含接口数据)', mergedItem); + // } + // } } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { diff --git a/unpackage/dist/dev/mp-weixin/components/LCCalendar2/LCCalendar2.js b/unpackage/dist/dev/mp-weixin/components/LCCalendar2/LCCalendar2.js index 49e53a3..3716861 100644 --- a/unpackage/dist/dev/mp-weixin/components/LCCalendar2/LCCalendar2.js +++ b/unpackage/dist/dev/mp-weixin/components/LCCalendar2/LCCalendar2.js @@ -29,6 +29,7 @@ const _sfc_main = { this.startDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-01"; this.endDateStr = this.selectDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-" + (currentDay > 9 ? currentDay : "0" + currentDay); this.generateMonthDateListData(); + this.$emit("date-change", this.selectDateStr); }, methods: { /** @@ -42,6 +43,7 @@ const _sfc_main = { let selectMonth = selectDate.getMonth() + 1; let selectDay = selectDate.getDate(); this.selectDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + (selectDay > 9 ? selectDay : "0" + selectDay); + this.$emit("date-change", this.selectDateStr); }, /** * 生成日期数组 @@ -159,7 +161,7 @@ const _sfc_main = { this.selectMonth = year + "年" + month + "月"; this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-01"; this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay; - common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:224", "点击上个月"); + common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:228", "点击上个月"); } }, /** @@ -188,7 +190,7 @@ const _sfc_main = { this.selectMonth = year + "年" + month + "月"; this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-01"; this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay; - common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:253", "点击下个月"); + common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:257", "点击下个月"); } }, monthChange(e) { @@ -202,7 +204,7 @@ const _sfc_main = { this.startDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-01"; let lastDayOfMonth = new Date(selectYear, selectMonth, 0); this.endDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + lastDayOfMonth.getDate(); - common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:270", "月份变更"); + common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:274", "月份变更"); }, /** * 点击选择开始日期和结束日期 @@ -214,7 +216,8 @@ const _sfc_main = { if (this.selectDateStr != item.date) { this.selectDateStr = item.date; this.chgStockData = item; - common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:281", "点击某天"); + common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:285", "点击某天"); + this.$emit("date-change", this.selectDateStr); } } } diff --git a/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.js b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.js new file mode 100644 index 0000000..f9e907a --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.js @@ -0,0 +1,4 @@ +"use strict"; +const WordCloud = require("../../WordCloud.js"); +wx.createPage(WordCloud.MiniProgramPage); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/WordCloud/WordCloud.js.map diff --git a/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.json b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.json new file mode 100644 index 0000000..a0812ee --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.wxml b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.wxml new file mode 100644 index 0000000..31afaac --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.wxss b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.wxss new file mode 100644 index 0000000..0d8786d --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud.wxss @@ -0,0 +1,9 @@ + +.word-cloud-container.data-v-cab45d13 { + width: 100%; + height: 100%; +} +.word-cloud-canvas.data-v-cab45d13 { + width: 100%; + height: 100%; +} diff --git a/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud2.js b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud2.js new file mode 100644 index 0000000..3c0f087 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/components/WordCloud/WordCloud2.js @@ -0,0 +1,4 @@ +"use strict"; +const WordCloud = require("../../WordCloud.js"); +wx.createPage(WordCloud.MiniProgramPage); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/WordCloud/WordCloud2.js.map diff --git a/unpackage/dist/dev/mp-weixin/components/cwfx-view/cwfx-view.js b/unpackage/dist/dev/mp-weixin/components/cwfx-view/cwfx-view.js index 7853e39..51e5f98 100644 --- a/unpackage/dist/dev/mp-weixin/components/cwfx-view/cwfx-view.js +++ b/unpackage/dist/dev/mp-weixin/components/cwfx-view/cwfx-view.js @@ -203,6 +203,7 @@ const _sfc_main = { this.option1.xAxis.data = category; this.option1.series[0].data = data1; this.profitabilityInit(); + this.option2.xAxis.data = category; this.option2.series[0].data = data2; this.perShareInit(); } diff --git a/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.js b/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.js index 40c8117..705597a 100644 --- a/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.js +++ b/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.js @@ -2,6 +2,7 @@ const utils_util = require("../../utils/util.js"); const common_vendor = require("../../common/vendor.js"); const common_assets = require("../../common/assets.js"); +const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js"); const _sfc_main = { name: "cwsj-view", data() { @@ -12,7 +13,7 @@ const _sfc_main = { option1: { legend: { show: true, - data: ["期间费用", "同比(右)"] + data: ["货币资金", "同比(右)"] }, grid: { left: "2%", @@ -88,7 +89,7 @@ const _sfc_main = { yAxis: [ { type: "value", - name: "(%)", + name: "(亿)", position: "left", alignTicks: true, axisLine: { @@ -111,7 +112,7 @@ const _sfc_main = { series: [ { type: "bar", - name: "ROE", + name: "经营现金流", data: [], yAxisIndex: 0 }, @@ -126,7 +127,7 @@ const _sfc_main = { option3: { legend: { show: true, - data: ["期间费用", "同比(右)"] + data: ["净利润", "同比(右)"] }, grid: { left: "2%", @@ -145,7 +146,7 @@ const _sfc_main = { yAxis: [ { type: "value", - name: "(%)", + name: "(亿)", position: "left", alignTicks: true, axisLine: { @@ -168,7 +169,7 @@ const _sfc_main = { series: [ { type: "bar", - name: "ROE", + name: "净利润", data: [], yAxisIndex: 0 }, @@ -180,7 +181,10 @@ const _sfc_main = { } ] }, - getNumStr: utils_util.getNumStr + getNumStr: utils_util.getNumStr, + accDiv: utils_util.accDiv, + accSub: utils_util.accSub, + accMul: utils_util.accMul }; }, props: { @@ -191,8 +195,85 @@ const _sfc_main = { incomeStatementList: Array //利润表 }, - watch: {}, + watch: { + financialBalanceList(newValue) { + let category = []; + let data = []; + for (let item of newValue) { + category.push(item.report_type); + if (item.assets.current_assets.cash) { + data.push(utils_util.accDiv(item.assets.current_assets.cash, 1e8).toFixed(2)); + } else + data.push(0); + } + this.option1.xAxis.data = category; + this.option1.series[0].data = data; + this.profitabilityInit(); + }, + cashFlowList(newValue) { + let category = []; + let data = []; + for (let item of newValue) { + category.push(item.report_type); + if (item.operating_activities.net_flow) { + data.push(utils_util.accDiv(item.operating_activities.net_flow, 1e8).toFixed(2)); + } else + data.push(0); + } + this.option2.xAxis.data = category; + this.option2.series[0].data = data; + this.cashFlowInit(); + }, + incomeStatementList(newValue) { + let category = []; + let data = []; + for (let item of newValue) { + category.push(item.report_type); + if (item.profit.net_profit) { + data.push(utils_util.accDiv(item.profit.net_profit, 1e9).toFixed(2)); + } else + data1.push(0); + } + this.option3.xAxis.data = category; + this.option3.series[0].data = data; + this.incomeStatementInit(); + } + }, methods: { + async profitabilityInit() { + const chart = await this.$refs.chartRef1.init(echarts); + chart.setOption(this.option1); + }, + async cashFlowInit() { + const chart = await this.$refs.chartRef2.init(echarts); + chart.setOption(this.option2); + }, + async incomeStatementInit() { + const chart = await this.$refs.chartRef3.init(echarts); + chart.setOption(this.option3); + }, + /** + * 计算经营性现金流增长率 + */ + caculateOperatingFlowRatio() { + let flow1 = this.cashFlowList[0].operating_activities.net_flow; + let flow2 = this.cashFlowList[4].operating_activities.net_flow; + return utils_util.accMul(utils_util.accDiv(utils_util.accSub(flow1, flow2), flow2), 100).toFixed(2); + }, + /** + * 计算合计现金流增长率 + */ + caculateNetIncreaseRatio() { + let flow1 = this.cashFlowList[0].cash_changes.net_increase; + let flow2 = this.cashFlowList[4].cash_changes.net_increase; + return utils_util.accMul(utils_util.accDiv(utils_util.accSub(flow1, flow2), flow2), 100).toFixed(2); + }, + /** + * 获取去年 + */ + getLastYearPeriod(list) { + list[0].period.split("-")[0]; + }, /** * 点击切换现金流量表指标 * @param {Object} index @@ -200,6 +281,31 @@ const _sfc_main = { clickCashFlowIndicatorItem(index) { if (this.cashFlowIndicatorIndex != index) { this.cashFlowIndicatorIndex = index; + let data = []; + if (index == 0) { + for (let item of this.cashFlowList) { + if (item.operating_activities.net_flow) { + data.push(utils_util.accDiv(item.operating_activities.net_flow, 1e8).toFixed(2)); + } else + data.push(0); + } + } else if (index == 1) { + for (let item of this.cashFlowList) { + if (item.financing_activities.net_flow) { + data.push(utils_util.accDiv(item.financing_activities.net_flow, 1e8).toFixed(2)); + } else + data.push(0); + } + } else if (index == 2) { + for (let item of this.cashFlowList) { + if (item.investment_activities.net_flow) { + data.push(utils_util.accDiv(item.investment_activities.net_flow, 1e8).toFixed(2)); + } else + data.push(0); + } + } + this.option2.series[0].data = data; + this.cashFlowInit(); } }, /** @@ -245,10 +351,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { m: common_vendor.t($data.getNumStr($props.financialBalanceList[0].equity.surplus_reserve)), n: common_vendor.t($data.getNumStr($props.financialBalanceList[0].equity.undistributed_profit)) } : {}, { - o: common_vendor.o(($event) => _ctx.itemClick(0)), - p: common_assets._imports_0$8, - q: common_assets._imports_1$2, - r: common_vendor.f(["经营现金流", "筹资现金流", "投资现金流"], (item, index, i0) => { + o: common_assets._imports_0$8, + p: common_assets._imports_1$2, + q: common_vendor.f(["经营现金流", "筹资现金流", "投资现金流"], (item, index, i0) => { return { a: common_vendor.t(item), b: common_vendor.n("item flexCenter " + ($data.cashFlowIndicatorIndex == index ? "select" : "")), @@ -256,12 +361,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.o(($event) => $options.clickCashFlowIndicatorItem(index), index) }; }), - s: common_assets._imports_2$14, - t: common_assets._imports_3$13, - v: common_vendor.sr("chartRef2", "63ca7cac-1"), - w: common_assets._imports_0$8, - x: common_assets._imports_1$2, - y: common_vendor.f(["净利润", "营业收入", "期间费用"], (item, index, i0) => { + r: common_assets._imports_2$14, + s: common_assets._imports_3$13, + t: common_vendor.sr("chartRef2", "63ca7cac-1"), + v: $props.cashFlowList.length > 0 + }, $props.cashFlowList.length > 0 ? { + w: common_vendor.t($data.getNumStr($props.cashFlowList[0].operating_activities.net_flow)), + x: common_vendor.t($options.caculateOperatingFlowRatio()), + y: common_vendor.t($data.getNumStr($props.cashFlowList[0].investment_activities.net_flow)), + z: common_vendor.t($data.getNumStr($props.cashFlowList[0].financing_activities.net_flow)), + A: common_vendor.t($data.getNumStr($props.cashFlowList[0].cash_changes.net_increase)), + B: common_vendor.t($options.caculateNetIncreaseRatio()) + } : {}, { + C: common_assets._imports_0$8, + D: common_assets._imports_1$2, + E: common_vendor.f(["净利润", "营业收入", "期间费用"], (item, index, i0) => { return { a: common_vendor.t(item), b: common_vendor.n("item flexCenter " + ($data.profitIndicatorIndex == index ? "select" : "")), @@ -269,12 +383,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.o(($event) => $options.clickProfitIndicatorItem(index), index) }; }), - z: common_assets._imports_2$14, - A: common_assets._imports_3$13, - B: common_assets._imports_2$14, - C: common_assets._imports_3$13, - D: common_vendor.sr("chartRef3", "63ca7cac-2") - }); + F: common_assets._imports_2$14, + G: common_assets._imports_3$13, + H: common_assets._imports_2$14, + I: common_assets._imports_3$13, + J: common_vendor.sr("chartRef3", "63ca7cac-2"), + K: $props.incomeStatementList.length > 0 + }, $props.incomeStatementList.length > 0 ? { + L: common_vendor.t($data.getNumStr($props.incomeStatementList[0].comprehensive_income.total_comprehensive_income)), + M: common_vendor.t($data.getNumStr($props.incomeStatementList[0].revenue.total_operating_revenue)), + N: common_vendor.t($data.getNumStr($props.incomeStatementList[0].profit.operating_profit)) + } : {}); } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); wx.createComponent(Component); diff --git a/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.wxml b/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.wxml index c3c4b13..f0a5123 100644 --- a/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.wxml +++ b/unpackage/dist/dev/mp-weixin/components/cwsj-view/cwsj-view.wxml @@ -1 +1 @@ -资产负债表{{item.a}}查看详细数据 单季度全部资产总计{{h}}负债合计{{i}}所有者权益{{j}}货币资金{{k}}资本公积金{{l}}盈余公积金{{m}}未分配利润{{n}}现金流量表{{item.a}}查看详细数据 单季度全部经营性现金流3.50亿经营性现金流增长率16.94%投资性现金流-5544.90万筹资性现金流-1.16亿合计现金流1.79亿合计现金流增长率935.58%利润表{{item.a}}查看详细数据 单季度全部汇总净利润-6525.56万净利润增长率-1600.69%营业总收入3.64亿营业总收入增长率-26.28%营业利润-7539.55万营业利润增长率-201.00% \ No newline at end of file +资产负债表{{item.a}}查看详细数据 单季度全部资产总计{{h}}负债合计{{i}}所有者权益{{j}}货币资金{{k}}资本公积金{{l}}盈余公积金{{m}}未分配利润{{n}}现金流量表{{item.a}}查看详细数据 单季度全部经营性现金流{{w}}经营性现金流增长率{{x}}%投资性现金流{{y}}筹资性现金流{{z}}合计现金流{{A}}合计现金流增长率{{B}}%利润表{{item.a}}查看详细数据 单季度全部汇总净利润{{L}}净利润增长率-1600.69%营业总收入{{M}}营业总收入增长率-26.28%营业利润{{N}}营业利润增长率-201.00% \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.js b/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.js index 1fd8ff8..1a2e88c 100644 --- a/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.js +++ b/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.js @@ -1,6 +1,7 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); const common_assets = require("../../common/assets.js"); +const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js"); const _sfc_main = { name: "cyl-view", data() { @@ -27,7 +28,26 @@ const _sfc_main = { type: "downstream" } ], - typeIndex: 0 + typeIndex: 0, + option: { + legend: { + show: false + }, + grid: { + left: "2%", + right: "2%", + top: "5%", + bottom: "30%" + }, + series: [ + { + type: "sankey", + name: "经营现金流", + data: [], + links: [] + } + ] + } }; }, props: { @@ -38,25 +58,63 @@ const _sfc_main = { //核心企业 downstreamList: Array, //下游客户 - totalNodes: Number + totalNodes: Number, //总节点数 + valueChainFlowsList: Array + //产业链流向数据 }, watch: { valueChainAnalysisInfo(newValue) { this.types[0].count = newValue.upstream_nodes; this.types[1].count = newValue.company_nodes; this.types[2].count = newValue.downstream_nodes; + }, + valueChainFlowsList(newValue) { + let data = []; + let links = []; + let name = []; + for (let item of newValue) { + if (name.indexOf(item.source.node_name) == -1) { + name.push(item.source.node_name); + data.push({ name: item.source.node_name }); + } + links.push({ source: item.source.node_name, target: item.target.node_name, value: item.flow_metrics.flow_ratio }); + } + this.option.series[0].data = data; + this.option.series[0].links = links; } }, methods: { + async init() { + const chart = await this.$refs.chartRef.init(echarts); + common_vendor.index.__f__("log", "at components/cyl-view/cyl-view.vue:183", chart); + common_vendor.index.__f__("log", "at components/cyl-view/cyl-view.vue:184", this.option); + chart.setOption(this.option); + }, changeCenterIndex(index) { - this.center_index = index; + if (this.center_index != index) { + this.center_index = index; + if (index == 1) { + let that = this; + setTimeout(function() { + that.init(); + }, 500); + } + } }, clickAction(item) { this.$emit("detail", item); } } }; +if (!Array) { + const _easycom_l_echart2 = common_vendor.resolveComponent("l-echart"); + _easycom_l_echart2(); +} +const _easycom_l_echart = () => "../../uni_modules/lime-echart/components/l-echart/l-echart.js"; +if (!Math) { + _easycom_l_echart(); +} function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ a: common_vendor.t($props.totalNodes), @@ -64,7 +122,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { c: common_vendor.o(($event) => $options.changeCenterIndex(0)), d: $data.center_index == 1 ? 1 : "", e: common_vendor.o(($event) => $options.changeCenterIndex(1)), - f: common_vendor.f($data.types, (item, index, i0) => { + f: $data.center_index == 0 + }, $data.center_index == 0 ? common_vendor.e({ + g: common_vendor.f($data.types, (item, index, i0) => { return common_vendor.e({ a: common_vendor.t(item.title), b: common_vendor.t(item.count), @@ -79,9 +139,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { i: index }); }), - g: $data.typeIndex == 0 + h: $data.typeIndex == 0 }, $data.typeIndex == 0 ? { - h: common_vendor.f($props.upstreamList, (item, index, i0) => { + i: common_vendor.f($props.upstreamList, (item, index, i0) => { return { a: common_vendor.t(item.node_name), b: common_vendor.t(item.node_description), @@ -94,9 +154,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }; }) } : {}, { - i: $data.typeIndex == 1 + j: $data.typeIndex == 1 }, $data.typeIndex == 1 ? { - j: common_vendor.f($props.coreEnterpriseList, (item, index, i0) => { + k: common_vendor.f($props.coreEnterpriseList, (item, index, i0) => { return { a: common_vendor.t(item.node_name), b: common_vendor.t(item.node_description), @@ -109,9 +169,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }; }) } : {}, { - k: $data.typeIndex == 2 + l: $data.typeIndex == 2 }, $data.typeIndex == 2 ? { - l: common_vendor.f($props.downstreamList, (item, index, i0) => { + m: common_vendor.f($props.downstreamList, (item, index, i0) => { return { a: common_vendor.t(item.node_name), b: common_vendor.t(item.node_description), @@ -123,6 +183,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { h: common_vendor.o(($event) => $options.clickAction(item), index) }; }) + } : {}) : {}, { + n: $data.center_index == 1 + }, $data.center_index == 1 ? { + o: common_vendor.sr("chartRef", "2cc4c3dc-0") } : {}); } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); diff --git a/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.json b/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.json index e8cfaaf..61b3d8d 100644 --- a/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.json +++ b/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.json @@ -1,4 +1,6 @@ { "component": true, - "usingComponents": {} + "usingComponents": { + "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" + } } \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxml b/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxml index 9e22177..68fb093 100644 --- a/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxml +++ b/unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxml @@ -1 +1 @@ -产业链分析目标公司供应链图谱节点 {{a}} 层级视图 流向关系 {{item.a}} {{item.b}}{{item.d}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}} \ No newline at end of file +产业链分析目标公司供应链图谱节点 {{a}} 层级视图 流向关系 {{item.a}} {{item.b}}{{item.d}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}}{{item.a}}{{item.b}}{{item.c}}份额:{{item.d}}%影响度{{item.f}} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js b/unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js index 1275b39..609ac8a 100644 --- a/unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js +++ b/unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js @@ -82,7 +82,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, item.impact_metrics.is_positive == 1 ? { b: common_assets._imports_4$11 } : { - c: common_assets._imports_5$7 + c: common_assets._imports_5$6 }, { d: common_vendor.n("line flex1 " + (item.impact_metrics.is_positive == 1 ? "up" : "down")), e: common_vendor.t(item.event_title), diff --git a/unpackage/dist/dev/mp-weixin/pages/concept/concept.js b/unpackage/dist/dev/mp-weixin/pages/concept/concept.js index e7e04fc..9f5414e 100644 --- a/unpackage/dist/dev/mp-weixin/pages/concept/concept.js +++ b/unpackage/dist/dev/mp-weixin/pages/concept/concept.js @@ -660,7 +660,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { t: $data.isRefreshing, v: common_vendor.o(($event) => $options.pullDownRefresh()), w: common_vendor.o(($event) => $options.loadMoreData()), - x: common_assets._imports_9$1, + x: common_assets._imports_8, y: common_vendor.o(($event) => $options.clickRankClose()), z: common_assets._imports_7$1, A: common_vendor.t($data.startDateStr), @@ -699,11 +699,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ a: index == 0 }, index == 0 ? { - b: common_assets._imports_8 + b: common_assets._imports_8$1 } : {}, { c: index == 1 }, index == 1 ? { - d: common_assets._imports_9$2 + d: common_assets._imports_9$1 } : {}, { e: index == 2 }, index == 2 ? { diff --git a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.js b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.js index 428c44c..9d22351 100644 --- a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.js +++ b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.js @@ -1,11 +1,16 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); +const request_api = require("../../request/api.js"); const common_assets = require("../../common/assets.js"); const _sfc_main = { data() { return { navH: common_vendor.inject("navHeight"), contentTop: "", + allStockData: [], + filteredData: [], + currentDate: "", + // 最终要赋值的日期 topLists: [ { title: "超大盘股", @@ -24,10 +29,80 @@ const _sfc_main = { }; }, onLoad(e) { - this.activeIndex = e.index; + this.currentDate = e.currentDate; this.contentTop = this.navH + (20 + 70 + 25) / 750 * common_vendor.inject("windowWidth"); + this.marketHeatmap(); }, - methods: {} + methods: { + handleTypeClick(index) { + this.list2Index = index; + this.marketHeatmap(); + }, + getTableItem(obj) { + const marketCap = obj.market_cap ? obj.market_cap.toFixed(2) : "0.00"; + const amount = obj.amount ? obj.amount.toFixed(2) : "0.00"; + const changePercent = obj.change_percent ? Number(obj.change_percent) : 0; + let changePercentStr = ""; + let changeType = ""; + if (changePercent > 0) { + changePercentStr = `+${changePercent}%`; + changeType = "positive"; + } else if (changePercent < 0) { + changePercentStr = `${changePercent}%`; + changeType = "negative"; + } else { + changePercentStr = "0%"; + changeType = "zero"; + } + return [ + [obj.stock_name, obj.stock_code], + [changePercentStr, "", changeType], + // 第三个元素存类型标记 + [`${marketCap}亿元`], + [`${amount}亿元`], + [obj.industry || "暂无"] + // 处理行业为空的情况 + ]; + }, + marketHeatmap() { + let param = { + limit: 500, + date: this.currentDate + }; + request_api.marketHeatmap(param).then((res) => { + this.allStockData = res.data || []; + this.filterStockByMarketCap(); + }).catch((error) => { + }); + }, + // 根据市值区间筛选数据 + filterStockByMarketCap() { + const { + list2Index, + allStockData + } = this; + let filtered = []; + switch (list2Index) { + case 0: + filtered = allStockData.filter((item) => item.market_cap > 1e3); + break; + case 1: + filtered = allStockData.filter((item) => item.market_cap >= 500 && item.market_cap <= 1e3); + break; + case 2: + filtered = allStockData.filter((item) => item.market_cap >= 100 && item.market_cap <= 500); + break; + default: + filtered = allStockData; + } + this.filteredData = filtered; + }, + itemDetails(item) { + common_vendor.index.navigateTo({ + url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + item.stock_code + }); + } + } }; if (!Array) { const _easycom_navBar2 = common_vendor.resolveComponent("navBar"); @@ -55,7 +130,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { b: $data.list2Index == index ? "#BB8520" : "#070707", c: common_vendor.t(item.value), d: $data.list2Index == index ? "#BB8520" : "#070707", - e: common_vendor.o(($event) => $data.list2Index = index, index), + e: common_vendor.o(($event) => $options.handleTypeClick(index), index), f: index, g: $data.list2Index == index ? "1rpx solid #F2C369" : "none" }; @@ -66,18 +141,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { b: index }; }), - j: common_vendor.f(10, (obj, j, i0) => { + j: common_vendor.f($data.filteredData, (obj, j, i0) => { return { - a: common_vendor.f(["云南白药", "+0.04%", "996.85 亿元", "4.44 亿元", "医药生物"], (item, index, i1) => { + a: common_vendor.f($options.getTableItem(obj), (item, index, i1) => { return common_vendor.e({ - a: common_vendor.t(item), + a: common_vendor.t(item[0]), b: index == 0 - }, index == 0 ? {} : {}, { - c: index, - d: index == 0 ? "#222222" : index == 1 ? "#EC3440" : "#666666" + }, index == 0 ? { + c: common_vendor.t(item[1]) + } : {}, { + d: index, + e: index == 0 ? "#222222" : index == 1 ? item[2] === "positive" ? "#EC3440" : "#01AB5D" : "#666666" }); }), - b: j % 2 == 0 ? "#fff" : "#FAFAFC" + b: common_vendor.o(($event) => $options.itemDetails(obj)), + c: j % 2 == 0 ? "#fff" : "#FAFAFC" }; }), k: common_vendor.s("top:" + $data.contentTop + "px;") diff --git a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.wxml b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.wxml index 967bb5d..16a3d2e 100644 --- a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.wxml +++ b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/detail.wxml @@ -1 +1 @@ -{{item.a}}{{item.c}}{{item.a}}{{item.a}}000768 \ No newline at end of file +{{item.a}}{{item.c}}{{item.a}}{{item.a}}{{item.c}} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.js b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.js index 87c8388..e2fda04 100644 --- a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.js +++ b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.js @@ -7,40 +7,91 @@ const _sfc_main = { return { navH: common_vendor.inject("navHeight"), contentTop: "", + currentDate: "", + // 最终要赋值的日期 + selectedDate: "", + // 临时存储选中的日期 + allStockData: [], + filteredData: [], + conceptStocksList: [], + alertTypeConfig: { + "surge": { + text: "异动", + color: "#FF7A45", + // rgb(255, 122, 69) + filter: "brightness(0) saturate(100%) invert(54%) sepia(60%) saturate(467%) hue-rotate(344deg) brightness(102%) contrast(101%)" + }, + "shrink_surge_up": { + text: "缩量急涨", + color: "#722ED1", + // rgb(114, 46, 209) + filter: "brightness(0) saturate(100%) invert(24%) sepia(90%) saturate(2865%) hue-rotate(266deg) brightness(87%) contrast(98%)" + }, + "volume_surge_up": { + text: "放量急涨", + color: "#EB2F96", + // rgb(235, 47, 150) + filter: "brightness(0) saturate(100%) invert(34%) sepia(82%) saturate(1970%) hue-rotate(313deg) brightness(91%) contrast(94%)" + }, + "volume_oscillation": { + text: "放量震荡", + color: "#13C2C2", + // rgb(19, 194, 194) + filter: "brightness(0) saturate(100%) invert(71%) sepia(62%) saturate(487%) hue-rotate(142deg) brightness(91%) contrast(93%)" + }, + "surge_up": { + text: "急涨", + color: "#FF4D4F", + // rgb(255, 77, 79) + filter: "brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(727%) hue-rotate(346deg) brightness(102%) contrast(104%)" + }, + "surge_down": { + text: "急跌", + color: "#52C41A", + // rgb(82, 196, 26) + filter: "brightness(0) saturate(100%) invert(68%) sepia(65%) saturate(456%) hue-rotate(71deg) brightness(91%) contrast(86%)" + }, + "shrink_surge_down": { + text: "缩量急跌", + color: "#FF7A45", + // rgb(255, 122, 69) + filter: "brightness(0) saturate(100%) invert(54%) sepia(60%) saturate(467%) hue-rotate(344deg) brightness(102%) contrast(101%)" + } + }, topLists: [ { title: "大盘涨跌幅", - value: "+0.31%", + value: "+0.00%", color: "#EC3440", backIcon: "/static/icon/gegu/gg-top-0.png" }, { title: "涨停/跌停", - value: "+0.31%", + value: "+0.00%", color: "#070707", backIcon: "/static/icon/gegu/gg-top-1.png" }, { title: "多空对比", - value: "3572/1855", + value: "0/0", color: "#070707", backIcon: "/static/icon/gegu/gg-top-2.png" }, { title: "今日成交额", - value: "1.5万亿", + value: "0万亿", color: "#070707", backIcon: "/static/icon/gegu/gg-top-3.png" }, { title: "A股总市值", - value: "113.8万亿", + value: "0万亿", color: "#070707", backIcon: "/static/icon/gegu/gg-top-4.png" }, { title: "连板龙头", - value: "10只", + value: "0只", color: "#F59B38", backIcon: "/static/icon/gegu/gg-top-5.png" } @@ -81,41 +132,208 @@ const _sfc_main = { title: "放量震荡", backIcon: "/static/icon/gegu/cate-4.png" } - ] + ], + marketAlertsList: [], + formattedAvg: 0, + upCount: 0, + downCount: 0, + limit_up_ratio: 0 }; }, onLoad(e) { this.activeIndex = e.index; this.contentTop = this.navH + (20 + 70 + 25) / 750 * common_vendor.inject("windowWidth"); - this.conceptsDailyTop(); + const now = /* @__PURE__ */ new Date(); + const year = now.getFullYear(); + const month = (now.getMonth() + 1).toString().padStart(2, "0"); + const day = now.getDate().toString().padStart(2, "0"); + this.currentDate = `${year}-${month}-${day}`; + }, + onShow() { this.marketHeatmap(); this.marketStatistics(); - this.marketHotspotOverview(); + this.marketHotspotListOverview(); }, methods: { + formatAlpha(value) { + if (value === null || value === void 0 || isNaN(Number(value))) { + return "0.0"; + } + return Number(value).toFixed(1); + }, + handleTypeClick(index) { + this.list2Index = index; + this.marketHeatmap(this.currentDate); + }, + getTableItem(obj) { + const marketCap = obj.market_cap ? obj.market_cap.toFixed(2) : "0.00"; + const amount = obj.amount ? obj.amount.toFixed(2) : "0.00"; + const changePercent = obj.change_percent ? Number(obj.change_percent) : 0; + let changePercentStr = ""; + let changeType = ""; + if (changePercent > 0) { + changePercentStr = `+${changePercent}%`; + changeType = "positive"; + } else if (changePercent < 0) { + changePercentStr = `${changePercent}%`; + changeType = "negative"; + } else { + changePercentStr = "0%"; + changeType = "zero"; + } + return [ + [obj.stock_name, obj.stock_code], + [changePercentStr, "", changeType], + // 第三个元素存类型标记 + [`${marketCap}亿元`], + [`${amount}亿元`], + [obj.industry || "暂无"] + // 处理行业为空的情况 + ]; + }, + // 处理涨停比:转百分比 + 四舍五入(可指定保留小数位数) + formatLimitUpRatio(value, decimalPlaces = 0) { + if (!value || isNaN(Number(value))) { + return "0%"; + } + const percentValue = Number(value) * 100; + const result = decimalPlaces === 0 ? Math.round(percentValue) : percentValue.toFixed(decimalPlaces); + return `${result}%`; + }, conceptsDailyTop() { request_api.conceptsDailyTop().then((res) => { }).catch((error) => { }); }, - marketHeatmap() { - request_api.marketHeatmap().then((res) => { + marketHeatmap(currentDate) { + let param = { + limit: 500 + }; + if (currentDate && currentDate !== "undefined" && currentDate.trim() !== "") { + param.date = currentDate; + } + request_api.marketHeatmap(param).then((res) => { + this.topLists[2].value = res.statistics.rising_count + "/" + res.statistics.falling_count; + this.allStockData = res.data || []; + const limitUpCount = this.allStockData.filter((s) => { + const changePercent = Number(s.change_percent); + return !isNaN(changePercent) && changePercent >= 9.9; + }).length; + const limitDownCount = this.allStockData.filter((s) => { + const changePercent = Number(s.change_percent); + return !isNaN(changePercent) && changePercent <= -9.9; + }).length; + this.topLists[1].value = limitUpCount + "/" + limitDownCount; + this.topLists[5].value = limitUpCount + "只"; + this.filterStockByMarketCap(); }).catch((error) => { }); }, + // 根据市值区间筛选数据 + filterStockByMarketCap() { + const { + list2Index, + allStockData + } = this; + let filtered = []; + switch (list2Index) { + case 0: + filtered = allStockData.filter((item) => item.market_cap > 1e3); + break; + case 1: + filtered = allStockData.filter((item) => item.market_cap >= 500 && item.market_cap <= 1e3); + break; + case 2: + filtered = allStockData.filter((item) => item.market_cap >= 100 && item.market_cap <= 500); + break; + default: + filtered = allStockData; + } + this.filteredData = filtered.slice(0, 10); + }, marketStatistics() { request_api.marketStatistics().then((res) => { + this.topLists[3].value = this.formatToTrillion(res.summary.total_amount); + this.topLists[4].value = this.formatToTrillion(res.summary.total_market_cap); + }).catch((error) => { + this.topLists[3].value = "0.0 万亿"; + this.topLists[4].value = "0.0 万亿"; + }); + }, + formatToTrillion(num) { + if (typeof num !== "number" || isNaN(num)) { + return "0.0 万亿"; + } + const trillionValue = (num / 1e4).toFixed(1); + return `${trillionValue} 万亿`; + }, + marketHotspotListOverview() { + let param = { + date: this.currentDate + }; + request_api.marketHotspotOverview(param).then((res) => { + var _a; + const alerts = ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.alerts) || []; + const changePct = res.data.index.change_pct; + let numPct = 0; + if (changePct && !isNaN(Number(changePct))) { + numPct = Number(changePct); + } + const roundedPct = Math.round(numPct * 100) / 100; + const fixedPct = roundedPct.toFixed(2); + let formattedPct = ""; + if (roundedPct > 0) { + formattedPct = `+${fixedPct}%`; + } else if (roundedPct < 0) { + formattedPct = `${fixedPct}%`; + } else { + formattedPct = "0.00%"; + } + const color = roundedPct > 0 ? "#EC3440" : roundedPct < 0 ? "#01AB5D" : "#666666"; + this.topLists[0].value = formattedPct; + this.topLists[0].color = color; + const processedAlerts = alerts.map((alertItem) => { + const stocks = alertItem.stocks || []; + const validStocks = stocks.filter((s) => s.change_pct != null && !isNaN(Number(s.change_pct))); + const avgChange = validStocks.length > 0 ? validStocks.reduce((sum, s) => sum + Number(s.change_pct), 0) / validStocks.length : 0; + const upCount = validStocks.filter((s) => Number(s.change_pct) > 0).length; + const downCount = validStocks.filter((s) => Number(s.change_pct) < 0).length; + const roundedAvg = Math.round(avgChange * 100) / 100; + const formattedAvg = roundedAvg > 0 ? `+${roundedAvg.toFixed(2)}` : roundedAvg.toFixed(2); + return { + ...alertItem, + alpha: avgChange, + // 供模板中判断颜色和显示数值 + upCount, + // 上涨股票数 + downCount, + // 下跌股票数 + formattedAvg + // 格式化后的均涨值(带正负号) + }; + }); + const sortByTimeDesc = (a, b) => { + const timeToMinutes = (timeStr) => { + const [hours, minutes] = timeStr.split(":").map(Number); + return hours * 60 + minutes; + }; + const minutesA = timeToMinutes(a.time); + const minutesB = timeToMinutes(b.time); + return minutesB - minutesA; + }; + const sortedAlerts = processedAlerts.sort(sortByTimeDesc); + this.marketAlertsList = sortedAlerts; }).catch((error) => { }); }, - marketHotspotOverview() { - request_api.marketHotspotOverview().then((res) => { - }).catch((error) => { + itemDetails(item) { + common_vendor.index.navigateTo({ + url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + item.stock_code }); }, moreAction() { common_vendor.index.navigateTo({ - url: "/pages/geGuCenter/detail" + url: "/pages/geGuCenter/detail?currentDate=" + this.currentDate }); }, allAction(index) { @@ -134,15 +352,66 @@ const _sfc_main = { this.$refs["detailPopup"].close(); } }, + handleDateChange(date) { + this.selectedDate = date; + common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:719", "选中的日期:", date); + }, confirmAction(index) { if (index == 1) { this.$refs["typePopup"].close(); } else if (index == 2) { + if (this.selectedDate) { + this.currentDate = this.selectedDate; + common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:728", "最终确认的日期:", this.currentDate); + } else { + const now = /* @__PURE__ */ new Date(); + const year = now.getFullYear(); + const month = (now.getMonth() + 1).toString().padStart(2, "0"); + const day = now.getDate().toString().padStart(2, "0"); + this.currentDate = `${year}-${month}-${day}`; + } + this.marketHeatmap(this.currentDate); + this.marketStatistics(); + this.marketHotspotListOverview(); this.$refs["datePopup"].close(); } }, bkydAction(item) { this.$refs["detailPopup"].open(); + this.formattedAvg = item.formattedAvg, this.upCount = item.upCount, this.downCount = item.downCount, this.limit_up_ratio = item.limit_up_ratio, this.conceptStocksDetails(item.concept_id); + }, + conceptStocksDetails(concept_id) { + common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:754", "concept_id", concept_id); + request_api.conceptStocks(concept_id, {}).then((res) => { + if (res.data && res.data.stocks) { + let rawData = res.data.stocks; + this.conceptStocksList = rawData.sort((a, b) => { + const aValue = a.change_pct === null || a.change_pct === void 0 ? -999 : Number(a.change_pct); + const bValue = b.change_pct === null || b.change_pct === void 0 ? -999 : Number(b.change_pct); + return bValue - aValue; + }); + } else { + common_vendor.index.__f__("warn", "at pages/geGuCenter/geGuCenter.vue:773", "接口返回数据格式异常", res); + } + }).catch((error) => { + }); + }, + // 格式化涨跌幅显示(处理正负号、保留两位小数) + formatChangePct(change_pct) { + if (typeof change_pct !== "number") + return "0.00%"; + const symbol = change_pct >= 0 ? "+" : ""; + return `${symbol}${change_pct.toFixed(2)}%`; + }, + // 获取涨跌幅文字颜色(涨红跌绿,平盘灰色) + getChangeColor(change_pct) { + if (typeof change_pct !== "number") + return "#888888"; + if (change_pct > 0) + return "#EC3440"; + if (change_pct < 0) + return "#00B42A"; + return "#888888"; } } }; @@ -187,7 +456,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { c: $data.list2Index == index ? "#FFFAF1" : "#FFFFFF", d: common_vendor.t(item.value), e: $data.list2Index == index ? "#BB8520" : "#070707", - f: common_vendor.o(($event) => $data.list2Index = index, index), + f: common_vendor.o(($event) => $options.handleTypeClick(index), index), g: index, h: `1rpx solid ${$data.list2Index == index ? "#F2C369" : "#D2D2D2"}` }; @@ -198,18 +467,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { b: index }; }), - k: common_vendor.f(10, (obj, j, i0) => { + k: common_vendor.f($data.filteredData, (obj, j, i0) => { return { - a: common_vendor.f(["云南白药", "+0.04%", "996.85 亿元", "4.44 亿元", "医药生物"], (item, index, i1) => { + a: common_vendor.f($options.getTableItem(obj), (item, index, i1) => { return common_vendor.e({ - a: common_vendor.t(item), + a: common_vendor.t(item[0]), b: index == 0 - }, index == 0 ? {} : {}, { - c: index, - d: index == 0 ? "#222222" : index == 1 ? "#EC3440" : "#666666" + }, index == 0 ? { + c: common_vendor.t(item[1]) + } : {}, { + d: index, + e: index == 0 ? "#222222" : index == 1 ? item[2] === "positive" ? "#EC3440" : "#01AB5D" : "#666666" }); }), - b: j % 2 == 0 ? "#fff" : "#FAFAFC" + b: common_vendor.o(($event) => $options.itemDetails(obj)), + c: j % 2 == 0 ? "#fff" : "#FAFAFC" }; }), l: common_assets._imports_1$2, @@ -217,47 +489,79 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { n: common_assets._imports_3$7, o: common_assets._imports_4$1, p: common_vendor.o(($event) => $options.allAction(1)), - q: common_assets._imports_4$1, - r: common_vendor.o(($event) => $options.allAction(2)), - s: common_assets._imports_3$7, - t: common_vendor.f(10, (item, index, i0) => { - return { - a: index, - b: common_vendor.o(($event) => $options.bkydAction(item), index) - }; + q: common_vendor.t($data.currentDate), + r: common_assets._imports_4$1, + s: common_vendor.o(($event) => $options.allAction(2)), + t: common_assets._imports_3$7, + v: common_vendor.f($data.marketAlertsList, (item, index, i0) => { + var _a, _b, _c, _d; + return common_vendor.e({ + a: common_vendor.t(item.time), + b: common_vendor.t(item.concept_name), + c: ((_a = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _a.filter) || "", + d: common_vendor.t(((_b = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _b.text) || "异动"), + e: ((_c = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _c.color) || "#FF7A45", + f: "1rpx solid " + (((_d = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _d.color) || "#FF7A45"), + g: common_vendor.t(item.formattedAvg), + h: Number(item.alpha) > 0 ? "#EC3440" : "#01AB5D", + i: common_vendor.t(item.upCount), + j: item.upCount > 0 ? "#EC3440" : "#888888", + k: common_vendor.t(item.downCount), + l: item.downCount > 0 ? "#01AB5D" : "#888888", + m: common_vendor.t(Math.round(item.final_score)), + n: item && Number(item.limit_up_ratio) > 0 && !isNaN(Number(item.limit_up_ratio)) + }, item && Number(item.limit_up_ratio) > 0 && !isNaN(Number(item.limit_up_ratio)) ? { + o: common_vendor.t($options.formatLimitUpRatio(item.limit_up_ratio, 0)) + } : {}, { + p: index, + q: common_vendor.o(($event) => $options.bkydAction(item), index) + }); }), - v: common_assets._imports_5$3, - w: common_vendor.s("top:" + $data.contentTop + "px;"), - x: common_vendor.o(($event) => $options.closeAction(1)), - y: common_vendor.o(($event) => $options.confirmAction(1)), - z: common_vendor.f($data.typeList, (item, index, i0) => { + w: common_assets._imports_5$3, + x: common_vendor.s("top:" + $data.contentTop + "px;"), + y: common_vendor.o(($event) => $options.closeAction(1)), + z: common_vendor.o(($event) => $options.confirmAction(1)), + A: common_vendor.f($data.typeList, (item, index, i0) => { return { a: item.backIcon, b: common_vendor.t(item.title), c: index }; }), - A: common_vendor.sr("typePopup", "c7f5c964-1"), - B: common_vendor.p({ + B: common_vendor.sr("typePopup", "c7f5c964-1"), + C: common_vendor.p({ type: "bottom", safeArea: false }), - C: common_vendor.o(($event) => $options.closeAction(2)), - D: common_vendor.o(($event) => $options.confirmAction(2)), - E: common_vendor.sr("datePopup", "c7f5c964-2"), - F: common_vendor.p({ + D: common_vendor.o(($event) => $options.closeAction(2)), + E: common_vendor.o(($event) => $options.confirmAction(2)), + F: common_vendor.o($options.handleDateChange), + G: common_vendor.sr("datePopup", "c7f5c964-2"), + H: common_vendor.p({ type: "bottom", safeArea: false }), - G: common_assets._imports_9$1, - H: common_vendor.o(($event) => $options.closeAction(3)), - I: common_vendor.f(10, (item, index, i0) => { + I: common_assets._imports_8, + J: common_vendor.o(($event) => $options.closeAction(3)), + K: common_vendor.t($data.formattedAvg), + L: Number($data.formattedAvg) > 0 ? "#EC3440" : "#01AB5D", + M: common_vendor.t($data.upCount), + N: $data.upCount > 0 ? "#EC3440" : "#888888", + O: common_vendor.t($data.downCount), + P: $data.downCount > 0 ? "#01AB5D" : "#888888", + Q: common_vendor.t($options.formatLimitUpRatio($data.limit_up_ratio, 0)), + R: common_vendor.f($data.conceptStocksList, (item, index, i0) => { return { - a: index % 2 == 0 ? "#fff" : "#FAFAFC" + a: common_vendor.t(item.name), + b: common_vendor.t(item.code), + c: common_vendor.t($options.formatChangePct(item.change_pct)), + d: $options.getChangeColor(item.change_pct), + e: index, + f: index % 2 == 0 ? "#fff" : "#FAFAFC" }; }), - J: common_vendor.sr("detailPopup", "c7f5c964-4"), - K: common_vendor.p({ + S: common_vendor.sr("detailPopup", "c7f5c964-4"), + T: common_vendor.p({ type: "bottom", safeArea: false }) diff --git a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.wxml b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.wxml index b88ea70..b2f7a87 100644 --- a/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.wxml +++ b/unpackage/dist/dev/mp-weixin/pages/geGuCenter/geGuCenter.wxml @@ -1 +1 @@ -{{item.b}}{{item.c}}{{item.a}}{{item.d}}{{item.a}}{{item.a}}000768 查看更多异动监控 全部2026/01/20 折线图占位 板块异动明细 09:54数据交易所 异动板块均涨+6.64%14涨/5跌评分56超额收益+9.28%涨停比19%取消选择分类 确定{{item.b}}取消选择日期 确定详情 相关股票 板块均涨+6.64%14涨/5跌涨停比19%科泰电源000880+11.02% \ No newline at end of file +{{item.b}}{{item.c}}{{item.a}}{{item.d}}{{item.a}}{{item.a}}{{item.c}}查看更多异动监控 全部{{q}} 折线图占位 板块异动明细 {{item.a}}{{item.b}}{{item.d}}板块均涨{{item.g}}% {{item.i}}涨 /{{item.k}}跌 评分{{item.m}}超额收益+ 0%涨停比{{item.o}}取消选择分类 确定{{item.b}}取消选择日期 确定详情 相关股票 板块均涨{{K}}%{{M}}涨 /{{O}}跌 涨停比{{Q}}{{item.a}}{{item.b}}{{item.c}} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.js b/unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.js index 3aeaa38..1766093 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.js +++ b/unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.js @@ -569,13 +569,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }) : {}, { C: $data.eventDetails }, $data.eventDetails ? { - D: common_assets._imports_8$1, + D: common_assets._imports_8$2, E: common_vendor.t($data.eventDetails.view_count), - F: common_assets._imports_9$3, + F: common_assets._imports_9$2, G: common_vendor.t($data.eventDetails.follower_count), H: common_vendor.o(($event) => $options.clickFollow()) } : {}, { - I: common_assets._imports_9$1, + I: common_assets._imports_8, J: common_vendor.o(($event) => $options.closeCommentPopup()), K: common_vendor.f($data.commentList, (item, index, i0) => { return { @@ -602,7 +602,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ["mask-background-color"]: "transparent", animation: false }), - S: common_assets._imports_9$1, + S: common_assets._imports_8, T: common_vendor.o(($event) => $options.closeRelatedStockPopup()), U: common_vendor.f($data.historyEventRelatedStockList, (item, index, i0) => { return common_vendor.e({ diff --git a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.js b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.js index c687953..5692aba 100644 --- a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.js +++ b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.js @@ -1,9 +1,111 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); +const request_http = require("../../request/http.js"); const request_api = require("../../request/api.js"); const common_assets = require("../../common/assets.js"); const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js"); +const WordCloud = () => "../../components/WordCloud/WordCloud2.js"; +const mockGraphData = { + categories: [ + { + name: "板块" + }, + { + name: "概念" + }, + { + name: "个股" + } + ], + nodes: [ + { + name: "科技板块", + symbolSize: 50, + category: 0 + }, + { + name: "人工智能", + symbolSize: 30, + category: 1 + }, + { + name: "大数据", + symbolSize: 25, + category: 1 + }, + { + name: "科大讯飞", + symbolSize: 20, + category: 2 + }, + { + name: "百度", + symbolSize: 20, + category: 2 + }, + { + name: "金融板块", + symbolSize: 50, + category: 0 + }, + { + name: "数字货币", + symbolSize: 30, + category: 1 + }, + { + name: "招商银行", + symbolSize: 20, + category: 2 + }, + { + name: "平安银行", + symbolSize: 20, + category: 2 + } + ], + links: [ + { + source: "科技板块", + target: "人工智能", + value: 10 + }, + { + source: "科技板块", + target: "大数据", + value: 8 + }, + { + source: "人工智能", + target: "科大讯飞", + value: 6 + }, + { + source: "人工智能", + target: "百度", + value: 6 + }, + { + source: "金融板块", + target: "数字货币", + value: 9 + }, + { + source: "数字货币", + target: "招商银行", + value: 5 + }, + { + source: "数字货币", + target: "平安银行", + value: 5 + } + ] +}; const _sfc_main = { + components: { + WordCloud + }, data() { return { navH: common_vendor.inject("navHeight"), @@ -31,161 +133,277 @@ const _sfc_main = { title: "炸板率" } ], - bkList: [ + wordData: [], + bkList: [], + number_limit_stocks: "", + HEAT_LEVELS: [ { - title: "存储芯片", - count: 8 + threshold: 0.7, + color: "#EF4444", + level: "高热度" }, + // >70% { - title: "存储芯片", - count: 8 + threshold: 0.4, + color: "#F97316", + level: "中热度" }, + // 40%~70% { - title: "存储芯片", - count: 8 + threshold: 0.2, + color: "#F3B800", + level: "低热度" }, + // 20%~40% { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 - }, - { - title: "存储芯片", - count: 8 + threshold: 0, + color: "#01AB5D", + level: "无热度" } + // ≤20% ], bkTypes: [ "板块关联图", "板块分布", "热门概念词云" ], - option2: { - title: { - show: false - }, - legend: { - show: false - }, + activeType: 0, + // 默认选中第一个标签 + // 饼图配置项 + pieOption: { tooltip: { - show: true, - triggerOn: "mousemove" + trigger: "item" }, - radar: { - indicator: [ - { name: "市场地位", max: 100 }, - { name: "技术实力", max: 100 }, - { name: "品牌价值", max: 100 }, - { name: "运营效率", max: 100 }, - { name: "财务健康", max: 100 }, - { name: "创新能力", max: 100 }, - { name: "风险控制", max: 100 }, - { name: "成长潜力", max: 100 } - ], - shape: "polygon", - splitNumber: 5, - axisName: { - color: "#54555A" - }, - splitLine: { - lineStyle: { - color: ["#CFD2D7"] - } - }, - splitArea: { - areaStyle: { - color: ["#F4F6FA", "white"] - } - }, - axisLine: { - lineStyle: { - color: "#CFD2D7" - } - } + animation: false, + legend: { + top: "5%", + left: "center", + show: false }, - series: [ - { - name: "Beijing", - type: "radar", - lineStyle: { - width: 1 - }, - data: [], - symbol: "circle", - symbolSize: 4, + series: [{ + name: "Access From", + type: "pie", + radius: ["40%", "70%"], + avoidLabelOverlap: false, + padAngle: 2, + itemStyle: { + borderRadius: 8 + }, + emphasis: { label: { - show: true - }, - itemStyle: { - color: "#5070DD" - }, - areaStyle: { - opacity: 0.1 + show: true, + fontSize: 10 } + }, + labelLine: { + length: 1, + length2: 5 + }, + data: [] + }] + }, + // 关系图配置项 + graphOption: { + tooltip: {}, + legend: [], + series: [{ + name: "板块关联", + type: "graph", + layout: "none", + data: [], + links: [], + categories: [], + roam: true, + // 允许拖拽和缩放 + label: { + show: true, + position: "right", + formatter: "{b}" + }, + labelLayout: { + hideOverlap: true + }, + scaleLimit: { + min: 0.4, + max: 2 + }, + lineStyle: { + color: "source", + curveness: 0.3 } - ] + }] } }; }, onLoad(e) { this.activeIndex = e.index; this.contentTop = this.navH + 20 / 750 * common_vendor.inject("windowWidth"); - this.analyseHighStocks(); }, - // mounted() { - // // 初始化当天日期格式(防止日历组件事件未及时触发) - // const today = new Date(); - // const month = today.getMonth() + 1; - // const day = today.getDate(); - // this.tabTypes[0].data = `${month}月${day}日`; - // this.tabTypes[1].data = '0'; // 默认涨停家数为0,后续会被日历数据覆盖 - // }, + onReady() { + this.fetchData(); + this.initGraphChart(); + }, methods: { + getHeatColor(value, max) { + if (max === 0) + return "#01AB5D"; + const ratio = value / max; + const matchedLevel = this.HEAT_LEVELS.find((level) => ratio > level.threshold); + return matchedLevel ? matchedLevel.color : "#01AB5D"; + }, + // 切换标签 + async switchTab(index) { + this.activeType = index; + switch (index) { + case 0: + this.$refs.graphChartRef && this.initGraphChart(); + break; + case 1: + this.$refs.chartRef && this.initPieChart(); + break; + case 2: + this.initWordCloud(); + break; + } + }, + getPreviousDayDate(dateStr) { + if (!/^\d{4}-\d{2}-\d{2}$/.test(dateStr)) { + common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:483", "日期格式错误,请传入 YYYY-MM-DD 格式的日期"); + return ""; + } + const [year, month, day] = dateStr.split("-").map(Number); + const date = new Date(year, month - 1, day); + date.setDate(date.getDate() - 2); + const prevYear = date.getFullYear(); + const prevMonth = String(date.getMonth() + 1).padStart(2, "0"); + const prevDay = String(date.getDate()).padStart(2, "0"); + return `${prevYear}${prevMonth}${prevDay}`; + }, + /** + * 请求接口数据(优化:动态日期+自动时间戳) + */ + async fetchData() { + try { + const timestamp = (/* @__PURE__ */ new Date()).getTime(); + const formattedDate = this.getPreviousDayDate(this.selectedFullDate); + const baseURL = request_http.getBaseURL1(); + const requestUrl = `${baseURL}/data/zt/daily/${formattedDate}.json?t=${timestamp}`; + common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:515", "请求URL:", requestUrl); + const res = await common_vendor.index.request({ + url: requestUrl, + method: "GET" + }); + if (res.statusCode === 200 && res.data) { + this.originData = res.data; + const chartData = this.originData.chart_data || {}; + const labels = chartData.labels || []; + const counts = chartData.counts || []; + const maxCount = counts.length > 0 ? Math.max(...counts) : 0; + let bkList = []; + const maxLen = Math.min(labels.length, counts.length); + for (let i = 0; i < maxLen; i++) { + const title = labels[i]; + const count = counts[i] || 0; + const bgColor = this.getHeatColor(count, maxCount); + const ratio = maxCount === 0 ? 0 : (count / maxCount * 100).toFixed(2); + bkList.push({ + title, + // 板块名称 + count, + // 数量 + bgColor, + // 背景色 + ratio + // 占比(百分比,可选) + }); + } + this.bkList = bkList.slice(0, 16); + this.initPieChart(); + } else { + common_vendor.index.showToast({ + title: "数据请求失败", + icon: "none" + }); + } + } catch (error) { + common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:562", "请求异常:", error); + common_vendor.index.showToast({ + title: "网络异常", + icon: "none" + }); + } + }, + // 初始化关系图(增加容错) + async initGraphChart() { + const chart = await this.$refs.graphChartRef.init(echarts); + this.graphOption.legend = [{ + data: mockGraphData.categories.map((a) => a.name) + }]; + this.graphOption.series[0].data = mockGraphData.nodes; + this.graphOption.series[0].links = mockGraphData.links; + this.graphOption.series[0].categories = mockGraphData.categories; + chart.setOption(this.graphOption); + }, + // 初始化饼图(核心修复) + async initPieChart() { + try { + let pieData = []; + const chartData = this.originData.chart_data || {}; + const labels = chartData.labels || []; + const counts = chartData.counts || []; + const maxLen = Math.min(labels.length, counts.length); + for (let i = 0; i < maxLen; i++) { + pieData.push({ + name: labels[i], + // 板块名称 + value: counts[i] + // 对应数量 + }); + } + this.pieOption.series[0].data = pieData.length > 0 ? pieData : [ + { + value: 10, + name: "科技板块" + }, + { + value: 8, + name: "人脑工程" + }, + { + value: 9, + name: "商业航天" + } + ]; + if (this.$refs.chartRef) { + const Piechart = await this.$refs.chartRef.init(echarts); + common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:623", "Piechart实例创建成功", Piechart); + Piechart.setOption(this.pieOption); + } + } catch (error) { + common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:627", "饼图初始化失败:", error); + } + }, + // 初始化词云 + initWordCloud() { + if (this.originData.word_freq_data && Array.isArray(this.originData.word_freq_data)) { + this.wordData = this.originData.word_freq_data; + common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:636", "词云数据赋值完成", this.wordData); + } else { + this.wordData = [{ + name: "脑机", + value: 1e4 + }, { + name: "航天", + value: 3428 + }]; + } + }, handleDateChange(data) { - var _a, _b; - common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:345", "从日历组件接收的参数:", (_a = data.item) == null ? void 0 : _a.zt_count); + var _a, _b, _c, _d; + common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:654", "从日历组件接收的参数:", { + currentZtCount: (_a = data.item) == null ? void 0 : _a.zt_count, + prevZtCount: (_b = data.prevItem) == null ? void 0 : _b.zt_count + }); this.selectedYearMonth = data.yearMonth; this.selectedFullDate = data.fullDate; this.selectedItem = data.item; @@ -193,11 +411,16 @@ const _sfc_main = { const [year, month, day] = data.fullDate.split("-").map(Number); this.tabTypes[0].data = `${month}月${day}日`; } - const ztCount = ((_b = data.item) == null ? void 0 : _b.zt_count) ?? 0; + const ztCount = ((_c = data.item) == null ? void 0 : _c.zt_count) ?? 0; this.tabTypes[1].data = ztCount.toString(); + this.number_limit_stocks = ztCount.toString(); + const prevZtCount = ((_d = data.prevItem) == null ? void 0 : _d.zt_count) ?? 0; + const changeValue = ztCount === 0 || prevZtCount === 0 ? 0 : ztCount - prevZtCount; + this.tabTypes[1].change = changeValue; + this.fetchData(); }, analyseHighStocks() { - const formatDate = this.selectedFullDate.replace(/-/g, ""); + const formatDate = this.getPreviousDayDate(this.selectedFullDate); let param = { date: formatDate }; @@ -205,10 +428,6 @@ const _sfc_main = { }).catch((error) => { }); }, - async init() { - const chart = await this.$refs.chartRef.init(echarts); - chart.setOption(this.option2); - }, bkydAction(index) { common_vendor.index.navigateTo({ url: `/pagesStock/stockCenterDetails/bkydmx?index=${index}` @@ -220,13 +439,15 @@ if (!Array) { const _easycom_navBar2 = common_vendor.resolveComponent("navBar"); const _easycom_LCCalendar2 = common_vendor.resolveComponent("LCCalendar"); const _easycom_l_echart2 = common_vendor.resolveComponent("l-echart"); - (_easycom_navBar2 + _easycom_LCCalendar2 + _easycom_l_echart2)(); + const _easycom_WordCloud2 = common_vendor.resolveComponent("WordCloud"); + (_easycom_navBar2 + _easycom_LCCalendar2 + _easycom_l_echart2 + _easycom_WordCloud2)(); } const _easycom_navBar = () => "../../components/navBar/navBar.js"; const _easycom_LCCalendar = () => "../../components/LCCalendar/LCCalendar.js"; const _easycom_l_echart = () => "../../uni_modules/lime-echart/components/l-echart/l-echart.js"; +const _easycom_WordCloud = () => "../../components/WordCloud/WordCloud2.js"; if (!Math) { - (_easycom_navBar + _easycom_LCCalendar + _easycom_l_echart)(); + (_easycom_navBar + _easycom_LCCalendar + _easycom_l_echart + _easycom_WordCloud)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { @@ -241,43 +462,69 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { e: common_vendor.f($data.tabTypes, (item, index, i0) => { return common_vendor.e({ a: common_vendor.t(item.data), - b: item.change > 0 - }, item.change > 0 ? { - c: common_vendor.t(item.change) + b: item.change !== 0 + }, item.change !== 0 ? { + c: common_vendor.t(item.change > 0 ? "+" + item.change : item.change), + d: common_vendor.s({ + marginLeft: "10rpx", + borderRadius: "5rpx", + color: "white", + padding: "0 5rpx", + fontSize: "24rpx", + fontWeight: "bold" + }), + e: common_vendor.s(item.change > 0 ? { + backgroundColor: "#F59B38" + } : { + backgroundColor: "#EF4444" + }) } : {}, { - d: common_vendor.t(item.title), - e: index + f: common_vendor.t(item.title), + g: index }); }), f: common_vendor.o($options.handleDateChange), g: common_assets._imports_3$8, - h: common_vendor.f($data.bkList, (item, index, i0) => { + h: common_vendor.t($data.bkList.length), + i: common_vendor.t($data.number_limit_stocks), + j: common_vendor.f($data.bkList, (item, index, i0) => { return { a: common_vendor.t(item.title), b: common_vendor.t(item.count), c: index, - d: common_vendor.o(($event) => $options.bkydAction(index), index) + d: common_vendor.o(($event) => $options.bkydAction(index), index), + e: item.bgColor }; }), - i: common_vendor.f($data.bkTypes, (item, index, i0) => { + k: common_vendor.f($data.bkTypes, (item, index, i0) => { return { a: common_vendor.t(item), - b: index == 0 ? "#BB8520" : "#999999", - c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`, - d: index == 0 ? "#FFFAF1" : "#FFF" + b: common_vendor.o(($event) => $options.switchTab(index)), + c: $data.activeType == index ? "#BB8520" : "#999999", + d: `1rpx solid ${$data.activeType == index ? "#F2C369" : "#D2D2D2"}`, + e: $data.activeType == index ? "#FFFAF1" : "#FFF" }; }), - j: common_vendor.sr("chartRef", "06b829a4-2"), - k: common_assets._imports_3$8, - l: common_vendor.f(10, (item, index, i0) => { + l: common_vendor.sr("graphChartRef", "06b829a4-2"), + m: $data.activeType === 0, + n: common_vendor.sr("chartRef", "06b829a4-3"), + o: $data.activeType === 1, + p: $data.activeType === 2, + q: common_vendor.p({ + wordData: $data.wordData, + width: 330, + height: 330 + }), + r: common_assets._imports_3$8, + s: common_vendor.f(10, (item, index, i0) => { return { a: index }; }), - m: common_assets._imports_1$11, - n: common_assets._imports_5$4, - o: common_assets._imports_5$4, - p: common_vendor.s("top:" + $data.contentTop + "px;") + t: common_assets._imports_1$11, + v: common_assets._imports_5$4, + w: common_assets._imports_5$4, + x: common_vendor.s("top:" + $data.contentTop + "px;") }; } const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); diff --git a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.json b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.json index 9e9ac3b..0e14026 100644 --- a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.json +++ b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.json @@ -1,6 +1,7 @@ { "navigationBarTitleText": "涨停分析", "usingComponents": { + "word-cloud": "../../components/WordCloud/WordCloud", "nav-bar": "../../components/navBar/navBar", "l-c-calendar": "../../components/LCCalendar/LCCalendar", "l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart" diff --git a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxml b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxml index 3cf1d43..615fe9d 100644 --- a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxml +++ b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxml @@ -1 +1 @@ -AI总结市场情绪温和,主线题材:存储芯片核心指标{{item.a}} +{{item.c}}{{item.d}}市场全景35个板块102只涨停高位股风险: 低板块热力图高热度 中热度 低热度 冷门 {{item.a}}{{item.b}}只{{item.a}}高位股统计高位股10只平均3.7最高9版中风险博菲电气(销量一字,高风险) 9连板高位股风险较高,追涨需谨慎 \ No newline at end of file +AI总结市场情绪温和,主线题材:存储芯片核心指标{{item.a}}{{item.c}}{{item.f}}市场全景{{h}}个板块{{i}}只涨停高位股风险: 低板块热力图高热度 中热度 低热度 冷门 {{item.a}}{{item.b}}只{{item.a}}高位股统计高位股10只平均3.7最高9版中风险博菲电气(销量一字,高风险) 9连板高位股风险较高,追涨需谨慎 \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxss b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxss index a768d4a..d85eb4c 100644 --- a/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxss +++ b/unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.wxss @@ -12,3 +12,18 @@ page { right: 0; bottom: calc(55px + env(safe-area-inset-bottom)); } +/* 单行省略样式类 */ +.single-line-ellipsis { + max-width: 100%; + width: 120rpx; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + text-align: center; +} +/* 数量行样式(可选抽离) */ +.count-text { + font-size: 22rpx; + margin-top: 4rpx; + text-align: center; +} diff --git a/unpackage/dist/dev/mp-weixin/pagesMine/vip/vip.js b/unpackage/dist/dev/mp-weixin/pagesMine/vip/vip.js index f245280..cfe53ae 100644 --- a/unpackage/dist/dev/mp-weixin/pagesMine/vip/vip.js +++ b/unpackage/dist/dev/mp-weixin/pagesMine/vip/vip.js @@ -149,11 +149,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, $data.memberInfo.is_member ? { r: common_assets._imports_7$2 } : { - s: common_assets._imports_8$2 + s: common_assets._imports_8$3 }, { t: $data.memberInfo.is_member }, $data.memberInfo.is_member ? { - v: common_assets._imports_9$4 + v: common_assets._imports_9$3 } : { w: common_assets._imports_10$2 }, { diff --git a/unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.js b/unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.js index 66ec8c2..c398ed5 100644 --- a/unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.js +++ b/unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.js @@ -110,12 +110,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, index > 5 ? { c: common_assets._imports_7$3 } : { - d: common_assets._imports_8$3 + d: common_assets._imports_8$4 }, { e: index }); }), - q: common_assets._imports_8$3, + q: common_assets._imports_8$4, r: common_vendor.n("privilegeList " + ($data.memberInfo.is_member ? "vip" : "")), s: common_vendor.s("margin-top:" + $data.navH + "px;") }) : {}, { diff --git a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js index b63059c..e5f97a2 100644 --- a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js +++ b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js @@ -172,6 +172,8 @@ const _sfc_main = { //点击查看的产业链信息 relatedCompanyList: [], //产业链相关公司 + valueChainFlowsList: [], + //流向图数据 keyFactorsInfo: null, //关键因素统计信息 keyFactorsList: [], @@ -272,6 +274,25 @@ const _sfc_main = { this.getStockBasicInfoData(); this.getQuoteDetailsData(); }, + /** + * 获取买入百分比 + */ + getBuyPercent() { + let ratio = this.quoteDetailsInfo.net_active_buy_ratio; + return Math.round(utils_util.accAdd(50, utils_util.accDiv(ratio, 2))); + }, + /** + * 获取卖出百分比 + */ + getSellPercent() { + let ratio = this.quoteDetailsInfo.net_active_buy_ratio; + return Math.round(utils_util.accSub(50, utils_util.accDiv(ratio, 2))); + }, + /** + * 点击查看官网 + */ + clickOfficialWebsite() { + }, /** * 点击展开收起公司简介 */ @@ -335,6 +356,8 @@ const _sfc_main = { if (this.selectCaiwu != index) { this.selectCaiwu = index; if (index == 0) { + this.getFinancialStockInfoData(); + this.getFinancialComparisonData(); this.getFinancialMetricsData(); } else if (index == 1) { this.getFinancialMetricsData(); @@ -610,6 +633,7 @@ const _sfc_main = { this.upstreamList = nodesByLevel["level_-2"].concat(nodesByLevel["level_-1"]); this.coreEnterpriseList = nodesByLevel.level_0; this.downstreamList = nodesByLevel.level_1.concat(nodesByLevel.level_2); + this.valueChainFlowsList = res.data.value_chain_flows; }).catch((error) => { }); }, @@ -860,44 +884,42 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { z: $data.quoteDetailsInfo.float_shares }, $data.quoteDetailsInfo.float_shares ? { A: common_vendor.t($data.quoteDetailsInfo.float_shares) - } : {}) : {}, { - B: $data.quoteDetailsInfo - }, $data.quoteDetailsInfo ? { - C: common_vendor.t($data.quoteDetailsInfo.market_cap), - D: common_vendor.t($data.quoteDetailsInfo.turnover_rate) } : {}, { - E: $data.quoteDetailsInfo - }, $data.quoteDetailsInfo ? common_vendor.e({ - F: $data.quoteDetailsInfo.total_shares + B: common_vendor.t($data.quoteDetailsInfo.market_cap), + C: common_vendor.t($data.quoteDetailsInfo.turnover_rate), + D: $data.quoteDetailsInfo.total_shares }, $data.quoteDetailsInfo.total_shares ? { - G: common_vendor.t($data.quoteDetailsInfo.total_shares) + E: common_vendor.t($data.quoteDetailsInfo.total_shares) } : {}, { - H: common_vendor.t($data.quoteDetailsInfo.week52_low), - I: common_vendor.t($data.quoteDetailsInfo.week52_high) + F: common_vendor.t($data.quoteDetailsInfo.week52_low), + G: common_vendor.t($data.quoteDetailsInfo.week52_high) }) : {}, { - J: $data.quoteDetailsInfo + H: $data.quoteDetailsInfo }, $data.quoteDetailsInfo ? { - K: common_vendor.t($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "" : "+"), - L: common_vendor.t($data.getNumStr($data.quoteDetailsInfo.net_inflow)), - M: common_vendor.n("content flex1 marginR " + ($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "down" : "up")) + I: common_vendor.t($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "" : "+"), + J: common_vendor.t($data.getNumStr($data.quoteDetailsInfo.net_inflow)), + K: common_vendor.n("content flex1 marginR " + ($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "down" : "up")), + L: common_vendor.s("width:" + $options.getBuyPercent() + "%"), + M: common_vendor.t($options.getBuyPercent()), + N: common_vendor.t($options.getSellPercent()) } : {}, { - N: common_assets._imports_2$11, - O: common_vendor.t($data.getLocalDate($data.stockBasicInfo.establish_date)), - P: common_assets._imports_3$11, - Q: common_vendor.t($data.stockBasicInfo.reg_capital), - R: common_assets._imports_4$10, - S: common_vendor.t($data.stockBasicInfo.province), - T: common_vendor.t($data.stockBasicInfo.city), - U: common_assets._imports_5$6, - V: common_vendor.t($data.stockBasicInfo.company_intro), - W: !$data.isExpandIntro + O: common_assets._imports_2$11, + P: common_vendor.t($data.getLocalDate($data.stockBasicInfo.establish_date)), + Q: common_assets._imports_3$11, + R: common_vendor.t($data.stockBasicInfo.reg_capital), + S: common_assets._imports_4$10, + T: common_vendor.t($data.stockBasicInfo.province), + U: common_vendor.t($data.stockBasicInfo.city), + V: common_vendor.o(($event) => $options.clickOfficialWebsite()), + W: common_vendor.t($data.stockBasicInfo.company_intro), + X: !$data.isExpandIntro }, !$data.isExpandIntro ? {} : {}, { - X: common_vendor.t($data.isExpandIntro ? "收起" : "展开全文"), - Y: common_vendor.n("expand " + ($data.isExpandIntro ? "" : "absolute")), - Z: common_vendor.o(($event) => $options.clickExpandOrRetractCompanyIntro()), - aa: common_vendor.n("info relative flex1 " + ($data.isExpandIntro ? "" : "retract")) + Y: common_vendor.t($data.isExpandIntro ? "收起" : "展开全文"), + Z: common_vendor.n("expand " + ($data.isExpandIntro ? "" : "absolute")), + aa: common_vendor.o(($event) => $options.clickExpandOrRetractCompanyIntro()), + ab: common_vendor.n("info relative flex1 " + ($data.isExpandIntro ? "" : "retract")) }) : {}, { - ab: common_vendor.f($data.tabList, (item, index, i0) => { + ac: common_vendor.f($data.tabList, (item, index, i0) => { return { a: common_vendor.t(item.title), b: common_vendor.n("item " + ($data.selectTab == index ? "select" : "")), @@ -905,9 +927,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.o(($event) => $options.clickTabItem(index), index) }; }), - ac: $data.selectTab == 0 + ad: $data.selectTab == 0 }, $data.selectTab == 0 ? common_vendor.e({ - ad: common_vendor.f($data.companyFilesList, (item, index, i0) => { + ae: common_vendor.f($data.companyFilesList, (item, index, i0) => { return { a: common_vendor.t(item.title), b: common_vendor.n("item " + ($data.selectCompanyFiles == index ? "select" : "")), @@ -915,36 +937,36 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.o(($event) => $options.clickCompanyFilesItem(index), index) }; }), - ae: $data.selectCompanyFiles == 0 + af: $data.selectCompanyFiles == 0 }, $data.selectCompanyFiles == 0 ? { - af: common_vendor.p({ + ag: common_vendor.p({ actualControlInfo: $data.actualControlInfo, concentrationList: $data.concentrationList, shareholdersList: $data.topShareholdersList, circulatingShareholdersList: $data.topCirculatingShareholdersList }) } : {}, { - ag: $data.selectCompanyFiles == 1 + ah: $data.selectCompanyFiles == 1 }, $data.selectCompanyFiles == 1 ? { - ah: common_vendor.p({ + ai: common_vendor.p({ managementList: $data.managementList }) } : {}, { - ai: $data.selectCompanyFiles == 2 + aj: $data.selectCompanyFiles == 2 }, $data.selectCompanyFiles == 2 ? { - aj: common_vendor.p({ + ak: common_vendor.p({ branchList: $data.branchList }) } : {}, { - ak: $data.selectCompanyFiles == 3 + al: $data.selectCompanyFiles == 3 }, $data.selectCompanyFiles == 3 ? { - al: common_vendor.p({ + am: common_vendor.p({ stockBasicInfo: $data.stockBasicInfo }) } : {}) : {}, { - am: $data.selectTab == 1 + an: $data.selectTab == 1 }, $data.selectTab == 1 ? common_vendor.e({ - an: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => { + ao: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => { return { a: common_vendor.t(item.title), b: common_vendor.n("item " + ($data.selectInDepthAnalysis == index ? "select" : "")), @@ -952,10 +974,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.o(($event) => $options.clickInDepthAnalysisItem(index), index) }; }), - ao: $data.selectInDepthAnalysis == 0 + ap: $data.selectInDepthAnalysis == 0 }, $data.selectInDepthAnalysis == 0 ? { - ap: common_vendor.o(($event) => $options.clickIndustryRank()), - aq: common_vendor.p({ + aq: common_vendor.o(($event) => $options.clickIndustryRank()), + ar: common_vendor.p({ qualitativeAnalysisInfo: $data.qualitativeAnalysisInfo, competitivePositionInfo: $data.competitivePositionInfo, industryRankInfo: $data.industryRankInfo, @@ -964,37 +986,38 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { data: $data.chartData2 }) } : {}, { - ar: $data.selectInDepthAnalysis == 1 + as: $data.selectInDepthAnalysis == 1 }, $data.selectInDepthAnalysis == 1 ? { - as: common_vendor.p({ + at: common_vendor.p({ businessStructureList: $data.businessStructureList, businessSegmentList: $data.businessSegmentList }) } : {}, { - at: $data.selectInDepthAnalysis == 2 + av: $data.selectInDepthAnalysis == 2 }, $data.selectInDepthAnalysis == 2 ? { - av: common_vendor.o($options.clickValueChainDetail), - aw: common_vendor.p({ + aw: common_vendor.o($options.clickValueChainDetail), + ax: common_vendor.p({ valueChainAnalysisInfo: $data.valueChainAnalysisInfo, totalNodes: $data.totalNodes, upstreamList: $data.upstreamList, coreEnterpriseList: $data.coreEnterpriseList, - downstreamList: $data.downstreamList + downstreamList: $data.downstreamList, + valueChainFlowsList: $data.valueChainFlowsList }) } : {}, { - ax: $data.selectInDepthAnalysis == 3 + ay: $data.selectInDepthAnalysis == 3 }, $data.selectInDepthAnalysis == 3 ? { - ay: common_vendor.o($options.clickDevelopmentTimelineDetail), - az: common_vendor.p({ + az: common_vendor.o($options.clickDevelopmentTimelineDetail), + aA: common_vendor.p({ keyFactorsInfo: $data.keyFactorsInfo, keyFactorsList: $data.keyFactorsList, timelineInfo: $data.timelineInfo, timelineList: $data.timelineList }) } : {}) : {}, { - aA: $data.selectTab == 2 + aB: $data.selectTab == 2 }, $data.selectTab == 2 ? common_vendor.e({ - aB: common_vendor.f($data.caiWuList, (item, index, i0) => { + aC: common_vendor.f($data.caiWuList, (item, index, i0) => { return { a: common_vendor.t(item.title), b: common_vendor.n("item " + ($data.selectCaiwu == index ? "select" : "")), @@ -1002,9 +1025,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.o(($event) => $options.clickCaiWuItem(index), index) }; }), - aC: $data.selectCaiwu == 0 + aD: $data.selectCaiwu == 0 }, $data.selectCaiwu == 0 ? { - aD: common_vendor.p({ + aE: common_vendor.p({ stockInfo: $data.financialStockInfo, barCategoryList: $data.mainBussinessBarCategoryList, barList: $data.mainBussinessBarList, @@ -1013,23 +1036,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { financialMetricsInfo: $data.financialMetricsList[0] }) } : {}, { - aE: $data.selectCaiwu == 1 + aF: $data.selectCaiwu == 1 }, $data.selectCaiwu == 1 ? { - aF: common_vendor.p({ + aG: common_vendor.p({ dataList: $data.financialMetricsList }) } : {}, { - aG: $data.selectCaiwu == 2 + aH: $data.selectCaiwu == 2 }, $data.selectCaiwu == 2 ? { - aH: common_vendor.p({ + aI: common_vendor.p({ financialBalanceList: $data.financialBalanceList, cashFlowList: $data.cashFlowList, incomeStatementList: $data.incomeStatementList }) } : {}) : {}, { - aI: $data.selectTab == 3 + aJ: $data.selectTab == 3 }, $data.selectTab == 3 ? { - aJ: common_vendor.f($data.dongTaiList, (item, index, i0) => { + aK: common_vendor.f($data.dongTaiList, (item, index, i0) => { return { a: common_vendor.t(item.title), b: common_vendor.n("item " + ($data.selectDongtai == index ? "select" : "")), @@ -1037,24 +1060,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.o(($event) => $options.clickDongTaiItem(index), index) }; }), - aK: common_vendor.p({ + aL: common_vendor.p({ type: $data.selectDongtai, newsList: $data.newsList, announcementList: $data.companyAnnouncementList }) } : {}, { - aL: common_vendor.s("top:" + $data.contentTop + "px;"), - aM: common_vendor.o(($event) => _ctx.sendEventComment()), - aN: _ctx.eventComment, - aO: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value), - aP: common_assets._imports_2$10, - aQ: common_assets._imports_3$10, - aR: common_vendor.o(($event) => $options.clickOptional()), - aS: common_assets._imports_4$9, - aT: common_vendor.o(($event) => $options.clickShare()), - aU: common_assets._imports_9$1, - aV: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()), - aW: common_vendor.f($data.industryRankList, (item, index, i0) => { + aM: common_vendor.s("top:" + $data.contentTop + "px;"), + aN: common_vendor.o(($event) => _ctx.sendEventComment()), + aO: _ctx.eventComment, + aP: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value), + aQ: common_assets._imports_2$10, + aR: common_assets._imports_3$10, + aS: common_vendor.o(($event) => $options.clickOptional()), + aT: common_assets._imports_4$9, + aU: common_vendor.o(($event) => $options.clickShare()), + aV: common_assets._imports_8, + aW: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()), + aX: common_vendor.f($data.industryRankList, (item, index, i0) => { return { a: common_vendor.f(item.rankings, (ritem, rindex, i1) => { return common_vendor.e({ @@ -1151,68 +1174,68 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { c: index }; }), - aX: common_assets._imports_1$13, - aY: common_vendor.sr("industryRankPop", "817d6950-13"), - aZ: common_vendor.p({ + aY: common_assets._imports_1$13, + aZ: common_vendor.sr("industryRankPop", "817d6950-13"), + ba: common_vendor.p({ type: "bottom" }), - ba: common_assets._imports_9$1, - bb: common_vendor.o(($event) => $options.clickCloseValueChainPopup()), - bc: $data.selectValueChainInfo + bb: common_assets._imports_8, + bc: common_vendor.o(($event) => $options.clickCloseValueChainPopup()), + bd: $data.selectValueChainInfo }, $data.selectValueChainInfo ? common_vendor.e({ - bd: common_vendor.t($data.selectValueChainInfo.node_name), - be: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 + be: common_vendor.t($data.selectValueChainInfo.node_name), + bf: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 }, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? { - bf: common_vendor.t($data.selectValueChainInfo.node_type) + bg: common_vendor.t($data.selectValueChainInfo.node_type) } : {}, { - bg: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 + bh: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 }, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? { - bh: common_vendor.t($data.selectValueChainInfo.market_share) + bi: common_vendor.t($data.selectValueChainInfo.market_share) } : {}, { - bi: $data.selectValueChainInfo.node_level == 0 + bj: $data.selectValueChainInfo.node_level == 0 }, $data.selectValueChainInfo.node_level == 0 ? { - bj: common_vendor.t($data.selectValueChainInfo.node_type) + bk: common_vendor.t($data.selectValueChainInfo.node_type) } : {}, { - bk: $data.selectValueChainInfo.node_level == 0 + bl: $data.selectValueChainInfo.node_level == 0 }, $data.selectValueChainInfo.node_level == 0 ? { - bl: common_vendor.t($data.selectValueChainInfo.market_share) + bm: common_vendor.t($data.selectValueChainInfo.market_share) } : {}, { - bm: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 + bn: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 }, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? { - bn: common_vendor.t($data.selectValueChainInfo.node_type) + bo: common_vendor.t($data.selectValueChainInfo.node_type) } : {}, { - bo: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 + bp: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 }, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? { - bp: common_vendor.t($data.selectValueChainInfo.market_share) + bq: common_vendor.t($data.selectValueChainInfo.market_share) } : {}, { - bq: common_vendor.t($data.selectValueChainInfo.node_description), - br: common_vendor.t($data.selectValueChainInfo.importance_score), - bs: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 + br: common_vendor.t($data.selectValueChainInfo.node_description), + bs: common_vendor.t($data.selectValueChainInfo.importance_score), + bt: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 }, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? { - bt: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;") + bv: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;") } : {}, { - bv: $data.selectValueChainInfo.node_level == 0 + bw: $data.selectValueChainInfo.node_level == 0 }, $data.selectValueChainInfo.node_level == 0 ? { - bw: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;") + bx: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;") } : {}, { - bx: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 + by: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 }, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? { - by: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;") + bz: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;") } : {}, { - bz: common_vendor.t($data.selectValueChainInfo.dependency_degree), - bA: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 + bA: common_vendor.t($data.selectValueChainInfo.dependency_degree), + bB: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 }, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? { - bB: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;") + bC: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;") } : {}, { - bC: $data.selectValueChainInfo.node_level == 0 + bD: $data.selectValueChainInfo.node_level == 0 }, $data.selectValueChainInfo.node_level == 0 ? { - bD: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;") + bE: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;") } : {}, { - bE: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 + bF: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 }, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? { - bF: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;") + bG: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;") } : {}, { - bG: common_vendor.f($data.relatedCompanyList, (item, index, i0) => { + bH: common_vendor.f($data.relatedCompanyList, (item, index, i0) => { return common_vendor.e({ a: common_vendor.t(item.stock_name), b: common_vendor.t(item.stock_code), @@ -1220,34 +1243,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { d: common_vendor.t(item.node_info.node_description), e: item.relationships.length > 0 }, item.relationships.length > 0 ? { - f: common_assets._imports_11$4, + f: common_assets._imports_10$3, g: common_vendor.t(item.relationships[0].connected_node) } : {}, { h: index }); }) }) : {}, { - bH: common_vendor.sr("valueChainPopup", "817d6950-14"), - bI: common_vendor.p({ + bI: common_vendor.sr("valueChainPopup", "817d6950-14"), + bJ: common_vendor.p({ type: "bottom", safeArea: false }), - bJ: common_assets._imports_9$1, - bK: common_vendor.o(($event) => $options.clickCloseDevelopmentTimelinePopup()), - bL: $data.selectDevelopmentTimelineInfo + bK: common_assets._imports_8, + bL: common_vendor.o(($event) => $options.clickCloseDevelopmentTimelinePopup()), + bM: $data.selectDevelopmentTimelineInfo }, $data.selectDevelopmentTimelineInfo ? { - bM: common_vendor.t($data.selectDevelopmentTimelineInfo.event_title), - bN: common_vendor.t($data.selectDevelopmentTimelineInfo.event_type), - bO: common_vendor.n("eventType " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")), - bP: common_vendor.t($data.selectDevelopmentTimelineInfo.event_date), - bQ: common_vendor.t($data.selectDevelopmentTimelineInfo.event_desc), - bR: common_vendor.t($data.selectDevelopmentTimelineInfo.related_info.financial_impact), - bS: common_vendor.n("progress " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")), - bT: common_vendor.s("width: " + $data.selectDevelopmentTimelineInfo.impact_metrics.impact_score + "%;"), - bU: common_vendor.t($data.selectDevelopmentTimelineInfo.impact_metrics.impact_score) + bN: common_vendor.t($data.selectDevelopmentTimelineInfo.event_title), + bO: common_vendor.t($data.selectDevelopmentTimelineInfo.event_type), + bP: common_vendor.n("eventType " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")), + bQ: common_vendor.t($data.selectDevelopmentTimelineInfo.event_date), + bR: common_vendor.t($data.selectDevelopmentTimelineInfo.event_desc), + bS: common_vendor.t($data.selectDevelopmentTimelineInfo.related_info.financial_impact), + bT: common_vendor.n("progress " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")), + bU: common_vendor.s("width: " + $data.selectDevelopmentTimelineInfo.impact_metrics.impact_score + "%;"), + bV: common_vendor.t($data.selectDevelopmentTimelineInfo.impact_metrics.impact_score) } : {}, { - bV: common_vendor.sr("developmentTimelinePopup", "817d6950-15"), - bW: common_vendor.p({ + bW: common_vendor.sr("developmentTimelinePopup", "817d6950-15"), + bX: common_vendor.p({ type: "bottom", safeArea: false }) diff --git a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxml b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxml index b0975da..65a2be5 100644 --- a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxml +++ b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxml @@ -1 +1 @@ -{{item.a}} {{item.b}}{{l}}·{{m}}沪深300、上证180{{o}}{{q}}%今开:{{s}}昨收:{{t}}最高:{{v}}最低:{{w}}关键指标市盈率 (PE){{y}}流通股本{{A}}亿股-流通市值{{C}}换手率{{D}}%发行总股本{{G}}亿股-52周波动{{H}}-{{I}}主力动态主力净流入{{K}}{{L}}股买入 42%卖出 58%成立{{O}}注册资本{{Q}}亿元所在地{{S}} {{T}}访问逛网公司简介{{V}} ...{{X}}{{item.a}}{{item.a}}{{item.a}}{{item.a}}{{item.a}}对比自选分享行业排名EPS{{ritem.d}}-#{{ritem.f}}行业均值:{{ritem.h}}行业均值:-每股净资产{{ritem.j}}-#{{ritem.l}}行业均值:{{ritem.n}}行业均值:-ROE{{ritem.p}}%-#{{ritem.q}}行业均值:{{ritem.s}}%行业均值:-营收增长率{{ritem.v}}%-#{{ritem.w}}行业均值:{{ritem.y}}%行业均值:-利润增长率{{ritem.A}}%-#{{ritem.B}}行业均值:{{ritem.D}}%行业均值:-营业利润率{{ritem.F}}%-#{{ritem.G}}行业均值:{{ritem.I}}%行业均值:-资产负债率{{ritem.K}}-#{{ritem.M}}行业均值:{{ritem.O}}行业均值:-应收账款周转率{{ritem.Q}}-#{{ritem.S}}行业均值:{{ritem.U}}行业均值:-详情{{bd}}{{bf}}份额: {{bh}}%{{bj}}份额: {{bl}}%{{bn}}份额: {{bp}}%节点描述{{bq}}重要度评分{{br}}依赖程度{{bz}}%相关公司{{item.a}}{{item.b}}上游{{item.c}}{{item.d}}产业链关系:流向 {{item.g}}详情{{bM}}{{bN}}{{bP}}事件详情{{bQ}}财务影响{{bR}}影响评估影响度{{bU}} / 100 \ No newline at end of file +{{item.a}} {{item.b}}{{l}}·{{m}}沪深300、上证180{{o}}{{q}}%今开:{{s}}昨收:{{t}}最高:{{v}}最低:{{w}}关键指标市盈率 (PE){{y}}流通股本{{A}}亿股-流通市值{{B}}换手率{{C}}%发行总股本{{E}}亿股-52周波动{{F}}-{{G}}主力动态主力净流入{{I}}{{J}}股机构持仓暂无买入 {{M}}%卖出 {{N}}%成立{{P}}注册资本{{R}}亿元所在地{{T}} {{U}}公司简介{{W}} ...{{Y}}{{item.a}}{{item.a}}{{item.a}}{{item.a}}{{item.a}}对比自选分享行业排名EPS{{ritem.d}}-#{{ritem.f}}行业均值:{{ritem.h}}行业均值:-每股净资产{{ritem.j}}-#{{ritem.l}}行业均值:{{ritem.n}}行业均值:-ROE{{ritem.p}}%-#{{ritem.q}}行业均值:{{ritem.s}}%行业均值:-营收增长率{{ritem.v}}%-#{{ritem.w}}行业均值:{{ritem.y}}%行业均值:-利润增长率{{ritem.A}}%-#{{ritem.B}}行业均值:{{ritem.D}}%行业均值:-营业利润率{{ritem.F}}%-#{{ritem.G}}行业均值:{{ritem.I}}%行业均值:-资产负债率{{ritem.K}}-#{{ritem.M}}行业均值:{{ritem.O}}行业均值:-应收账款周转率{{ritem.Q}}-#{{ritem.S}}行业均值:{{ritem.U}}行业均值:-详情{{be}}{{bg}}份额: {{bi}}%{{bk}}份额: {{bm}}%{{bo}}份额: {{bq}}%节点描述{{br}}重要度评分{{bs}}依赖程度{{bA}}%相关公司{{item.a}}{{item.b}}上游{{item.c}}{{item.d}}产业链关系:流向 {{item.g}}详情{{bN}}{{bO}}{{bQ}}事件详情{{bR}}财务影响{{bS}}影响评估影响度{{bV}} / 100 \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxss b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxss index 7ca4376..117eed9 100644 --- a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxss +++ b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.wxss @@ -153,7 +153,6 @@ page { } .stockDetailsC .basicInfoC .progressC .buy { background-color: #EC3440; - width: 42%; height: 100%; border-radius: 5rpx; } diff --git a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js new file mode 100644 index 0000000..1a48375 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js @@ -0,0 +1,23 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const _sfc_main = { + data() { + return { + url: "" + }; + }, + onLoad(e) { + if (e.url) { + this.url = e.url; + } + }, + methods: {} +}; +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return { + a: $data.url + }; +} +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); +wx.createPage(MiniProgramPage); +//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesStock/stockCenterDetails/webView/webView.js.map diff --git a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.json b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.json new file mode 100644 index 0000000..a0812ee --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.wxml b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.wxml new file mode 100644 index 0000000..20c283c --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/webView/webView.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/request/api.js b/unpackage/dist/dev/mp-weixin/request/api.js index 32ef734..e378d4f 100644 --- a/unpackage/dist/dev/mp-weixin/request/api.js +++ b/unpackage/dist/dev/mp-weixin/request/api.js @@ -63,6 +63,7 @@ const conceptsDailyTop = (param) => request_http.get("/api/concepts/daily-top", const marketHeatmap = (param) => request_http.get("/api/market/heatmap", param, true); const marketStatistics = (param) => request_http.get("/api/market/statistics", param, true); const marketHotspotOverview = (param) => request_http.get("/api/market/hotspot-overview", param, true); +const conceptStocks = (concept_id, param) => request_http.get("/api/concept/" + concept_id + "/stocks", param, true); const calendarCombinedData = (param) => request_http.get("/api/v1/calendar/combined-data", param, true); const analyseHighStocks = (param) => request_http.get("/api/limit-analyse/high-position-stocks", param, true); exports.actualControl = actualControl; @@ -82,6 +83,7 @@ exports.conceptNews = conceptNews; exports.conceptOtherDetails = conceptOtherDetails; exports.conceptRankList = conceptRankList; exports.conceptReport = conceptReport; +exports.conceptStocks = conceptStocks; exports.conceptsDailyTop = conceptsDailyTop; exports.eventCommentList = eventCommentList; exports.eventHistoryEvent = eventHistoryEvent; diff --git a/unpackage/dist/dev/mp-weixin/request/http.js b/unpackage/dist/dev/mp-weixin/request/http.js index ad8b958..6d3c613 100644 --- a/unpackage/dist/dev/mp-weixin/request/http.js +++ b/unpackage/dist/dev/mp-weixin/request/http.js @@ -4,6 +4,9 @@ let baseURL = ""; { baseURL = "https://api.valuefrontier.cn:5002"; } +function getBaseURL1() { + return "https://valuefrontier.cn"; +} function get(url, params, isNotPort) { return new Promise((resolve, reject) => { let token = common_vendor.index.getStorageSync("token"); @@ -24,7 +27,7 @@ function get(url, params, isNotPort) { }, method: "GET", success: (response) => { - common_vendor.index.__f__("log", "at request/http.js:44", response); + common_vendor.index.__f__("log", "at request/http.js:47", response); common_vendor.index.hideLoading(); if (response.data.code == 401) { common_vendor.index.removeStorageSync("token"); @@ -71,7 +74,7 @@ function post(url, params, isNotPort) { }, formData: params, success: (response) => { - common_vendor.index.__f__("log", "at request/http.js:100", response); + common_vendor.index.__f__("log", "at request/http.js:103", response); common_vendor.index.hideLoading(); if (response.data.code == 401) { common_vendor.index.removeStorageSync("token"); @@ -84,7 +87,7 @@ function post(url, params, isNotPort) { } }, fail: (error) => { - common_vendor.index.__f__("log", "at request/http.js:113", "上传失败" + error.errMsg); + common_vendor.index.__f__("log", "at request/http.js:116", "上传失败" + error.errMsg); common_vendor.index.hideLoading(); common_vendor.index.showToast({ title: "请求失败", @@ -112,7 +115,7 @@ function post(url, params, isNotPort) { if (params && params.isNotNeedLogin) ; else { - common_vendor.index.__f__("log", "at request/http.js:144", response.data); + common_vendor.index.__f__("log", "at request/http.js:147", response.data); if (response.data.code == 401) { common_vendor.index.removeStorageSync("token"); common_vendor.index.navigateTo({ @@ -137,5 +140,6 @@ function post(url, params, isNotPort) { }); } exports.get = get; +exports.getBaseURL1 = getBaseURL1; exports.post = post; //# sourceMappingURL=../../.sourcemap/mp-weixin/request/http.js.map diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/lime-echart/static/echarts.min.js b/unpackage/dist/dev/mp-weixin/uni_modules/lime-echart/static/echarts.min.js index 715595f..bcb954f 100644 --- a/unpackage/dist/dev/mp-weixin/uni_modules/lime-echart/static/echarts.min.js +++ b/unpackage/dist/dev/mp-weixin/uni_modules/lime-echart/static/echarts.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,function(t){"use strict";var p=function(t,e){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var y=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},w=new function(){this.browser=new y,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?(w.wxa=!0,w.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?w.worker=!0:!w.hasGlobalWindow||"Deno"in window||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&-1>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}e.clearMarkers=function(){B(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})}}return n}(e,o),o,r);if(e)return e(t,n,i),!0}return!1}function xe(t){return"CANVAS"===t.nodeName.toUpperCase()}var be=/([&<>"'])/g,we={"&":"&","<":"<",">":">",'"':""","'":"'"};function Se(t){return null==t?"":(t+"").replace(be,function(t,e){return we[e]})}var Me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=[],Ie=w.browser.firefox&&+w.browser.version.split(".")[0]<39;function Ce(t,e,n,i){return n=n||{},i?De(t,e,n):Ie&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):De(t,e,n),n}function De(t,e,n){if(w.domSupported&&t.getBoundingClientRect){var i,r=e.clientX,e=e.clientY;if(xe(t))return i=t.getBoundingClientRect(),n.zrX=r-i.left,void(n.zrY=e-i.top);if(_e(Te,t,r,e))return n.zrX=Te[0],void(n.zrY=Te[1])}n.zrX=n.zrY=0}function ke(t){return t||window.event}function Ae(t,e,n){var i;return null==(e=ke(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&Ce(t,i,e,n):(Ce(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},sn.prototype.contain=function(t,e){return sn.contain(this,t,e)},sn.prototype.clone=function(){return new sn(this.x,this.y,this.width,this.height)},sn.prototype.copy=function(t){sn.copy(this,t)},sn.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},sn.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},sn.prototype.isZero=function(){return 0===this.width||0===this.height},sn.create=function(t){return new sn(t.x,t.y,t.width,t.height)},sn.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},sn.applyTransform=function(t,e,n){var i,r,o,a;n?n[1]<1e-5&&-1e-5t.getWidth()||n<0||n>t.getHeight()}B(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){bn.prototype[a]=function(t){var e,n,i=t.zrX,r=t.zrY,o=Mn(this,i,r);if("mouseup"===a&&o||(n=(e=this.findHover(i,r)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4>>1])<0?l=o:s=1+o;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Ln(A,L){var P,O,R=In,N=0,E=[];function e(t){var e=P[t],n=O[t],i=P[t+1],r=O[t+1],t=(O[t]=n+r,t===N-3&&(P[t+1]=P[t+2],O[t+1]=O[t+2]),N--,An(A[i],A,e,n,0,L));if(e+=t,0!=(n-=t)&&0!==(r=kn(A[e+n-1],A,i,r,r-1,L)))if(n<=r){var o=e,a=n,t=i,s=r,l=0;for(l=0;lO[t+1])break;e(t)}},forceMergeRuns:function(){for(;1>=1;return t+e}(r);do{}while((o=Cn(t,n,i,e))=this._maxSize&&0>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===i?parseInt(n.slice(4),16)/15:1),ki(t,e),e):void Ti(e,0,0,0,1):7===i||9===i?0<=(r=parseInt(n.slice(1,7),16))&&r<=16777215?(Ti(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===i?parseInt(n.slice(7),16)/255:1),ki(t,e),e):void Ti(e,0,0,0,1):void 0;var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===i){var i=n.substr(0,r),a=n.substr(r+1,o-(r+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?Ti(e,+a[0],+a[1],+a[2],1):Ti(e,0,0,0,1);s=wi(a.pop());case"rgb":return 3<=a.length?(Ti(e,bi(a[0]),bi(a[1]),bi(a[2]),3===a.length?s:wi(a[3])),ki(t,e),e):void Ti(e,0,0,0,1);case"hsla":return 4!==a.length?void Ti(e,0,0,0,1):(a[3]=wi(a[3]),Li(a,e),ki(t,e),e);case"hsl":return 3!==a.length?void Ti(e,0,0,0,1):(Li(a,e),ki(t,e),e);default:return}}Ti(e,0,0,0,1)}}function Li(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=wi(t[1]),r=wi(t[2]),i=r<=.5?r*(i+1):r+i-r*i,r=2*r-i;return Ti(e=e||[],_i(255*Si(r,i,n+1/3)),_i(255*Si(r,i,n)),_i(255*Si(r,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Pi(t,e){var n=Ai(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255e);g++);g=f(g-1,h-2)}i=u[g+1],n=u[g]}n&&i&&(this._lastFr=g,this._lastFrP=e,d=i.percent-n.percent,r=0==d?1:f((e-n.percent)/d,1),i.easingFunc&&(r=i.easingFunc(r)),f=a?this._additiveValue:p?$i:t[c],(Ki(l)||p)&&(f=f||(this._additiveValue=[])),this.discrete?t[c]=(r<1?n:i).rawValue:Ki(l)?(1===l?Ui:function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;athis._sleepAfterStill)&&this.animation.stop()},mo.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},mo.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},mo.prototype.refreshHover=function(){this._needsRefreshHover=!0},mo.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},mo.prototype.resize=function(t){this._disposed||(this.painter.resize((t=t||{}).width,t.height),this.handler.resize())},mo.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},mo.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},mo.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},mo.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},mo.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},mo.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},mo.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},mo.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},mo.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;el&&(l=s[h],u=h);++o[u],s[u]=0,++a}return V(o,function(t){return t/i})}function Ro(t){var e=2*Math.PI;return(t%e+e)%e}function No(t){return-1e-4=n.maxIterations){e+=n.ellipsis;break}var s=0===a?function(t,e,n){for(var i=0,r=0,o=t.length;rh){C=o.lines.length;0i.width&&(o=e.split("\n"),c=!0),i.accumWidth=s):(s=Ga(e,t,i.width,i.breakAll,i.accumWidth),i.accumWidth=s.accumWidth+n,a=s.linesWidths,o=s.lines)),o=o||e.split("\n"),Fr(t)),d=0;dthis._ux||i>this._uy;return this.addData(fs.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r?(this._xi=t,this._yi=e,this._pendingPtDist=0):(r=n*n+i*i)>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=r),this},r.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(fs.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(fs.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},r.prototype.arc=function(t,e,n,i,r,o){return this._drawPendingPt(),ks[0]=i,ks[1]=r,Ls(ks,o),this.addData(fs.A,t,e,n,n,i=ks[0],(r=ks[1])-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Ss(r)*n+t,this._yi=Ms(r)*n+e,this},r.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},r.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(fs.R,t,e,n,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(fs.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!Ds||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;hn||Ts(y)>i||c===e-1)&&(f=Math.sqrt(C*C+y*y),r=g,o=_);break;case fs.C:var m=t[c++],v=t[c++],g=t[c++],_=t[c++],x=t[c++],b=t[c++],f=function(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){var f=d*p,g=Qn(t,n,r,a,f),f=Qn(e,i,o,s,f),y=g-u,m=f-h;c+=Math.sqrt(y*y+m*m),u=g,h=f}return c}(r,o,m,v,g,_,x,b,10),r=x,o=b;break;case fs.Q:f=function(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=ri(t,n,r,p),p=ri(e,i,o,p),f=d-s,g=p-l;u+=Math.sqrt(f*f+g*g),s=d,l=p}return u}(r,o,m=t[c++],v=t[c++],g=t[c++],_=t[c++],10),r=g,o=_;break;case fs.A:var x=t[c++],b=t[c++],w=t[c++],S=t[c++],M=t[c++],T=t[c++],I=T+M;c+=1,d&&(a=Ss(M)*w+x,s=Ms(M)*S+b),f=ws(w,S)*bs(Cs,Math.abs(T)),r=Ss(I)*w+x,o=Ms(I)*S+b;break;case fs.R:a=r=t[c++],s=o=t[c++];f=2*t[c++]+2*t[c++];break;case fs.Z:var C=a-r,y=s-o;f=Math.sqrt(C*C+y*y),r=a,o=s}0<=f&&(u+=l[h++]=f)}return this._pathLen=u},r.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h=this.data,E=this._ux,z=this._uy,B=this._len,c=e<1,p=0,d=0,f=0;if(!c||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=e*this._pathLen))t:for(var g=0;g=Gs[i=0]+t&&a<=Gs[1]+t?h:0;rMath.PI/2&&c<1.5*Math.PI?-h:h)}return l}(y,m,_,x,x+b,w,T,r);u=Math.cos(x+b)*v+y,h=Math.sin(x+b)*_+m;break;case Bs.R:c=u=a[d++],p=h=a[d++];if(S=c+a[d++],M=p+a[d++],n){if(Os(c,p,S,p,e,i,r)||Os(S,p,S,M,e,i,r)||Os(S,M,c,M,e,i,r)||Os(c,M,c,p,e,i,r))return!0}else l=(l+=zs(S,p,S,M,i,r))+zs(c,M,c,p,i,r);break;case Bs.Z:if(n){if(Os(u,h,c,p,e,i,r))return!0}else l+=zs(u,h,c,p,i,r);u=c,h=p}}return n||(t=h,o=p,Math.abs(t-o)n,i=(r=r.slice(0,n)).length*c),t&&u&&null!=f)for(var y=Oa(f,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;vhc.len()&&(sTo(i[1])?0':'':{renderMode:r,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function Ad(t,e){return e=e||"transparent",G(t)?t:E(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Ld(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location.href=t):window.open(t,e)}var Pd={},Od={},Rd=(Nd.prototype.create=function(i,r){function t(t){var n=[];return B(t,function(t,e){t=t.create(i,r);n=n.concat(t||[])}),n}this._nonSeriesBoxMasterList=t(Pd),this._normalMasterList=t(Od)},Nd.prototype.update=function(e,n){B(this._normalMasterList,function(t){t.update&&t.update(e,n)})},Nd.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},Nd.register=function(t,e){"matrix"===t||"calendar"===t?Pd[t]=e:Od[t]=e},Nd.get=function(t){return Od[t]||Pd[t]},Nd);function Nd(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}var Ed={coord:1,coord2:2};var zd=O();var Bd={none:0,dataCoordSys:1,boxCoordSys:2};function Vd(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=Bd.none;return e&&(t="series"===t.mainType,"data"===(n=null==n?t?"data":"box":n)?(i=Bd.dataCoordSys,t||(i=Bd.none)):"box"===n&&(i=Bd.boxCoordSys,t||Pd[e]||(i=Bd.none))),{coordSysType:e,kind:i}}function Fd(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,r=t.isDefaultDataCoordSys,t=(t.allowNotFound,Vd(e)),o=t.kind,t=t.coordSysType;r&&o!==Bd.dataCoordSys&&(o=Bd.dataCoordSys,t=n),o!==Bd.none&&t===n&&(r=i(n,e))&&(o===Bd.dataCoordSys?e.coordinateSystem=r:e.boxCoordinateSystem=r)}var Gd=B,Hd=["left","right","top","bottom","width","height"],Wd=[["width","left","right"],["height","top","bottom"]];function Ud(a,s,l,u,h){var c=0,p=0,d=(null==u&&(u=1/0),null==h&&(h=1/0),0);s.eachChild(function(t,e){var n,i,r,o=t.getBoundingRect(),e=s.childAt(e+1),e=e&&e.getBoundingRect();d="horizontal"===a?(i=o.width+(e?-e.x+o.x:0),u<(n=c+i)||t.newline?(c=0,n=i,p+=d+l,o.height):Math.max(d,o.height)):(i=o.height+(e?-e.y+o.y:0),h<(r=p+i)||t.newline?(c+=d+l,p=0,r=i,o.width):Math.max(d,o.width)),t.newline||(t.x=c,t.y=p,t.markRedraw(),"horizontal"===a?c=n+l:p=r+l)})}var Xd=Ud;function Yd(t,e){r=Kd(o=t,n=e,{enableLayoutOnlyByCenter:!0}),i=o.getBoxLayoutParams(),r.type===qd?(s=r.refPoint,a=Zd(i,{width:n.getWidth(),height:n.getHeight()})):(o=F(n=o.get("center"))?n:[n,n],a=Zd(i,r.refContainer),s=r.boxCoordFrom===Ed.coord2?r.refPoint:[Y(o[0],a.width)+a.x,Y(o[1],a.height)+a.y]);var n={viewRect:a,center:s},i=n.viewRect,r=n.center,o=t.get("radius"),a=(F(o)||(o=[0,o]),Y(i.width,e.getWidth())),s=Y(i.height,e.getHeight()),n=Math.min(a,s),t=Y(o[0],n/2),e=Y(o[1],n/2);return{cx:r[0],cy:r[1],r0:t,r:e,viewRect:i}}function Zd(t,e,n){n=Md(n||0);var i=e.width,r=e.height,o=Y(t.left,i),a=Y(t.top,r),s=Y(t.right,i),l=Y(t.bottom,r),u=Y(t.width,i),h=Y(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(i/re)return t[i];return t[n-1]}var Ef,zf="\0_ec_inner",Bf=(u(Vf,Ef=Rp),Vf.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Rp(i),this._locale=new Rp(r),this._optionManager=o},Vf.prototype.setOption=function(t,e,n){e=Hf(e);this._optionManager.setOption(t,n,e),this._resetOption(null,e)},Vf.prototype.resetOption=function(t,e){return this._resetOption(t,Hf(e))},Vf.prototype._resetOption=function(t,e){var n,i=!1,r=this._optionManager;return t&&"recreate"!==t||(n=r.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(n,e)):Lf(this,n),i=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(n=r.getTimelineOption(this))&&(i=!0,this._mergeOption(n,e)),t&&"recreate"!==t&&"media"!==t||(n=r.getMediaOption(this)).length&&B(n,function(t){i=!0,this._mergeOption(t,e)},this),i},Vf.prototype.mergeOption=function(t){this._mergeOption(t,null)},Vf.prototype._mergeOption=function(i,t){var r=this.option,h=this._componentsMap,c=this._componentsCount,n=[],o=O(),p=t&&t.replaceMergeMainTypeMap;wf(this).datasetMap=O(),B(i,function(t,e){null!=t&&(g.hasClass(e)?e&&(n.push(e),o.set(e,!0)):r[e]=null==r[e]?v(t):d(r[e],t,!0))}),p&&p.each(function(t,e){g.hasClass(e)&&!o.get(e)&&(n.push(e),o.set(e,!0))}),g.topologicalTravel(n,g.getAllClassMainTypes(),function(o){var a,t=function(t,e,n){return(e=(e=Df.get(e))&&e(t))?n.concat(e):n}(this,o,Zo(i[o])),e=h.get(o),n=e?p&&p.get(o)?"replaceMerge":"normalMerge":"replaceAll",e=$o(e,t,n),s=(ia(e,o,g),r[o]=null,h.set(o,null),c.set(o,0),[]),l=[],u=0;B(e,function(t,e){var n=t.existing,i=t.newOption;if(i){var r=g.getClass(o,t.keyInfo.subType,!("series"===o));if(!r)return;if("tooltip"===o){if(a)return;a=!0}n&&n.constructor===r?(n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1)):(e=P({componentIndex:e},t.keyInfo),P(n=new r(i,this,this,e),e),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0))}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(s.push(n.option),l.push(n),u++):(s.push(void 0),l.push(void 0))},this),r[o]=s,h.set(o,l),c.set(o,u),"series"===o&&kf(this)},this),this._seriesIndices||kf(this)},Vf.prototype.getOption=function(){var a=v(this.option);return B(a,function(t,e){if(g.hasClass(e)){for(var n=Zo(t),i=n.length,r=!1,o=i-1;0<=o;o--)n[o]&&!na(n[o])?r=!0:(n[o]=null,r||i--);n.length=i,a[e]=n}}),delete a[zf],a},Vf.prototype.setTheme=function(t){this._theme=new Rp(t),this._resetOption("recreate",null)},Vf.prototype.getTheme=function(){return this._theme},Vf.prototype.getLocaleModel=function(){return this._locale},Vf.prototype.setUpdatePayload=function(t){this._payload=t},Vf.prototype.getUpdatePayload=function(){return this._payload},Vf.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){t=n[e||0];if(t)return t;if(null==e)for(var i=0;ig[1]&&(g[1]=f)}return{start:a,end:this._rawCount=this._count=s}},l.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=V(o,function(t){return t.property}),u=0;uf[1]&&(f[1]=g)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},l.prototype.count=function(){return this._count},l.prototype.get=function(t,e){return 0<=e&&e=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}}return-1},l.prototype.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array)for(var i=new e(n),r=0;rt[S][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(f))}return sy[1]&&(y[1]=g)}}}},l.prototype.lttbDownSample=function(t,e){var n,i=this.clone([t],!0),r=i._chunks[t],o=this.count(),a=0,s=Math.floor(1/e),l=this.getRawIndex(0),u=new(Iy(this._rawCount))(Math.min(2*(Math.ceil(o/s)+2),o));u[a++]=l;for(var h=1;hh[1]&&(h[1]=y),c[p++]=m}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},l.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r'+Se(u)+""+h,t))}function Xy(t,e,n,i){var r,o,a,s,l,u=t.renderMode,h=e.noName,c=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return V(t=F(t)?t:[t],function(t,e){return Td(t,F(o)?o[e]:o,f)})};if(!h||!c)return r=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||_.color.secondary,u),d=h?"":Td(d,"ordinal",f),o=e.valueType,g=c?[]:g(e.value,e.dataIndex),e=!p||!h,a=!p&&h,l=By(i,u),s=l.nameStyle,l=l.valueStyle,"richText"===u?(p?"":r)+(h?"":jy(t,d,s))+(c?"":function(t,e,n,i,r){r=[r],i=i?10:20;return n&&r.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(F(e)?e.join(" "):e,r)}(t,g,e,a,l)):Zy(i,(p?"":r)+(h?"":''+Se(d)+"")+(c?"":function(t,e,n,i){n=n?"10px":"20px",e=e?"float:right;margin-left:"+n:"";return t=F(t)?t:[t],''+V(t,Se).join("  ")+""}(g,e,a,l)),n)}function Yy(t,e,n,i,r,o){if(t)return Wy(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Zy(t,e,n){return'
    '+e+'
    '}function jy(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function qy(t,e){return Ad(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Ky(t,e){t=t.get("padding");return null!=t?t:"richText"===e?[8,10]:10}Qy.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},Qy.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,e=kd({color:e,type:t,renderMode:n,markerId:i});return G(e)?e:(this.richTextStyles[i]=e.style,e.content)},Qy.prototype.wrapRichTextStyle=function(t,e){var n={},e=(F(e)?B(e,function(t){return P(n,t)}):P(n,e),this._generateStyleName());return this.richTextStyles[e]=n,"{"+e+"|"+t+"}"};var $y=Qy;function Qy(){this.richTextStyles={},this._nextStyleNameId=Wo()}function Jy(t){var e,n,i,r,o,a,s,l,u,h,c,p=t.series,d=t.dataIndex,t=t.multipleSeries,f=p.getData(),g=f.mapDimensionsAll("defaultedTooltip"),y=g.length,m=p.getRawValue(d),v=F(m),_=qy(p,d);function x(t,e){e=s.getDimensionInfo(e);e&&!1!==e.otherDims.tooltip&&(l?c.push(Gy("nameValue",{markerType:"subItem",markerColor:a,name:e.displayName,value:t,valueType:e.type})):(u.push(t),h.push(e.type)))}1this.getShallow("animationThreshold")?!1:t)},o.prototype.restoreData=function(){this.dataTask.dirty()},o.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel;return Of.prototype.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},o.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},o.prototype.getProgressive=function(){return this.get("progressive")},o.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},o.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},o.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var o=0;oe.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function lm(e,n){B(Nt(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(t){e.wrapMethod(t,S(um,n))})}function um(t,e){t=hm(t);return t&&t.setOutputEnd((e||this).count()),e}function hm(t){var e,n=(t.ecModel||{}).scheduler,n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}st(im,Gg),st(im,Of),va(im,g);pm.prototype.init=function(t,e){},pm.prototype.render=function(t,e,n,i){},pm.prototype.dispose=function(t,e){},pm.prototype.updateView=function(t,e,n,i){},pm.prototype.updateLayout=function(t,e,n,i){},pm.prototype.updateVisual=function(t,e,n,i){},pm.prototype.toggleBlurSeries=function(t,e,n){},pm.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)};var cm=pm;function pm(){this.group=new ho,this.uid=zp("viewComponent")}function dm(){var o=i();return function(t){var e=o(t),t=t.pipelineContext,n=!!e.large,i=!!e.progressiveRender,r=e.large=!(!t||!t.large),e=e.progressiveRender=!(!t||!t.progressiveRender);return!(n==r&&i==e)&&"reset"}}ma(cm),wa(cm);var fm=i(),gm=dm(),ym=(mm.prototype.init=function(t,e){},mm.prototype.render=function(t,e,n,i){},mm.prototype.highlight=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"emphasis")},mm.prototype.downplay=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"normal")},mm.prototype.remove=function(t,e){this.group.removeAll()},mm.prototype.dispose=function(t,e){},mm.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.eachRendered=function(t){Jc(this.group,t)},mm.markUpdateMethod=function(t,e){fm(t).updateMethod=e},mm.protoInitialize=void(mm.prototype.type="chart"),mm);function mm(){this.group=new ho,this.uid=zp("viewChart"),this.renderTask=Ug({plan:xm,reset:bm}),this.renderTask.context={view:this}}function vm(t,e,n){t&&Iu(t)&&("emphasis"===e?lu:uu)(t,n)}function _m(e,t,n){var i,r=ra(e,t),o=t&&null!=t.highlightKey?(t=t.highlightKey,i=null==(i=Pl[t])&&Ll<=32?Pl[t]=Ll++:i):null;null!=r?B(Zo(r),function(t){vm(e.getItemGraphicEl(t),n,o)}):e.eachItemGraphicEl(function(t){vm(t,n,o)})}function xm(t){return gm(t.model)}function bm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,t=t.view,a=r&&fm(r).updateMethod,o=o?"incrementalPrepareRender":a&&t[a]?a:"render";return"render"!==o&&t[o](e,n,i,r),wm[o]}ma(ym),wa(ym);var wm={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Sm="\0__throttleOriginMethod",Mm="\0__throttleRate",Tm="\0__throttleType";function Im(t,r,o){var a,s,l,u,h,c=0,p=0,d=null;function f(){p=(new Date).getTime(),d=null,t.apply(l,u||[])}r=r||0;function e(){for(var t=[],e=0;en.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},zm.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},zm.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,r=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:r}},zm.prototype.restorePipelines=function(t){var i=this,r=i._pipelineMap=O();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;r.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),i._pipe(t,t.dataTask)})},zm.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.api.getModel(),r=this.api;B(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,{});Tt(!(t.reset&&t.overallReset),""),t.reset&&this._createSeriesStageTask(t,e,i,r),t.overallReset&&this._createOverallStageTask(t,e,i,r)},this)},zm.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},zm.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},zm.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},zm.prototype._performStageTasks=function(t,s,l,u){u=u||{};var h=!1,c=this;function p(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}B(t,function(i,t){var e,n,r,o,a;u.visualType&&u.visualType!==i.visualType||(e=(n=c._stageTaskMap.get(i.uid)).seriesTaskMap,(n=n.overallTask)?((o=n.agentStubMap).each(function(t){p(u,t)&&(t.dirty(),r=!0)}),r&&n.dirty(),c.updatePayload(n,l),a=c.getPerformArgs(n,u.block),o.each(function(t){t.perform(a)}),n.perform(a)&&(h=!0)):e&&e.each(function(t,e){p(u,t)&&t.dirty();var n=c.getPerformArgs(t,u.block);n.skip=!i.performRawSeries&&s.isSeriesFiltered(t.context.model),c.updatePayload(t,l),t.perform(n)&&(h=!0)}))}),this.unfinished=h||this.unfinished},zm.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},zm.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})},zm.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},zm.prototype._createSeriesStageTask=function(n,t,i,r){var o=this,a=t.seriesTaskMap,s=t.seriesTaskMap=O(),t=n.seriesType,e=n.getTargetSeries;function l(t){var e=t.uid,e=s.set(e,a&&a.get(e)||Ug({plan:Hm,reset:Wm,count:Ym}));e.context={model:t,ecModel:i,api:r,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:o},o._pipe(t,e)}n.createOnAllSeries?i.eachRawSeries(l):t?i.eachRawSeriesByType(t,l):e&&e(i,r).each(l)},zm.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Ug({reset:Bm}),a=(o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r},o.agentStubMap),s=o.agentStubMap=O(),e=t.seriesType,l=t.getTargetSeries,u=!0,h=!1;function c(t){var e=t.uid,e=s.set(e,a&&a.get(e)||(h=!0,Ug({reset:Vm,onDirty:Gm})));e.context={model:t,overallProgress:u},e.agent=o,e.__block=u,r._pipe(t,e)}Tt(!t.createOnAllSeries,""),e?n.eachRawSeriesByType(e,c):l?l(n,i).each(c):(u=!1,B(n.getSeries(),c)),h&&o.dirty()},zm.prototype._pipe=function(t,e){t=t.uid,t=this._pipelineMap.get(t);t.head||(t.head=e),t.tail&&t.tail.pipe(e),(t.tail=e).__idxInPipeline=t.count++,e.__pipeline=t},zm.wrapStageHandler=function(t,e){return(t=N(t)?{overallReset:t,seriesType:function(t){Zm=null;try{t(jm,qm)}catch(t){}return Zm}(t)}:t).uid=zp("stageHandler"),e&&(t.visualType=e),t};var Em=zm;function zm(t,e,n,i){this._stageTaskMap=O(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}function Bm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Vm(t){return t.overallProgress&&Fm}function Fm(){this.agent.dirty(),this.getDownstream().dirty()}function Gm(){this.agent&&this.agent.dirty()}function Hm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Wm(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=Zo(t.reset(t.model,t.ecModel,t.api,t.payload));return 1'+t.dom+""}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()):(i.connectedBackgroundColor&&f.add(new dl({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),B(p,function(t){t=new rl({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),d.toDataURL("image/"+(i&&i.type||"png")))):this.getDataURL(i);this.id},h.prototype.convertToPixel=function(t,e,n){return fv(this,"convertToPixel",t,e,n)},h.prototype.convertToLayout=function(t,e,n){return fv(this,"convertToLayout",t,e,n)},h.prototype.convertFromPixel=function(t,e,n){return fv(this,"convertFromPixel",t,e,n)},h.prototype.containPixel=function(t,i){var r;if(!this._disposed)return B(aa(this._model,t),function(t,n){0<=n.indexOf("Models")&&B(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?r=r||!!e.containPoint(i):"seriesModels"===n&&(e=this._chartsMap[t.__viewId])&&e.containPoint&&(r=r||e.containPoint(i,t))},this)},this),!!r;this.id},h.prototype.getVisual=function(t,e){var t=aa(this._model,t,{defaultMainType:"series"}),n=t.seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;if(null==t)return n0(n,e);var i=n,r=t,o=e;switch(o){case"color":return i.getItemVisual(r,"style")[i.getVisual("drawType")];case"opacity":return i.getItemVisual(r,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return i.getItemVisual(r,o)}},h.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},h.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},h.prototype._initEvents=function(){var n,i,s=this,r=(B(Ev,function(a){function t(t){var n,e,i,r=s.getModel(),o=t.target;"globalout"===a?n={}:o&&o0(o,function(t){var e,t=Z(t);return t&&null!=t.dataIndex?(e=t.dataModel||r.getSeriesByIndex(t.seriesIndex),n=e&&e.getDataParams(t.dataIndex,t.dataType,o)||{},1):t.eventData&&(n=P({},t.eventData),1)},!0),n&&(e=n.componentType,i=n.componentIndex,"markLine"!==e&&"markPoint"!==e&&"markArea"!==e||(e="series",i=n.seriesIndex),i=(e=e&&null!=i&&r.getComponent(e,i))&&s["series"===e.mainType?"_chartsMap":"_componentsMap"][e.__viewId],n.event=t,n.type=a,s._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:e,view:i},s.trigger(a,n))}t.zrEventfulCallAtLast=!0,s._zr.on(a,t,s)}),this._messageCenter);B(Vv,function(t,e){r.on(e,function(t){s.trigger(e,t)})}),i=(n=this)._api,r.on("selectchanged",function(t){var e=i.getModel();t.isFromClick?(r0("map","selectchanged",n,e,t),r0("pie","selectchanged",n,e,t)):"select"===t.fromAction?(r0("map","selected",n,e,t),r0("pie","selected",n,e,t)):"unselect"===t.fromAction&&(r0("map","unselected",n,e,t),r0("pie","unselected",n,e,t))})},h.prototype.isDisposed=function(){return this._disposed},h.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},h.prototype.dispose=function(){var t,e,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&ha(this.getDom(),qv,""),e=(t=this)._api,n=t._model,B(t._componentsViews,function(t){t.dispose(n,e)}),B(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Xv[t.id])},h.prototype.resize=function(t){if(!this[Q0])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var e=e.resetOption("media"),n=t&&t.silent;this[tv]&&(null==n&&(n=this[tv].silent),e=!0,this[tv]=null),this[Q0]=!0,Dv(this);try{e&&hv(this),dv.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this[Q0]=!1,t}this[Q0]=!1,mv.call(this,n),vv.call(this,n)}}},h.prototype.showLoading=function(t,e){this._disposed?this.id:(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Uv[t]&&(t=Uv[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},h.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},h.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=Bv[t.type],e},h.prototype.dispatchAction=function(t,e){var n;this._disposed?this.id:(E(e)||(e={silent:!!e}),zv[t.type]&&this._model&&(this[Q0]?this._pendingActions.push(t):(n=e.silent,yv.call(this,t,n),(t=e.flush)?this._zr.flush():!1!==t&&w.browser.weChat&&this._throttledZrFlush(),mv.call(this,n),vv.call(this,n))))},h.prototype.updateLabelLayout=function(){K0.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},h.prototype.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp())},h.internalField=(hv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cv(t,!0),cv(t,!1),e.plan()},cv=function(t,r){for(var o=t._model,a=t._scheduler,s=r?t._componentsViews:t._chartsViews,l=r?t._componentsMap:t._chartsMap,u=t._zr,h=t._api,e=0;es.get("hoverLayerThreshold")&&!w.node&&!w.worker&&s.eachSeries(function(t){t.preventUsingHoverLayer||(t=i._chartsMap[t.__viewId]).__alive&&t.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}),K0.trigger("series:afterupdate",t,e,n)},Iv=function(t){t[ev]=!0,t.getZr().wakeUp()},Dv=function(t){t[J0]=(t[J0]+1)%1e3},Cv=function(t){t[ev]&&(t.getZr().storage.traverse(function(t){xc(t)||Pv(t)}),t[ev]=!1)},Mv=function(n){return u(t,e=Wf),t.prototype.getCoordinateSystems=function(){return n._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return n._model.getComponent(e.mainType,e.index);t=t.parent}},t.prototype.enterEmphasis=function(t,e){lu(t,e),Iv(n)},t.prototype.leaveEmphasis=function(t,e){uu(t,e),Iv(n)},t.prototype.enterBlur=function(t){hu(t),Iv(n)},t.prototype.leaveBlur=function(t){cu(t),Iv(n)},t.prototype.enterSelect=function(t){pu(t),Iv(n)},t.prototype.leaveSelect=function(t){du(t),Iv(n)},t.prototype.getModel=function(){return n.getModel()},t.prototype.getViewOfComponentModel=function(t){return n.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return n.getViewOfSeriesModel(t)},t.prototype.getMainProcessVersion=function(){return n[J0]},new t(n);function t(){return null!==e&&e.apply(this,arguments)||this}var e},void(Tv=function(i){function r(t,e){for(var n=0;nr[1]&&(r[0]=r[1]),o}function tx(t){var e=Math.pow(10,Vo(t)),t=t/e;return t?2===t?t=3:3===t?t=5:t*=2:t=1,Do(t*e)}function ex(t){return Ao(t)+2}function nx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function ix(t,e){return t>=e[0]&&t<=e[1]}ox.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=I(t.normalize,t),this.scale=I(t.scale,t)):(this.normalize=ax,this.scale=sx)};var rx=ox;function ox(){this.normalize=ax,this.scale=sx}function ax(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function sx(t,e){return t*(e[1]-e[0])+e[0]}function lx(t,e,n){t=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/t,Math.log(n?e[1]:Math.max(0,e[1]))/t]}hx.prototype.getSetting=function(t){return this._setting[t]},hx.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent((t[0]e[1]?t:e)[1])},hx.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},hx.prototype.getExtent=function(){return this._extent.slice()},hx.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},hx.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},hx.prototype.setBreaksFromOption=function(t){},hx.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},hx.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},hx.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},hx.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},hx.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},hx.prototype.isBlank=function(){return this._isBlank},hx.prototype.setBlank=function(t){this._isBlank=t};var ux=hx;function hx(t){this._calculator=new rx,this._setting=t||{},this._extent=[1/0,-1/0]}wa(ux);var cx=0,px=(dx.createByAxisModel=function(t){var t=t.option,e=t.data,e=e&&V(e,fx);return new dx({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},dx.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},dx.prototype.parseAndCollect=function(t){var e,n,i=this._needCollect;return G(t)||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n)):null==(n=(e=this._getOrCreateMap()).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n):t},dx.prototype._getOrCreateMap=function(){return this._map||(this._map=O(this.categories))},dx);function dx(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cx,this._onCollect=t.onCollect}function fx(t){return E(t)&&null!=t.value?t.value:t+""}u(mx,gx=ux),mx.prototype.parse=function(t){return null==t?NaN:G(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},mx.prototype.contain=function(t){return ix(t,this._extent)&&0<=t&&t=t},mx.prototype.getOrdinalMeta=function(){return this._ordinalMeta},mx.prototype.calcNiceTicks=function(){},mx.prototype.calcNiceExtent=function(){},mx.type="ordinal";var gx,yx=mx;function mx(t){var t=gx.call(this,t)||this,e=(t.type="ordinal",t.getSetting("ordinalMeta"));return F(e=e||new px({}))&&(e=new px({categories:V(e,function(t){return E(t)?t.value:t})})),t._ordinalMeta=e,t._extent=t.getSetting("extent")||[0,e.categories.length-1],t}ux.registerClass(yx);var vx,_x=Do,xx=(u(bx,vx=ux),bx.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},bx.prototype.contain=function(t){return ix(t,this._extent)},bx.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},bx.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},bx.prototype.getInterval=function(){return this._interval},bx.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=ex(t)},bx.prototype.getTicks=function(t){t=t||{};var n=this._interval,e=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=Yp,a=[];if(n)if("only_break"===t.breakTicks&&o)o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent);else{e[0]h&&(t.expandToNicedExtent?a.push({value:_x(h+n,r)}):a.push({value:e[1]})),"none"!==t.breakTicks&&o&&o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent)}return a},bx.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),r=1;ri[0]&&cx));)g[r](g[i]()+t),f=g.getTime(),y&&0<(p=y.calcNiceTickMultiple(f,d))&&(g[r](g[i]()+p*t),f=g.getTime());a.push({value:f,notAdd:!0})}function i(t,e,n){var i,r,o,a,s=[],l=!e.length;if(i=od(t),r=_[0],o=_[1],a=v,ld(new Date(r),i,a).getTime()!==ld(new Date(o),i,a).getTime()){l&&(e=[{value:function(t,e,n){e=Math.max(0,D(ed,e)-1);return ld(new Date(t),ed[e],n).getTime()}(_[0],t,v)},{value:_[1]}]);for(var u,h,c=0;c=_[0]&&p<=_[1]&&w(f,p,d,g,y,0,s),"year"===t&&1=_[0]&&d<=_[1]&&a++)}u=e/m;if(1.5*u=_[0]&&t.value<=_[1]&&!t.notAdd})}),function(t){return 0n&&(this._approxInterval=n),Bx.length),t=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);i.push([(r=s+=r)/n,(o=l+=o)/n])}return i}function P1(t,o){var e,n,r;return V(ht((t=(e=t).UTF8Encoding?(null==(r=(n=e).UTF8Scale)&&(r=1024),B(n.features,function(t){var e=t.geometry,n=e.encodeOffsets,i=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=L1(i,n,r);break;case"Polygon":case"MultiLineString":A1(i,n,r);break;case"MultiPolygon":B(i,function(t,e){return A1(t,n[e],r)})}}),n.UTF8Encoding=!1,n):e).features,function(t){return t.geometry&&t.properties&&0=e[0]&&t<=e[1]}),function(t){var e={value:t};return{formattedLabel:i(e),rawLabel:n.scale.getLabel(e),tickValue:t,time:void 0,break:void 0}})}):"category"===n.type?(s=t,a=(t=n).getLabelModel(),s=F1(t,a,s),!a.get("show")||t.scale.isBlank()?{labels:[]}:s):(a=(r=n).scale.getTicks(),o=i1(r),{labels:V(a,function(t,e){return{formattedLabel:o(t,e),rawLabel:r.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function V1(t,e,n){var i,r,o,a,s,l,u=t.getTickModel().get("customValues");return u?(i=t.scale.getExtent(),{ticks:ht(z1(t,u),function(t){return t>=i[0]&&t<=i[1]})}):"category"===t.type?(u=e,a=G1(e=t),s=o1(u),(l=U1(a,s))||(u.get("show")&&!e.scale.isBlank()||(r=[]),r=N(s)?q1(e,s,!0):"auto"===s?(l=F1(e,e.getLabelModel(),E1(N1.determine)),o=l.labelCategoryInterval,V(l.labels,function(t){return t.tickValue})):j1(e,o=s,!0),X1(a,s,{ticks:r,tickCategoryInterval:o}))):{ticks:V(t.scale.getTicks(n),function(t){return t.value})}}function F1(t,e,n){var i,r=H1(t),o=o1(e),e=n.kind===N1.estimate;if(!e){var a=U1(r,o);if(a)return a}var s={labels:N(o)?q1(t,o):j1(t,i="auto"===o?function(t,e){{var n;if(e.kind===N1.estimate)return n=t.calculateCategoryInterval(e),e.out.noPxChangeTryDetermine.push(function(){return R1(t).autoInterval=n,!0}),n}var i=R1(t).autoInterval;return null!=i?i:R1(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):o),labelCategoryInterval:i};return e?n.out.noPxChangeTryDetermine.push(function(){return X1(r,o,s),!0}):X1(r,o,s),s}var G1=W1("axisTick"),H1=W1("axisLabel");function W1(e){return function(t){return R1(t)[e]||(R1(t)[e]={list:[]})}}function U1(t,e){for(var n=0;nl[1],h(n[0].coord,l[0])&&(t?n[0].coord=l[0]:n.shift()),t&&h(l[0],n[0].coord)&&n.unshift({coord:l[0],onBand:!0}),h(l[1],i.coord)&&(t?i.coord=l[1]:n.pop()),t)&&h(i.coord,l[1])&&n.push({coord:l[1],onBand:!0}),u},$1.prototype.getMinorTicksCoords=function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),V(this.scale.getMinorTicks(t=0=u}}for(var o,a=this.__startIndex;ar[0]){for(l=0;lt);l++);s=i[r[l]]}r.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(e.dom,n.nextSibling):a.appendChild(e.dom):a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom)),e.painter||(e.painter=this)}},qb.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?0<=r.height?"bottom":"top":0<=r.width?"right":"left"),h=hp(i),l=(up(t,h,{labelFetcher:o,labelDataIndex:n,defaultText:_w(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u}),t.getTextContent()),h=(s&&l&&(s=i.get(["label","position"]),t.textConfig.inside="middle"===s||null,function(t,e,n,i){if(H(i))t.setTextConfig({rotation:i});else if(F(e))t.setTextConfig({rotation:0});else{var r,i=t.shape,o=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(o+a)/2,i=n(e);switch(i){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=s;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=a;break;default:return t.setTextConfig({rotation:0})}n=1.5*Math.PI-r;"middle"===i&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),t.setTextConfig({rotation:n})}}(t,"outside"===s?u:s,zw(a),i.get(["label","rotate"]))),u=l,s=h,a=o.getRawValue(n),l=function(t){return xw(e,t)},u&&((u=mp(u)).prevValue=u.value,u.value=a,a=s.normal,u.valueAnimation=a.get("valueAnimation"),u.valueAnimation)&&(u.precision=a.get("precision"),u.defaultInterpolatedText=l,u.statesModels=s),i.getModel(["emphasis"]));bu(t,h.get("focus"),h.get("blurScope"),h.get("disabled")),Mu(t,i),null!=(o=r).startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(t.style.fill="none",t.style.stroke="none",B(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var Vw,Fw=function(){},Gw=(u(Hw,Vw=Ks),Hw.prototype.getDefaultShape=function(){return new Fw},Hw.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;le[u-1].coord&&(e.reverse(),h.reverse()),function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Ni((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;si)return;return 1}(a,e))return r=e.mapDimension(a.dim),o={},B(a.getViewLabels(),function(t){t=a.scale.getRawOrdinalNumber(t.tickValue);o[t]=1}),function(t){return!o.hasOwnProperty(e.get(r,t))}}}function CS(t){for(var e,n,i=t.length/2;0l?x:_,(g=Math.abs(d.label.y-l))>=f.maxY&&(m=d.label.x-s-d.len2*h,y=u+d.len,m=Math.abs(m)t.unconstrainedWidth)?null:s,i.setStyle("width",l)),HS(r,i))}function HS(t,e){US.rect=t,Tb(US,e,WS)}var WS={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},US={};function XS(t){return"center"===t.position}function YS(t){var S,M,T=t.getData(),I=[],C=!1,E=(t.get("minShowLabelAngle")||0)*VS,e=T.getLayout("viewRect"),D=T.getLayout("r"),k=e.width,A=e.x,n=e.y,L=e.height;function P(t){t.ignore=!0}if(T.each(function(t){var e,n,i,r,o,a,s,l,u,h,c=T.getItemGraphicEl(t),p=c.shape,d=c.getTextContent(),f=c.getTextGuideLine(),t=T.getItemModel(t),g=t.getModel("label"),y=g.get("position")||t.get(["emphasis","label","position"]),m=g.get("distanceToLabelLine"),v=g.get("alignTo"),_=Y(g.get("edgeDistance"),k),x=g.get("bleedMargin"),t=(null==x&&(x=200=e.r0},QS.type="pie";var KS,$S=QS;function QS(){var t=null!==KS&&KS.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}function JS(t,e,n){e=F(e)?{coordDimensions:e}:P({encodeDefine:t.getEncode()},e);var i=t.getSource(),e=U_(i,e).dimensions,e=new W_(e,t);return e.initData(i,n),e}eM.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},eM.prototype.containName=function(t){return 0<=this._getRawData().indexOfName(t)},eM.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},eM.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)};var tM=eM;function eM(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}var nM,iM=i(),rM=(u(oM,nM=im),oM.prototype.init=function(t){nM.prototype.init.apply(this,arguments),this.legendVisualProvider=new tM(I(this.getData,this),I(this.getRawData,this)),this._defaultLabelLine(t)},oM.prototype.mergeOption=function(){nM.prototype.mergeOption.apply(this,arguments)},oM.prototype.getInitialData=function(){return JS(this,{coordDimensions:["value"],encodeDefaulter:S(Mf,this)})},oM.prototype.getDataParams=function(t){var e,n=this.getData(),i=iM(n),r=i.seats,i=(r||(e=[],n.each(n.mapDimension("value"),function(t){e.push(t)}),r=i.seats=Oo(e,n.hostModel.get("percentPrecision"))),nM.prototype.getDataParams.call(this,t));return i.percent=r[t]||0,i.$vars.push("percent"),i},oM.prototype._defaultLabelLine=function(t){jo(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},oM.type="series.pie",oM.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},oM);function oM(){return null!==nM&&nM.apply(this,arguments)||this}Tp={fullType:rM.type,getCoord2:function(t){return t.getShallow("center")}},zd.set(Tp.fullType,{getCoord2:void 0}).getCoord2=Tp.getCoord2,g1(function(t){t.registerChartView($S),t.registerSeriesModel(rM),i0("pie",t.registerAction),t.registerLayout(S(ES,"pie")),t.registerProcessor(BS("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),e=n.get(e,t);return!(H(e)&&!isNaN(e)&&e<0)})}})});var aM=["itemStyle","borderColor"],sM=["itemStyle","borderColor0"],lM=["itemStyle","borderColorDoji"],uM=["itemStyle","color"],hM=["itemStyle","color0"];function cM(t,e){return e.get(0i[1],i="start"===e&&!t||"start"!==e&&t;e=No(n-eT/2)?(r=i?"bottom":"top","center"):No(n-1.5*eT)?(r=i?"top":"bottom","center"):(r="middle",n<1.5*eT&&eT/2l[0]&&isFinite(c)&&isFinite(l[0]);)h=tx(h),c=l[1]-h*a;else{e=(h=a "+p)),u++)}var d,f,g,i=n.get("coordinateSystem"),i=("cartesian2d"===i||"polar"===i||"matrix"===i?d=$_(t,n):(D(i=(i=Rd.get(i))&&i.dimensions||[],"value")<0&&i.concat(["value"]),i=U_(t,{coordDimensions:i,encodeDefine:n.getEncode()}).dimensions,(d=new W_(i,n)).initData(t)),new W_(["value"],n));return i.initData(l,s),r&&r(d,i),g=(f={mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:i},datasAttr:{node:"data",edge:"edgeData"}}).mainData,(n=f.datas)||(n={main:g},f.datasAttr={main:"data"}),f.datas=f.mainData=null,TC(g,n,f),B(n,function(e){B(g.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,S(xC,f))})}),g.wrapMethod("cloneShallow",S(wC,f)),B(g.CHANGABLE_METHODS,function(t){g.wrapMethod(t,S(bC,f))}),Tt(n[g.dataType]===g),o.update(),o}u(AC,DC=im),AC.prototype.init=function(t){DC.prototype.init.apply(this,arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new tM(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},AC.prototype.mergeOption=function(t){DC.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},AC.prototype.mergeDefaultAndTheme=function(t){DC.prototype.mergeDefaultAndTheme.apply(this,arguments),jo(t,"edgeLabel",["show"])},AC.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],t=t.data||t.nodes||[],o=this;if(t&&i)return FT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},GT(n)),B((n=CC(t,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=Rp.prototype.getModel;function i(t,e){t=n.call(this,t,e);return t.resolveParentPath=r,t}function r(t){var e;return!t||"label"!==t[0]&&"label"!==t[1]?t:(e=t.slice(),"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e)}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=r,t.getModel=i,t})})).edges,function(t){var e,n,i;e=t.node1,n=t.node2,i=this,t=t.dataIndex,FT(i)&&(e=HT(e,n,i),i=(n=i.__edgeMap)[WT(e)],n[e]&&!i?n[e].isForward=!0:i&&n[e]&&(i.isForward=!0,n[e].isForward=!1),n[e]=n[e]||[],n[e].push(t))},this),n.data},AC.prototype.getGraph=function(){return this.getData().graph},AC.prototype.getEdgeData=function(){return this.getGraph().edgeData},AC.prototype.getCategoriesData=function(){return this._categoriesData},AC.prototype.formatTooltip=function(t,e,n){var i,r,o;return"edge"===n?(r=this.getData(),n=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),i=r.getName(o.node1.dataIndex),r=r.getName(o.node2.dataIndex),o=[],null!=i&&o.push(i),null!=r&&o.push(r),Gy("nameValue",{name:o.join(" > "),value:n.value,noValue:null==n.value})):Jy({series:this,dataIndex:t,multipleSeries:e})},AC.prototype._updateCategoriesData=function(){var t=V(this.option.categories||[],function(t){return null!=t.value?t:P({value:0},t)}),e=new W_(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},AC.prototype.setZoom=function(t){this.option.zoom=t},AC.prototype.setCenter=function(t){this.option.center=t},AC.prototype.isAnimationEnabled=function(){return DC.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},AC.type="series.graph",AC.dependencies=["grid","polar","geo","singleAxis","calendar"],AC.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:_.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:_.color.primary}}};var DC,kC=AC;function AC(){var t=null!==DC&&DC.apply(this,arguments)||this;return t.type=AC.type,t.hasSymbolVisual=!0,t}g1(function(t){t.registerChartView(uC),t.registerSeriesModel(kC),t.registerProcessor(NT),t.registerVisual(ET),t.registerVisual(BT),t.registerLayout(KT),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,rI),t.registerLayout(aI),t.registerCoordinateSystem("graphView",{dimensions:pI.dimensions,create:yI}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Vt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Vt),t.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(s,t,l){t.eachComponent({mainType:"series",query:s},function(t){var e,n,i,r,o=l.getViewOfSeriesModel(t),o=(o&&(null!=s.dx&&null!=s.dy&&o.updateViewOnPan(t,l,s),null!=s.zoom)&&null!=s.originX&&null!=s.originY&&o.updateViewOnZoom(t,l,s),t.coordinateSystem),a=(o=o,e=s,a=t.get("scaleLimit"),n=o.getZoom(),i=o.getCenter(),r=e.zoom,i=o.projectedToPoint?o.projectedToPoint(i):o.dataToPoint(i),null!=e.dx&&null!=e.dy&&(i[0]-=e.dx,i[1]-=e.dy,o.setCenter(sI(o,i))),null!=r&&(r=uI(n*r,a)/n,lI(o,e.originX,e.originY,r),o.updateTransform(),o.setCenter(sI(o,i)),o.setZoom(r*n)),{center:o.getCenter(),zoom:o.getZoom()});t.setCenter&&t.setCenter(a.center),t.setZoom&&t.setZoom(a.zoom)})})});u(OC,LC=ym),OC.prototype.render=function(x,t,e){var b=x.getData(),w=this,S=this.group,M=x.getLayerSeries(),n=b.getLayout("layoutInfo"),i=n.rect,n=n.boundaryGap;function r(t){return t.name}S.x=0,S.y=i.y+n[0];var i=new y_(this._layersSeries||[],M,r,r),T=[];function o(t,e,n){var i=w._layers;if("remove"===t)S.remove(i[e]);else{for(var r,o=[],a=[],s=M[e].indices,l=0;le[1]&&e.reverse(),e},r2.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},r2.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)};var n2,i2=r2;function r2(t,e,n,i,r){t=n2.call(this,t,e,n)||this;return t.index=0,t.type=i||"value",t.position=r||"bottom",t}function o2(t,e,n){n=n||{};var i=e.axis,r={},o=i.getAxesOnZeroOf()[0],a=i.position,s=o?"onZero":a,i=i.dim,t=[t.x,t.x+t.width,t.y,t.y+t.height],l={left:0,right:1,top:0,bottom:1,onZero:2},u=e.get("offset")||0,u="x"===i?[t[2]-u,t[3]+u]:[t[0]-u,t[1]+u],h=(o&&(h=o.toGlobalCoord(o.dataToCoord(0)),u[l.onZero]=Math.max(Math.min(h,u[1]),u[0])),r.position=["y"===i?u[l[s]]:t[0],"x"===i?u[l[s]]:t[3]],r.rotation=Math.PI/2*("x"===i?0:1),r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,left:-1,right:1}[a],r.labelOffset=o?u[l[a]]-u[l.onZero]:0,e.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),bt(n.labelInside,e.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection),e.get(["axisLabel","rotate"]));return r.labelRotate="top"===s?-h:h,r.z2=1,r}function a2(i){var r={xAxisModel:null,yAxisModel:null};return B(r,function(t,e){var n=e.replace(/Model$/,""),n=i.getReferringComponents(n,la).models[0];r[e]=n}),r}var s2=[[3,1],[0,2]],l2=(u2.prototype.getRect=function(){return this._rect},u2.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=pt(t),i=n.length;if(i){for(var r=[],o=i-1;0<=o;o--){var a=t[+n[o]],s=a.model,l=a.scale;Q_(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(e1(l,s),Q_(l)&&(e=a))}r.length&&(e||e1((e=r.pop()).scale,e.model),B(r,function(t){LT(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};B(n.x,function(t){c2(n,"y",t,r)}),B(n.y,function(t){c2(n,"x",t,r)}),this.resize(this.model,e)},u2.prototype.resize=function(t,e,n){var i,r,o,a,s,l=Kd(t,e),u=this._rect=Zd(t.getBoxLayoutParams(),l.refContainer),h=this._axesMap,c=this._coordsList,p=t.get("containLabel");d2(h,u),n||(i=u,r=c,n=h,o=p,a=e,s=new aT(m2),B(n,function(t){return B(t,function(t){u1(t.model)&&(t.axisBuilder=function(t,e,n,i,r,o){for(var t=o2(t,n),a=!1,s=!1,l=0;lu[1]&&u.reverse(),(s=null==s||s>u[1]?u[1]:s)n||!!e&&(o=x2(t).seriesDataCount,e=r.getExtent(),Math.abs(e[0]-e[1])/o>n)):!0===i)},Z2.prototype.makeElOption=function(t,e,n,i,r){},Z2.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;r&&(r=U2(t).pointerEl=new op[r.type](X2(e.pointer)),t.add(r))},Z2.prototype.createLabelEl=function(t,e,n,i){e.label&&(e=U2(t).labelEl=new _l(X2(e.label)),t.add(e),q2(e,i))},Z2.prototype.updatePointerEl=function(t,e,n){t=U2(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},Z2.prototype.updateLabelEl=function(t,e,n,i){t=U2(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{x:e.label.x,y:e.label.y}),q2(t,i))},Z2.prototype._renderHandle=function(t){var e,n,i,r,o,a;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,r=e.getModel("handle"),a=e.get("status"),r.get("show")&&a&&"hide"!==a?(this._handle||(o=!0,i=this._handle=Yc(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Le(t.event)},onmousedown:Y2(this._onHandleDragMove,this,0,0),drift:Y2(this._onHandleDragMove,this),ondragend:Y2(this._onHandleDragEnd,this)}),n.add(i)),$2(i,e,!1),i.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),F(a=r.get("size"))||(a=[a,a]),i.scaleX=a[0]/2,i.scaleY=a[1]/2,Cm(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,o)):(i&&n.remove(i),this._handle=null))},Z2.prototype._moveHandleToValue=function(t,e){j2(this._axisPointerModel,!e&&this._moveAnimation,this._handle,K2(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},Z2.prototype._onHandleDragMove=function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(K2(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(K2(t)),U2(n).lastProp=null,this._doDispatchAxisPointer())},Z2.prototype._doDispatchAxisPointer=function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},Z2.prototype._onHandleDragEnd=function(){var t;this._dragging=!1,this._handle&&(t=this._axisPointerModel.get("value"),this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"}))},Z2.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var t=t.getZr(),e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Dm(this,"_doDispatchAxisPointer")},Z2.prototype.doClear=function(){},Z2.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},Z2);function Z2(){this._dragging=!1,this.animationThreshold=15}function j2(t,e,n,i){!function n(i,t){{var r;return E(i)&&E(t)?(r=!0,B(t,function(t,e){r=r&&n(i[e],t)}),!!r):i===t}}(U2(n).lastProp,i)&&(U2(n).lastProp=i,e?vc(n,i,t):(n.stopAnimation(),n.attr(i)))}function q2(t,e){t[e.get(["label","show"])?"show":"hide"]()}function K2(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function $2(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function Q2(t){var e,n=t.get("type"),t=t.getModel(n+"Style");return"line"===n?(e=t.getLineStyle()).fill=null:"shadow"===n&&((e=t.getAreaStyle()).stroke=null),e}function J2(t,e,n,i,r){var o=tD(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),n=n.getModel("label"),a=Md(n.get("padding")||0),s=n.getFont(),l=Xr(o,s),u=r.position,h=l.width+a[1]+a[3],l=l.height+a[0]+a[2],c=r.align,c=("right"===c&&(u[0]-=h),"center"===c&&(u[0]-=h/2),r.verticalAlign),i=("bottom"===c&&(u[1]-=l),"middle"===c&&(u[1]-=l/2),r=u,c=h,h=l,i=(l=i).getWidth(),l=l.getHeight(),r[0]=Math.min(r[0]+c,i)-c,r[1]=Math.min(r[1]+h,l)-h,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0),n.get("backgroundColor"));i&&"auto"!==i||(i=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:cp(n,{text:o,font:s,fill:n.getTextColor(),padding:a,backgroundColor:i}),z2:10}}function tD(t,e,n,i,r){t=e.scale.parse(t);var o,a=e.scale.getLabel({value:t},{precision:r.precision}),r=r.formatter;return r&&(o={value:r1(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},B(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&o.seriesData.push(e)}),G(r)?a=r.replace("{value}",a):N(r)&&(a=r(o))),a}function eD(t,e,n){var i=ze();return He(i,i,n.rotation),Ge(i,i,n.position),Gc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function nD(t,e,n,i,r,o){var a=dT.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),J2(e,i,r,o,{position:eD(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function iD(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function rD(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function oD(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}u(lD,aD=Xl),lD.prototype.makeElOption=function(t,e,n,i,r){var o,a=n.axis,s=("angle"===a.dim&&(this.animationThreshold=Math.PI/18),a.polar),l=s.getOtherAxis(a).getExtent(),u=a.dataToCoord(e),h=i.get("type"),a=(h&&"none"!==h&&(o=Q2(i),(h=hD[h](a,s,u,l)).style=o,t.graphicKey=h.type,t.pointer=h),i.get(["label","margin"]));J2(t,n,i,r,function(t,e,n,i){var r,o,a=e.axis,t=a.dataToCoord(t),s=(l=(l=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());{var l;s="radius"===a.dim?(a=ze(),He(a,a,l),Ge(a,a,[n.cx,n.cy]),r=Gc([t,-i],a),a=e.getModel("axisLabel").get("rotate")||0,e=dT.innerTextLayout(l,a*Math.PI/180,-1),o=e.textAlign,e.textVerticalAlign):(l=s[1],r=n.coordToPoint([l+i,t]),a=n.cx,e=n.cy,o=Math.abs(r[0]-a)/l<.3?"center":r[0]>a?"left":"right",Math.abs(r[1]-e)/l<.3?"middle":r[1]>e?"top":"bottom")}return{position:r,align:o,verticalAlign:s}}(e,n,s,a))};var aD,sD=lD;function lD(){return null!==aD&&aD.apply(this,arguments)||this}var uD,hD={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:iD(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:oD(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:oD(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},cD=(u(pD,uD=Xl),pD.prototype.makeElOption=function(t,e,n,i,r){var o,a=n.axis,s=a.grid,l=i.get("type"),u=dD(s,a).getOtherAxis(a).getGlobalExtent(),h=a.toGlobalCoord(a.dataToCoord(e,!0)),a=(l&&"none"!==l&&(o=Q2(i),(l=fD[l](a,h,u)).style=o,t.graphicKey=l.type,t.pointer=l),o2(s.getRect(),n));nD(e,t,a,n,i,r)},pD.prototype.getHandleTransform=function(t,e,n){var i=o2(e.axis.grid.getRect(),e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),eD(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},pD.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,r=n.grid,o=n.getGlobalExtent(!0),r=dD(r,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(o[1],a[n]),a[n]=Math.max(o[0],a[n]),(r[1]+r[0])/2),o=[e,e];o[n]=a[n];return{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:o,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}},pD);function pD(){return null!==uD&&uD.apply(this,arguments)||this}function dD(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var fD={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:iD([e,n[0]],[e,n[1]],gD(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:rD([e-i/2,n[0]],[i,r],gD(t))}}};function gD(t){return"x"===t.dim?0:1}u(vD,yD=g),vD.type="axisPointer",vD.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:_.color.border,width:1,type:"dashed"},shadowStyle:{color:_.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:_.color.neutral00,padding:[5,7,5,7],backgroundColor:_.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:_.color.accent40,throttle:40}};var yD,mD=vD;function vD(){var t=null!==yD&&yD.apply(this,arguments)||this;return t.type=vD.type,t}var _D=i(),xD=B;function bD(t,e,n){var i,c,p;function r(t,h){c.on(t,function(e){n=p;var n,i,r={dispatchAction:o,pendings:i={showTip:[],hideTip:[]}};function o(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=o,n.dispatchAction(t))}xD(_D(c).records,function(t){t&&h(t,e,r.dispatchAction)});var t,a=r.pendings,s=p,l=a.showTip.length,u=a.hideTip.length;l?t=a.showTip[l-1]:u&&(t=a.hideTip[u-1]),t&&(t.dispatchAction=null,s.dispatchAction(t))})}w.node||(i=e.getZr(),_D(i).records||(_D(i).records={}),p=e,_D(c=i).initialized||(_D(c).initialized=!0,r("click",S(SD,"click")),r("mousemove",S(SD,"mousemove")),r("globalout",wD)),(_D(i).records[t]||(_D(i).records[t]={})).handler=n)}function wD(t,e,n){t.handler("leave",null,n)}function SD(t,e,n,i){e.handler(t,n,i)}function MD(t,e){w.node||(e=e.getZr(),(_D(e).records||{})[t]&&(_D(e).records[t]=null))}u(CD,TD=cm),CD.prototype.render=function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";bD("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},CD.prototype.remove=function(t,e){MD("axisPointer",e)},CD.prototype.dispose=function(t,e){MD("axisPointer",e)},CD.type="axisPointer";var TD,ID=CD;function CD(){var t=null!==TD&&TD.apply(this,arguments)||this;return t.type=CD.type,t}function DD(t,e){var n,i,r,o,a=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||null==(s=ra(n=e.getData(),t))||s<0||F(s)?{point:[]}:(i=n.getItemGraphicEl(s),r=e.coordinateSystem,e.getTooltipPosition?a=e.getTooltipPosition(s)||[]:r&&r.dataToPoint?a=t.isStacked?(e=r.getBaseAxis(),t=r.getOtherAxis(e).dim,e=e.dim,t="x"===t||"radius"===t?1:0,e=n.mapDimension(e),(o=[])[t]=n.get(e,s),o[1-t]=n.get(n.getCalculationInfo("stackResultDimension"),s),r.dataToPoint(o)||[]):r.dataToPoint(n.getValues(V(r.dimensions,function(t){return n.mapDimension(t)}),s))||[]:i&&((e=i.getBoundingRect().clone()).applyTransform(i.transform),a=[e.x+e.width/2,e.y+e.height/2]),{point:a,el:i})}var kD=i();function AD(t,e,n){var o,a,i,s,l,r,u,h,c,p,d,f,g,y,m=t.currTrigger,v=[t.x,t.y],_=t,x=t.dispatchAction||I(n.dispatchAction,n),b=e.getComponent("axisPointer").coordSysAxesInfo;if(b)return ND(v)&&(v=DD({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},e).point),o=ND(v),a=_.axesInfo,i=b.axesInfo,s="leave"===m||ND(v),l={},e={list:[],map:{}},u={showPointer:S(PD,r={}),showTooltip:S(OD,e)},B(b.coordSysMap,function(t,e){var r=o||t.containPoint(v);B(b.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);s||!r||a&&!i||null!=(i=null!=(i=i&&i.value)||o?i:n.pointToData(v))&&LD(t,i,u,!1,l)})}),h={},B(i,function(n,t){var i=n.linkGroup;i&&!r[t]&&B(i.axesInfo,function(t,e){var e=r[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,RD(t),RD(n)))),h[n.key]=e)})}),B(h,function(t,e){LD(i[e],t,u,!0,l)}),c=r,_=i,p=l.axesInfo=[],B(_,function(t,e){var n=t.axisPointerModel.option,e=c[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&p.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),m=e,_=t,e=x,ND(t=v)||!m.list.length?e({type:"hideTip"}):(x=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:x.dataIndexInside,dataIndex:x.dataIndex,seriesIndex:x.seriesIndex,dataByCoordSys:m.list})),e=i,_=(t=n).getZr(),x="axisPointerLastHighlights",d=kD(_)[x]||{},f=kD(_)[x]={},B(e,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&B(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;f[e]=t})}),g=[],y=[],B(d,function(t,e){f[e]||y.push(t)}),B(f,function(t,e){d[e]||g.push(t)}),y.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),l}function LD(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(a=e,s=t.axis,l=s.dim,u=a,h=[],c=Number.MAX_VALUE,p=-1,B(t.seriesModels,function(e,t){var n,i=e.getData().mapDimensionsAll(l);if(e.getAxisTooltipData)var r=e.getAxisTooltipData(i,a,s),o=r.dataIndices,r=r.nestestValue;else{if(!(o=e.indicesOfNearest(l,i[0],a,"category"===s.type?.5:null)).length)return;r=e.getData().get(i[0],o[0])}null!=r&&isFinite(r)&&(i=a-r,(n=Math.abs(i))<=c)&&((ne[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var t=t-this.cx,e=e-this.cy,t=t*t+e*e,e=this.r,n=this.r0;return e!==n&&t-1e-4<=e*e&&n*n<=1e-4+t},x:this.cx-e[1],y:this.cy-e[1],width:2*e[1],height:2*e[1]}},ik.prototype.convertToPixel=function(t,e,n){return rk(e)===this?this.dataToPoint(n):null},ik.prototype.convertFromPixel=function(t,e,n){return rk(e)===this?this.pointToData(n):null},ik);function ik(t){this.dimensions=ek,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new qD,this._angleAxis=new JD,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}function rk(t){var e=t.seriesModel,t=t.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function ok(t,e){var n,i=this,r=i.getAngleAxis(),o=i.getRadiusAxis();r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){var e;t.coordinateSystem===i&&(B(s1(e=t.getData(),"radius"),function(t){o.scale.unionExtentFromData(e,t)}),B(s1(e,"angle"),function(t){r.scale.unionExtentFromData(e,t)}))}),e1(r.scale,r.model),e1(o.scale,o.model),"category"!==r.type||r.onBand||(t=r.getExtent(),n=360/r.scale.count(),r.inverse?t[1]+=n:t[1]-=n,r.setExtent(t[0],t[1]))}function ak(t,e){var n,i;t.type=e.get("type"),t.scale=n1(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse=t.inverse!==e.get("clockwise"),n=e.get("startAngle"),i=null!=(i=e.get("endAngle"))?i:n+(t.inverse?-360:360),t.setExtent(n,i)),(e.axis=t).model=e}var sk={dimensions:ek,create:function(t,a){var s=[];return t.eachComponent("polar",function(t,e){var e=new nk(e+""),n=(e.update=ok,e.getRadiusAxis()),i=e.getAngleAxis(),r=t.findAxisModel("radiusAxis"),o=t.findAxisModel("angleAxis");ak(n,r),ak(i,o),n=e,r=a,o=(i=t).get("center"),r=Kd(i,r).refContainer,n.cx=Y(o[0],r.width)+r.x,n.cy=Y(o[1],r.height)+r.y,o=n.getRadiusAxis(),n=Math.min(r.width,r.height)/2,null==(r=i.get("radius"))?r=[0,"100%"]:F(r)||(r=[0,r]),i=[Y(r[0],n),Y(r[1],n)],o.inverse?o.setExtent(i[1],i[0]):o.setExtent(i[0],i[1]),s.push(e),(t.coordinateSystem=e).model=t}),t.eachSeries(function(t){var e;"polar"===t.get("coordinateSystem")&&(e=t.getReferringComponents("polar",la).models[0],t.coordinateSystem=e.coordinateSystem)}),s}},lk=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function uk(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function hk(t){return t.getRadiusAxis().inverse?0:1}function ck(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}u(fk,pk=T2),fk.prototype.render=function(e,t){var n,i,r,o,a,s;this.group.removeAll(),e.get("show")&&(n=e.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords({breakTicks:"none"}),a=n.getMinorTicksCoords(),ck(s=V(n.getViewLabels(),function(t){t=v(t);var e=n.scale,e="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(e),t})),ck(o),B(lk,function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||yk[t](this.group,e,i,o,a,r,s)},this))},fk.type="angleAxis";var pk,dk=fk;function fk(){var t=null!==pk&&pk.apply(this,arguments)||this;return t.type=fk.type,t.axisPointerClass="PolarAxisPointer",t}var gk,yk={axisLine:function(t,e,n,i,r,o){var e=e.getModel(["axisLine","lineStyle"]),a=n.getAngleAxis(),s=Math.PI/180,l=a.getExtent(),u=hk(n),h=u?0:1,c=360===Math.abs(l[1]-l[0])?"Circle":"Arc",c=0===o[h]?new op[c]({shape:{cx:n.cx,cy:n.cy,r:o[u],startAngle:-l[0]*s,endAngle:-l[1]*s,clockwise:a.inverse},style:e.getLineStyle(),z2:1,silent:!0}):new bh({shape:{cx:n.cx,cy:n.cy,r:o[u],r0:o[h]},style:e.getLineStyle(),z2:1,silent:!0});c.style.fill=null,t.add(c)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[hk(n)],o=V(i,function(t){return new Nh({shape:uk(n,[l,l+s],t.coord)})});t.add(Ec(o,{style:z(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[hk(n)],h=[],c=0;ca?"left":"right",r=Math.abs(o[1]-s)/r<.3?"middle":o[1]>s?"top":"bottom",l=(d&&d[i]&&E(s=d[i])&&s.textStyle&&(n=new Rp(s.textStyle,f,f.ecModel)),new _l({silent:dT.isLabelSilent(h),style:cp(n,{x:o[0],y:o[1],fill:n.getTextColor()||h.get(["axisLine","lineStyle","color"]),text:t.formattedLabel,align:a,verticalAlign:r})}));u.add(l),$c({el:l,componentModel:h,itemName:t.formattedLabel,formatterParamsExtra:{isTruncated:function(){return l.isTruncated},value:t.rawLabel,tickIndex:e}}),y&&((i=dT.makeAxisEventDataBase(h)).targetType="axisLabel",i.value=t.rawLabel,Z(l).eventData=i)},this)},splitLine:function(t,e,n,i,r,o){for(var a=e.getModel("splitLine").getModel("lineStyle"),s=0,l=(l=a.get("color"))instanceof Array?l:[l],u=[],h=0;h=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},Wk.prototype.pointToData=function(t,e,n){n=n||[];var i=this.getAxis();return n[0]=i.coordToData(i.toLocalCoord(t["horizontal"===i.orient?0:1])),n},Wk.prototype.dataToPoint=function(t,e,n){var i=this.getAxis(),r=this.getRect(),o=(n=n||[],"horizontal"===i.orient?0:1);return t instanceof Array&&(t=t[0]),n[o]=i.toGlobalCoord(i.dataToCoord(+t)),n[1-o]=0==o?r.y+r.height/2:r.x+r.width/2,n},Wk.prototype.convertToPixel=function(t,e,n){return Uk(e)===this?this.dataToPoint(n):null},Wk.prototype.convertFromPixel=function(t,e,n){return Uk(e)===this?this.pointToData(n):null},Wk);function Wk(t,e,n){this.type="single",this.dimension="single",this.dimensions=Gk,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}function Uk(t){var e=t.seriesModel,t=t.singleAxisModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}var Xk,Yk={create:function(i,r){var o=[];return i.eachComponent("singleAxis",function(t,e){var n=new Hk(t,i,r);n.name="single_"+e,n.resize(t,r),t.coordinateSystem=n,o.push(n)}),i.eachSeries(function(t){var e;"singleAxis"===t.get("coordinateSystem")&&(e=t.getReferringComponents("singleAxis",la).models[0],t.coordinateSystem=e&&e.coordinateSystem)}),o},dimensions:Gk},Zk=["x","y"],jk=["width","height"],qk=(u(Kk,Xk=Xl),Kk.prototype.makeElOption=function(t,e,n,i,r){var o,a=n.axis,s=a.coordinateSystem,l=Jk(s,1-Qk(a)),s=s.dataToPoint(e)[0],u=i.get("type"),a=(u&&"none"!==u&&(o=Q2(i),(u=$k[u](a,s,l)).style=o,t.graphicKey=u.type,t.pointer=u),kk(n));nD(e,t,a,n,i,r)},Kk.prototype.getHandleTransform=function(t,e,n){var i=kk(e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),eD(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},Kk.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,r=n.coordinateSystem,n=Qk(n),o=Jk(r,n),a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(o[1],a[n]),a[n]=Math.max(o[0],a[n]),Jk(r,1-n)),o=(e[1]+e[0])/2,r=[o,o];return r[n]=a[n],{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:r,tooltipOption:{verticalAlign:"middle"}}},Kk);function Kk(){return null!==Xk&&Xk.apply(this,arguments)||this}var $k={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:iD([e,n[0]],[e,n[1]],Qk(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:rD([e-i/2,n[0]],[i,r],Qk(t))}}};function Qk(t){return t.isHorizontal()?0:1}function Jk(t,e){t=t.getRect();return[t[Zk[e]],t[Zk[e]]+t[jk[e]]]}u(nA,tA=cm),nA.type="single";var tA,eA=nA;function nA(){var t=null!==tA&&tA.apply(this,arguments)||this;return t.type=nA.type,t}g1(function(t){g1(ED),T2.registerAxisPointerClass("SingleAxisPointer",qk),t.registerComponentView(eA),t.registerComponentView(Pk),t.registerComponentModel(Ek),jC(t,"single",Ek,Ek.defaultOption),t.registerCoordinateSystem("single",Yk)});u(oA,iA=g),oA.type="title",oA.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:_.size.m,backgroundColor:_.color.transparent,borderColor:_.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:_.color.primary},subtextStyle:{fontSize:12,color:_.color.quaternary}};var iA,rA=oA;function oA(){var t=null!==iA&&iA.apply(this,arguments)||this;return t.type=oA.type,t.layoutMode={type:"box",ignoreSize:!0},t}u(lA,aA=cm),lA.prototype.render=function(t,e,n){var i,r,o,a,s,l,u,h,c;this.group.removeAll(),t.get("show")&&(i=this.group,u=t.getModel("textStyle"),r=t.getModel("subtextStyle"),h=t.get("textAlign"),c=W(t.get("textBaseline"),t.get("textVerticalAlign")),s=(u=new _l({style:cp(u,{text:t.get("text"),fill:u.getTextColor()},{disableBox:!0}),z2:10})).getBoundingRect(),l=t.get("subtext"),r=new _l({style:cp(r,{text:l,fill:r.getTextColor(),y:s.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),o=t.get("link"),a=t.get("sublink"),s=t.get("triggerEvent",!0),u.silent=!o&&!s,r.silent=!a&&!s,o&&u.on("click",function(){Ld(o,"_"+t.get("target"))}),a&&r.on("click",function(){Ld(a,"_"+t.get("subtarget"))}),Z(u).eventData=Z(r).eventData=s?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(u),l&&i.add(r),s=i.getBoundingRect(),(l=t.getBoxLayoutParams()).width=s.width,l.height=s.height,l=Zd(l,Kd(t,n).refContainer,t.get("padding")),h||("right"===(h="middle"===(h=t.get("left")||t.get("right"))?"center":h)?l.x+=l.width:"center"===h&&(l.x+=l.width/2)),c||("bottom"===(c="center"===(c=t.get("top")||t.get("bottom"))?"middle":c)?l.y+=l.height:"middle"===c&&(l.y+=l.height/2),c=c||"top"),i.x=l.x,i.y=l.y,i.markRedraw(),u.setStyle(n={align:h,verticalAlign:c}),r.setStyle(n),s=i.getBoundingRect(),u=l.margin,(h=t.getItemStyle(["color","opacity"])).fill=t.get("backgroundColor"),c=new dl({shape:{x:s.x-u[3],y:s.y-u[0],width:s.width+u[1]+u[3],height:s.height+u[0]+u[2],r:t.get("borderRadius")},style:h,subPixelOptimize:!0,silent:!0}),i.add(c))},lA.type="title";var aA,sA=lA;function lA(){var t=null!==aA&&aA.apply(this,arguments)||this;return t.type=lA.type,t}g1(function(t){t.registerComponentModel(rA),t.registerComponentView(sA)});u(cA,uA=g),cA.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},cA.prototype.mergeOption=function(t,e){uA.prototype.mergeOption.call(this,t,e),this._updateSelector(t)},cA.prototype._updateSelector=function(t){var n=t.selector,i=this.ecModel;F(n=!0===n?t.selector=["all","inverse"]:n)&&B(n,function(t,e){G(t)&&(t={type:t}),n[e]=d(t,(e=i,"all"===(t=t.type)?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0))})},cA.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;nn[r],f=[-c.x,-c.y],e=(e||(f[i]=l[s]),[0,0]),s=[-p.x,-p.y],g=W(t.get("pageButtonGap",!0),t.get("itemGap",!0)),f=(d&&("end"===t.get("pageButtonPosition",!0)?s[i]+=n[r]-p[r]:e[i]+=p[r]+g),s[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(e),h.setPosition(s),{x:0,y:0}),c=(f[r]=(d?n:c)[r],f[o]=Math.max(c[o],p[o]),f[a]=Math.min(0,p[a]+s[1-i]),u.__rectSize=n[r],d?((e={x:0,y:0})[r]=Math.max(n[r]-p[r]-g,0),e[o]=f[o],u.setClipPath(new dl({shape:e})),u.__rectSize=e[r]):h.eachChild(function(t){t.attr({invisible:!0,silent:!0})}),this._getPageInfo(t));return null!=c.pageIndex&&vc(l,{x:c.contentPosition[0],y:c.contentPosition[1]},d?t:null),this._updatePageInfoView(t,c),f},NA.prototype._pageGo=function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},NA.prototype._updatePageInfoView=function(n,i){var r=this._controllerGroup,t=(B(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=r.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")}),r.childOfName("pageText")),e=n.get("pageFormatter"),o=i.pageIndex,o=null!=o?o+1:0,a=i.pageCount;t&&e&&t.setStyle("text",G(e)?e.replace("{current}",null==o?"":o+"").replace("{total}",null==a?"":a+""):e({current:o,total:a}))},NA.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,t=t.getOrient().index,r=PA[t],o=OA[t],e=this._findTargetItemIndex(e),a=n.children(),s=a[e],l=a.length,u=l?1:0,h={contentPosition:[n.x,n.y],pageCount:u,pageIndex:u-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s);h.contentPosition[t]=-n.s;for(var c=e+1,p=n,d=n,f=null;c<=l;++c)(!(f=g(a[c]))&&d.e>p.s+i||f&&!y(f,p.s))&&(p=d.i>p.i?d:f)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=p.i),++h.pageCount),d=f;for(c=e-1,p=n,d=n,f=null;-1<=c;--c)(f=g(a[c]))&&y(d,f.s)||!(p.i=e&&t.s<=e+i}},NA.prototype._findTargetItemIndex=function(n){var i,r;return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==r&&null!=t&&(r=e),t===n&&(i=e)}),null!=i?i:r):0},NA.type="legend.scroll",NA);function NA(){var t=null!==AA&&AA.apply(this,arguments)||this;return t.type=NA.type,t.newlineDisabled=!0,t._currentIndex=0,t}g1(function(t){g1(TA),t.registerComponentModel(CA),t.registerComponentView(RA),t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})});u(BA,EA=g),BA.type="tooltip",BA.dependencies=["axisPointer"],BA.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:_.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:_.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:_.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:_.color.tertiary,fontSize:14}};var EA,zA=BA;function BA(){var t=null!==EA&&EA.apply(this,arguments)||this;return t.type=BA.type,t}function VA(t){var e=t.get("confine");return null!=e?e:"richText"===t.get("renderMode")}function FA(t){if(w.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n'):""),G(t))o.innerHTML=t+c;else if(t){o.innerHTML="",F(t)||(t=[t]);for(var p,d=0;d"),o=f.join(e);this._showOrMove(i,function(){this._updateContentNotChangedOnAxis(t,p)?this._updatePosition(i,r,n[0],n[1],this._tooltipContent,p):this._showTooltipContent(i,o,p,Math.random()+"",n[0],n[1],r,null,g)})},oL.prototype._showSeriesItemTooltip=function(t,e,n){var i,r,o,a,s,l=this._ecModel,e=Z(e),u=e.seriesIndex,h=l.getSeriesByIndex(u),c=e.dataModel||h,p=e.dataIndex,e=e.dataType,d=c.getData(e),f=this._renderMode,g=t.positionDefault,y=aL([d.getItemModel(p),c,h&&(h.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null),h=y.get("trigger");null!=h&&"item"!==h||(i=c.getDataParams(p,e),r=new $y,i.marker=r.makeTooltipMarker("item",Ad(i.color),f),g=Wg(c.formatTooltip(p,!1,e)),h=y.get("order"),e=y.get("valueFormatter"),o=g.frag,a=o?Yy(e?P({valueFormatter:e},o):o,r,f,h,l.get("useUTC"),y.get("textStyle")):g.text,s="item_"+c.name+"_"+p,this._showOrMove(y,function(){this._showTooltipContent(y,a,i,s,t.offsetX,t.offsetY,t.position,t.target,r)}),n({type:"showTip",dataIndexInside:p,dataIndex:d.getRawIndex(p),seriesIndex:u,from:this.uid}))},oL.prototype._showComponentItemTooltip=function(e,n,t){var i="html"===this._renderMode,r=Z(n),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent,a=(G(o)&&(o={content:o,formatter:o},a=!0),a&&i&&o.content&&((o=v(o)).content=Se(o.content)),[o]),i=this._ecModel.getComponent(r.componentMainType,r.componentIndex),r=(i&&a.push(i),a.push({formatter:o.content}),e.positionDefault),s=aL(a,this._tooltipModel,r?{position:r}:null),l=s.get("content"),u=Math.random()+"",h=new $y;this._showOrMove(s,function(){var t=v(s.get("formatterParams")||{});this._showTooltipContent(s,l,t,u,e.offsetX,e.offsetY,e.position,n,h)}),t({type:"showTip",from:this.uid})},oL.prototype._showTooltipContent=function(n,t,i,e,r,o,a,s,l){var u,h,c,p,d;this._ticket="",n.get("showContent")&&n.get("show")&&((u=this._tooltipContent).setEnterable(n.get("enterable")),h=n.get("formatter"),a=a||n.get("position"),t=t,c=this._getNearestPoint([r,o],i,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)).color,h&&(t=G(h)?(p=n.ecModel.get("useUTC"),t=h,Dd(t=(d=F(i)?i[0]:i)&&d.axisType&&0<=d.axisType.indexOf("time")?ad(d.axisValue,t,p):t,i,!0)):N(h)?(d=I(function(t,e){t===this._ticket&&(u.setContent(e,l,n,c,a),this._updatePosition(n,a,r,o,u,i,s))},this),this._ticket=e,h(i,e,d)):h),u.setContent(t,l,n,c,a),u.show(n,c),this._updatePosition(n,a,r,o,u,i,s))},oL.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||F(e)?{color:i||r}:F(e)?void 0:{color:i||e.color||e.borderColor}},oL.prototype._updatePosition=function(t,e,n,i,r,o,a){var s,l=this._api.getWidth(),u=this._api.getHeight(),h=(e=e||t.get("position"),r.getSize()),c=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();a&&d.applyTransform(a.transform),F(e=N(e)?e([n,i],o,r.el,d,{viewSize:[l,u],contentSize:h.slice()}):e)?(n=Y(e[0],l),i=Y(e[1],u)):E(e)?((o=e).width=h[0],o.height=h[1],n=(o=Zd(o,{width:l,height:u})).x,i=o.y,p=c=null):i=(n=(s=G(e)&&a?function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,h,t.get("borderWidth")):function(t,e,n,i,r,o,a){var n=n.getSize(),s=n[0],n=n[1];null!=o&&(ih[0]?s:r)[0]:o[0]=(a[0]>h[0]?r:s)[0],"y0"===n[1]?o[1]=(a[1]>h[1]?s:r)[1]:o[1]=(a[1]>h[1]?r:s)[1],i.getMarkerPosition(o,n,!0)):(a=[l=t.get(n[0],e),u=t.get(n[1],e)],c.clampData&&c.clampData(a,a),c.dataToPoint(a,!0)),vw(c,"cartesian2d")&&(r=c.getAxis("x"),s=c.getAxis("y"),l=t.get(n[0],e),u=t.get(n[1],e),KL(l)?h[0]=r.toGlobalCoord(r.getExtent()["x0"===n[0]?0:1]):KL(u)&&(h[1]=s.toGlobalCoord(s.getExtent()["y0"===n[1]?0:1]))),isNaN(d)||(h[0]=d),isNaN(p)||(h[1]=p)):h=[d,p],h}var tP,eP=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],nP=(u(iP,tP=_a),iP.prototype.updateTransform=function(t,e,r){e.eachSeries(function(n){var i,t=dL.getMarkerModelFromSeries(n,"markArea");t&&(i=t.getData()).each(function(e){var t=V(eP,function(t){return JL(i,e,t,n,r)});i.setItemLayout(e,t),i.getItemGraphicEl(e).setShape("points",t)})},this)},iP.prototype.renderSeries=function(a,r,t,s){var l=a.coordinateSystem,e=a.id,u=a.getData(),n=this.markerGroupMap,o=n.get(e)||n.set(e,{group:new ho}),h=(this.group.add(o.group),this.markKeep(o),function(t,n,e){var i,r;{var o;i=t?(o=V(t&&t.dimensions,function(t){var e=n.getData();return P(P({},e.getDimensionInfo(e.mapDimension(t))||{}),{name:t,ordinalMeta:null})}),r=V(["x0","y0","x1","y1"],function(t,e){return{name:t,type:o[e%2].type}}),new W_(r,e)):new W_(r=[{name:"value",type:"float"}],e)}e=V(e.get("data"),S(jL,n,t,e));t&&(e=ht(e,S(QL,t)));t=t?function(t,e,n,i){return ny(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return ny(t.value,r[i])};return i.initData(e,null,t),i.hasItemOption=!0,i}(l,a,r));r.setData(h),h.each(function(e){var t=V(eP,function(t){return JL(h,e,t,a,s)}),n=l.getAxis("x").scale,i=l.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),n=[n.parse(h.get("x0",e)),n.parse(h.get("x1",e))],i=[i.parse(h.get("y0",e)),i.parse(h.get("y1",e))],r=(ko(n),ko(i),!(r[0]>n[1]||r[1]i[1]||o[1]":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},oP=(aP.prototype.evaluate=function(t){var e=typeof t;return G(e)?this._condVal.test(t):!!H(e)&&this._condVal.test(t+"")},aP);function aP(t){null==(this._condVal=G(t)?new RegExp(t):_t(t)?t:null)&&f("")}lP.prototype.evaluate=function(){return this.value};var sP=lP;function lP(){}hP.prototype.evaluate=function(){for(var t=this.children,e=0;e>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",o[u]+":0",i[1-l]+":auto",o[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}e.clearMarkers=function(){nt(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})}}return n}(e,r),r,o);if(e)return e(t,n,i),!0}return!1}function xe(t){return"CANVAS"===t.nodeName.toUpperCase()}var be=/([&<>"'])/g,we={"&":"&","<":"<",">":">",'"':""","'":"'"};function Se(t){return null==t?"":(t+"").replace(be,function(t,e){return we[e]})}var Me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=[],Ie=w.browser.firefox&&+w.browser.version.split(".")[0]<39;function Ce(t,e,n,i){return n=n||{},i?De(t,e,n):Ie&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):De(t,e,n),n}function De(t,e,n){if(w.domSupported&&t.getBoundingClientRect){var i,o=e.clientX,e=e.clientY;if(xe(t))return i=t.getBoundingClientRect(),n.zrX=o-i.left,void(n.zrY=e-i.top);if(_e(Te,t,o,e))return n.zrX=Te[0],void(n.zrY=Te[1])}n.zrX=n.zrY=0}function ke(t){return t||window.event}function Ae(t,e,n){var i;return null==(e=ke(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&Ce(t,i,e,n):(Ce(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},sn.prototype.contain=function(t,e){return sn.contain(this,t,e)},sn.prototype.clone=function(){return new sn(this.x,this.y,this.width,this.height)},sn.prototype.copy=function(t){sn.copy(this,t)},sn.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},sn.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},sn.prototype.isZero=function(){return 0===this.width||0===this.height},sn.create=function(t){return new sn(t.x,t.y,t.width,t.height)},sn.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},sn.applyTransform=function(t,e,n){var i,o,r,a;n?n[1]<1e-5&&-1e-5t.getWidth()||n<0||n>t.getHeight()}nt(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){bn.prototype[a]=function(t){var e,n,i=t.zrX,o=t.zrY,r=Mn(this,i,o);if("mouseup"===a&&r||(n=(e=this.findHover(i,o)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4>>1])<0?l=r:s=1+r;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);r(t,e[n+h])<0?l=h:a=h+1}return l}function Ln(A,L){var P,O,R=In,N=0,E=[];function e(t){var e=P[t],n=O[t],i=P[t+1],o=O[t+1],t=(O[t]=n+o,t===N-3&&(P[t+1]=P[t+2],O[t+1]=O[t+2]),N--,An(A[i],A,e,n,0,L));if(e+=t,0!=(n-=t)&&0!==(o=kn(A[e+n-1],A,i,o,o-1,L)))if(n<=o){var r=e,a=n,t=i,s=o,l=0;for(l=0;lO[t+1])break;e(t)}},forceMergeRuns:function(){for(;1>=1;return t+e}(o);do{}while((r=Cn(t,n,i,e))=this._maxSize&&0>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===i?parseInt(n.slice(4),16)/15:1),ki(t,e),e):void Ti(e,0,0,0,1):7===i||9===i?0<=(o=parseInt(n.slice(1,7),16))&&o<=16777215?(Ti(e,(16711680&o)>>16,(65280&o)>>8,255&o,9===i?parseInt(n.slice(7),16)/255:1),ki(t,e),e):void Ti(e,0,0,0,1):void 0;var o=n.indexOf("("),r=n.indexOf(")");if(-1!==o&&r+1===i){var i=n.substr(0,o),a=n.substr(o+1,r-(o+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?Ti(e,+a[0],+a[1],+a[2],1):Ti(e,0,0,0,1);s=wi(a.pop());case"rgb":return 3<=a.length?(Ti(e,bi(a[0]),bi(a[1]),bi(a[2]),3===a.length?s:wi(a[3])),ki(t,e),e):void Ti(e,0,0,0,1);case"hsla":return 4!==a.length?void Ti(e,0,0,0,1):(a[3]=wi(a[3]),Li(a,e),ki(t,e),e);case"hsl":return 3!==a.length?void Ti(e,0,0,0,1):(Li(a,e),ki(t,e),e);default:return}}Ti(e,0,0,0,1)}}function Li(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=wi(t[1]),o=wi(t[2]),i=o<=.5?o*(i+1):o+i-o*i,o=2*o-i;return Ti(e=e||[],_i(255*Si(o,i,n+1/3)),_i(255*Si(o,i,n)),_i(255*Si(o,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Pi(t,e){var n=Ai(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255e);g++);g=f(g-1,h-2)}i=u[g+1],n=u[g]}n&&i&&(this._lastFr=g,this._lastFrP=e,p=i.percent-n.percent,o=0==p?1:f((e-n.percent)/p,1),i.easingFunc&&(o=i.easingFunc(o)),f=a?this._additiveValue:d?$i:t[c],(Ki(l)||d)&&(f=f||(this._additiveValue=[])),this.discrete?t[c]=(o<1?n:i).rawValue:Ki(l)?(1===l?Yi:function(t,e,n,i){for(var o=e.length,r=o&&e[0].length,a=0;athis._sleepAfterStill)&&this.animation.stop()},mr.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},mr.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},mr.prototype.refreshHover=function(){this._needsRefreshHover=!0},mr.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},mr.prototype.resize=function(t){this._disposed||(this.painter.resize((t=t||{}).width,t.height),this.handler.resize())},mr.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},mr.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},mr.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},mr.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},mr.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},mr.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},mr.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},mr.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},mr.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;el&&(l=s[h],u=h);++r[u],s[u]=0,++a}return B(r,function(t){return t/i})}function Rr(t){var e=2*Math.PI;return(t%e+e)%e}function Nr(t){return-1e-4=n.maxIterations){e+=n.ellipsis;break}var s=0===a?function(t,e,n){for(var i=0,o=0,r=t.length;oh){C=r.lines.length;0i.width&&(r=e.split("\n"),c=!0),i.accumWidth=s):(s=Ga(e,t,i.width,i.breakAll,i.accumWidth),i.accumWidth=s.accumWidth+n,a=s.linesWidths,r=s.lines)),r=r||e.split("\n"),Go(t)),p=0;pthis._ux||i>this._uy;return this.addData(fs.L,t,e),this._ctx&&o&&this._ctx.lineTo(t,e),o?(this._xi=t,this._yi=e,this._pendingPtDist=0):(o=n*n+i*i)>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o),this},o.prototype.bezierCurveTo=function(t,e,n,i,o,r){return this._drawPendingPt(),this.addData(fs.C,t,e,n,i,o,r),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,o,r),this._xi=o,this._yi=r,this},o.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(fs.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},o.prototype.arc=function(t,e,n,i,o,r){return this._drawPendingPt(),ks[0]=i,ks[1]=o,Ls(ks,r),this.addData(fs.A,t,e,n,n,i=ks[0],(o=ks[1])-i,0,r?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,r),this._xi=Ss(o)*n+t,this._yi=Ms(o)*n+e,this},o.prototype.arcTo=function(t,e,n,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},o.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(fs.R,t,e,n,i),this},o.prototype.closePath=function(){this._drawPendingPt(),this.addData(fs.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},o.prototype.fill=function(t){t&&t.fill(),this.toStatic()},o.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},o.prototype.len=function(){return this._len},o.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!Ds||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;hn||Ts(y)>i||c===e-1)&&(f=Math.sqrt(C*C+y*y),o=g,r=_);break;case fs.C:var m=t[c++],v=t[c++],g=t[c++],_=t[c++],x=t[c++],b=t[c++],f=function(t,e,n,i,o,r,a,s,l){for(var u=t,h=e,c=0,d=1/l,p=1;p<=l;p++){var f=p*d,g=Qn(t,n,o,a,f),f=Qn(e,i,r,s,f),y=g-u,m=f-h;c+=Math.sqrt(y*y+m*m),u=g,h=f}return c}(o,r,m,v,g,_,x,b,10),o=x,r=b;break;case fs.Q:f=function(t,e,n,i,o,r,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var d=c*h,p=oi(t,n,o,d),d=oi(e,i,r,d),f=p-s,g=d-l;u+=Math.sqrt(f*f+g*g),s=p,l=d}return u}(o,r,m=t[c++],v=t[c++],g=t[c++],_=t[c++],10),o=g,r=_;break;case fs.A:var x=t[c++],b=t[c++],w=t[c++],S=t[c++],M=t[c++],T=t[c++],I=T+M;c+=1,p&&(a=Ss(M)*w+x,s=Ms(M)*S+b),f=ws(w,S)*bs(Cs,Math.abs(T)),o=Ss(I)*w+x,r=Ms(I)*S+b;break;case fs.R:a=o=t[c++],s=r=t[c++];f=2*t[c++]+2*t[c++];break;case fs.Z:var C=a-o,y=s-r;f=Math.sqrt(C*C+y*y),o=a,r=s}0<=f&&(u+=l[h++]=f)}return this._pathLen=u},o.prototype.rebuildPath=function(t,e){var n,i,o,r,a,s,l,u,h=this.data,E=this._ux,z=this._uy,B=this._len,c=e<1,d=0,p=0,f=0;if(!c||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=e*this._pathLen))t:for(var g=0;g=Gs[i=0]+t&&a<=Gs[1]+t?h:0;oMath.PI/2&&c<1.5*Math.PI?-h:h)}return l}(y,m,_,x,x+b,w,T,o);u=Math.cos(x+b)*v+y,h=Math.sin(x+b)*_+m;break;case Bs.R:c=u=a[p++],d=h=a[p++];if(S=c+a[p++],M=d+a[p++],n){if(Os(c,d,S,d,e,i,o)||Os(S,d,S,M,e,i,o)||Os(S,M,c,M,e,i,o)||Os(c,M,c,d,e,i,o))return!0}else l=(l+=zs(S,d,S,M,i,o))+zs(c,M,c,d,i,o);break;case Bs.Z:if(n){if(Os(u,h,c,d,e,i,o))return!0}else l+=zs(u,h,c,d,i,o);u=c,h=d}}return n||(t=h,r=d,Math.abs(t-r)n,i=(o=o.slice(0,n)).length*c),t&&u&&null!=f)for(var y=Oa(f,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;vhc.len()&&(sTr(i[1])?0':'':{renderMode:o,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function Lp(t,e){return e=e||"transparent",F(t)?t:E(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Pp(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location.href=t):window.open(t,e)}var Op={},Rp={},Np=(Ep.prototype.create=function(i,o){function t(t){var n=[];return nt(t,function(t,e){t=t.create(i,o);n=n.concat(t||[])}),n}this._nonSeriesBoxMasterList=t(Op),this._normalMasterList=t(Rp)},Ep.prototype.update=function(e,n){nt(this._normalMasterList,function(t){t.update&&t.update(e,n)})},Ep.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},Ep.register=function(t,e){"matrix"===t||"calendar"===t?Op[t]=e:Rp[t]=e},Ep.get=function(t){return Rp[t]||Op[t]},Ep);function Ep(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}var zp={coord:1,coord2:2};var Bp=it();var Vp={none:0,dataCoordSys:1,boxCoordSys:2};function Fp(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=Vp.none;return e&&(t="series"===t.mainType,"data"===(n=null==n?t?"data":"box":n)?(i=Vp.dataCoordSys,t||(i=Vp.none)):"box"===n&&(i=Vp.boxCoordSys,t||Op[e]||(i=Vp.none))),{coordSysType:e,kind:i}}function Gp(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,o=t.isDefaultDataCoordSys,t=(t.allowNotFound,Fp(e)),r=t.kind,t=t.coordSysType;o&&r!==Vp.dataCoordSys&&(r=Vp.dataCoordSys,t=n),r!==Vp.none&&t===n&&(o=i(n,e))&&(r===Vp.dataCoordSys?e.coordinateSystem=o:e.boxCoordinateSystem=o)}var Wp=nt,Hp=["left","right","top","bottom","width","height"],Yp=[["width","left","right"],["height","top","bottom"]];function Xp(a,s,l,u,h){var c=0,d=0,p=(null==u&&(u=1/0),null==h&&(h=1/0),0);s.eachChild(function(t,e){var n,i,o,r=t.getBoundingRect(),e=s.childAt(e+1),e=e&&e.getBoundingRect();p="horizontal"===a?(i=r.width+(e?-e.x+r.x:0),u<(n=c+i)||t.newline?(c=0,n=i,d+=p+l,r.height):Math.max(p,r.height)):(i=r.height+(e?-e.y+r.y:0),h<(o=d+i)||t.newline?(c+=p+l,d=0,o=i,r.width):Math.max(p,r.width)),t.newline||(t.x=c,t.y=d,t.markRedraw(),"horizontal"===a?c=n+l:d=o+l)})}var Up=Xp;function Zp(t,e){o=Kp(r=t,n=e,{enableLayoutOnlyByCenter:!0}),i=r.getBoxLayoutParams(),o.type===qp.point?(s=o.refPoint,a=jp(i,{width:n.getWidth(),height:n.getHeight()})):(r=V(n=r.get("center"))?n:[n,n],a=jp(i,o.refContainer),s=o.boxCoordFrom===zp.coord2?o.refPoint:[Y(r[0],a.width)+a.x,Y(r[1],a.height)+a.y]);var n={viewRect:a,center:s},i=n.viewRect,o=n.center,r=t.get("radius"),a=(V(r)||(r=[0,r]),Y(i.width,e.getWidth())),s=Y(i.height,e.getHeight()),n=Math.min(a,s),t=Y(r[0],n/2),e=Y(r[1],n/2);return{cx:o[0],cy:o[1],r0:t,r:e,viewRect:i}}function jp(t,e,n){n=Tp(n||0);var i=e.width,o=e.height,r=Y(t.left,i),a=Y(t.top,o),s=Y(t.right,i),l=Y(t.bottom,o),u=Y(t.width,i),h=Y(t.height,o),c=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-r),isNaN(h)&&(h=o-l-c-a),null!=p&&(isNaN(u)&&isNaN(h)&&(i/oe)return t[i];return t[n-1]}var Ef,zf="\0_ec_inner",Bf=(u(Vf,Ef=Nd),Vf.prototype.init=function(t,e,n,i,o,r){i=i||{},this.option=null,this._theme=new Nd(i),this._locale=new Nd(o),this._optionManager=r},Vf.prototype.setOption=function(t,e,n){e=Wf(e);this._optionManager.setOption(t,n,e),this._resetOption(null,e)},Vf.prototype.resetOption=function(t,e){return this._resetOption(t,Wf(e))},Vf.prototype._resetOption=function(t,e){var n,i=!1,o=this._optionManager;return t&&"recreate"!==t||(n=o.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(n,e)):Lf(this,n),i=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(n=o.getTimelineOption(this))&&(i=!0,this._mergeOption(n,e)),t&&"recreate"!==t&&"media"!==t||(n=o.getMediaOption(this)).length&&nt(n,function(t){i=!0,this._mergeOption(t,e)},this),i},Vf.prototype.mergeOption=function(t){this._mergeOption(t,null)},Vf.prototype._mergeOption=function(i,t){var o=this.option,h=this._componentsMap,c=this._componentsCount,n=[],r=it(),d=t&&t.replaceMergeMainTypeMap;wf(this).datasetMap=it(),nt(i,function(t,e){null!=t&&(g.hasClass(e)?e&&(n.push(e),r.set(e,!0)):o[e]=null==o[e]?v(t):p(o[e],t,!0))}),d&&d.each(function(t,e){g.hasClass(e)&&!r.get(e)&&(n.push(e),r.set(e,!0))}),g.topologicalTravel(n,g.getAllClassMainTypes(),function(r){var a,t=function(t,e,n){return(e=(e=Df.get(e))&&e(t))?n.concat(e):n}(this,r,Zr(i[r])),e=h.get(r),n=e?d&&d.get(r)?"replaceMerge":"normalMerge":"replaceAll",e=$r(e,t,n),s=(ia(e,r,g),o[r]=null,h.set(r,null),c.set(r,0),[]),l=[],u=0;nt(e,function(t,e){var n=t.existing,i=t.newOption;if(i){var o=g.getClass(r,t.keyInfo.subType,!("series"===r));if(!o)return;if("tooltip"===r){if(a)return;a=!0}n&&n.constructor===o?(n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1)):(e=P({componentIndex:e},t.keyInfo),P(n=new o(i,this,this,e),e),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0))}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(s.push(n.option),l.push(n),u++):(s.push(void 0),l.push(void 0))},this),o[r]=s,h.set(r,l),c.set(r,u),"series"===r&&kf(this)},this),this._seriesIndices||kf(this)},Vf.prototype.getOption=function(){var a=v(this.option);return nt(a,function(t,e){if(g.hasClass(e)){for(var n=Zr(t),i=n.length,o=!1,r=i-1;0<=r;r--)n[r]&&!na(n[r])?o=!0:(n[r]=null,o||i--);n.length=i,a[e]=n}}),delete a[zf],a},Vf.prototype.setTheme=function(t){this._theme=new Nd(t),this._resetOption("recreate",null)},Vf.prototype.getTheme=function(){return this._theme},Vf.prototype.getLocaleModel=function(){return this._locale},Vf.prototype.setUpdatePayload=function(t){this._payload=t},Vf.prototype.getUpdatePayload=function(){return this._payload},Vf.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){t=n[e||0];if(t)return t;if(null==e)for(var i=0;ig[1]&&(g[1]=f)}return{start:a,end:this._rawCount=this._count=s}},l.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,r=this._dimensions,a=r.length,s=this._rawExtent,l=B(r,function(t){return t.property}),u=0;uf[1]&&(f[1]=g)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},l.prototype.count=function(){return this._count},l.prototype.get=function(t,e){return 0<=e&&e=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return r;o=r-1}}}return-1},l.prototype.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array)for(var i=new e(n),o=0;ot[S][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(f))}return sy[1]&&(y[1]=g)}}}},l.prototype.lttbDownSample=function(t,e){var n,i=this.clone([t],!0),o=i._chunks[t],r=this.count(),a=0,s=Math.floor(1/e),l=this.getRawIndex(0),u=new(Iy(this._rawCount))(Math.min(2*(Math.ceil(r/s)+2),r));u[a++]=l;for(var h=1;hh[1]&&(h[1]=y),c[d++]=m}return o._count=d,o._indices=c,o._updateGetRawIdx(),o},l.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,o=0,r=this.count();o'+Se(u)+""+h,t))}function Xy(t,e,n,i){var o,r,a,s,l,u=t.renderMode,h=e.noName,c=e.noValue,d=!e.markerType,p=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return B(t=V(t)?t:[t],function(t,e){return Ip(t,V(r)?r[e]:r,f)})};if(!h||!c)return o=d?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||_.color.secondary,u),p=h?"":Ip(p,"ordinal",f),r=e.valueType,g=c?[]:g(e.value,e.dataIndex),e=!d||!h,a=!d&&h,l=By(i,u),s=l.nameStyle,l=l.valueStyle,"richText"===u?(d?"":o)+(h?"":jy(t,p,s))+(c?"":function(t,e,n,i,o){o=[o],i=i?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(V(e)?e.join(" "):e,o)}(t,g,e,a,l)):Zy(i,(d?"":o)+(h?"":''+Se(p)+"")+(c?"":function(t,e,n,i){n=n?"10px":"20px",e=e?"float:right;margin-left:"+n:"";return t=V(t)?t:[t],''+B(t,Se).join("  ")+""}(g,e,a,l)),n)}function Uy(t,e,n,i,o,r){if(t)return Hy(t)({useUTC:o,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,r)}function Zy(t,e,n){return'
    '+e+'
    '}function jy(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function qy(t,e){return Lp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Ky(t,e){t=t.get("padding");return null!=t?t:"richText"===e?[8,10]:10}Qy.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},Qy.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,e=Ap({color:e,type:t,renderMode:n,markerId:i});return F(e)?e:(this.richTextStyles[i]=e.style,e.content)},Qy.prototype.wrapRichTextStyle=function(t,e){var n={},e=(V(e)?nt(e,function(t){return P(n,t)}):P(n,e),this._generateStyleName());return this.richTextStyles[e]=n,"{"+e+"|"+t+"}"};var $y=Qy;function Qy(){this.richTextStyles={},this._nextStyleNameId=Hr()}function Jy(t){var e,n,i,o,r,a,s,l,u,h,c,d=t.series,p=t.dataIndex,t=t.multipleSeries,f=d.getData(),g=f.mapDimensionsAll("defaultedTooltip"),y=g.length,m=d.getRawValue(p),v=V(m),_=qy(d,p);function x(t,e){e=s.getDimensionInfo(e);e&&!1!==e.otherDims.tooltip&&(l?c.push(Gy("nameValue",{markerType:"subItem",markerColor:a,name:e.displayName,value:t,valueType:e.type})):(u.push(t),h.push(e.type)))}1this.getShallow("animationThreshold")?!1:t)},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel;return Of.prototype.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},r.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},r.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,o=this.getData(e);if("series"===i||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var r=0;re.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function lm(e,n){nt(Nt(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(t){e.wrapMethod(t,M(um,n))})}function um(t,e){t=hm(t);return t&&t.setOutputEnd((e||this).count()),e}function hm(t){var e,n=(t.ecModel||{}).scheduler,n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}st(im,Gg),st(im,Of),va(im,g);dm.prototype.init=function(t,e){},dm.prototype.render=function(t,e,n,i){},dm.prototype.dispose=function(t,e){},dm.prototype.updateView=function(t,e,n,i){},dm.prototype.updateLayout=function(t,e,n,i){},dm.prototype.updateVisual=function(t,e,n,i){},dm.prototype.toggleBlurSeries=function(t,e,n){},dm.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)};var cm=dm;function dm(){this.group=new cr,this.uid=Bd("viewComponent")}function pm(){var r=i();return function(t){var e=r(t),t=t.pipelineContext,n=!!e.large,i=!!e.progressiveRender,o=e.large=!(!t||!t.large),e=e.progressiveRender=!(!t||!t.progressiveRender);return!(n==o&&i==e)&&"reset"}}ma(cm),wa(cm);var fm=i(),gm=pm(),ym=(mm.prototype.init=function(t,e){},mm.prototype.render=function(t,e,n,i){},mm.prototype.highlight=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"emphasis")},mm.prototype.downplay=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&_m(t,i,"normal")},mm.prototype.remove=function(t,e){this.group.removeAll()},mm.prototype.dispose=function(t,e){},mm.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},mm.prototype.eachRendered=function(t){td(this.group,t)},mm.markUpdateMethod=function(t,e){fm(t).updateMethod=e},mm.protoInitialize=void(mm.prototype.type="chart"),mm);function mm(){this.group=new cr,this.uid=Bd("viewChart"),this.renderTask=Yg({plan:xm,reset:bm}),this.renderTask.context={view:this}}function vm(t,e,n){t&&Iu(t)&&("emphasis"===e?lu:uu)(t,n)}function _m(e,t,n){var i,o=oa(e,t),r=t&&null!=t.highlightKey?(t=t.highlightKey,i=null==(i=Pl[t])&&Ll<=32?Pl[t]=Ll++:i):null;null!=o?nt(Zr(o),function(t){vm(e.getItemGraphicEl(t),n,r)}):e.eachItemGraphicEl(function(t){vm(t,n,r)})}function xm(t){return gm(t.model)}function bm(t){var e=t.model,n=t.ecModel,i=t.api,o=t.payload,r=e.pipelineContext.progressiveRender,t=t.view,a=o&&fm(o).updateMethod,r=r?"incrementalPrepareRender":a&&t[a]?a:"render";return"render"!==r&&t[r](e,n,i,o),wm[r]}ma(ym),wa(ym);var wm={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Sm="\0__throttleOriginMethod",Mm="\0__throttleRate",Tm="\0__throttleType";function Im(t,o,r){var a,s,l,u,h,c=0,d=0,p=null;function f(){d=(new Date).getTime(),p=null,t.apply(l,u||[])}o=o||0;function e(){for(var t=[],e=0;en.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},zm.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},zm.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:o}},zm.prototype.restorePipelines=function(t){var i=this,o=i._pipelineMap=it();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;o.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),i._pipe(t,t.dataTask)})},zm.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.api.getModel(),o=this.api;nt(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,{});Tt(!(t.reset&&t.overallReset),""),t.reset&&this._createSeriesStageTask(t,e,i,o),t.overallReset&&this._createOverallStageTask(t,e,i,o)},this)},zm.prototype.prepareView=function(t,e,n,i){var o=t.renderTask,r=o.context;r.model=e,r.ecModel=n,r.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(e,o)},zm.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},zm.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},zm.prototype._performStageTasks=function(t,s,l,u){u=u||{};var h=!1,c=this;function d(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}nt(t,function(i,t){var e,n,o,r,a;u.visualType&&u.visualType!==i.visualType||(e=(n=c._stageTaskMap.get(i.uid)).seriesTaskMap,(n=n.overallTask)?((r=n.agentStubMap).each(function(t){d(u,t)&&(t.dirty(),o=!0)}),o&&n.dirty(),c.updatePayload(n,l),a=c.getPerformArgs(n,u.block),r.each(function(t){t.perform(a)}),n.perform(a)&&(h=!0)):e&&e.each(function(t,e){d(u,t)&&t.dirty();var n=c.getPerformArgs(t,u.block);n.skip=!i.performRawSeries&&s.isSeriesFiltered(t.context.model),c.updatePayload(t,l),t.perform(n)&&(h=!0)}))}),this.unfinished=h||this.unfinished},zm.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},zm.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})},zm.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},zm.prototype._createSeriesStageTask=function(n,t,i,o){var r=this,a=t.seriesTaskMap,s=t.seriesTaskMap=it(),t=n.seriesType,e=n.getTargetSeries;function l(t){var e=t.uid,e=s.set(e,a&&a.get(e)||Yg({plan:Wm,reset:Hm,count:Um}));e.context={model:t,ecModel:i,api:o,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:r},r._pipe(t,e)}n.createOnAllSeries?i.eachRawSeries(l):t?i.eachRawSeriesByType(t,l):e&&e(i,o).each(l)},zm.prototype._createOverallStageTask=function(t,e,n,i){var o=this,r=e.overallTask=e.overallTask||Yg({reset:Bm}),a=(r.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:o},r.agentStubMap),s=r.agentStubMap=it(),e=t.seriesType,l=t.getTargetSeries,u=!0,h=!1;function c(t){var e=t.uid,e=s.set(e,a&&a.get(e)||(h=!0,Yg({reset:Vm,onDirty:Gm})));e.context={model:t,overallProgress:u},e.agent=r,e.__block=u,o._pipe(t,e)}Tt(!t.createOnAllSeries,""),e?n.eachRawSeriesByType(e,c):l?l(n,i).each(c):(u=!1,nt(n.getSeries(),c)),h&&r.dirty()},zm.prototype._pipe=function(t,e){t=t.uid,t=this._pipelineMap.get(t);t.head||(t.head=e),t.tail&&t.tail.pipe(e),(t.tail=e).__idxInPipeline=t.count++,e.__pipeline=t},zm.wrapStageHandler=function(t,e){return(t=N(t)?{overallReset:t,seriesType:function(t){Zm=null;try{t(jm,qm)}catch(t){}return Zm}(t)}:t).uid=Bd("stageHandler"),e&&(t.visualType=e),t};var Em=zm;function zm(t,e,n,i){this._stageTaskMap=it(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}function Bm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Vm(t){return t.overallProgress&&Fm}function Fm(){this.agent.dirty(),this.getDownstream().dirty()}function Gm(){this.agent&&this.agent.dirty()}function Wm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Hm(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=Zr(t.reset(t.model,t.ecModel,t.api,t.payload));return 1'+t.dom+""}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()):(i.connectedBackgroundColor&&f.add(new pl({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),nt(d,function(t){t=new ol({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(i&&i.type||"png")))):this.getDataURL(i);this.id},h.prototype.convertToPixel=function(t,e,n){return fv(this,"convertToPixel",t,e,n)},h.prototype.convertToLayout=function(t,e,n){return fv(this,"convertToLayout",t,e,n)},h.prototype.convertFromPixel=function(t,e,n){return fv(this,"convertFromPixel",t,e,n)},h.prototype.containPixel=function(t,i){var o;if(!this._disposed)return nt(aa(this._model,t),function(t,n){0<=n.indexOf("Models")&&nt(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?o=o||!!e.containPoint(i):"seriesModels"===n&&(e=this._chartsMap[t.__viewId])&&e.containPoint&&(o=o||e.containPoint(i,t))},this)},this),!!o;this.id},h.prototype.getVisual=function(t,e){var t=aa(this._model,t,{defaultMainType:"series"}),n=t.seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;if(null==t)return n0(n,e);var i=n,o=t,r=e;switch(r){case"color":return i.getItemVisual(o,"style")[i.getVisual("drawType")];case"opacity":return i.getItemVisual(o,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return i.getItemVisual(o,r)}},h.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},h.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},h.prototype._initEvents=function(){var n,i,s=this,o=(nt(Ev,function(a){function t(t){var n,e,i,o=s.getModel(),r=t.target;"globalout"===a?n={}:r&&r0(r,function(t){var e,t=U(t);return t&&null!=t.dataIndex?(e=t.dataModel||o.getSeriesByIndex(t.seriesIndex),n=e&&e.getDataParams(t.dataIndex,t.dataType,r)||{},1):t.eventData&&(n=P({},t.eventData),1)},!0),n&&(e=n.componentType,i=n.componentIndex,"markLine"!==e&&"markPoint"!==e&&"markArea"!==e||(e="series",i=n.seriesIndex),i=(e=e&&null!=i&&o.getComponent(e,i))&&s["series"===e.mainType?"_chartsMap":"_componentsMap"][e.__viewId],n.event=t,n.type=a,s._$eventProcessor.eventInfo={targetEl:r,packedEvent:n,model:e,view:i},s.trigger(a,n))}t.zrEventfulCallAtLast=!0,s._zr.on(a,t,s)}),this._messageCenter);nt(Vv,function(t,e){o.on(e,function(t){s.trigger(e,t)})}),i=(n=this)._api,o.on("selectchanged",function(t){var e=i.getModel();t.isFromClick?(o0("map","selectchanged",n,e,t),o0("pie","selectchanged",n,e,t)):"select"===t.fromAction?(o0("map","selected",n,e,t),o0("pie","selected",n,e,t)):"unselect"===t.fromAction&&(o0("map","unselected",n,e,t),o0("pie","unselected",n,e,t))})},h.prototype.isDisposed=function(){return this._disposed},h.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},h.prototype.dispose=function(){var t,e,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&ca(this.getDom(),qv,""),e=(t=this)._api,n=t._model,nt(t._componentsViews,function(t){t.dispose(n,e)}),nt(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Xv[t.id])},h.prototype.resize=function(t){if(!this[Q0])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var e=e.resetOption("media"),n=t&&t.silent;this[tv]&&(null==n&&(n=this[tv].silent),e=!0,this[tv]=null),this[Q0]=!0,Dv(this);try{e&&hv(this),pv.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this[Q0]=!1,t}this[Q0]=!1,mv.call(this,n),vv.call(this,n)}}},h.prototype.showLoading=function(t,e){this._disposed?this.id:(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Yv[t]&&(t=Yv[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},h.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},h.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=Bv[t.type],e},h.prototype.dispatchAction=function(t,e){var n;this._disposed?this.id:(E(e)||(e={silent:!!e}),zv[t.type]&&this._model&&(this[Q0]?this._pendingActions.push(t):(n=e.silent,yv.call(this,t,n),(t=e.flush)?this._zr.flush():!1!==t&&w.browser.weChat&&this._throttledZrFlush(),mv.call(this,n),vv.call(this,n))))},h.prototype.updateLabelLayout=function(){K0.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},h.prototype.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp())},h.internalField=(hv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cv(t,!0),cv(t,!1),e.plan()},cv=function(t,o){for(var r=t._model,a=t._scheduler,s=o?t._componentsViews:t._chartsViews,l=o?t._componentsMap:t._chartsMap,u=t._zr,h=t._api,e=0;es.get("hoverLayerThreshold")&&!w.node&&!w.worker&&s.eachSeries(function(t){t.preventUsingHoverLayer||(t=i._chartsMap[t.__viewId]).__alive&&t.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}),K0.trigger("series:afterupdate",t,e,n)},Iv=function(t){t[ev]=!0,t.getZr().wakeUp()},Dv=function(t){t[J0]=(t[J0]+1)%1e3},Cv=function(t){t[ev]&&(t.getZr().storage.traverse(function(t){xc(t)||Pv(t)}),t[ev]=!1)},Mv=function(n){return u(t,e=Hf),t.prototype.getCoordinateSystems=function(){return n._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return n._model.getComponent(e.mainType,e.index);t=t.parent}},t.prototype.enterEmphasis=function(t,e){lu(t,e),Iv(n)},t.prototype.leaveEmphasis=function(t,e){uu(t,e),Iv(n)},t.prototype.enterBlur=function(t){hu(t),Iv(n)},t.prototype.leaveBlur=function(t){cu(t),Iv(n)},t.prototype.enterSelect=function(t){du(t),Iv(n)},t.prototype.leaveSelect=function(t){pu(t),Iv(n)},t.prototype.getModel=function(){return n.getModel()},t.prototype.getViewOfComponentModel=function(t){return n.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return n.getViewOfSeriesModel(t)},t.prototype.getMainProcessVersion=function(){return n[J0]},new t(n);function t(){return null!==e&&e.apply(this,arguments)||this}var e},void(Tv=function(i){function o(t,e){for(var n=0;no[1]&&(o[0]=o[1]),r}function tx(t){var e=Math.pow(10,Vr(t)),t=t/e;return t?2===t?t=3:3===t?t=5:t*=2:t=1,Dr(t*e)}function ex(t){return Ar(t)+2}function nx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function ix(t,e){return t>=e[0]&&t<=e[1]}rx.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=S(t.normalize,t),this.scale=S(t.scale,t)):(this.normalize=ax,this.scale=sx)};var ox=rx;function rx(){this.normalize=ax,this.scale=sx}function ax(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function sx(t,e){return t*(e[1]-e[0])+e[0]}function lx(t,e,n){t=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/t,Math.log(n?e[1]:Math.max(0,e[1]))/t]}hx.prototype.getSetting=function(t){return this._setting[t]},hx.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent((t[0]e[1]?t:e)[1])},hx.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},hx.prototype.getExtent=function(){return this._extent.slice()},hx.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},hx.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},hx.prototype.setBreaksFromOption=function(t){},hx.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},hx.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},hx.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},hx.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},hx.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},hx.prototype.isBlank=function(){return this._isBlank},hx.prototype.setBlank=function(t){this._isBlank=t};var ux=hx;function hx(t){this._calculator=new ox,this._setting=t||{},this._extent=[1/0,-1/0]}wa(ux);var cx=0,dx=(px.createByAxisModel=function(t){var t=t.option,e=t.data,e=e&&B(e,fx);return new px({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},px.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},px.prototype.parseAndCollect=function(t){var e,n,i=this._needCollect;return F(t)||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n)):null==(n=(e=this._getOrCreateMap()).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n):t},px.prototype._getOrCreateMap=function(){return this._map||(this._map=it(this.categories))},px);function px(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cx,this._onCollect=t.onCollect}function fx(t){return E(t)&&null!=t.value?t.value:t+""}u(mx,gx=ux),mx.prototype.parse=function(t){return null==t?NaN:F(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},mx.prototype.contain=function(t){return ix(t,this._extent)&&0<=t&&t=t},mx.prototype.getOrdinalMeta=function(){return this._ordinalMeta},mx.prototype.calcNiceTicks=function(){},mx.prototype.calcNiceExtent=function(){},mx.type="ordinal";var gx,yx=mx;function mx(t){var t=gx.call(this,t)||this,e=(t.type="ordinal",t.getSetting("ordinalMeta"));return V(e=e||new dx({}))&&(e=new dx({categories:B(e,function(t){return E(t)?t.value:t})})),t._ordinalMeta=e,t._extent=t.getSetting("extent")||[0,e.categories.length-1],t}ux.registerClass(yx);var vx,_x=Dr,xx=(u(bx,vx=ux),bx.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},bx.prototype.contain=function(t){return ix(t,this._extent)},bx.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},bx.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},bx.prototype.getInterval=function(){return this._interval},bx.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=ex(t)},bx.prototype.getTicks=function(t){t=t||{};var n=this._interval,e=this._extent,i=this._niceExtent,o=this._intervalPrecision,r=Zd,a=[];if(n)if("only_break"===t.breakTicks&&r)r.addBreaksToTicks(a,this._brkCtx.breaks,this._extent);else{e[0]h&&(t.expandToNicedExtent?a.push({value:_x(h+n,o)}):a.push({value:e[1]})),"none"!==t.breakTicks&&r&&r.addBreaksToTicks(a,this._brkCtx.breaks,this._extent)}return a},bx.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),o=1;oi[0]&&cx));)g[o](g[i]()+t),f=g.getTime(),y&&0<(d=y.calcNiceTickMultiple(f,p))&&(g[o](g[i]()+d*t),f=g.getTime());a.push({value:f,notAdd:!0})}function i(t,e,n){var i,o,r,a,s=[],l=!e.length;if(i=ap(t),o=_[0],r=_[1],a=v,up(new Date(o),i,a).getTime()!==up(new Date(r),i,a).getTime()){l&&(e=[{value:function(t,e,n){e=Math.max(0,D(np,e)-1);return up(new Date(t),np[e],n).getTime()}(_[0],t,v)},{value:_[1]}]);for(var u,h,c=0;c=_[0]&&d<=_[1]&&w(f,d,p,g,y,0,s),"year"===t&&1=_[0]&&p<=_[1]&&a++)}u=e/m;if(1.5*u=_[0]&&t.value<=_[1]&&!t.notAdd})}),function(t){return 0n&&(this._approxInterval=n),Bx.length),t=Math.min(function(t,e,n,i){for(;n>>1;t[o][1]>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);i.push([(o=s+=o)/n,(r=l+=r)/n])}return i}function O1(t,r){var e,n,o;return B(ht((t=(e=t).UTF8Encoding?(null==(o=(n=e).UTF8Scale)&&(o=1024),nt(n.features,function(t){var e=t.geometry,n=e.encodeOffsets,i=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=P1(i,n,o);break;case"Polygon":case"MultiLineString":L1(i,n,o);break;case"MultiPolygon":nt(i,function(t,e){return L1(t,n[e],o)})}}),n.UTF8Encoding=!1,n):e).features,function(t){return t.geometry&&t.properties&&0=e[0]&&t<=e[1]}),function(t){var e={value:t};return{formattedLabel:i(e),rawLabel:n.scale.getLabel(e),tickValue:t,time:void 0,break:void 0}})}):"category"===n.type?(s=t,a=(t=n).getLabelModel(),s=G1(t,a,s),!a.get("show")||t.scale.isBlank()?{labels:[]}:s):(a=(o=n).scale.getTicks(),r=o1(o),{labels:B(a,function(t,e){return{formattedLabel:r(t,e),rawLabel:o.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function F1(t,e,n){var i,o,r,a,s,l,u=t.getTickModel().get("customValues");return u?(i=t.scale.getExtent(),{ticks:ht(B1(t,u),function(t){return t>=i[0]&&t<=i[1]})}):"category"===t.type?(u=e,a=W1(e=t),s=a1(u),(l=X1(a,s))||(u.get("show")&&!e.scale.isBlank()||(o=[]),o=N(s)?K1(e,s,!0):"auto"===s?(l=G1(e,e.getLabelModel(),z1(E1.determine)),r=l.labelCategoryInterval,B(l.labels,function(t){return t.tickValue})):q1(e,r=s,!0),U1(a,s,{ticks:o,tickCategoryInterval:r}))):{ticks:B(t.scale.getTicks(n),function(t){return t.value})}}function G1(t,e,n){var i,o=H1(t),r=a1(e),e=n.kind===E1.estimate;if(!e){var a=X1(o,r);if(a)return a}var s={labels:N(r)?K1(t,r):q1(t,i="auto"===r?function(t,e){{var n;if(e.kind===E1.estimate)return n=t.calculateCategoryInterval(e),e.out.noPxChangeTryDetermine.push(function(){return N1(t).autoInterval=n,!0}),n}var i=N1(t).autoInterval;return null!=i?i:N1(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):r),labelCategoryInterval:i};return e?n.out.noPxChangeTryDetermine.push(function(){return U1(o,r,s),!0}):U1(o,r,s),s}var W1=Y1("axisTick"),H1=Y1("axisLabel");function Y1(e){return function(t){return N1(t)[e]||(N1(t)[e]={list:[]})}}function X1(t,e){for(var n=0;nl[1],h(n[0].coord,l[0])&&(t?n[0].coord=l[0]:n.shift()),t&&h(l[0],n[0].coord)&&n.unshift({coord:l[0],onBand:!0}),h(l[1],i.coord)&&(t?i.coord=l[1]:n.pop()),t)&&h(i.coord,l[1])&&n.push({coord:l[1],onBand:!0}),u},Q1.prototype.getMinorTicksCoords=function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),B(this.scale.getMinorTicks(t=0=u}}for(var r,a=this.__startIndex;ao[0]){for(l=0;lt);l++);s=i[o[l]]}o.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(e.dom,n.nextSibling):a.appendChild(e.dom):a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom)),e.painter||(e.painter=this)}},Kb.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":a?0<=o.height?"bottom":"top":0<=o.width?"right":"left"),h=cd(i),l=(hd(t,h,{labelFetcher:r,labelDataIndex:n,defaultText:xw(r.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u}),t.getTextContent()),h=(s&&l&&(s=i.get(["label","position"]),t.textConfig.inside="middle"===s||null,function(t,e,n,i){if(G(i))t.setTextConfig({rotation:i});else if(V(e))t.setTextConfig({rotation:0});else{var o,i=t.shape,r=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(r+a)/2,i=n(e);switch(i){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=s;break;case"startAngle":case"insideStartAngle":o=r;break;case"endAngle":case"insideEndAngle":o=a;break;default:return t.setTextConfig({rotation:0})}n=1.5*Math.PI-o;"middle"===i&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),t.setTextConfig({rotation:n})}}(t,"outside"===s?u:s,Bw(a),i.get(["label","rotate"]))),u=l,s=h,a=r.getRawValue(n),l=function(t){return bw(e,t)},u&&((u=vd(u)).prevValue=u.value,u.value=a,a=s.normal,u.valueAnimation=a.get("valueAnimation"),u.valueAnimation)&&(u.precision=a.get("precision"),u.defaultInterpolatedText=l,u.statesModels=s),i.getModel(["emphasis"]));bu(t,h.get("focus"),h.get("blurScope"),h.get("disabled")),Mu(t,i),null!=(r=o).startAngle&&null!=r.endAngle&&r.startAngle===r.endAngle&&(t.style.fill="none",t.style.stroke="none",nt(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var Fw,Gw=function(){},Ww=(u(Hw,Fw=Ks),Hw.prototype.getDefaultShape=function(){return new Gw},Hw.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,o=1-this.baseDimIdx,r=[],a=[],s=this.barWidth,l=0;le[u-1].coord&&(e.reverse(),h.reverse()),function(t,e){var n,i,o=[],r=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Ni((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;si)return;return 1}(a,e))return o=e.mapDimension(a.dim),r={},nt(a.getViewLabels(),function(t){t=a.scale.getRawOrdinalNumber(t.tickValue);r[t]=1}),function(t){return!r.hasOwnProperty(e.get(o,t))}}}function DS(t){for(var e,n,i=t.length/2;0l?x:_,(g=Math.abs(p.label.y-l))>=f.maxY&&(m=p.label.x-s-p.len2*h,y=u+p.len,m=Math.abs(m)t.unconstrainedWidth)?null:s,i.setStyle("width",l)),HS(o,i))}function HS(t,e){XS.rect=t,Ib(XS,e,YS)}var YS={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},XS={};function US(t){return"center"===t.position}function ZS(t){var S,M,T=t.getData(),I=[],C=!1,E=(t.get("minShowLabelAngle")||0)*FS,e=T.getLayout("viewRect"),D=T.getLayout("r"),k=e.width,A=e.x,n=e.y,L=e.height;function P(t){t.ignore=!0}if(T.each(function(t){var e,n,i,o,r,a,s,l,u,h,c=T.getItemGraphicEl(t),d=c.shape,p=c.getTextContent(),f=c.getTextGuideLine(),t=T.getItemModel(t),g=t.getModel("label"),y=g.get("position")||t.get(["emphasis","label","position"]),m=g.get("distanceToLabelLine"),v=g.get("alignTo"),_=Y(g.get("edgeDistance"),k),x=g.get("bleedMargin"),t=(null==x&&(x=200=e.r0},JS.type="pie";var $S,QS=JS;function JS(){var t=null!==$S&&$S.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}function tM(t,e,n){e=V(e)?{coordDimensions:e}:P({encodeDefine:t.getEncode()},e);var i=t.getSource(),e=Y_(i,e).dimensions,e=new H_(e,t);return e.initData(i,n),e}nM.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},nM.prototype.containName=function(t){return 0<=this._getRawData().indexOfName(t)},nM.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},nM.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)};var eM=nM;function nM(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}var iM,oM=i(),rM=(u(aM,iM=im),aM.prototype.init=function(t){iM.prototype.init.apply(this,arguments),this.legendVisualProvider=new eM(S(this.getData,this),S(this.getRawData,this)),this._defaultLabelLine(t)},aM.prototype.mergeOption=function(){iM.prototype.mergeOption.apply(this,arguments)},aM.prototype.getInitialData=function(){return tM(this,{coordDimensions:["value"],encodeDefaulter:M(Mf,this)})},aM.prototype.getDataParams=function(t){var e,n=this.getData(),i=oM(n),o=i.seats,i=(o||(e=[],n.each(n.mapDimension("value"),function(t){e.push(t)}),o=i.seats=Or(e,n.hostModel.get("percentPrecision"))),iM.prototype.getDataParams.call(this,t));return i.percent=o[t]||0,i.$vars.push("percent"),i},aM.prototype._defaultLabelLine=function(t){jr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},aM.type="series.pie",aM.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},aM);function aM(){return null!==iM&&iM.apply(this,arguments)||this}Id={fullType:rM.type,getCoord2:function(t){return t.getShallow("center")}},Bp.set(Id.fullType,{getCoord2:void 0}).getCoord2=Id.getCoord2,y1(function(t){t.registerChartView(QS),t.registerSeriesModel(rM),i0("pie",t.registerAction),t.registerLayout(M(zS,"pie")),t.registerProcessor(VS("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),e=n.get(e,t);return!(G(e)&&!isNaN(e)&&e<0)})}})});var sM=["itemStyle","borderColor"],lM=["itemStyle","borderColor0"],uM=["itemStyle","borderColorDoji"],hM=["itemStyle","color"],cM=["itemStyle","color0"];function dM(t,e){return e.get(0i[1],i="start"===e&&!t||"start"!==e&&t;e=Nr(n-nT/2)?(o=i?"bottom":"top","center"):Nr(n-1.5*nT)?(o=i?"top":"bottom","center"):(o="middle",n<1.5*nT&&nT/2l[0]&&isFinite(c)&&isFinite(l[0]);)h=tx(h),c=l[1]-h*a;else{e=(h=a "+d)),u++)}var p,f,g,i=n.get("coordinateSystem"),i=("cartesian2d"===i||"polar"===i||"matrix"===i?p=$_(t,n):(D(i=(i=Np.get(i))&&i.dimensions||[],"value")<0&&i.concat(["value"]),i=Y_(t,{coordDimensions:i,encodeDefine:n.getEncode()}).dimensions,(p=new H_(i,n)).initData(t)),new H_(["value"],n));return i.initData(l,s),o&&o(p,i),g=(f={mainData:p,struct:r,structAttr:"graph",datas:{node:p,edge:i},datasAttr:{node:"data",edge:"edgeData"}}).mainData,(n=f.datas)||(n={main:g},f.datasAttr={main:"data"}),f.datas=f.mainData=null,kC(g,n,f),nt(n,function(e){nt(g.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,M(MC,f))})}),g.wrapMethod("cloneShallow",M(IC,f)),nt(g.CHANGABLE_METHODS,function(t){g.wrapMethod(t,M(TC,f))}),Tt(n[g.dataType]===g),r.update(),r}u(RC,PC=im),RC.prototype.init=function(t){PC.prototype.init.apply(this,arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new eM(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},RC.prototype.mergeOption=function(t){PC.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},RC.prototype.mergeDefaultAndTheme=function(t){PC.prototype.mergeDefaultAndTheme.apply(this,arguments),jr(t,"edgeLabel",["show"])},RC.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],t=t.data||t.nodes||[],r=this;if(t&&i)return GT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},WT(n)),nt((n=LC(t,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=Nd.prototype.getModel;function i(t,e){t=n.call(this,t,e);return t.resolveParentPath=o,t}function o(t){var e;return!t||"label"!==t[0]&&"label"!==t[1]?t:(e=t.slice(),"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e)}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=o,t.getModel=i,t})})).edges,function(t){var e,n,i;e=t.node1,n=t.node2,i=this,t=t.dataIndex,GT(i)&&(e=HT(e,n,i),i=(n=i.__edgeMap)[YT(e)],n[e]&&!i?n[e].isForward=!0:i&&n[e]&&(i.isForward=!0,n[e].isForward=!1),n[e]=n[e]||[],n[e].push(t))},this),n.data},RC.prototype.getGraph=function(){return this.getData().graph},RC.prototype.getEdgeData=function(){return this.getGraph().edgeData},RC.prototype.getCategoriesData=function(){return this._categoriesData},RC.prototype.formatTooltip=function(t,e,n){var i,o,r;return"edge"===n?(o=this.getData(),n=this.getDataParams(t,n),r=o.graph.getEdgeByIndex(t),i=o.getName(r.node1.dataIndex),o=o.getName(r.node2.dataIndex),r=[],null!=i&&r.push(i),null!=o&&r.push(o),Gy("nameValue",{name:r.join(" > "),value:n.value,noValue:null==n.value})):Jy({series:this,dataIndex:t,multipleSeries:e})},RC.prototype._updateCategoriesData=function(){var t=B(this.option.categories||[],function(t){return null!=t.value?t:P({value:0},t)}),e=new H_(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},RC.prototype.setZoom=function(t){this.option.zoom=t},RC.prototype.setCenter=function(t){this.option.center=t},RC.prototype.isAnimationEnabled=function(){return PC.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},RC.type="series.graph",RC.dependencies=["grid","polar","geo","singleAxis","calendar"],RC.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:_.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:_.color.primary}}};var PC,OC=RC;function RC(){var t=null!==PC&&PC.apply(this,arguments)||this;return t.type=RC.type,t.hasSymbolVisual=!0,t}y1(function(t){t.registerChartView(pC),t.registerSeriesModel(OC),t.registerProcessor(ET),t.registerVisual(zT),t.registerVisual(VT),t.registerLayout($T),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,rI),t.registerLayout(sI),t.registerCoordinateSystem("graphView",{dimensions:yI.dimensions,create:xI}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Vt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Vt),t.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(n,t,i){t.eachComponent({mainType:"series",query:n},function(t){var e=i.getViewOfSeriesModel(t);e&&(null!=n.dx&&null!=n.dy&&e.updateViewOnPan(t,i,n),null!=n.zoom)&&null!=n.originX&&null!=n.originY&&e.updateViewOnZoom(t,i,n);e=cI(t.coordinateSystem,n,t.get("scaleLimit"));t.setCenter&&t.setCenter(e.center),t.setZoom&&t.setZoom(e.zoom)})})});var NC,EC=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},zC=(u(BC,NC=Ks),BC.prototype.getDefaultShape=function(){return new EC},BC.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},BC.prototype.highlight=function(){lu(this)},BC.prototype.downplay=function(){uu(this)},BC);function BC(t){return NC.call(this,t)||this}u(GC,VC=ym),GC.prototype.init=function(t,e){this._controller=new ZI(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},GC.prototype.render=function(b,t,i){var e,n,o,r,a,s,l,u,h,c=this,d=b.getGraph(),w=this._mainGroup,p=b.layoutInfo,S=p.width,M=p.height,f=b.getData(),T=b.getData("edge"),I=b.get("orient");this._model=b,w.removeAll(),w.x=p.x,w.y=p.y,this._updateViewCoordSys(b,i),e=b,n=i,o=w,p=this._controller,r=this._controllerHost,a=null,s=new X(0,0,0,0),p.enable(e.get("roam"),{api:n,zInfo:{component:e},triggerInfo:{roamTrigger:e.get("roamTrigger"),isInSelf:function(t,e,n){return s.copy(o.getBoundingRect()),s.applyTransform(o.getComputedTransform()),s.contain(e,n)},isInClip:function(t,e,n){return!a||a.contain(e,n)}}}),r.zoomLimit=e.get("scaleLimit"),u=e.coordinateSystem,r.zoom=u?u.getZoom():1,l=e.subType+"Roam",p.off("pan").off("zoom").on("pan",function(t){lI(r,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:l,dx:t.dx,dy:t.dy})}).on("zoom",function(t){uI(r,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:l,zoom:t.scale,originX:t.originX,originY:t.originY}),n.updateLabelLayout()}),d.eachEdge(function(e){var t,n,i,o,r,a,s,l=new zC,u=U(l),u=(u.dataIndex=e.dataIndex,u.seriesIndex=b.seriesIndex,u.dataType="edge",e.getModel()),h=u.getModel("lineStyle"),c=h.get("curveness"),d=e.node1.getLayout(),p=e.node1.getModel(),f=p.get("localX"),p=p.get("localY"),g=e.node2.getLayout(),y=e.node2.getModel(),m=y.get("localX"),y=y.get("localY"),v=e.getLayout(),_=(l.shape.extent=Math.max(1,v.dy),f="vertical"===(l.shape.orient=I)?(t=(null!=f?f*S:d.x)+v.sy,n=(null!=p?p*M:d.y)+d.dy,i=(null!=m?m*S:g.x)+v.ty,r=t,a=n*(1-c)+(o=null!=y?y*M:g.y)*c,s=i,n*c+o*(1-c)):(t=(null!=f?f*S:d.x)+d.dx,n=(null!=p?p*M:d.y)+v.sy,r=t*(1-c)+(i=null!=m?m*S:g.x)*c,a=n,s=t*c+i*(1-c),o=(null!=y?y*M:g.y)+v.ty),l.setShape({x1:t,y1:n,x2:i,y2:o,cpx1:r,cpy1:a,cpx2:s,cpy2:f}),l.useStyle(h.getItemStyle()),WC(l.style,I,e),""+u.get("value")),x=cd(u,"edgeLabel"),p=(hd(l,x,{labelFetcher:{getFormattedLabel:function(t,e,n,i,o,r){return b.getFormattedLabel(t,e,"edge",i,wt(o,x.normal&&x.normal.get("formatter"),_),r)}},labelDataIndex:e.dataIndex,defaultText:_}),l.setTextConfig({position:"inside"}),u.getModel("emphasis")),d=(Mu(l,u,"lineStyle",function(t){t=t.getItemStyle();return WC(t,I,e),t}),w.add(l),T.setItemGraphicEl(e.dataIndex,l),p.get("focus"));bu(l,"adjacency"===d?e.getAdjacentDataIndices():"trajectory"===d?e.getTrajectoryDataIndices():d,p.get("blurScope"),p.get("disabled"))}),d.eachNode(function(t){var e=t.getLayout(),n=t.getModel(),i=n.get("localX"),o=n.get("localY"),r=n.getModel("emphasis"),a=n.get(["itemStyle","borderRadius"])||0,i=new pl({shape:{x:null!=i?i*S:e.x,y:null!=o?o*M:e.y,width:e.dx,height:e.dy,r:a},style:n.getModel("itemStyle").getItemStyle(),z2:10}),o=(hd(i,cd(n),{labelFetcher:{getFormattedLabel:function(t,e){return b.getFormattedLabel(t,e,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),i.disableLabelAnimation=!0,i.setStyle("fill",t.getVisual("color")),i.setStyle("decal",t.getVisual("style").decal),Mu(i,n),w.add(i),f.setItemGraphicEl(t.dataIndex,i),U(i).dataType="node",r.get("focus"));bu(i,"adjacency"===o?t.getAdjacentDataIndices():"trajectory"===o?t.getTrajectoryDataIndices():o,r.get("blurScope"),r.get("disabled"))}),f.eachItemGraphicEl(function(t,n){f.getItemModel(n).get("draggable")&&(t.drift=function(t,e){c._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=e,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:b.id,dataIndex:f.getRawIndex(n),localX:this.shape.x/S,localY:this.shape.y/M})},t.ondragend=function(){c._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")}),!this._data&&b.isAnimationEnabled()&&w.setClipPath((u=w.getBoundingRect(),p=b,d=function(){w.removeClipPath()},_c(h=new pl({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}}),{shape:{width:u.width+20}},p,d),h)),this._data=b.getData()},GC.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},GC.prototype._updateViewCoordSys=function(t,e){var n=t.layoutInfo,i=n.width,n=n.height,e=t.coordinateSystem=new yI(null,{api:e,ecModel:t.ecModel});e.zoomLimit=t.get("scaleLimit"),e.setBoundingRect(0,0,i,n),e.setCenter(t.get("center")),e.setZoom(t.get("zoom")),this._controllerHost.target.attr({x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY})},GC.type="sankey";var VC,FC=GC;function GC(){var t=null!==VC&&VC.apply(this,arguments)||this;return t.type=GC.type,t._mainGroup=new cr,t._focusAdjacencyDisabled=!1,t}function WC(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),o=n.node2.getVisual("color");F(i)&&F(o)&&(t.fill=new Jh(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:o,offset:1}]))}}u(XC,HC=im),XC.prototype.getInitialData=function(t,e){for(var n=t.edges||t.links||[],i=t.data||t.nodes||[],o=t.levels||[],r=(this.levelModels=[],this.levelModels),a=0;av&&(v=b.depth),x.setLayout({depth:B?b.depth:y},!0),"vertical"===c?x.setLayout({dy:h},!0):x.setLayout({dx:h},!0);for(var w=0;we[1]&&e.reverse(),e},B2.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},B2.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)};var E2,z2=B2;function B2(t,e,n,i,o){t=E2.call(this,t,e,n)||this;return t.index=0,t.type=i||"value",t.position=o||"bottom",t}function V2(t,e,n){n=n||{};var i=e.axis,o={},r=i.getAxesOnZeroOf()[0],a=i.position,s=r?"onZero":a,i=i.dim,t=[t.x,t.x+t.width,t.y,t.y+t.height],l={left:0,right:1,top:0,bottom:1,onZero:2},u=e.get("offset")||0,u="x"===i?[t[2]-u,t[3]+u]:[t[0]-u,t[1]+u],h=(r&&(h=r.toGlobalCoord(r.dataToCoord(0)),u[l.onZero]=Math.max(Math.min(h,u[1]),u[0])),o.position=["y"===i?u[l[s]]:t[0],"x"===i?u[l[s]]:t[3]],o.rotation=Math.PI/2*("x"===i?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[a],o.labelOffset=r?u[l[a]]-u[l.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),bt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection),e.get(["axisLabel","rotate"]));return o.labelRotate="top"===s?-h:h,o.z2=1,o}function F2(i){var o={xAxisModel:null,yAxisModel:null};return nt(o,function(t,e){var n=e.replace(/Model$/,""),n=i.getReferringComponents(n,la).models[0];o[e]=n}),o}var G2=[[3,1],[0,2]],W2=(H2.prototype.getRect=function(){return this._rect},H2.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=dt(t),i=n.length;if(i){for(var o=[],r=i-1;0<=r;r--){var a=t[+n[r]],s=a.model,l=a.scale;Q_(l)&&s.get("alignTicks")&&null==s.get("interval")?o.push(a):(n1(l,s),Q_(l)&&(e=a))}o.length&&(e||n1((e=o.pop()).scale,e.model),nt(o,function(t){PT(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var o={};nt(n.x,function(t){X2(n,"y",t,o)}),nt(n.y,function(t){X2(n,"x",t,o)}),this.resize(this.model,e)},H2.prototype.resize=function(t,e,n){var i,o,r,a,s,l=Kp(t,e),u=this._rect=jp(t.getBoxLayoutParams(),l.refContainer),h=this._axesMap,c=this._coordsList,d=t.get("containLabel");Z2(h,u),n||(i=u,o=c,n=h,r=d,a=e,s=new sT($2),nt(n,function(t){return nt(t,function(t){h1(t.model)&&(t.axisBuilder=function(t,e,n,i,o,r){for(var t=V2(t,n),a=!1,s=!1,l=0;lu[1]&&u.reverse(),(s=null==s||s>u[1]?u[1]:s)n||!!e&&(r=tD(t).seriesDataCount,e=o.getExtent(),Math.abs(e[0]-e[1])/r>n)):!0===i)},TD.prototype.makeElOption=function(t,e,n,i,o){},TD.prototype.createPointerEl=function(t,e,n,i){var o=e.pointer;o&&(o=wD(t).pointerEl=new ad[o.type](SD(e.pointer)),t.add(o))},TD.prototype.createLabelEl=function(t,e,n,i){e.label&&(e=wD(t).labelEl=new _l(SD(e.label)),t.add(e),CD(e,i))},TD.prototype.updatePointerEl=function(t,e,n){t=wD(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},TD.prototype.updateLabelEl=function(t,e,n,i){t=wD(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{x:e.label.x,y:e.label.y}),CD(t,i))},TD.prototype._renderHandle=function(t){var e,n,i,o,r,a;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,o=e.getModel("handle"),a=e.get("status"),o.get("show")&&a&&"hide"!==a?(this._handle||(r=!0,i=this._handle=Zc(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Le(t.event)},onmousedown:MD(this._onHandleDragMove,this,0,0),drift:MD(this._onHandleDragMove,this),ondragend:MD(this._onHandleDragEnd,this)}),n.add(i)),kD(i,e,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),V(a=o.get("size"))||(a=[a,a]),i.scaleX=a[0]/2,i.scaleY=a[1]/2,Cm(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,r)):(i&&n.remove(i),this._handle=null))},TD.prototype._moveHandleToValue=function(t,e){ID(this._axisPointerModel,!e&&this._moveAnimation,this._handle,DD(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},TD.prototype._onHandleDragMove=function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(DD(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(DD(t)),wD(n).lastProp=null,this._doDispatchAxisPointer())},TD.prototype._doDispatchAxisPointer=function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},TD.prototype._onHandleDragEnd=function(){var t;this._dragging=!1,this._handle&&(t=this._axisPointerModel.get("value"),this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"}))},TD.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var t=t.getZr(),e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Dm(this,"_doDispatchAxisPointer")},TD.prototype.doClear=function(){},TD.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},TD);function TD(){this._dragging=!1,this.animationThreshold=15}function ID(t,e,n,i){!function n(i,t){{var o;return E(i)&&E(t)?(o=!0,nt(t,function(t,e){o=o&&n(i[e],t)}),!!o):i===t}}(wD(n).lastProp,i)&&(wD(n).lastProp=i,e?vc(n,i,t):(n.stopAnimation(),n.attr(i)))}function CD(t,e){t[e.get(["label","show"])?"show":"hide"]()}function DD(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function kD(t,e,n){var i=e.get("z"),o=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=o&&(t.zlevel=o),t.silent=n)})}function AD(t){var e,n=t.get("type"),t=t.getModel(n+"Style");return"line"===n?(e=t.getLineStyle()).fill=null:"shadow"===n&&((e=t.getAreaStyle()).stroke=null),e}function LD(t,e,n,i,o){var r=PD(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),n=n.getModel("label"),a=Tp(n.get("padding")||0),s=n.getFont(),l=Uo(r,s),u=o.position,h=l.width+a[1]+a[3],l=l.height+a[0]+a[2],c=o.align,c=("right"===c&&(u[0]-=h),"center"===c&&(u[0]-=h/2),o.verticalAlign),i=("bottom"===c&&(u[1]-=l),"middle"===c&&(u[1]-=l/2),o=u,c=h,h=l,i=(l=i).getWidth(),l=l.getHeight(),o[0]=Math.min(o[0]+c,i)-c,o[1]=Math.min(o[1]+h,l)-h,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0),n.get("backgroundColor"));i&&"auto"!==i||(i=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:dd(n,{text:r,font:s,fill:n.getTextColor(),padding:a,backgroundColor:i}),z2:10}}function PD(t,e,n,i,o){t=e.scale.parse(t);var r,a=e.scale.getLabel({value:t},{precision:o.precision}),o=o.formatter;return o&&(r={value:r1(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},nt(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&r.seriesData.push(e)}),F(o)?a=o.replace("{value}",a):N(o)&&(a=o(r))),a}function OD(t,e,n){var i=ze();return We(i,i,n.rotation),Ge(i,i,n.position),Gc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function RD(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function ND(t,e,n,i,o,r){return{cx:t,cy:e,r0:n,r:i,startAngle:o,endAngle:r,clockwise:!0}}u(BD,ED=Xl),BD.prototype.makeElOption=function(t,e,n,i,o){var r,a=n.axis,s=("angle"===a.dim&&(this.animationThreshold=Math.PI/18),a.polar),l=s.getOtherAxis(a).getExtent(),u=a.dataToCoord(e),h=i.get("type"),a=(h&&"none"!==h&&(r=AD(i),(h=FD[h](a,s,u,l)).style=r,t.graphicKey=h.type,t.pointer=h),i.get(["label","margin"]));LD(t,n,i,o,function(t,e,n,i){var o,r,a=e.axis,t=a.dataToCoord(t),s=(l=(l=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());{var l;s="radius"===a.dim?(a=ze(),We(a,a,l),Ge(a,a,[n.cx,n.cy]),o=Gc([t,-i],a),a=e.getModel("axisLabel").get("rotate")||0,e=fT.innerTextLayout(l,a*Math.PI/180,-1),r=e.textAlign,e.textVerticalAlign):(l=s[1],o=n.coordToPoint([l+i,t]),a=n.cx,e=n.cy,r=Math.abs(o[0]-a)/l<.3?"center":o[0]>a?"left":"right",Math.abs(o[1]-e)/l<.3?"middle":o[1]>e?"top":"bottom")}return{position:o,align:r,verticalAlign:s}}(e,n,s,a))};var ED,zD=BD;function BD(){return null!==ED&&ED.apply(this,arguments)||this}var VD,FD={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:RD(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var o=Math.max(1,t.getBandWidth()),r=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:ND(e.cx,e.cy,i[0],i[1],(-n-o/2)*r,(o/2-n)*r)}:{type:"Sector",shape:ND(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}},GD=(u(WD,VD=Xl),WD.prototype.makeElOption=function(t,e,n,i,o){var r,a=n.axis,s=a.grid,l=i.get("type"),u=HD(s,a).getOtherAxis(a).getGlobalExtent(),h=a.toGlobalCoord(a.dataToCoord(e,!0)),a=(l&&"none"!==l&&(r=AD(i),(l=YD[l](a,h,u)).style=r,t.graphicKey=l.type,t.pointer=l),V2(s.getRect(),n));h=e,u=t,r=a,l=n,s=i,e=o,t=fT.innerTextLayout(r.rotation,0,r.labelDirection),r.labelMargin=s.get(["label","margin"]),LD(u,l,s,e,{position:OD(l.axis,h,r),align:t.textAlign,verticalAlign:t.textVerticalAlign})},WD.prototype.getHandleTransform=function(t,e,n){var i=V2(e.axis.grid.getRect(),e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),OD(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},WD.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,o=n.grid,r=n.getGlobalExtent(!0),o=HD(o,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(r[1],a[n]),a[n]=Math.max(r[0],a[n]),(o[1]+o[0])/2),r=[e,e];r[n]=a[n];return{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:r,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}},WD);function WD(){return null!==VD&&VD.apply(this,arguments)||this}function HD(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var YD={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:RD([e,n[0]],[e,n[1]],XD(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:(e=[e-i/2,n[0]],n=[i,o],i=XD(t),{x:e[i=i||0],y:e[1-i],width:n[i],height:n[1-i]})}}};function XD(t){return"x"===t.dim?0:1}u(jD,UD=g),jD.type="axisPointer",jD.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:_.color.border,width:1,type:"dashed"},shadowStyle:{color:_.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:_.color.neutral00,padding:[5,7,5,7],backgroundColor:_.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:_.color.accent40,throttle:40}};var UD,ZD=jD;function jD(){var t=null!==UD&&UD.apply(this,arguments)||this;return t.type=jD.type,t}var qD=i(),KD=nt;function $D(t,e,n){var i,c,d;function o(t,h){c.on(t,function(e){n=d;var n,i,o={dispatchAction:r,pendings:i={showTip:[],hideTip:[]}};function r(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=r,n.dispatchAction(t))}KD(qD(c).records,function(t){t&&h(t,e,o.dispatchAction)});var t,a=o.pendings,s=d,l=a.showTip.length,u=a.hideTip.length;l?t=a.showTip[l-1]:u&&(t=a.hideTip[u-1]),t&&(t.dispatchAction=null,s.dispatchAction(t))})}w.node||(i=e.getZr(),qD(i).records||(qD(i).records={}),d=e,qD(c=i).initialized||(qD(c).initialized=!0,o("click",M(JD,"click")),o("mousemove",M(JD,"mousemove")),o("globalout",QD)),(qD(i).records[t]||(qD(i).records[t]={})).handler=n)}function QD(t,e,n){t.handler("leave",null,n)}function JD(t,e,n,i){e.handler(t,n,i)}function tk(t,e){w.node||(e=e.getZr(),(qD(e).records||{})[t]&&(qD(e).records[t]=null))}u(ik,ek=cm),ik.prototype.render=function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";$D("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},ik.prototype.remove=function(t,e){tk("axisPointer",e)},ik.prototype.dispose=function(t,e){tk("axisPointer",e)},ik.type="axisPointer";var ek,nk=ik;function ik(){var t=null!==ek&&ek.apply(this,arguments)||this;return t.type=ik.type,t}function ok(t,e){var n,i,o,r,a=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||null==(s=oa(n=e.getData(),t))||s<0||V(s)?{point:[]}:(i=n.getItemGraphicEl(s),o=e.coordinateSystem,e.getTooltipPosition?a=e.getTooltipPosition(s)||[]:o&&o.dataToPoint?a=t.isStacked?(e=o.getBaseAxis(),t=o.getOtherAxis(e).dim,e=e.dim,t="x"===t||"radius"===t?1:0,e=n.mapDimension(e),(r=[])[t]=n.get(e,s),r[1-t]=n.get(n.getCalculationInfo("stackResultDimension"),s),o.dataToPoint(r)||[]):o.dataToPoint(n.getValues(B(o.dimensions,function(t){return n.mapDimension(t)}),s))||[]:i&&((e=i.getBoundingRect().clone()).applyTransform(i.transform),a=[e.x+e.width/2,e.y+e.height/2]),{point:a,el:i})}var rk=i();function ak(t,e,n){var r,a,i,s,l,o,u,h,c,d,p,f,g,y,m=t.currTrigger,v=[t.x,t.y],_=t,x=t.dispatchAction||S(n.dispatchAction,n),b=e.getComponent("axisPointer").coordSysAxesInfo;if(b)return ck(v)&&(v=ok({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},e).point),r=ck(v),a=_.axesInfo,i=b.axesInfo,s="leave"===m||ck(v),l={},e={list:[],map:{}},u={showPointer:M(lk,o={}),showTooltip:M(uk,e)},nt(b.coordSysMap,function(t,e){var o=r||t.containPoint(v);nt(b.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);s||!o||a&&!i||null!=(i=null!=(i=i&&i.value)||r?i:n.pointToData(v))&&sk(t,i,u,!1,l)})}),h={},nt(i,function(n,t){var i=n.linkGroup;i&&!o[t]&&nt(i.axesInfo,function(t,e){var e=o[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,hk(t),hk(n)))),h[n.key]=e)})}),nt(h,function(t,e){sk(i[e],t,u,!0,l)}),c=o,_=i,d=l.axesInfo=[],nt(_,function(t,e){var n=t.axisPointerModel.option,e=c[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&d.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),m=e,_=t,e=x,ck(t=v)||!m.list.length?e({type:"hideTip"}):(x=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:x.dataIndexInside,dataIndex:x.dataIndex,seriesIndex:x.seriesIndex,dataByCoordSys:m.list})),e=i,_=(t=n).getZr(),x="axisPointerLastHighlights",p=rk(_)[x]||{},f=rk(_)[x]={},nt(e,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&nt(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;f[e]=t})}),g=[],y=[],nt(p,function(t,e){f[e]||y.push(t)}),nt(f,function(t,e){p[e]||g.push(t)}),y.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),l}function sk(t,e,n,i,o){var r,a,s,l,u,h,c,d,p,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(a=e,s=t.axis,l=s.dim,u=a,h=[],c=Number.MAX_VALUE,d=-1,nt(t.seriesModels,function(e,t){var n,i=e.getData().mapDimensionsAll(l);if(e.getAxisTooltipData)var o=e.getAxisTooltipData(i,a,s),r=o.dataIndices,o=o.nestestValue;else{if(!(r=e.indicesOfNearest(l,i[0],a,"category"===s.type?.5:null)).length)return;o=e.getData().get(i[0],r[0])}null!=o&&isFinite(o)&&(i=a-o,(n=Math.abs(i))<=c)&&((ne[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var t=t-this.cx,e=e-this.cy,t=t*t+e*e,e=this.r,n=this.r0;return e!==n&&t-1e-4<=e*e&&n*n<=1e-4+t},x:this.cx-e[1],y:this.cy-e[1],width:2*e[1],height:2*e[1]}},Ok.prototype.convertToPixel=function(t,e,n){return Rk(e)===this?this.dataToPoint(n):null},Ok.prototype.convertFromPixel=function(t,e,n){return Rk(e)===this?this.pointToData(n):null},Ok);function Ok(t){this.dimensions=Lk,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Tk,this._angleAxis=new kk,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}function Rk(t){var e=t.seriesModel,t=t.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function Nk(t,e){var n,i=this,o=i.getAngleAxis(),r=i.getRadiusAxis();o.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){var e;t.coordinateSystem===i&&(nt(l1(e=t.getData(),"radius"),function(t){r.scale.unionExtentFromData(e,t)}),nt(l1(e,"angle"),function(t){o.scale.unionExtentFromData(e,t)}))}),n1(o.scale,o.model),n1(r.scale,r.model),"category"!==o.type||o.onBand||(t=o.getExtent(),n=360/o.scale.count(),o.inverse?t[1]+=n:t[1]-=n,o.setExtent(t[0],t[1]))}function Ek(t,e){var n,i;t.type=e.get("type"),t.scale=i1(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse=t.inverse!==e.get("clockwise"),n=e.get("startAngle"),i=null!=(i=e.get("endAngle"))?i:n+(t.inverse?-360:360),t.setExtent(n,i)),(e.axis=t).model=e}var zk={dimensions:Lk,create:function(t,a){var s=[];return t.eachComponent("polar",function(t,e){var e=new Pk(e+""),n=(e.update=Nk,e.getRadiusAxis()),i=e.getAngleAxis(),o=t.findAxisModel("radiusAxis"),r=t.findAxisModel("angleAxis");Ek(n,o),Ek(i,r),n=e,o=a,r=(i=t).get("center"),o=Kp(i,o).refContainer,n.cx=Y(r[0],o.width)+o.x,n.cy=Y(r[1],o.height)+o.y,r=n.getRadiusAxis(),n=Math.min(o.width,o.height)/2,null==(o=i.get("radius"))?o=[0,"100%"]:V(o)||(o=[0,o]),i=[Y(o[0],n),Y(o[1],n)],r.inverse?r.setExtent(i[1],i[0]):r.setExtent(i[0],i[1]),s.push(e),(t.coordinateSystem=e).model=t}),t.eachSeries(function(t){var e;"polar"===t.get("coordinateSystem")&&(e=t.getReferringComponents("polar",la).models[0],t.coordinateSystem=e.coordinateSystem)}),s}},Bk=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function Vk(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function Fk(t){return t.getRadiusAxis().inverse?0:1}function Gk(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}u(Yk,Wk=rD),Yk.prototype.render=function(e,t){var n,i,o,r,a,s;this.group.removeAll(),e.get("show")&&(n=e.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),r=n.getTicksCoords({breakTicks:"none"}),a=n.getMinorTicksCoords(),Gk(s=B(n.getViewLabels(),function(t){t=v(t);var e=n.scale,e="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(e),t})),Gk(r),nt(Bk,function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||Uk[t](this.group,e,i,r,a,o,s)},this))},Yk.type="angleAxis";var Wk,Hk=Yk;function Yk(){var t=null!==Wk&&Wk.apply(this,arguments)||this;return t.type=Yk.type,t.axisPointerClass="PolarAxisPointer",t}var Xk,Uk={axisLine:function(t,e,n,i,o,r){var e=e.getModel(["axisLine","lineStyle"]),a=n.getAngleAxis(),s=Math.PI/180,l=a.getExtent(),u=Fk(n),h=u?0:1,c=360===Math.abs(l[1]-l[0])?"Circle":"Arc",c=0===r[h]?new ad[c]({shape:{cx:n.cx,cy:n.cy,r:r[u],startAngle:-l[0]*s,endAngle:-l[1]*s,clockwise:a.inverse},style:e.getLineStyle(),z2:1,silent:!0}):new bh({shape:{cx:n.cx,cy:n.cy,r:r[u],r0:r[h]},style:e.getLineStyle(),z2:1,silent:!0});c.style.fill=null,t.add(c)},axisTick:function(t,e,n,i,o,r){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=r[Fk(n)],r=B(i,function(t){return new Nh({shape:Vk(n,[l,l+s],t.coord)})});t.add(Ec(r,{style:z(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,o,r){if(o.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=r[Fk(n)],h=[],c=0;ca?"left":"right",o=Math.abs(r[1]-s)/o<.3?"middle":r[1]>s?"top":"bottom",l=(p&&p[i]&&E(s=p[i])&&s.textStyle&&(n=new Nd(s.textStyle,f,f.ecModel)),new _l({silent:fT.isLabelSilent(h),style:dd(n,{x:r[0],y:r[1],fill:n.getTextColor()||h.get(["axisLine","lineStyle","color"]),text:t.formattedLabel,align:a,verticalAlign:o})}));u.add(l),Qc({el:l,componentModel:h,itemName:t.formattedLabel,formatterParamsExtra:{isTruncated:function(){return l.isTruncated},value:t.rawLabel,tickIndex:e}}),y&&((i=fT.makeAxisEventDataBase(h)).targetType="axisLabel",i.value=t.rawLabel,U(l).eventData=i)},this)},splitLine:function(t,e,n,i,o,r){for(var a=e.getModel("splitLine").getModel("lineStyle"),s=0,l=(l=a.get("color"))instanceof Array?l:[l],u=[],h=0;hn[o],f=[-c.x,-c.y],e=(e||(f[i]=l[s]),[0,0]),s=[-d.x,-d.y],g=W(t.get("pageButtonGap",!0),t.get("itemGap",!0)),f=(p&&("end"===t.get("pageButtonPosition",!0)?s[i]+=n[o]-d[o]:e[i]+=d[o]+g),s[1-i]+=c[r]/2-d[r]/2,l.setPosition(f),u.setPosition(e),h.setPosition(s),{x:0,y:0}),c=(f[o]=(p?n:c)[o],f[r]=Math.max(c[r],d[r]),f[a]=Math.min(0,d[a]+s[1-i]),u.__rectSize=n[o],p?((e={x:0,y:0})[o]=Math.max(n[o]-d[o]-g,0),e[r]=f[r],u.setClipPath(new pl({shape:e})),u.__rectSize=e[o]):h.eachChild(function(t){t.attr({invisible:!0,silent:!0})}),this._getPageInfo(t));return null!=c.pageIndex&&vc(l,{x:c.contentPosition[0],y:c.contentPosition[1]},p?t:null),this._updatePageInfoView(t,c),f},zA.prototype._pageGo=function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},zA.prototype._updatePageInfoView=function(n,i){var o=this._controllerGroup,t=(nt(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=o.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")}),o.childOfName("pageText")),e=n.get("pageFormatter"),r=i.pageIndex,r=null!=r?r+1:0,a=i.pageCount;t&&e&&t.setStyle("text",F(e)?e.replace("{current}",null==r?"":r+"").replace("{total}",null==a?"":a+""):e({current:r,total:a}))},zA.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,t=t.getOrient().index,o=RA[t],r=NA[t],e=this._findTargetItemIndex(e),a=n.children(),s=a[e],l=a.length,u=l?1:0,h={contentPosition:[n.x,n.y],pageCount:u,pageIndex:u-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s);h.contentPosition[t]=-n.s;for(var c=e+1,d=n,p=n,f=null;c<=l;++c)(!(f=g(a[c]))&&p.e>d.s+i||f&&!y(f,d.s))&&(d=p.i>d.i?p:f)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=d.i),++h.pageCount),p=f;for(c=e-1,d=n,p=n,f=null;-1<=c;--c)(f=g(a[c]))&&y(p,f.s)||!(d.i=e&&t.s<=e+i}},zA.prototype._findTargetItemIndex=function(n){var i,o;return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==o&&null!=t&&(o=e),t===n&&(i=e)}),null!=i?i:o):0},zA.type="legend.scroll",zA);function zA(){var t=null!==PA&&PA.apply(this,arguments)||this;return t.type=zA.type,t.newlineDisabled=!0,t._currentIndex=0,t}y1(function(t){y1(CA),t.registerComponentModel(kA),t.registerComponentView(EA),t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})});u(FA,BA=g),FA.type="tooltip",FA.dependencies=["axisPointer"],FA.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:_.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:_.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:_.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:_.color.tertiary,fontSize:14}};var BA,VA=FA;function FA(){var t=null!==BA&&BA.apply(this,arguments)||this;return t.type=FA.type,t}function GA(t){var e=t.get("confine");return null!=e?e:"richText"===t.get("renderMode")}function WA(t){if(w.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n'):""),F(t))r.innerHTML=t+c;else if(t){r.innerHTML="",V(t)||(t=[t]);for(var d,p=0;p"),r=f.join(e);this._showOrMove(i,function(){this._updateContentNotChangedOnAxis(t,d)?this._updatePosition(i,o,n[0],n[1],this._tooltipContent,d):this._showTooltipContent(i,r,d,Math.random()+"",n[0],n[1],o,null,g)})},sL.prototype._showSeriesItemTooltip=function(t,e,n){var i,o,r,a,s,l=this._ecModel,e=U(e),u=e.seriesIndex,h=l.getSeriesByIndex(u),c=e.dataModel||h,d=e.dataIndex,e=e.dataType,p=c.getData(e),f=this._renderMode,g=t.positionDefault,y=lL([p.getItemModel(d),c,h&&(h.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null),h=y.get("trigger");null!=h&&"item"!==h||(i=c.getDataParams(d,e),o=new $y,i.marker=o.makeTooltipMarker("item",Lp(i.color),f),g=Hg(c.formatTooltip(d,!1,e)),h=y.get("order"),e=y.get("valueFormatter"),r=g.frag,a=r?Uy(e?P({valueFormatter:e},r):r,o,f,h,l.get("useUTC"),y.get("textStyle")):g.text,s="item_"+c.name+"_"+d,this._showOrMove(y,function(){this._showTooltipContent(y,a,i,s,t.offsetX,t.offsetY,t.position,t.target,o)}),n({type:"showTip",dataIndexInside:d,dataIndex:p.getRawIndex(d),seriesIndex:u,from:this.uid}))},sL.prototype._showComponentItemTooltip=function(e,n,t){var i="html"===this._renderMode,o=U(n),r=o.tooltipConfig.option||{},a=r.encodeHTMLContent,a=(F(r)&&(r={content:r,formatter:r},a=!0),a&&i&&r.content&&((r=v(r)).content=Se(r.content)),[r]),i=this._ecModel.getComponent(o.componentMainType,o.componentIndex),o=(i&&a.push(i),a.push({formatter:r.content}),e.positionDefault),s=lL(a,this._tooltipModel,o?{position:o}:null),l=s.get("content"),u=Math.random()+"",h=new $y;this._showOrMove(s,function(){var t=v(s.get("formatterParams")||{});this._showTooltipContent(s,l,t,u,e.offsetX,e.offsetY,e.position,n,h)}),t({type:"showTip",from:this.uid})},sL.prototype._showTooltipContent=function(n,t,i,e,o,r,a,s,l){var u,h,c,d,p;this._ticket="",n.get("showContent")&&n.get("show")&&((u=this._tooltipContent).setEnterable(n.get("enterable")),h=n.get("formatter"),a=a||n.get("position"),t=t,c=this._getNearestPoint([o,r],i,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)).color,h&&(t=F(h)?(d=n.ecModel.get("useUTC"),t=h,kp(t=(p=V(i)?i[0]:i)&&p.axisType&&0<=p.axisType.indexOf("time")?sp(p.axisValue,t,d):t,i,!0)):N(h)?(p=S(function(t,e){t===this._ticket&&(u.setContent(e,l,n,c,a),this._updatePosition(n,a,o,r,u,i,s))},this),this._ticket=e,h(i,e,p)):h),u.setContent(t,l,n,c,a),u.show(n,c),this._updatePosition(n,a,o,r,u,i,s))},sL.prototype._getNearestPoint=function(t,e,n,i,o){return"axis"===n||V(e)?{color:i||o}:V(e)?void 0:{color:i||e.color||e.borderColor}},sL.prototype._updatePosition=function(t,e,n,i,o,r,a){var s,l=this._api.getWidth(),u=this._api.getHeight(),h=(e=e||t.get("position"),o.getSize()),c=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();a&&p.applyTransform(a.transform),V(e=N(e)?e([n,i],r,o.el,p,{viewSize:[l,u],contentSize:h.slice()}):e)?(n=Y(e[0],l),i=Y(e[1],u)):E(e)?((r=e).width=h[0],r.height=h[1],n=(r=jp(r,{width:l,height:u})).x,i=r.y,d=c=null):i=(n=(s=F(e)&&a?function(t,e,n,i){var o=n[0],r=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-o/2,l=e.y+h/2-r/2;break;case"top":s=e.x+u/2-o/2,l=e.y-r-a;break;case"bottom":s=e.x+u/2-o/2,l=e.y+h+a;break;case"left":s=e.x-o-a,l=e.y+h/2-r/2;break;case"right":s=e.x+u+a,l=e.y+h/2-r/2}return[s,l]}(e,p,h,t.get("borderWidth")):function(t,e,n,i,o,r,a){var n=n.getSize(),s=n[0],n=n[1];null!=r&&(ih[0]?s:o)[0]:r[0]=(a[0]>h[0]?o:s)[0],"y0"===n[1]?r[1]=(a[1]>h[1]?s:o)[1]:r[1]=(a[1]>h[1]?o:s)[1],i.getMarkerPosition(r,n,!0)):(a=[l=t.get(n[0],e),u=t.get(n[1],e)],c.clampData&&c.clampData(a,a),c.dataToPoint(a,!0)),_w(c,"cartesian2d")&&(o=c.getAxis("x"),s=c.getAxis("y"),l=t.get(n[0],e),u=t.get(n[1],e),QL(l)?h[0]=o.toGlobalCoord(o.getExtent()["x0"===n[0]?0:1]):QL(u)&&(h[1]=s.toGlobalCoord(s.getExtent()["y0"===n[1]?0:1]))),isNaN(p)||(h[0]=p),isNaN(d)||(h[1]=d)):h=[p,d],h}var nP,iP=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],oP=(u(rP,nP=_a),rP.prototype.updateTransform=function(t,e,o){e.eachSeries(function(n){var i,t=gL.getMarkerModelFromSeries(n,"markArea");t&&(i=t.getData()).each(function(e){var t=B(iP,function(t){return eP(i,e,t,n,o)});i.setItemLayout(e,t),i.getItemGraphicEl(e).setShape("points",t)})},this)},rP.prototype.renderSeries=function(a,o,t,s){var l=a.coordinateSystem,e=a.id,u=a.getData(),n=this.markerGroupMap,r=n.get(e)||n.set(e,{group:new cr}),h=(this.group.add(r.group),this.markKeep(r),function(t,n,e){var i,o;{var r;i=t?(r=B(t&&t.dimensions,function(t){var e=n.getData();return P(P({},e.getDimensionInfo(e.mapDimension(t))||{}),{name:t,ordinalMeta:null})}),o=B(["x0","y0","x1","y1"],function(t,e){return{name:t,type:r[e%2].type}}),new H_(o,e)):new H_(o=[{name:"value",type:"float"}],e)}e=B(e.get("data"),M(KL,n,t,e));t&&(e=ht(e,M(tP,t)));t=t?function(t,e,n,i){return ny(t.coord[Math.floor(i/2)][i%2],o[i])}:function(t,e,n,i){return ny(t.value,o[i])};return i.initData(e,null,t),i.hasItemOption=!0,i}(l,a,o));o.setData(h),h.each(function(e){var t=B(iP,function(t){return eP(h,e,t,a,s)}),n=l.getAxis("x").scale,i=l.getAxis("y").scale,o=n.getExtent(),r=i.getExtent(),n=[n.parse(h.get("x0",e)),n.parse(h.get("x1",e))],i=[i.parse(h.get("y0",e)),i.parse(h.get("y1",e))],o=(kr(n),kr(i),!(o[0]>n[1]||o[1]i[1]||r[1]r&&(e[1-i]=e[i]+n.sign*r)}function wP(t,e){t=t[e]-t[1-e];return{span:Math.abs(t),sign:0e[1]&&(e[1]=t[1])})}),[(e=Jx((n=e.getAxisModel()).axis.scale,n,o).calculate()).min,e.max]),this._updateMinMaxSpan(),n=this.calculateDataWindow(t.settledOption),this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel())},BP.prototype.filterData=function(t,e){var o,n,r,c;t===this._dataZoomModel&&(o=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),c=this._valueWindow,"none"!==r)&&NP(n,function(n){var l,u,i=n.getData(),h=i.mapDimensionsAll(o);h.length&&("weakFilter"===r?(l=i.getStore(),u=B(h,function(t){return i.getDimensionIndex(t)},i),i.filterSelf(function(t){for(var e,n,i,o=0;oc[1];if(a&&!s&&!r)return!0;a&&(i=!0),s&&(e=!0),r&&(n=!0)}return i&&e&&n})):NP(h,function(t){var e;"empty"===r?n.setData(i=i.map(t,function(t){return(e=t)>=c[0]&&e<=c[1]?t:NaN;var e})):((e={})[t]=c,i.selectRange(e))}),NP(h,function(t){i.setApproximateExtent(c,t)}))})},BP.prototype._updateMinMaxSpan=function(){var i=this._minMaxSpan={},o=this._dataZoomModel,r=this._dataExtent;NP(["min","max"],function(t){var e=o.get(t+"Span"),n=o.get(t+"ValueSpan");null!=(n=null!=n?this.getAxisModel().axis.scale.parse(n):n)?e=Ir(r[0]+n,r,[0,100],!0):null!=e&&(n=Ir(e,[0,100],r,!0)-r[0]),i[t+"Span"]=e,i[t+"ValueSpan"]=n},this)},BP.prototype._setAxisModel=function(){var t,e=this.getAxisModel(),n=this._percentWindow,i=this._valueWindow;n&&(t=Pr(i,[0,500]),t=Math.min(t,20),e=e.axis.scale.rawExtentInfo,0!==n[0]&&e.setDeterminedMinMax("min",+i[0].toFixed(t)),100!==n[1]&&e.setDeterminedMinMax("max",+i[1].toFixed(t)),e.freeze())},BP);function BP(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}var VP={getTargetSeries:function(r){function t(o){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(t,e){var n=r.getComponent(lP(t),e);o(t,e,n,i)})})}t(function(t,e,n,i){n.__dzAxisProxy=null});var o=[],e=(t(function(t,e,n,i){n.__dzAxisProxy||(n.__dzAxisProxy=new zP(t,e,i,r),o.push(n.__dzAxisProxy))}),it());return nt(o,function(t){nt(t.getTargetSeriesModels(),function(t){e.set(t.uid,t)})}),e},overallReset:function(t,i){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(t,e){n.getAxisProxy(t,e).reset(n)}),n.eachTargetAxis(function(t,e){n.getAxisProxy(t,e).filterData(n,i)})}),t.eachComponent("dataZoom",function(t){var e,n=t.findRepresentativeAxisProxy();n&&(e=n.getDataPercentWindow(),n=n.getDataValueWindow(),t.setCalculatedRange({start:e[0],end:e[1],startValue:n[0],endValue:n[1]}))})}};var FP=!1;function GP(t){FP||(FP=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,VP),t.registerAction("dataZoom",function(e,t){nt(uP(t,e),function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function WP(t){GP(t),t.registerComponentModel(mP),t.registerComponentView(AP),DP(t)}u(XP,HP=c0),XP.type="dataZoom.slider",XP.layoutMode="box",XP.defaultOption=Vd(c0.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:_.color.accent10,borderRadius:0,backgroundColor:_.color.transparent,dataBackground:{lineStyle:{color:_.color.accent30,width:.5},areaStyle:{color:_.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:_.color.accent40,width:.5},areaStyle:{color:_.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:_.color.neutral00,borderColor:_.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:_.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:_.color.tertiary},brushSelect:!0,brushStyle:{color:_.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:_.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15});var HP,YP=XP;function XP(){var t=null!==HP&&HP.apply(this,arguments)||this;return t.type=XP.type,t}var UP,ZP=pl,jP="horizontal",qP="vertical",KP=["line","bar","candlestick","scatter"],$P={easing:"cubicOut",duration:100,delay:0},QP=(u(JP,UP=jh),JP.prototype.init=function(t,e){this.api=e,this._onBrush=S(this._onBrush,this),this._onBrushEnd=S(this._onBrushEnd,this)},JP.prototype.render=function(t,e,n,i){UP.prototype.render.apply(this,arguments),Cm(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1===t.get("show")?this.group.removeAll():t.noTarget()?(this._clear(),this.group.removeAll()):(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView())},JP.prototype.dispose=function(){this._clear(),UP.prototype.dispose.apply(this,arguments)},JP.prototype._clear=function(){Dm(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},JP.prototype._buildView=function(){var t=this.group,e=(t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval(),this._displayables.sliderGroup=new cr);this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},JP.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,e=Kp(t,e).refContainer,i=this._findCoordRect(),o=t.get("defaultLocationEdgeGap",!0)||0,r=this._orient===jP?{right:e.width-i.x-i.width,top:e.height-30-o-n,width:i.width,height:30}:{right:o,top:i.y,width:30,height:i.height},a=Jp(t.option),n=(nt(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=r[t])}),jp(a,e));this._location={x:n.x,y:n.y},this._size=[n.width,n.height],this._orient===qP&&this._size.reverse()},JP.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),i=i&&i.get("inverse"),o=this._displayables.sliderGroup,r=(this._dataShadowInfo||{}).otherAxisInverse,n=(o.attr(n!==jP||i?n===jP&&i?{scaleY:r?1:-1,scaleX:-1}:n!==qP||i?{scaleY:r?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:r?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:r?1:-1,scaleX:1}),t.getBoundingRect([o]));t.x=e.x-n.x,t.y=e.y-n.y,t.markRedraw()},JP.prototype._getViewExtent=function(){return[0,this._size[0]]},JP.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect"),t=(n.add(new ZP({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),new ZP({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:S(this._onClickPanel,this)})),e=this.api.getZr();i?(t.on("mousedown",this._onBrushStart,this),t.cursor="crosshair",e.on("mousemove",this._onBrush),e.on("mouseup",this._onBrushEnd)):(e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)),n.add(t)},JP.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,o=i.getRawData(),r=i.getShadowDim&&i.getShadowDim(),r=r&&o.getDimensionInfo(r)?i.getShadowDim():t.otherDim;if(null!=r)for(var a,s,l,u,h,c,d,p,f,g,y,m,v,_=this._shadowPolygonPts,x=this._shadowPolylinePts,b=(o===this._shadowData&&r===this._shadowDim&&e[0]===n[0]&&e[1]===n[1]||(a=o.getDataExtent(t.thisDim),i=.3*((s=o.getDataExtent(r))[1]-s[0]),s=[s[0]-i,s[1]+i],l=[0,e[1]],n=[0,e[0]],u=[[e[0],0],[0,0]],h=[],c=n[1]/Math.max(1,o.count()-1),d=e[0]/(a[1]-a[0]),p="time"===t.thisAxis.type,f=-c,g=Math.round(o.count()/e[0]),o.each([t.thisDim,r],function(t,e,n){0e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,t=this._updateInterval("all",t[0]-e),this._updateView(),t&&this._dispatchZoomAction(!1))},JP.prototype._onBrushStart=function(t){var e=t.offsetX,t=t.offsetY;this._brushStart=new H(e,t),this._brushing=!0,this._brushStartTime=+new Date},JP.prototype._onBrushEnd=function(t){var e,n,i,o;this._brushing&&(i=this._displayables.brushRect,this._brushing=!1,i)&&(i.attr("ignore",!0),i=i.shape,+new Date-this._brushStartTime<200&&Math.abs(i.width)<5||(e=this._getViewExtent(),n=[0,100],bP(0,i=this._handleEnds=[i.x,i.x+i.width],e,0,null!=(o=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan()).minSpan?Ir(o.minSpan,n,e,!0):null,null!=o.maxSpan?Ir(o.maxSpan,n,e,!0):null),this._range=kr([Ir(i[0],e,n,!0),Ir(i[1],e,n,!0)]),this._updateView(),this._dispatchZoomAction(!1)))},JP.prototype._onBrush=function(t){this._brushing&&(Le(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},JP.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,o=n.brushRect,i=(o||(o=n.brushRect=new ZP({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(o)),o.attr("ignore",!1),this._brushStart),n=this._displayables.sliderGroup,t=n.transformCoordToLocal(t,e),e=n.transformCoordToLocal(i.x,i.y),n=this._size;t[0]=Math.max(Math.min(n[0],t[0]),0),o.setShape({x:e[0],y:0,width:t[0]-e[0],height:n[1]})},JP.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?$P:null,start:e[0],end:e[1]})},JP.prototype._findCoordRect=function(){var t,e,n=hP(this.dataZoomModel).infoList;return t=(t=!t&&n.length?(n=n[0].model.coordinateSystem).getRect&&n.getRect():t)?t:{x:.2*(n=this.api.getWidth()),y:.2*(e=this.api.getHeight()),width:.6*n,height:.6*e}},JP.type="dataZoom.slider",JP);function JP(){var t=null!==UP&&UP.apply(this,arguments)||this;return t.type=JP.type,t._displayables={},t}function tO(t){t.registerComponentModel(YP),t.registerComponentView(QP),GP(t)}y1(function(t){y1(WP),y1(tO)}),y1(iw);var eO={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},nO=(iO.prototype.evaluate=function(t){var e=typeof t;return F(e)?this._condVal.test(t):!!G(e)&&this._condVal.test(t+"")},iO);function iO(t){null==(this._condVal=F(t)?new RegExp(t):_t(t)?t:null)&&f("")}rO.prototype.evaluate=function(){return this.value};var oO=rO;function rO(){}sO.prototype.evaluate=function(){for(var t=this.children,e=0;e", "").replace("", ""); } +exports.accAdd = accAdd; exports.accDiv = accDiv; exports.accMul = accMul; exports.accSub = accSub; diff --git a/utils/util.js b/utils/util.js index 6b44274..66fa951 100644 --- a/utils/util.js +++ b/utils/util.js @@ -167,7 +167,6 @@ function getChineseTimeStrByHour(h) } let day = parseInt(h/24) let hour = parseInt(h%24) - console.log(day,hour) return (day>0?(day+'天'):'')+(hour>0?(hour+'小时'):'') }