import{i as cd,a as go,l as di,r as io,j as eg,b as qt,f as Ae,s as xm,v as wm,k as Vs,h as rg,F as nn,d as nt,_ as dl,x as ag,y as ng,g as VI,z as zI,t as Pr,A as Ab,n as Rr,p as ig,o as Cb,w as GI,c as bi,e as ko,q as FI}from"./index-5L8dO1EA.js";import{g as HI,a as WI,s as $I,b as UI,c as YI,d as ZI,o as XI}from"./api-JoJiEZDD.js";import{_ as Db,a as og,b as sg}from"./ZHB-8cmnZlCw.js";import{m as dd}from"./mitt-Efd5K_Pa.js";import"./axios-QLjAsgXu.js";const qI="/yusi/assets/PHBSJ-HwnbdvCQ.png",KI=nt("img",{class:"img-cls",src:qI,alt:""},null,-1),QI={key:0,class:"user-rank",style:{width:"98%"}},JI={__name:"bottomRight",props:{code:Object},setup(r){const e=cd(!0),t=go(),a=di();HI({...t.area,sotre_id:a.query.sotre_id}).then(s=>{console.log("===",s),n(i,s.data)});const n=(s,l)=>{let u=[];return l==null||l.forEach((f,h)=>{var v;((v=f.order_id)==null?void 0:v.length)>12&&(f.order_id=f.order_id.substring(0,8)+"****"+f.order_id.substring(12)),s.data.push([`
>>1;r[n][1]e){i?t.push(o(i,l,e)):n&&t.push(o(n,l,0),o(n,l,e));break}else n&&(t.push(o(n,l,0)),n=null),t.push(l),i=l}return t}function Xz(r,e,t){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&e.type==="cartesian2d"){for(var n,i,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(n=s&&s.coordDim,n==="x"||n==="y"){i=a[o];break}}if(i){var l=e.getAxis(n),u=G(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=i.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var v=Zz(u,n==="x"?t.getWidth():t.getHeight()),c=v.length;if(!c&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var d=10,p=v[0].coord-d,g=v[c-1].coord+d,y=g-p;if(y<.001)return"transparent";C(v,function(_){_.offset=(_.coord-p)/y}),v.push({offset:c?v[c-1].offset:.5,color:h[1]||"transparent"}),v.unshift({offset:c?v[0].offset:.5,color:h[0]||"transparent"});var m=new nr(0,0,0,0,v,!0);return m[n]=p,m[n+"2"]=g,m}}}function qz(r,e,t){var a=r.get("showAllSymbol"),n=a==="auto";if(!(a&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&Kz(i,e))){var o=e.mapDimension(i.dim),s={};return C(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function Kz(r,e){var t=r.getExtent(),a=Math.abs(t[1]-t[0])/r.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),o=0;o=0;i--)a[i]==null&&(delete t[e[i]],e.pop())}function mc(r,e){var t=r.visual,a=[];tt(t)?sl(t,function(i){a.push(i)}):t!=null&&a.push(t);var n={color:1,symbol:1};!e&&a.length===1&&!n.hasOwnProperty(r.type)&&(a[1]=a[0]),BM(r,a)}function Tu(r){return{applyVisual:function(e,t,a){var n=this.mapValueToVisual(e);a("color",r(t("color"),n))},_normalizedToVisual:Cp([0,1])}}function VS(r){var e=this.option.visual;return e[Math.round(Lt(r,[0,1],[0,e.length-1],!0))]||{}}function ns(r){return function(e,t,a){a(r,this.mapValueToVisual(e))}}function _s(r){var e=this.option.visual;return e[this.option.loop&&r!==Hf?r%e.length:r]}function Nn(){return this.option.visual[0]}function Cp(r){return{linear:function(e){return Lt(e,r,this.option.visual,!0)},category:_s,piecewise:function(e,t){var a=Dp.call(this,t);return a==null&&(a=Lt(e,r,this.option.visual,!0)),a},fixed:Nn}}function Dp(r){var e=this.option,t=e.pieceList;if(e.hasSpecialVisual){var a=Py.findPieceIndex(r,t),n=t[a];if(n&&n.visual)return n.visual[this.type]}}function BM(r,e){return r.visual=e,r.type==="color"&&(r.parsedVisual=G(e,function(t){var a=Fe(t);return a||[0,0,0,1]})),e}var EF={linear:function(r){return Lt(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var e=this.option.pieceList,t=Py.findPieceIndex(r,e,!0);if(t!=null)return Lt(t,[0,e.length-1],[0,1],!0)},category:function(r){var e=this.option.categories?this.option.categoryMap[r]:r;return e??Hf},fixed:Zt};function Au(r,e,t){return r?e<=t:ea&&(a=o));var l=r.area*r.area,u=e*e*t;return l?ll(u*a/l,l/(u*n)):1/0}function FS(r,e,t,a,n){var i=e===t.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=t[s[i]],f=e?r.area/e:0;(n||f>t[l[o]])&&(f=t[l[o]]);for(var h=0,v=r.length;hsH)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!Rc(this,"mousemove"))){var e=this._model,t=e.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function Rc(r,e){var t=r._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}const fH=lH;var hH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var a=this.option;t&&ht(a,t,!0),this._initDimensions()},e.prototype.contains=function(t,a){var n=t.get("parallelIndex");return n!=null&&a.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){C(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){t.hasOwnProperty(a)&&(this.option[a]=t[a])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],a=this.parallelAxisIndex=[],n=Pt(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);C(n,function(i){t.push("dim"+i.get("dim")),a.push(i.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Tt);const vH=hH;var cH=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this,t,a,n)||this;return s.type=i||"value",s.axisIndex=o,s}return e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},e}(Ar);const dH=cH;function wi(r,e,t,a,n,i){r=r||0;var o=t[1]-t[0];if(n!=null&&(n=Gi(n,[0,o])),i!=null&&(i=Math.max(i,n??0)),a==="all"){var s=Math.abs(e[1]-e[0]);s=Gi(s,[0,o]),n=i=Gi(s,[n,i]),a=0}e[0]=Gi(e[0],t),e[1]=Gi(e[1],t);var l=Ec(e,a);e[a]+=r;var u=n||0,f=t.slice();l.sign<0?f[0]+=u:f[1]-=u,e[a]=Gi(e[a],f);var h;return h=Ec(e,a),n!=null&&(h.sign!==l.sign||h.span