You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
1.1 MiB
108 lines
1.1 MiB
6 months ago
|
!(function(){var ir=Math.pow;(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[841],{11415:function(je,Dn,tt){"use strict";tt.d(Dn,{Z:function(){return aht}});var Et={};tt.r(Et),tt.d(Et,{add:function(){return r6},adjoint:function(){return $D},clone:function(){return Px},copy:function(){return is},create:function(){return cn},determinant:function(){return Tx},equals:function(){return s6},exactEquals:function(){return o6},frob:function(){return n6},fromQuat:function(){return Z0},fromQuat2:function(){return XD},fromRotation:function(){return Lx},fromRotationTranslation:function(){return Rx},fromRotationTranslationScale:function(){return qD},fromRotationTranslationScaleOrigin:function(){return Rl},fromScaling:function(){return ss},fromTranslation:function(){return os},fromValues:function(){return HD},fromXRotation:function(){return Nx},fromYRotation:function(){return jx},fromZRotation:function(){return q0},frustum:function(){return ZD},getRotation:function(){return Xf},getScaling:function(){return uc},getTranslation:function(){return Vf},identity:function(){return as},invert:function(){return da},lookAt:function(){return zx},mul:function(){return Wx},multiply:function(){return Rr},multiplyScalar:function(){return i6},multiplyScalarAndAdd:function(){return a6},ortho:function(){return Fx},orthoNO:function(){return Dx},orthoZO:function(){return Bx},perspective:function(){return KD},perspectiveFromFieldOfView:function(){return JD},perspectiveNO:function(){return Ix},perspectiveZO:function(){return QD},rotate:function(){return UD},rotateX:function(){return kx},rotateY:function(){return Cx},rotateZ:function(){return VD},scale:function(){return Uf},set:function(){return X0},str:function(){return e6},sub:function(){return c6},subtract:function(){return Gx},targetTo:function(){return t6},translate:function(){return lc},transpose:function(){return Ax}});var lt={};tt.r(lt),tt.d(lt,{area:function(){return KH},bottom:function(){return $a},bottomLeft:function(){return $a},bottomRight:function(){return $a},inside:function(){return $a},left:function(){return $a},outside:function(){return t$},right:function(){return $a},spider:function(){return n$},surround:function(){return i$},top:function(){return $a},topLeft:function(){return $a},topRight:function(){return $a}});var te={};tt.r(te),tt.d(te,{interpolateBlues:function(){return TU},interpolateBrBG:function(){return cU},interpolateBuGn:function(){return yU},interpolateBuPu:function(){return mU},interpolateCividis:function(){return RU},interpolateCool:function(){return GU},interpolateCubehelixDefault:function(){return BU},interpolateGnBu:function(){return bU},interpolateGreens:function(){return kU},interpolateGreys:function(){return CU},interpolateInferno:function(){return qU},interpolateMagma:function(){return XU},interpolateOrRd:function(){return xU},interpolateOranges:function(){return jU},interpolatePRGn:function(){return lU},interpolatePiYG:function(){return uU},interpolatePlasma:function(){return ZU},interpolatePuBu:function(){return OU},interpolatePuBuGn:function(){return _U},interpolatePuOr:function(){return fU},interpolatePuRd:function(){return wU},interpolatePurples:function(){return LU},interpolateRainbow:function(){return WU},interpolateRdBu:function(){return dU},interpolateRdGy:function(){return hU},interpolateRdPu:function(){return SU},interpolateRdYlBu:function(){return pU},interpolateRdYlGn:function(){return vU},interpolateReds:function(){return NU},interpolateSinebow:function(){return $U},interpolateSpectral:function(){return gU},interpolateTurbo:function(){return UU},interpolateViridis:function(){return VU},interpolateWarm:function(){return zU},interpolateYlGn:function(){return EU},interpolateYlGnBu:function(){return MU},interpolateYlOrBr:function(){return PU},interpolateYlOrRd:function(){return AU},schemeAccent:function(){return U$},schemeBlues:function(){return uM},schemeBrBG:function(){return YS},schemeBuGn:function(){return QS},schemeBuPu:function(){return JS},schemeCategory10:function(){return $$},schemeDark2:function(){return V$},schemeGnBu:f
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
width: 80px;
|
||
|
height: 80px;
|
||
|
}
|
||
|
.loading div {
|
||
|
position: absolute;
|
||
|
top: 33px;
|
||
|
width: 13px;
|
||
|
height: 13px;
|
||
|
border-radius: 50%;
|
||
|
background: #ccc;
|
||
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
||
|
}
|
||
|
.loading div:nth-child(1) {
|
||
|
left: 8px;
|
||
|
animation: loading1 0.6s infinite;
|
||
|
}
|
||
|
.loading div:nth-child(2) {
|
||
|
left: 8px;
|
||
|
animation: loading2 0.6s infinite;
|
||
|
}
|
||
|
.loading div:nth-child(3) {
|
||
|
left: 32px;
|
||
|
animation: loading2 0.6s infinite;
|
||
|
}
|
||
|
.loading div:nth-child(4) {
|
||
|
left: 56px;
|
||
|
animation: loading3 0.6s infinite;
|
||
|
}
|
||
|
@keyframes loading1 {
|
||
|
0% {
|
||
|
transform: scale(0);
|
||
|
}
|
||
|
100% {
|
||
|
transform: scale(1);
|
||
|
}
|
||
|
}
|
||
|
@keyframes loading3 {
|
||
|
0% {
|
||
|
transform: scale(1);
|
||
|
}
|
||
|
100% {
|
||
|
transform: scale(0);
|
||
|
}
|
||
|
}
|
||
|
@keyframes loading2 {
|
||
|
0% {
|
||
|
transform: translate(0, 0);
|
||
|
}
|
||
|
100% {
|
||
|
transform: translate(24px, 0);
|
||
|
}
|
||
|
}
|
||
|
`,n.classList.add("loading"),n.innerHTML="<div></div><div></div><div></div><div></div>",e.appendChild(r),e.appendChild(n)},Tr=function(t){var e=t.loadingTemplate,n=t.theme,r=n===void 0?"light":n,i=mt.useRef(null);mt.useEffect(function(){!e&&i.current&&xr(i.current)},[]);var a=function(){return e||mt.createElement("div",{ref:i})};return mt.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:r==="dark"?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},a())},hr=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qn=function(t){hr(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={hasError:!1},n.renderError=function(r){var i=n.props.errorTemplate;switch(r){default:return typeof i=="function"?i(r):i||mt.createElement("h5",null,"\u7EC4\u4EF6\u51FA\u9519\u4E86\uFF0C\u8BF7\u6838\u67E5\u540E\u91CD\u8BD5\uFF1A ",r.message)}},n}return e.getDerivedStateFromError=function(n){return{hasError:!0,error:n}},e.getDerivedStateFromProps=function(n,r){return r.children!==n.children?{children:n.children,hasError:!1,error:void 0}:null},e.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):mt.createElement(mt.Fragment,null,this.props.children)},e}(mt.Component),pr=typeof global=="object"&&global&&global.Object===Object&&global,ei=pr,mi=typeof self=="object"&&self&&self.Object===Object&&self,Ei=ei||mi||Function("return this")(),$n=Ei,vr=$n.Symbol,Jn=vr,lr=Object.prototype,tn=lr.hasOwnProperty,Pi=lr.toString,Ai=Jn?Jn.toStringTag:void 0;function bl(t){var e=tn.call(t,Ai),n=t[Ai];try{t[Ai]=void 0;var r=!0}catch(a){}var i=Pi.call(t);return r&&(e?t[Ai]=n:delete t[Ai]),i}var Yo=bl,Zs=Object.prototype,Xi=Zs.toString;function xl(t){return Xi.call(t)}var _l=xl,Ks="[object Null]",Ol="[object Undefined]",eo=Jn?Jn.toStringTag:void 0;function Qs(t){return t==null?t===void 0?Ol:Ks:eo&&eo in Object(t)?Yo(t):_l(t)}var _r=Qs;function Js(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var bn=Js,tc="[object AsyncFunction]",Ho="[object Function]",ee="[object GeneratorFunction]",ft="[object Proxy]";function ve(t){if(!bn(t))return!1;var e=_r(t);return e==Ho||e==ee||e==tc||e==ft}var Yt=ve,Ae=function(t){var e=/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i;return e.test(t)},Tn=Array.isArray,Xt=Tn;function he(){this.__data__=[],this.size=0}var Ye=he;function Rn(t,e){return t===e||t!==t&&e!==e}var xn=Rn;function Ce(t,e){for(var n=t.length;n--;)if(xn(t[n][0],e))return n;return-1}var ue=Ce,kr=Array.prototype,Cr=kr.splice;function oa(t){var e=this.__data__,n=ue(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Cr.call(e,n,1),--this.size,!0}var Ti=oa;function or(t){var e=this.__data__,n=ue(e,t);return n<0?void 0:e[n][1]}var ki=or;function sa(t){return ue(this.__data__,t)>-1}var Or=sa;function ni(t,e){var n=this.__data__,r=ue(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var $r=ni;function Ci(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ci.prototype.clear=Ye,Ci.prototype.delete=Ti,Ci.prototype.get=ki,Ci.prototype.has=Or,Ci.prototype.set=$r;var ca=Ci;function $o(){this.__data__=new ca,this.size=0}var no=$o;function ro(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}var la=ro;function Uo(t){return this.__data__.get(t)}var wl=Uo;function Sl(t){return this.__data__.has(t)}var Vo=Sl,Xo=$n["__core-js_shared__"],io=Xo,kf=function(){var t=/[^.]+$/.exec(i
|
||
|
`)},t.prototype.isBreakingSpace=function(e){return typeof e!="string"?!1:ys.BreakingSpaces.indexOf(e.charCodeAt(0))>=0},t.prototype.isNewline=function(e){return typeof e!="string"?!1:ys.Newlines.indexOf(e.charCodeAt(0))>=0},t.prototype.trimToBreakable=function(e){var n=dt([],D(e),!1),r=n[n.length-2],i=this.findBreakableIndex(r);if(i===-1||!r)return n;var a=r.slice(i,i+1),o=this.isBreakingSpace(a),s=i+1,c=i+(o?0:1);return n[n.length-1]+=r.slice(s,r.length),n[n.length-2]=r.slice(0,c),n},t.prototype.canBreakInLastChar=function(e){return!(e&&S2.test(e))},t.prototype.sumTextWidthByCache=function(e,n){return e.split("").reduce(function(r,i){if(!n[i])throw Error("cannot count the word without cache");return r+n[i]},0)},t.prototype.findBreakableIndex=function(e){for(var n=e.length-1;n>=0;n--)if(!S2.test(e[n]))return n;return-1},t.prototype.getFromCache=function(e,n,r,i){var a=r[e];if(typeof a!="number"){var o=e.length*n;a=i.measureText(e).width+o,r[e]=a}return a},t}(),nt={},RB=function(){var t,e=new dB,n=new fB;return t={},t[st.CIRCLE]=new sB,t[st.ELLIPSE]=new cB,t[st.RECT]=e,t[st.IMAGE]=e,t[st.GROUP]=new pB,t[st.LINE]=new lB,t[st.TEXT]=new hB(nt),t[st.POLYLINE]=n,t[st.POLYGON]=n,t[st.PATH]=new uB,t[st.HTML]=null,t[st.MESH]=null,t}(),IB=function(){var t,e=new _F,n=new kv;return t={},t[Tt.PERCENTAGE]=null,t[Tt.NUMBER]=new EF,t[Tt.ANGLE]=new bF,t[Tt.DEFINED_PATH]=new xF,t[Tt.PAINT]=e,t[Tt.COLOR]=e,t[Tt.FILTER]=new OF,t[Tt.LENGTH]=n,t[Tt.LENGTH_PERCENTAGE]=n,t[Tt.LENGTH_PERCENTAGE_12]=new wF,t[Tt.LENGTH_PERCENTAGE_14]=new SF,t[Tt.COORDINATE]=new kv,t[Tt.OFFSET_DISTANCE]=new PF,t[Tt.OPACITY_VALUE]=new AF,t[Tt.PATH]=new TF,t[Tt.LIST_OF_POINTS]=new kF,t[Tt.SHADOW_BLUR]=new CF,t[Tt.TEXT]=new LF,t[Tt.TEXT_TRANSFORM]=new NF,t[Tt.TRANSFORM]=new iB,t[Tt.TRANSFORM_ORIGIN]=new aB,t[Tt.Z_INDEX]=new oB,t[Tt.MARKER]=new MF,t}(),DB=function(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof tt.g!="undefined"?tt.g:{}};nt.CameraContribution=D_,nt.AnimationTimeline=null,nt.EasingFunction=null,nt.offscreenCanvasCreator=new mB,nt.sceneGraphSelector=new _B,nt.sceneGraphService=new wB(nt),nt.textService=new jB(nt),nt.geometryUpdaterFactory=RB,nt.CSSPropertySyntaxFactory=IB,nt.styleValueRegistry=new mF(nt),nt.layoutRegistry=null,nt.globalThis=DB(),nt.enableCSSParsing=!1,nt.enableDataset=!1,nt.enableStyleSyntax=!0,nt.enableAttributeDashCased=!1,nt.enableSizeAttenuation=!1;var M2=0;function wvt(){M2=0}var E2=new vo(re.INSERTED,null,"","","",0,"",""),P2=new vo(re.REMOVED,null,"","","",0,"",""),FB=new sn(re.DESTROY),BB=function(t){It(e,t);function e(){var n=t.call(this)||this;return n.entity=M2++,n.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},n.cullable={strategy:mv.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},n.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},n.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},n.geometry={contentBounds:void 0,renderBounds:void 0,dirty:!0},n.rBushNode={aabb:void 0},n.namespaceURI="g",n.scrollLeft=0,n.scrollTop=0,n.clientTop=0,n.clientLeft=0,n.destroyed=!1,n.style={},n.computedStyle=nt.enableCSSParsing?{opacity:Sn,fillOpacity:Sn,strokeOpacity:Sn,fill:Sn,stroke:Sn,transform:Sn,transformOrigin:Sn,visibility:Sn,pointerEvents:Sn,lineWidth:Sn,lineCap:Sn,lineJoin:Sn,increasedLineWidthForHitTesting:Sn,fontSize:Sn,fontFamily:Sn,fontStyle:Sn,fontWeight:Sn,fontVariant:Sn,textAlign:Sn,textBaseline:Sn,textTransform:Sn,zIndex:Sn,filter:Sn,shadowType:Sn}:null,n.parsedStyle={},n.attributes={},n}return Object.defineProperty(e.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(n){this.setAttribute("class",n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.protot
|
||
|
M ${e} ${n}
|
||
|
L ${e+r} ${n}
|
||
|
L ${e+r} ${n+i}
|
||
|
L ${e} ${n+i}
|
||
|
Z
|
||
|
`}function rJ(t,e){const[n,r,i,a]=bm(t),o=a/i,s=Math.ceil(Math.sqrt(e/o)),c=Math.ceil(e/s),l=[],u=a/c;let f=0,d=e;for(;d>0;){const h=Math.min(d,s),p=i/h;for(let v=0;v<h;v++){const g=n+v*p,y=r+f*u;l.push(nJ([g,y,p,u]))}d-=h,f+=1}return l}function iJ(t="pack"){return typeof t=="function"?t:rJ}function aJ(t,e,n){let{transform:r}=t.style;const{transform:i}=e.style;Ak(e,t);let a=Uu;if(t.nodeName===st.GROUP){const[c,l,u,f]=bm(t),[d,h,p,v]=bm(e),g=c-d,y=l-h,m=u/p,b=f/v;r=`translate(${g}, ${y}) scale(${m}, ${b})`}else a=a.concat(eJ[t.nodeName]||[]);const o=[Object.assign({transform:r!=null?r:"none"},rl(t,a,!0)),Object.assign({transform:i!=null?i:"none"},rl(e,a,!0))];return e.animate(o,n)}function Ak(t,e){t.__data__=e.__data__,t.className=e.className,t.markType=e.markType,e.parentNode.replaceChild(t,e)}function oJ(t,e){const{nodeName:n}=t;if(n==="path")return t;const r=new Zr({style:Object.assign(Object.assign({},rl(t,Uu)),{d:e})});return Ak(r,t),r}function Tk(t,e){const n=t.indexOf(e),r=t.lastIndexOf(e);return n===r}function sJ(t){return!Tk(t,"m")||!Tk(t,"M")}function kk(t){const e=r2(t);if(e&&!sJ(e))return e}function xm(t,e,n,r){const{nodeName:i}=e,{nodeName:a}=n,o=kk(e),s=kk(n);if(i===a&&i!=="path"||(o===void 0||s===void 0))return aJ(e,n,r);const u=oJ(t,o),f=[Object.assign({},rl(e,Uu)),Object.assign({},rl(n,Uu))];if(o!==s){f[0].d=o,f[1].d=s;const d=u.animate(f,r);return d.onfinish=()=>{const h=u.style.d;ag(u,n),u.style.d=h,u.style.transform="none"},u.style.transform="none",d}return null}function cJ(t,e,n,r){t.style.visibility="hidden";const i=r(t,e.length);return e.map((a,o)=>{const s=new Zr({style:Object.assign({d:i[o]},rl(t,Uu))});return xm(a,s,a,n)})}function lJ(t,e,n,r){const i=r(e,t.length),{fillOpacity:a=1,strokeOpacity:o=1,opacity:s=1}=e.style,c=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:a,strokeOpacity:o,opacity:s}],l=e.animate(c,n);return[...t.map((f,d)=>{const h=new Zr({style:{d:i[d],fill:e.style.fill}});return xm(f,f,h,n)}),l]}const Ck=t=>(e,n,r)=>{const i=iJ(t.split),a=Object.assign(Object.assign({},r),t),{length:o}=e,{length:s}=n;if(o===1&&s===1||o>1&&s>1){const[c]=e,[l]=n;return xm(c,c,l,a)}if(o===1&&s>1){const[c]=e;return cJ(c,n,a,i)}if(o>1&&s===1){const[c]=n;return lJ(e,c,a,i)}return null};Ck.props={};const Lk=(t,e)=>(n,r,i)=>{const[a]=n,{min:[o,s],halfExtents:c}=a.getLocalBounds(),l=c[0]*2,u=c[1]*2,f=new Zr({style:{d:`M${o},${s}L${o+l},${s}L${o+l},${s+u}L${o},${s+u}Z`}});return a.appendChild(f),a.style.clipPath=f,mm(t,e)([f],r,i)};Lk.props={};const Nk=(t,e)=>(n,r,i)=>{const[a]=n,{min:[o,s],halfExtents:c}=a.getLocalBounds(),l=c[0]*2,u=c[1]*2,f=new Zr({style:{d:`M${o},${s}L${o+l},${s}L${o+l},${s+u}L${o},${s+u}Z`}});return a.appendChild(f),a.style.clipPath=f,wk(t,e)([f],r,i)};Nk.props={};var uJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function fJ(t,{elements:e,datum:n,groupKey:r=f=>f,link:i=!1,background:a=!1,delay:o=60,scale:s,coordinate:c,emitter:l,state:u={}}){var f;const d=e(t),h=new Set(d),p=Ln(d,r),v=Eu(d,n),[g,y]=kS(Object.assign({elements:d,valueof:v,link:i,coordinate:c},Pt(u.active,"link"))),[m,b,x]=LS(Object.assign({document:t.ownerDocument,scale:s,coordinate:c,background:a,valueof:v},Pt(u.active,"background"))),_=at(u,{active:Object.assign({},((f=u.active)===null||f===void 0?void 0:f.offset)&&{transform:(...F)=>{const R=u.active.offset(...F),[,I]=F;return CS(d[I],R,c)}})}),{setState:O,removeState:w,hasState:S}=Va(_,v);let M;const E=F=>{const{target:R,nativeEvent:I=!0}=F;if(!h.has(R))return;M&&clearTimeout(M);const z=r(R),W=p.get(z),U=new Set(W);for(const $ of d)U.has($)?S($,"active")||O($,"active"):(O($,"inactive"),y($)),$!==R&&b($);m(R),g(W),I&&l.emit("element:highlight",{nativeEvent:I,data:{data:n(R),group:W.map(n)}})},P=()=>{M&&clearTimeout(M),M=set
|
||
|
<span class="`).concat(s.NAME,`">
|
||
|
<span class="`).concat(s.MARKER,`" style="background:{color}"></span>
|
||
|
<span class="`).concat(s.NAME_LABEL,`" title="{name}">{name}</span>
|
||
|
</span>
|
||
|
<span class="`).concat(s.VALUE,`" title="{value}">{value}</span>
|
||
|
</li>`)},style:OJ(o)})||this,r.timestamp=-1,r.prevCustomContentKey=r.attributes.contentKey,r.initShape(),r.render(r.attributes,r),r}return Object.defineProperty(e.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.element},Object.defineProperty(e.prototype,"elementSize",{get:function(){var n=this.element.offsetWidth,r=this.element.offsetHeight;return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HTMLTooltipItemsElements",{get:function(){var n=this.attributes,r=n.data,i=n.template;return r.map(function(a,o){var s=a.name,c=s===void 0?"":s,l=a.color,u=l===void 0?"black":l,f=a.index,d=wn(a,["name","color","index"]),h=J({name:c,color:u,index:f!=null?f:o},d);return Bk(_J(i.item,h))})},enumerable:!1,configurable:!0}),e.prototype.render=function(n,r){this.renderHTMLTooltipElement(),this.updatePosition()},e.prototype.destroy=function(){var n;(n=this.element)===null||n===void 0||n.remove(),t.prototype.destroy.call(this)},e.prototype.show=function(n,r){var i=this;if(n!==void 0&&r!==void 0){var a=this.element.style.visibility==="hidden",o=function(){i.attributes.x=n!=null?n:i.attributes.x,i.attributes.y=r!=null?r:i.attributes.y,i.updatePosition()};a?this.closeTransition(o):o()}this.element.style.visibility="visible"},e.prototype.hide=function(n,r){n===void 0&&(n=0),r===void 0&&(r=0);var i=this.attributes.enterable;i&&this.isCursorEntered(n,r)||(this.element.style.visibility="hidden")},e.prototype.initShape=function(){var n=this.attributes.template;this.element=Bk(n.container),this.id&&this.element.setAttribute("id",this.id)},e.prototype.renderCustomContent=function(){if(!(this.prevCustomContentKey!==void 0&&this.prevCustomContentKey===this.attributes.contentKey)){this.prevCustomContentKey=this.attributes.contentKey;var n=this.attributes.content;n&&(typeof n=="string"?this.element.innerHTML=n:this.element.replaceChildren(n))}},e.prototype.renderHTMLTooltipElement=function(){var n,r,i=this.attributes,a=i.template,o=i.title,s=i.enterable,c=i.style,l=i.content,u=_m(a.prefixCls),f=this.element;if(this.element.style.pointerEvents=s?"auto":"none",l)this.renderCustomContent();else{o?(f.innerHTML=a.title,f.getElementsByClassName(u.TITLE)[0].innerHTML=o):(r=(n=f.getElementsByClassName(u.TITLE))===null||n===void 0?void 0:n[0])===null||r===void 0||r.remove();var d=this.HTMLTooltipItemsElements,h=document.createElement("ul");h.className=u.LIST,h.replaceChildren.apply(h,dt([],D(d),!1));var p=this.element.querySelector(".".concat(u.LIST));p?p.replaceWith(h):f.appendChild(h)}jG(f,c)},e.prototype.getRelativeOffsetFromCursor=function(n){var r=this.attributes,i=r.position,a=r.offset,o=n||i,s=o.split("-"),c={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},l=this.elementSize,u=l.width,f=l.height,d=[-u/2,-f/2];return s.forEach(function(h){var p=D(d,2),v=p[0],g=p[1],y=D(c[h],2),m=y[0],b=y[1];d=[v+(u/2+a[0])*m,g+(f/2+a[1])*b]}),d},e.prototype.setOffsetPosition=function(n){var r=D(n,2),i=r[0],a=r[1],o=this.attributes,s=o.x,c=s===void 0?0:s,l=o.y,u=l===void 0?0:l,f=o.container,d=f.x,h=f.y;this.element.style.left="".concat(+c+d+i,"px"),this.element.style.top="".concat(+u+h+a,"px")},e.prototype.updatePosition=function(){var n=this.attributes.showDelay,r=n===void 0?60:n,i=Date.now();this.timestamp>0&&i-this.timestamp<r||(this.timestamp=i,this.setOffsetPosition(this.autoPosition(this.getRelativeOffsetFromCursor())))},e.prototype.autoPosition=function(n){var r=D(n,2),i=r[0],a=r[1],o=this.attributes,s=o.x,c=o.y,l=o.bounding,u=o.position;if(!l)return[i,a];var f=this.element,d=f.offsetWidth,h=f.offsetHeight,p=D([+s+i,+c+a],2),v=p[0],g=p[1],y={left:"right",right:"left",top:"bottom",bottom:"top"},m=l.x,b=l.y,x=l.width,_=l.height,O={left:v<m,right:v+d>m+x,top:g<b,bottom:g+h>b+_},w=[];u.split("-").forEach(function(M){O[M]?w.push(y[M]):w.push(M)});var S=w.join("-");return this.getRelativeOffsetFromCursor(S)},e.prototype.isCursorEntered=function(n,r){if(this.element){var i=this.element.getBoundingClientRect(),a=i.x,o=i.y,s=i.widt
|
||
|
M${_},${O}L${w},${O}L${w},${S}L${_},${S}Z
|
||
|
M${it},${et}L${it},${xt}L${_t},${xt}L${_t},${et}Z
|
||
|
`,m.style.x=it,m.style.y=et,m.style.width=_t-it,m.style.height=xt-et},N=it=>{const et=(pe,Ge,le,ye,mn)=>pe+Ge<ye?ye-Ge:pe+le>mn?mn-le:pe,_t=it[0]-y[0],xt=it[1]-y[1],Nt=et(_t,v[0],g[0],_,w),Gt=et(xt,v[1],g[1],O,S),Qt=[v[0]+Nt,v[1]+Gt],Jt=[g[0]+Nt,g[1]+Gt];A(Qt,Jt)},F={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},R=it=>z(it)||I(it),I=it=>{const{id:et}=it;return h.indexOf(et)===-1?!1:new Set(Object.keys(F)).has(et)},z=it=>it===m.getElementById("selection"),W=it=>{const{target:et}=it,[_t,xt]=ty(t,it);if(!m||!R(et)){M(_t,xt,it),x=!0;return}R(et)&&(y=[_t,xt])},U=it=>{const{target:et}=it,_t=ty(t,it);if(!v)return;if(!y)return A(v,_t);if(z(et))return N(_t);const[xt,Nt]=[_t[0]-y[0],_t[1]-y[1]],{id:Gt}=et;if(F[Gt]){const[Qt,Jt,pe,Ge]=F[Gt].vector;return A([v[0]+xt*Qt,v[1]+Nt*Jt],[g[0]+xt*pe,g[1]+Nt*Ge])}},$=it=>{if(y){y=null;const{x:Gt,y:Qt,width:Jt,height:pe}=m.style;v=[Gt,Qt],g=[Gt+Jt,Qt+pe],o(Gt,Qt,Gt+Jt,Qt+pe,it);return}g=ty(t,it);const[et,_t,xt,Nt]=A(v,g);x=!1,i(et,_t,xt,Nt,it)},K=it=>{const{target:et}=it;m&&!R(et)&&C()},ct=it=>{const{target:et}=it;!m||!R(et)||x?Ao(t,"crosshair"):z(et)?Ao(t,"move"):I(et)&&Ao(t,F[et.id].cursor)},gt=()=>{Ao(t,"default")};return t.addEventListener("dragstart",W),t.addEventListener("drag",U),t.addEventListener("dragend",$),t.addEventListener("click",K),t.addEventListener("pointermove",ct),t.addEventListener("pointerleave",gt),{mask:m,move(it,et,_t,xt,Nt=!0){m||M(it,et,{}),v=[it,et],g=[_t,xt],A([it,et],[_t,xt],Nt)},remove(it=!0){m&&C(it)},destroy(){m&&C(!1),Ao(t,"default"),t.removeEventListener("dragstart",W),t.removeEventListener("drag",U),t.removeEventListener("dragend",$),t.removeEventListener("click",K),t.removeEventListener("pointermove",ct),t.removeEventListener("pointerleave",gt)}}}function Pm(t,e,n){return e.filter(r=>{if(r===t)return!1;const{interaction:i={}}=r.options;return Object.values(i).find(a=>a.brushKey===n)})}function VJ(t,e,n){return Pm(t,e,n).map(r=>wa(r.container))}function XJ(t,e,n){return Pm(t,e,n).map(r=>r.options)}function aC(t,e){var{elements:n,selectedHandles:r,siblings:i=U=>[],datum:a,brushRegion:o,extent:s,reverse:c,scale:l,coordinate:u,series:f=!1,key:d=U=>U,bboxOf:h=U=>{const{x:$,y:K,width:ct,height:gt}=U.style;return{x:$,y:K,width:ct,height:gt}},state:p={},emitter:v}=e,g=Hi(e,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);const y=n(t),m=i(t),b=m.flatMap(n),x=Eu(y,a),_=Pt(g,"mask"),{setState:O,removeState:w}=Va(p,x),S=new Map,{width:M,height:E,x:P=0,y:C=0}=h(t),A=s||[0,0,M,E],T=()=>{for(const U of[...y,...b])w(U,"active","inactive")},k=(U,$,K,ct)=>{var gt;for(const et of m)(gt=et.brush)===null||gt===void 0||gt.remove();const it=new Set;for(const et of y){const{min:_t,max:xt}=et.getLocalBounds(),[Nt,Gt]=_t,[Qt,Jt]=xt;HJ([Nt,Gt,Qt,Jt],[U,$,K,ct])?(O(et,"active"),it.add(d(et))):O(et,"inactive")}for(const et of b)it.has(d(et))?O(et,"active"):O(et,"inactive")},N=()=>{for(const U of y)w(U,"inactive");for(const U of S.values())U.remove();S.clear()},F=(U,$,K,ct)=>{const gt=et=>{const _t=et.cloneNode();return _t.__data__=et.__data__,et.parentNode.appendChild(_t),S.set(et,_t),_t},it=new bs({style:{x:U+P,y:$+C,width:K-U,height:ct-$}});t.appendChild(it);for(const et of y){const _t=S.get(et)||gt(et);_t.style.clipPath=it,O(et,"inactive"),O(_t,"active")}},R=Em(t,Object.assign(Object.assign({},_),{extent:A,brushRegion:o,reverse:c,selectedHandles:r,brushended:U=>{const $=f?N:T;U&&v.emit("brush:remove",{nativeEvent:!0}),$()},brushed:(U,$,K,ct,gt)=>{const it=gh(U,$,K,ct,l,u);gt&&v.emit("brush:highlight",{nativeEvent:!0,data:{selection:it}}),(f?F:k)(U,$,K,ct)},brushcreated:(U,$,K,ct,gt)=>{const it=gh(U,$,K,ct,l,u);v.emit("brush:end
|
||
|
\r]`),n=t.charCodeAt(0);function r(f,d){var h,p,v=i(f,function(g,y){if(h)return h(g,y-1);p=g,h=d?hnt(g,d):p3(g)});return v.columns=p||[],v}function i(f,d){var h=[],p=f.length,v=0,g=0,y,m=p<=0,b=!1;f.charCodeAt(p-1)===tf&&--p,f.charCodeAt(p-1)===Km&&--p;function x(){if(m)return qm;if(b)return b=!1,h3;var O,w=v,S;if(f.charCodeAt(w)===Zm){for(;v++<p&&f.charCodeAt(v)!==Zm||f.charCodeAt(++v)===Zm;);return(O=v)>=p?m=!0:(S=f.charCodeAt(v++))===tf?b=!0:S===Km&&(b=!0,f.charCodeAt(v)===tf&&++v),f.slice(w+1,O-1).replace(/""/g,'"')}for(;v<p;){if((S=f.charCodeAt(O=v++))===tf)b=!0;else if(S===Km)b=!0,f.charCodeAt(v)===tf&&++v;else if(S!==n)continue;return f.slice(w,O)}return m=!0,f.slice(w,p)}for(;(y=x())!==qm;){for(var _=[];y!==h3&&y!==qm;)_.push(y),y=x();d&&(_=d(_,g++))==null||h.push(_)}return h}function a(f,d){return f.map(function(h){return d.map(function(p){return u(h[p])}).join(t)})}function o(f,d){return d==null&&(d=v3(f)),[d.map(u).join(t)].concat(a(f,d)).join(`
|
||
|
`)}function s(f,d){return d==null&&(d=v3(f)),a(f,d).join(`
|
||
|
`)}function c(f){return f.map(l).join(`
|
||
|
`)}function l(f){return f.map(u).join(t)}function u(f){return f==null?"":f instanceof Date?vnt(f):e.test(f+="")?'"'+f.replace(/"/g,'""')+'"':f}return{parse:r,parseRows:i,format:o,formatBody:s,formatRows:c,formatRow:l,formatValue:u}}function ynt(t){for(var e in t){var n=t[e].trim(),r,i;if(!n)n=null;else if(n==="true")n=!0;else if(n==="false")n=!1;else if(n==="NaN")n=NaN;else if(!isNaN(r=+n))n=r;else if(i=n.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/))mnt&&i[4]&&!i[7]&&(n=n.replace(/-/g,"/").replace(/T/," ")),n=new Date(n);else continue;t[e]=n}return t}const mnt=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();var bnt=function(t,e,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(u){try{l(r.next(u))}catch(f){o(f)}}function c(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){u.done?a(u.value):i(u.value).then(s,c)}l((r=r.apply(t,e||[])).next())})};const g3=t=>{const{value:e,format:n=e.split(".").pop(),delimiter:r=",",autoType:i=!0}=t;return()=>bnt(void 0,void 0,void 0,function*(){const a=yield fetch(e);if(n==="csv"){const o=yield a.text();return gnt(r).parse(o,i?ynt:_s)}else if(n==="json")return yield a.json();throw new Error(`Unknown format: ${n}.`)})};g3.props={};const y3=t=>{const{value:e}=t;return()=>e};y3.props={};function xnt(t,e){return t.map(n=>{if(Array.isArray(n)){const[r,i=e]=n;return[r,i]}return[n,e]})}const m3=t=>{const{fields:e=[]}=t,n=xnt(e,!0);return r=>{const i=(a,o)=>n.reduce((s,[c,l=!0])=>s!==0?s:l?a[c]<o[c]?-1:+(a[c]!==o[c]):a[c]>o[c]?-1:+(a[c]!==o[c]),0);return[...r].sort(i)}};m3.props={};function Fgt(t){return t!=null&&!Number.isNaN(t)}const b3=t=>{const{callback:e}=t;return n=>Array.isArray(n)?[...n].sort(e):n};b3.props={};function _nt(t){return t!=null&&!Number.isNaN(t)}const x3=t=>{const{callback:e=_nt}=t;return n=>n.filter(e)};x3.props={};function Ont(t,e=[]){return e.reduce((n,r)=>(r in t&&(n[r]=t[r]),n),{})}const _3=t=>{const{fields:e}=t;return n=>n.map(r=>Ont(r,e))};_3.props={};function wnt(t){return Object.keys(t).length===0}const O3=t=>e=>{if(!t||wnt(t))return e;const n=r=>Object.entries(r).reduce((i,[a,o])=>(i[t[a]||a]=o,i),{});return e.map(n)};O3.props={};function Snt(t){return!t||Object.keys(t).length===0}const w3=t=>{const{fields:e,key:n="key",value:r="value"}=t;return i=>Snt(e)?i:i.flatMap(a=>e.map(o=>Object.assign(Object.assign({},a),{[n]:o,[r]:a[o]})))};w3.props={};const S3=t=>{const{start:e,end:n}=t;return r=>r.slice(e,n)};S3.props={};const M3=t=>{const{callback:e=_s}=t;return n=>e(n)};M3.props={};const E3=t=>{const{callback:e=_s}=t;return n=>Array.isArray(n)?n.map(e):n};E3.props={};function P3(t){return typeof t=="string"?e=>e[t]:t}const A3=t=>{const{join:e,on:n,select:r=[],as:i=r,unknown:a=NaN}=t,[o,s]=n,c=P3(s),l=P3(o),u=eg(e,([f])=>f,f=>c(f));return f=>f.map(d=>{const h=u.get(l(d));return Object.assign(Object.assign({},d),r.reduce((p,v,g)=>(p[i[g]]=h?h[v]:a,p),{}))})};A3.props={};var Mnt=tt(53843),Ent=tt.n(Mnt);function Bgt(t){return t!=null&&!Number.isNaN(t)}const T3=t=>{const{field:e,groupBy:n,as:r=["y","size"],min:i,max:a,size:o=10,width:s}=t,[c,l]=r;return u=>Array.from(Ln(u,d=>n.map(h=>d[h]).join("-")).values()).map(d=>{const h=Ent().create(d.map(g=>g[e]),{min:i,max:a,size:o,width:s}),p=h.map(g=>g.x),v=h.map(g=>g.y);return Object.assign(Object.assign({},d[0]),{[c]:p,[l]:v})})};T3.props={};const k3=()=>t=>(console.log("G2 data section:",t),t);k3.props={};var Pnt=function(t,e,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(u){try{l(r.next(u))}catch(f){o(f)}}function c(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){u.done?a(u.value):i(u.value).then(s,c)}l((r=r.apply(t,e||[])).next())})};function Ant(t,e){return{set(n,r,i){if(e[n]===void 0)return this;const a=r?r.call(null,e[n]):e[n];return i?i.call(null,a):typeof t[n]=="function"?t[n](a):t[n]=a,this},setAsync(n,r,i){return Pnt(this,void 0,void 0,function*(){if(e[n]===void 0)return this;const a=r?yield
|
||
|
M ${t} ${e-n}
|
||
|
a ${n} ${n} 0 1 0 0 ${n*2}
|
||
|
a ${n} ${n} 0 1 0 0 ${-n*2}
|
||
|
Z
|
||
|
`}function Tot(t,e,n){const i=n*.618;return`
|
||
|
M ${t-i} ${e-n}
|
||
|
L ${t+i} ${e-n}
|
||
|
L ${t+i} ${e+n}
|
||
|
L ${t-i} ${e+n}
|
||
|
Z
|
||
|
`}function kot(t,e,n){return`
|
||
|
M ${t} ${e-n}
|
||
|
L ${t+n} ${e}
|
||
|
L ${t} ${e+n}
|
||
|
L ${t-n} ${e}
|
||
|
Z
|
||
|
`}function Cot(t,e,n){return`
|
||
|
M ${t} ${e-n}
|
||
|
L ${t+n} ${e+n}
|
||
|
L ${t-n} ${e+n}
|
||
|
Z
|
||
|
`}function Lot(t,e,n){const r=n*4/3,i=Math.max(r,n*2),a=r/2,o=t,s=a+e-i/2,c=Math.asin(a/((i-a)*.85)),l=Math.sin(c)*a,u=Math.cos(c)*a,f=o-u,d=s+l,h=t,p=s+a/Math.sin(c);return`
|
||
|
M ${f} ${d}
|
||
|
A ${a} ${a} 0 1 1 ${f+u*2} ${d}
|
||
|
Q ${h} ${p} ${t} ${e+i/2}
|
||
|
Q ${h} ${p} ${f} ${d}
|
||
|
Z
|
||
|
`}const CL={pin:Lot,rect:Tot,circle:Aot,diamond:kot,triangle:Cot};var LL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Not=(t="circle")=>CL[t]||CL.circle,NL=(t,e)=>{if(!e)return;const{coordinate:n}=e,{liquidOptions:r,styleOptions:i}=t,{liquidShape:a,percent:o}=r,{background:s,outline:c={},wave:l={}}=i,u=LL(i,["background","outline","wave"]),{border:f=2,distance:d=0}=c,h=LL(c,["border","distance"]),{length:p=192,count:v=3}=l;return(g,y,m)=>{const{document:b}=e.canvas,{color:x,fillOpacity:_}=m,O=Object.assign(Object.assign({fill:x},m),u),w=b.createElement("g",{}),[S,M]=n.getCenter(),E=n.getSize(),P=Math.min(...E)/2,A=(Kr(a)?a:Not(a))(S,M,P,...E);if(Object.keys(s).length){const N=b.createElement("path",{style:Object.assign({d:A,fill:"#fff"},s)});w.appendChild(N)}if(o>0){const N=b.createElement("path",{style:{d:A}});w.appendChild(N),w.style.clipPath=N,Pot(S,M,1-o,v,O,w,N.getBBox().y,P*2,p,!0,b)}const T=b.createElement("path",{style:{d:A,fill:"transparent",lineWidth:f+2*d,stroke:"#fff"}}),k=b.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:A,stroke:x,strokeOpacity:_,lineWidth:f},O),h),{fill:"transparent"})});return w.appendChild(T),w.appendChild(k),w}};NL.props={};var jot=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};const Rot={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:NL},animate:{enter:{type:"fadeIn"}}},Iot={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},jL=t=>{const{data:e={},style:n={},animate:r}=t,i=jot(t,["data","style","animate"]),a=Math.max(0,vn(e)?e:e==null?void 0:e.percent),o=[{percent:a,type:"liquid"}],s=Object.assign(Object.assign({},Pt(n,"text")),Pt(n,"content")),c=Pt(n,"outline"),l=Pt(n,"wave"),u=Pt(n,"background");return[at({},Rot,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:a,liquidShape:n==null?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:c,wave:l,background:u})},animate:r},i)),at({},Iot,{style:Object.assign({text:`${Ud(a*100)} %`},s),animate:r})]};jL.props={};var Qa=tt(69916);const RL=1e-10;function IL(t,e){const n=Fot(t),r=n.filter(function(c){return Dot(c,t)});let i=0,a=0,o;const s=[];if(r.length>1){const c=Bot(r);for(o=0;o<r.length;++o){const u=r[o];u.angle=Math.atan2(u.x-c.x,u.y-c.y)}r.sort(function(u,f){return f.angle-u.angle});let l=r[r.length-1];for(o=0;o<r.length;++o){const u=r[o];a+=(l.x+u.x)*(u.y-l.y);const f={x:(u.x+l.x)/2,y:(u.y+l.y)/2};let d=null;for(let h=0;h<u.parentIndex.length;++h)if(l.parentIndex.indexOf(u.parentIndex[h])>-1){const p=t[u.parentIndex[h]],v=Math.atan2(u.x-p.x,u.y-p.y),g=Math.atan2(l.x-p.x,l.y-p.y);let y=g-v;y<0&&(y+=2*Math.PI);const m=g-y/2;let b=wf(f,{x:p.x+p.radius*Math.sin(m),y:p.y+p.radius*Math.cos(m)});b>p.radius*2&&(b=p.radius*2),(d===null||d.width>b)&&(d={circle:p,width:b,p1:u,p2:l})}d!==null&&(s.push(d),i+=V1(d.circle.radius,d.width),l=u)}}else{let c=t[0];for(o=1;o<t.length;++o)t[o].radius<c.radius&&(c=t[o]);let l=!1;for(o=0;o<t.length;++o)if(wf(t[o],c)>Math.abs(c.radius-t[o].radius)){l=!0;break}l?i=a=0:(i=c.radius*c.radius*Math.PI,s.push({circle:c,p1:{x:c.x,y:c.y+c.radius},p2:{x:c.x-RL,y:c.y+c.radius},width:c.radius*2}))}return a/=2,e&&(e.area=i+a,e.arcArea=i,e.polygonArea=a,e.arcs=s,e.innerPoints=r,e.intersectionPoints=n),i+a}function Dot(t,e){for(let n=0;n<e.length;++n)if(wf(t,e[n])>e[n].radius+RL)return!1;return!0}function Fot(t){const e=[];for(let n=0;n<t.lengt
|
||
|
M`,n[0].p2.x,n[0].p2.y];for(let i=0;i<n.length;++i){const a=n[i],o=a.circle.radius,s=a.width>o;r.push(`
|
||
|
A`,o,o,0,s?1:0,1,a.p1.x,a.p1.y)}return r.join(" ")}}const zL=t=>{const{sets:e="sets",size:n="size",as:r=["key","path"],padding:i=0}=t,[a,o]=r;return s=>{const c=s.map(f=>Object.assign(Object.assign({},f),{sets:f[e],size:f[n],[a]:f.sets.join("&")}));c.sort((f,d)=>f.sets.length-d.sets.length);const l=zot(c);let u;return c.map(f=>{const d=f[e],h=({width:p,height:v})=>{u=u||qot(l,p,v,i);const g=d.map(m=>u[m]);let y=Kot(g);return/[zZ]$/.test(y)||(y+=" Z"),y};return Object.assign(Object.assign({},f),{[o]:h})})}};zL.props={};function Qot(){return{"data.venn":zL,"mark.boxplot":ML,"mark.gauge":AL,"mark.wordCloud":nm,"mark.liquid":jL}}function Jot(){return Object.assign(Object.assign(Object.assign(Object.assign({},uit()),hot()),Qot()),ort())}var Jp=function(){return Jp=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Jp.apply(this,arguments)},tst=Nq(Lq,Jp(Jp({},Jot()),yZ())),est="[object Boolean]";function nst(t){return t===!0||t===!1||ii(t)&&_r(t)==est}var K1=nst,Sf=function(){return Sf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Sf.apply(this,arguments)},rst=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},ist=["renderer"],GL=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],Q1="__transform__",ast="__skipDelCustomKeys__",$s=function(t,e){return K1(e)?{type:t,available:e}:Sf({type:t},e)},J1={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(t){return $s("stackY",t)}},normalize:{target:"transform",value:function(t){return $s("normalizeY",t)}},percent:{target:"transform",value:function(t){return $s("normalizeY",t)}},group:{target:"transform",value:function(t){return $s("dodgeX",t)}},sort:{target:"transform",value:function(t){return $s("sortX",t)}},symmetry:{target:"transform",value:function(t){return $s("symmetryY",t)}},diff:{target:"transform",value:function(t){return $s("diffY",t)}},meta:{target:"scale",value:function(t){return t}},label:{target:"labels",value:function(t){return t}},shape:"style.shape",connectNulls:{target:"style",value:function(t){return K1(t)?{connect:t}:t}}},tb=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],t0=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:tb},{key:"point",type:"point",extend_keys:tb},{key:"area",type:"area",extend_keys:tb}],ost=[{key:"transform",callback:function(t,e,n){var r;t[e]=t[e]||[];var i=n.available,a=i===void 0?!0:i,o=rst(n,["available"]);if(a)t[e].push(Sf((r={},r[Q1]=!0,r),o));else{var s=t[e].indexOf(function(c){return c.type===n.type});s!==-1&&t[e].splice(s,1)}}},{key:"labels",callback:function(t,e,n){var r;if(!n||Xt(n)){t[e]=n||[];return}n.text||(n.text=t.yField
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var At=!0,Q=!1,jt;return{s:function(){zt=zt.call(te)},n:function(){var kt=zt.next();return At=kt.done,kt},e:function(kt){Q=!0,jt=kt},f:function(){try{!At&&zt.return!=null&&zt.return()}finally{if(Q)throw jt}}}}je.exports=lt,je.exports.__esModule=!0,je.exports.default=je.exports}}]);
|
||
|
}());
|