(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{"+6XX":function(t,e,n){var r=n("y1pI");function i(t){return r(this.__data__,t)>-1}t.exports=i},"+DwW":function(t,e,n){"use strict";var r=n("AMYk"),i=n("Mw2x"),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["a"])(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;rt.x?t.x:e,n=nt.y?t.y:i,o=o(1+o)/2&&(c=a),r.translate(r.invert(c))}function l(t,e,n){var r=n.coordinate,a=n.getYScale(),s=a.field,c=r.invert(e),l=a.invert(c.y),u=i.find(t,function(t){var e=t[o.FIELD_ORIGIN];return e[s][0]<=l&&e[s][1]>=l});return u||t[t.length-1]}var u=i.memoize(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,o=0;oi&&(i=s)}return(i-r)/(n-1)});function h(t,e,n){var r=n;if(!n){var o=e.getAttribute("position"),a=o.getFields();r=a[0]}var s=e.scales;return s[r]?s[r].getText(t[r]):i.hasKey(t,r)?t[r]:r}function f(t){var e=i.values(t.attributes);return i.filter(e,function(t){return i.contains(o.GROUP_ATTRS,t.type)})}function p(t){for(var e,n=f(t),r=0,i=n;r=k){if(!T){d=E;break}i.isArray(d)||(d=[]),d.push(E)}}i.isArray(d)&&(d=l(d,t,n))}else{var P=void 0;if(a.isLinear||"timeCat"===a.type){if((k>a.translate(A)||ka.max||kMath.abs(a.translate(P[o.FIELD_ORIGIN][f])-k)&&(S=P)}var B=u(n.getXScale());return!d&&Math.abs(a.translate(S[o.FIELD_ORIGIN][f])-k)<=B/2&&(d=S),d}function v(t,e,n){void 0===n&&(n="");var s,c,l=t[o.FIELD_ORIGIN],u=h(l,e,n),f=e.tooltipOption,y=e.theme.defaultColor,v=[];function m(e,n){if(!i.isNil(n)&&""!==n){var r={title:u,data:l,mappingData:t,name:e,value:n,color:t.color||y,marker:!0};v.push(r)}}if(i.isObject(f)){var b=f.fields,x=f.callback;if(x){var O=b.map(function(e){return t[o.FIELD_ORIGIN][e]}),w=x.apply(void 0,O),j=r.__assign({data:t[o.FIELD_ORIGIN],mappingData:t,title:u,color:t.color||y,marker:!0},w);v.push(j)}else for(var C=e.scales,S=0,k=b;S1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):g=f:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),p&&(h||e.shape("",function(){return[p,1,g]}),h)){var y=i.map(function(t){return t[h]}),v=Math.min.apply(Math,y),m=Math.max.apply(Math,y);e.shape(h,function(t){return[p,(t-v)/(m-v),g]})}return t}function u(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,s=n.yField;return Object(o["e"])(Object(c["f"])((e={},e[a]=r,e[s]=i,e)))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function f(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return r?e.legend(i,r):e.legend(!1),t}function p(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.colorField,s=n.sizeField,c=n.heatmapStyle,l=e.geometries[0];return c&&l&&(Object(a["isFunction"])(c)?l.style(r+"*"+i+"*"+o+"*"+s,c):Object(a["isObject"])(c)&&l.style(c)),t}function d(t){var e=t.chart,n=t.options,i=n.label,a=n.colorField,s=n.type,c=Object(o["c"])(e,"density"===s?"heatmap":"polygon");if(i){if(a){var l=i.callback,u=Object(r["c"])(i,["callback"]);c.label({fields:[a],callback:l,cfg:Object(o["o"])(u)})}}else c.label(!1);return t}function g(t){return Object(o["e"])(l,u,c["j"],h,f,c["k"],p,d,Object(c["b"])(),c["c"],c["a"])(t)}var y=n("kXyF");Object(y["h"])("polygon","circle",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l)/2,h=Number(t.shape[1]),f=Number(t.shape[2]),p=Math.sqrt(f),d=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill),y=e.addShape("circle",{attrs:Object(r["a"])(Object(r["a"])(Object(r["a"])({x:o,y:a,r:d},t.defaultStyle),t.style),{fill:g})});return y}}),Object(y["h"])("polygon","square",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l),h=Number(t.shape[1]),f=Number(t.shape[2]),p=Math.sqrt(f),d=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill),y=e.addShape("rect",{attrs:Object(r["a"])(Object(r["a"])(Object(r["a"])({x:o-d/2,y:a-d/2,width:d,height:d},t.defaultStyle),t.style),{fill:g})});return y}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}Object(r["b"])(e,t),e.prototype.getSchemaAdaptor=function(){return g},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{type:"polygon",legend:!1,xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})}})(i["a"])},"/+3i":function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("zJSt"),a=n("iTfj"),s=n("w02o"),c=n("n/J0"),l="$$stock-range$$",u="trend",h="up",f="down",p=["#ef5350","#26a69a"],d={showTitle:!1,showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:"xy",follow:!0},itemTpl:'
  • {name}{value}
  • '};function g(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.data;o=Object(a["map"])(o,function(t){if(Object(a["isArray"])(i)){var e=i[0],n=i[1],r=i[2],o=i[3];t[u]=t[e]<=t[n]?h:f,t[l]=[t[e],t[n],t[r],t[o]]}return t}),e.data(o);var s=e.schema().position(r+"*"+l).shape("candle");return s.color(u,p),t}function y(t){var e,n,r=t.chart,o=t.options,a=o.meta,s=o.xAxis,p=o.yAxis,d=o.xField,g=(e={},e[d]={type:"timeCat",tickCount:6},e[u]={values:[h,f]},e),y=Object(i["b"])(g,a,(n={},n[d]=Object(i["k"])(s,c["a"]),n[l]=Object(i["k"])(p,c["a"]),n));return r.scale(y),t}function v(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(l,i),t}function m(t){var e=t.chart,n=t.options,r=n.xField,o=n.yField,s=n.meta,c=void 0===s?{}:s,l=n.tooltip,u=void 0===l?{}:l,h=Object(i["c"])(e,"schema"),f=o[0],p=o[1],d=o[2],g=o[3],y=c[f]&&c[f].alias||f,v=c[p]?c[p].alias||f:p,m=c[d]&&c[d].alias||d,b=c[g]&&c[g].alias||g,x={fields:[r,f,p,d,g],callback:function(t,e,n,r,i){var o={name:t,value:'\n
    '+y+"\uff1a"+e+'\n
    '+v+"\uff1a"+n+'\n
    '+m+"\uff1a"+r+'\n
    '+b+"\uff1a"+i+"\n "};return o}},O={crosshairs:{text:function(t,e,n){var i={position:"end"};if("x"===t){var o=n[0];i["content"]=o?o.data[r]:e}else i["content"]=e;return i}}};if(u){if(Object(a["isObject"])(u)){var w=Object(i["b"])({},O,u);e.tooltip(w),h.tooltip(x)}}else e.tooltip(!1);return t}function b(t){var e=t.chart,n=t.options,r=n.legend;return r?e.legend(u,r):!1===r&&e.legend(!1),t}function x(t){Object(i["e"])(g,y,s["j"],v,m,b,s["c"],s["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="stock",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(i["b"])({},t.prototype.getDefaultOptions.call(this),{tooltip:d,interactions:[{type:"tooltip"}],legend:{position:"top-left"}})},e.prototype.getSchemaAdaptor=function(){return x}})(o["a"])},"/3+T":function(t,e,n){"use strict";n.r(e);var r,i=n("LHnb"),o=n("5UbV"),a=n("iTfj"),s=n("MeYt"),c=n("jqgP"),l=n("L16w"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:l["a"].lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:l["a"].textColor,textAlign:"center",textBaseline:"middle",fontFamily:l["a"].fontFamily}},textBackground:{padding:5,style:{stroke:l["a"].lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,r=e.autoRotate,o=e.content;if(!Object(a["isNil"])(o)){var s=this.getTextPoint(),l=null;if(r){var u=this.getRotateAngle();l=Object(c["e"])(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:Object(i["a"])(Object(i["a"])(Object(i["a"])({},s),{text:o,matrix:l}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line"),r=n.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:Object(i["a"])({path:e},r)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),r=this.get("textBackground");if(r&&n){var a=n.getBBox(),s=Object(o["c"])(r.padding),c=r.style,l=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:Object(i["a"])({x:a.x-s[3],y:a.y-s[0],width:a.width+s[1]+s[3],height:a.height+s[0]+s[2],matrix:n.attr("matrix")},c)});l.toBack()}},e}(s["a"]),h=u,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text").position,i=Math.atan2(n.y-e.y,n.x-e.x),o="start"===r?i-Math.PI/2:i+Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return Object(o["f"])(e,n,i,a)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(h),p=f,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle,r=this.get("text").position,i="start"===r?e+Math.PI/2:n-Math.PI/2;return i},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,r=this.getLocation(),i=r.center,a=r.radius,s=r.startAngle,c=r.endAngle,l="start"===e?s:c,u=this.getRotateAngle()-Math.PI,h=Object(o["e"])(i,a,l),f=Math.cos(u)*n,p=Math.sin(u)*n;return{x:h.x+f,y:h.y+p}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,a=null;if(i-r===2*Math.PI){var s=e.x,c=e.y;a=[["M",s,c-n],["A",n,n,0,1,1,s,c+n],["A",n,n,0,1,1,s,c-n],["Z"]]}else{var l=Object(o["e"])(e,n,r),u=Object(o["e"])(e,n,i),h=Math.abs(i-r)>Math.PI?1:0,f=r>i?0:1;a=[["M",l.x,l.y],["A",n,n,0,h,f,u.x,u.y]]}return a},e}(h),g=d,y=n("fIp6"),v=n("de35"),m="g2-crosshair",b=m+"-line",x=m+"-text",O=(r={},r[""+m]={position:"relative"},r[""+b]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+x]={position:"absolute",color:l["a"].textColor,fontFamily:l["a"].fontFamily},r),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
    ',crosshairTpl:'
    ',textTpl:'{content}',domStyles:null,containerClassName:m,defaultStyles:O,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),e=this.get("crosshairTpl"),n=Object(y["b"])(e);t.appendChild(n),this.applyStyle(b,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return Object(o["f"])(e,n,i,a)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var r=this.getContainer(),i=Object(a["substitute"])(this.get("textTpl"),t);e=Object(y["b"])(i),r.appendChild(e),this.applyStyle(x,e),this.set("textEl",e)}e.innerHTML=n}else e&&e.remove()},e.prototype.isVertical=function(t,e){return t.x===e.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var e=this.get("start"),n=this.get("end"),r=Math.min(e.x,n.x),i=Math.min(e.y,n.y);this.isVertical(e,n)?Object(y["e"])(t,{width:"1px",height:Object(o["l"])(Math.abs(n.y-e.y))}):Object(y["e"])(t,{height:"1px",width:Object(o["l"])(Math.abs(n.x-e.x))}),Object(y["e"])(t,{top:Object(o["l"])(i),left:Object(o["l"])(r)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,r=this.getTextPoint();switch(e){case"center":r.x=r.x-n/2;break;case"right":r.x=r.x-n;case"left":break}Object(y["e"])(t,{top:Object(o["l"])(r.y),left:Object(o["l"])(r.x)})}},e.prototype.updateInner=function(e){Object(a["hasKey"])(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(v["a"]),j=w;n.d(e,"Line",function(){return p}),n.d(e,"Circle",function(){return g}),n.d(e,"Base",function(){return h}),n.d(e,"Html",function(){return j})},"/9aa":function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Symbol]";function a(t){return"symbol"==typeof t||i(t)&&r(t)==o}t.exports=a},"/f6Q":function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(o=t.src.charCodeAt(l++),42!==o&&45!==o&&95!==o)return!1;a=1;while(l
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},s=n("w02o"),c=n("YuPD"),l=n("tKoa"),u=n("7cv3"),h=n("DyAw");function f(t){var e,n,r=t.chart,i=t.options,o=i.data,a=i.xAxis,f=i.yAxis,p=i.color,d=i.columnStyle,g=i.columnWidthRatio,y=o.map(function(t,e){return{x:""+e,y:t}});r.data(y);var v=Object(c["b"])({},t,{options:{xField:u["b"],yField:u["c"],widthRatio:g,interval:{style:d,color:p}}});return Object(l["c"])(v),r.axis(!1),r.legend(!1),r.interaction("element-active"),Object(s["f"])((e={},e[u["b"]]=a,e[u["c"]]=f,e),(n={},n[u["b"]]={type:"cat"},n[u["c"]]=Object(h["a"])(y,u["c"]),n))(t),t}function p(t){return Object(c["e"])(f,s["k"],s["j"],s["a"],Object(s["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-column",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r["a"])({},a)}},e.prototype.getSchemaAdaptor=function(){return p}})(i["a"])},"03A+":function(t,e,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},"05BJ":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("7cv3"),a=n("w02o"),s=n("YuPD"),c=n("tKoa"),l=n("DyAw");function u(t){var e,n,r=t.chart,i=t.options,u=i.data,h=i.xAxis,f=i.yAxis,p=i.color,d=i.areaStyle,g=i.point,y=i.line,v=u.map(function(t,e){return{x:e,y:t}});r.data(v);var m=Object(s["b"])({},t,{options:{xField:o["b"],yField:o["c"],area:{color:p,style:d},line:y,point:g}}),b=Object(s["b"])({},m,{options:{tooltip:!1}});return Object(c["a"])(m),Object(c["d"])(b),Object(c["e"])(b),r.axis(!1),r.legend(!1),Object(a["f"])((e={},e[o["b"]]=h,e[o["c"]]=f,e),(n={},n[o["b"]]={type:"cat"},n[o["c"]]=Object(l["a"])(v,o["c"]),n))(t),t}function h(t){return Object(s["e"])(u,a["k"],a["j"],a["a"],Object(a["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-area",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r["a"])({},o["a"]),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"}}},e.prototype.getSchemaAdaptor=function(){return h}})(i["a"])},"0Cz8":function(t,e,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;function s(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.lengthMath.PI/2?Math.PI-l:l,u=u>Math.PI/2?Math.PI-u:u;var h={xExtra:Math.cos(c/2-l)*(e/2*(1/Math.sin(c/2)))-e/2||0,yExtra:Math.cos(u-c/2)*(e/2*(1/Math.sin(c/2)))-e/2||0};return h}var b=function(t){var e=t.attr(),n=e.path,r=e.stroke,i=r?e.lineWidth:0,o=t.get("segments")||Object(g["path2Segments"])(n),a=v(o,i),s=a.x,c=a.y,l=a.width,h=a.height,f={minX:s,minY:c,maxX:s+l,maxY:c+h};return f=u(t,f),{x:f.minX,y:f.minY,width:f.maxX-f.minX,height:f.maxY-f.minY}},x=function(t){var e=t.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=Math.min(n,i),s=Math.max(n,i),c=Math.min(r,o),l=Math.max(r,o),h={minX:a,maxX:s,minY:c,maxY:l};return h=u(t,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}},O=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;return{x:n-i,y:r-o,width:2*i,height:2*o}};n.d(e,"a",function(){return o}),i("rect",a),i("image",a),i("circle",s),i("marker",s),i("polyline",h),i("polygon",f),i("text",d),i("path",b),i("line",x),i("ellipse",O)},"1nBO":function(t,e,n){"use strict";var r=n("AGgm").normalizeReference,i=n("AGgm").isSpace;t.exports=function(t,e,n,o){var a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,w=0,j=t.bMarks[e]+t.tShift[e],C=t.eMarks[e],S=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(j))return!1;while(++j3)&&!(t.sCount[S]<0)){for(b=!1,h=0,f=x.length;hr?i=r-n:t+n=0;r--)t.removeChild(e[r])}function a(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function s(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),o=Math.max(e.x,n.x),a=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function c(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),o=Math.max.apply(Math,e),a=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:o,maxY:a,width:o-r,height:a-i}}function l(t,e,n,r){var i=t+n,o=e+r;return{x:t,y:e,width:n,height:r,minX:t,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(o)?0:o}}function u(t,e,n){return(1-n)*t+e*n}function h(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}}function f(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}var p=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)0?Object(r["each"])(u,function(t){if(t.get("visible")){if(t.isGroup()&&0===t.get("children").length)return!0;var e=g(t),n=t.applyToMatrix([e.minX,e.minY,1]),r=t.applyToMatrix([e.minX,e.maxY,1]),i=t.applyToMatrix([e.maxX,e.minY,1]),l=t.applyToMatrix([e.maxX,e.maxY,1]),u=Math.min(n[0],r[0],i[0],l[0]),h=Math.max(n[0],r[0],i[0],l[0]),f=Math.min(n[1],r[1],i[1],l[1]),p=Math.max(n[1],r[1],i[1],l[1]);ua&&(a=h),fc&&(c=p)}}):(o=0,a=0,s=0,c=0),e=l(o,s,a-o,c-s)}else e=t.getBBox();return i?d(e,i):e}function y(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(n){var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}else t.setClip(null)}}function v(t){return t+"px"}function m(t,e,n,r){var i=f(t,e),o=r/i,a=0;return"start"===n?a=0-o:"end"===n&&(a=1+o),{x:u(t.x,e.x,a),y:u(t.y,e.y,a)}}},"5Wne":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCallbackAction=e.unregisterAction=e.registerAction=e.getActionClass=e.createAction=void 0;var r=n("t0W4"),i=r.__importDefault(n("3MAE")),o=n("iTfj"),a={};function s(t,e){var n=a[t],r=null;if(n){var i=n.ActionClass,o=n.cfg;r=new i(e,o),r.name=t,r.init()}return r}function c(t){var e=a[t];return o.get(e,"ActionClass")}function l(t,e,n){a[t]={ActionClass:e,cfg:n}}function u(t){delete a[t]}function h(t,e){var n=new i.default(e);return n.callback=t,n.name="callback",n}e.createAction=s,e.getActionClass=c,e.registerAction=l,e.unregisterAction=u,e.createCallbackAction=h},"5bFI":function(t,e,n){"use strict";n.r(e);var r=n("LHnb"),i=n("iTfj"),o=n("BgvD"),a=n("jqgP"),s=n("l3hu"),c=n("L16w"),l=n("MeYt"),u=n("5UbV"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),r=this.get("maxHeight"),i=e.width,o=e.height;return n&&(i=Math.min(i,n)),r&&(o=Math.min(o,r)),Object(u["b"])(e.minX,e.minY,i,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),r=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+r})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),i=Object(u["c"])(e.padding),o=Object(r["a"])({x:0,y:0,width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},e.style),a=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});a.toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),i=n.spacing,o=n.style,a=n.text,s=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:Object(r["a"])({text:a,x:e.x,y:e.y},o)}),c=s.getBBox();this.set("currentPoint",{x:e.x,y:c.maxY+i})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=Object(u["c"])(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(l["a"]),f=h,p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndexg&&(g=m),"horizontal"===f?(y&&ym&&(m=e.width)}),b=m,m+=h,c&&(m=Math.min(c,m),b=Math.min(c,b)),this.pageWidth=m,this.pageHeight=l-Math.max(d.height,f+x);var O=Math.floor(this.pageHeight/(f+x));Object(i["each"])(s,function(t,e){0!==e&&e%O===0&&(y+=1,g.x+=m,g.y=o),n.moveElementTo(t,g),t.getParent().setClip({type:"rect",attrs:{x:g.x,y:g.y,width:m,height:f}}),g.y+=f+x}),this.totalPagesCnt=y,this.moveElementTo(p,{x:r+b/2-d.width/2-d.minX,y:l-d.height-d.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),this.totalPagesCnt=y,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(p),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,r){var i={x:0,y:0},o=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),a=this.drawArrow(o,i,"navigation-arrow-left","horizontal"===e?"up":"left",r);a.on("click",this.onNavigationBack);var s=a.getBBox();i.x+=s.width+2;var c=this.addShape(o,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:{x:i.x,y:i.y+r/2,text:n,fontSize:12,fill:"#ccc",textBaseline:"middle"}}),l=c.getBBox();i.x+=l.width+2;var u=this.drawArrow(o,i,"navigation-arrow-right","horizontal"===e?"down":"right",r);return u.on("click",this.onNavigationAfter),o},e.prototype.updateNavigation=function(t){var e=this.currentPageIndex+"/"+this.totalPagesCnt,n=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),r=t?t.findById(this.getElementId("navigation-arrow-left")):this.getElementByLocalId("navigation-arrow-left"),i=t?t.findById(this.getElementId("navigation-arrow-right")):this.getElementByLocalId("navigation-arrow-right"),o=n.getBBox();n.attr("text",e);var a=n.getBBox();n.attr("x",n.attr("x")-(a.width-o.width)/2),r.attr("opacity",1===this.currentPageIndex?.45:1),r.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),i.attr("opacity",this.currentPageIndex===this.totalPagesCnt?.45:1),i.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer")},e.prototype.drawArrow=function(t,e,n,r,i){var o=e.x,s=e.y,c={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},l=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:{path:[["M",o+i/2,s],["L",o,s+i],["L",o+i,s+i],["Z"]],fill:"#000",cursor:"pointer"}});return l.attr("matrix",Object(a["e"])({x:o+i/2,y:s+i/2},c[r])),l},e.prototype.getCurrentNavigationMatrix=function(){var t=this,e=t.currentPageIndex,n=t.pageWidth,r=t.pageHeight,i=this.get("layout"),o="horizontal"===i?{x:0,y:r*(1-e)}:{x:n*(1-e),y:0};return Object(a["f"])(o)},e.prototype.applyItemStates=function(t,e){var n=this.getItemStates(t),r=n.length>0;if(r){var o=e.getChildren(),a=this.get("itemStates");Object(i["each"])(o,function(e){var n=e.get("name"),r=n.split("-")[2],i=Object(s["a"])(t,r,a);i&&(e.attr(i),"marker"!==r||e.get("isStroke")&&e.get("isFill")||(e.get("isStroke")&&e.attr("fill",null),e.get("isFill")&&e.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),e=this.get("maxItemWidth");return e?t&&(e=t<=e?t:e):t&&(e=t),e},e}(f),d=p,g=1.4,y=.4,v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:c["a"].textColor,textBaseline:"middle",fontFamily:c["a"].fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:c["a"].textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,e){this.update({min:t,max:e})},e.prototype.setValue=function(t){var e=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:e,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var e=this;t.on("legend-handler-min:drag",function(t){var n=e.getValueByCanvasPoint(t.x,t.y),r=e.getCurrentValue(),i=r[1];in&&(i=n),e.setValue([i,n])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var e=this,n=null;t.on("legend-track:dragstart",function(t){n={x:t.x,y:t.y}}),t.on("legend-track:drag",function(t){if(n){var r=e.getValueByCanvasPoint(n.x,n.y),i=e.getValueByCanvasPoint(t.x,t.y),o=e.getCurrentValue(),a=o[1]-o[0],s=e.getRange(),c=i-r;c<0?o[0]+c>s.min?e.setValue([o[0]+c,o[1]+c]):e.setValue([s.min,s.min+a]):c>0&&(c>0&&o[1]+co&&(l=o),l0&&this.changeRailLength(r,a,n[a]-f)}},e.prototype.changeRailLength=function(t,e,n){var r,i=t.getBBox();r="height"===e?this.getRailPath(i.x,i.y,i.width,n):this.getRailPath(i.x,i.y,n,i.height),t.attr("path",r)},e.prototype.changeRailPosition=function(t,e,n){var r=t.getBBox(),i=this.getRailPath(e,n,r.width,r.height);t.attr("path",i)},e.prototype.fixedHorizontal=function(t,e,n,r){var i=this.get("label"),o=i.align,a=i.spacing,s=n.getBBox(),c=t.getBBox(),l=e.getBBox(),u=s.height;this.fitRailLength(c,l,s,n),s=n.getBBox(),"rail"===o?(t.attr({x:r.x,y:r.y+u/2}),this.changeRailPosition(n,r.x+c.width+a,r.y),e.attr({x:r.x+c.width+s.width+2*a,y:r.y+u/2})):"top"===o?(t.attr({x:r.x,y:r.y}),e.attr({x:r.x+s.width,y:r.y}),this.changeRailPosition(n,r.x,r.y+c.height+a)):(this.changeRailPosition(n,r.x,r.y),t.attr({x:r.x,y:r.y+s.height+a}),e.attr({x:r.x+s.width,y:r.y+s.height+a}))},e.prototype.fixedVertail=function(t,e,n,r){var i=this.get("label"),o=i.align,a=i.spacing,s=n.getBBox(),c=t.getBBox(),l=e.getBBox();if(this.fitRailLength(c,l,s,n),s=n.getBBox(),"rail"===o)t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x,r.y+c.height+a),e.attr({x:r.x,y:r.y+c.height+s.height+2*a});else if("right"===o)t.attr({x:r.x+s.width+a,y:r.y}),this.changeRailPosition(n,r.x,r.y),e.attr({x:r.x+s.width+a,y:r.y+s.height});else{var u=Math.max(c.width,l.width);t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x+u+a,r.y),e.attr({x:r.x,y:r.y+s.height})}},e}(f),m=v;n.d(e,"Category",function(){return d}),n.d(e,"Continuous",function(){return m}),n.d(e,"Base",function(){return f})},"5eLp":function(t,e,n){"use strict";var r=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){var t=this.type;return"[Event (type="+t+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();e["a"]=r},"5kt6":function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a});var r="range",i="type",o="percent",a="#f0f0f0"},"5z4m":function(t,e,n){"use strict";var r=n("R2cN"),i=n("aFU3"),o=n("iTfj"),a=n("aN7R"),s=n("c0lT"),c=n("APlK"),l=n("IvmH"),u=n("c+wO"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=Object(u["b"])("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n?n.appendChild(t):(n=e.createDom(),e.set("el",n),n.appendChild(t))}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){Object(s["b"])(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),Object(c["a"])(this,t),this.createPath(t),e.length&&Object(s["a"])(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(o["each"])(e||n,function(t,e){l["b"][e]&&r.setAttribute(l["b"][e],t)}),Object(c["c"])(this)},e}(i["AbstractGroup"]);e["a"]=h},"6A5J":function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O,w,j,C,S=t.lineMax,k=t.bMarks[e]+t.tShift[e],M=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(k++))return!1;if(i)return!0;c=p=t.sCount[e]+1,32===t.src.charCodeAt(k)?(k++,c++,p++,o=!1,x=!0):9===t.src.charCodeAt(k)?(x=!0,(t.bsCount[e]+p)%4===3?(k++,c++,p++,o=!1):o=!0):x=!1,d=[t.bMarks[e]],t.bMarks[e]=k;while(k=M,m=[t.sCount[e]],t.sCount[e]=p-c,b=[t.tShift[e]],t.tShift[e]=k-t.bMarks[e],w=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",f=e+1;f=M)break;if(62!==t.src.charCodeAt(k++)||C){if(u)break;for(O=!1,s=0,l=w.length;s=M,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(x?1:0),m.push(t.sCount[f]),t.sCount[f]=p-c,b.push(t.tShift[f]),t.tShift[f]=k-t.bMarks[f]}}for(y=t.blkIndent,t.blkIndent=0,j=t.push("blockquote_open","blockquote",1),j.markup=">",j.map=h=[e,0],t.md.block.tokenize(t,e,f),j=t.push("blockquote_close","blockquote",-1),j.markup=">",t.lineMax=S,t.parentType=v,h[1]=t.line,s=0;s=0;return n?o?2*Math.PI-r:r:o?r:2*Math.PI-r}function f(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t}n.d(e,"mat3",function(){return i["a"]}),n.d(e,"vec2",function(){return i["b"]}),n.d(e,"vec3",function(){return i["c"]}),n.d(e,"ext",function(){return r})},"6UX8":function(t,e,n){"use strict";var r=n("iTfj"),i=/rgba?\(([\s.,0-9]+)\)/,o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,c=function(t){return/^[r,R,L,l]{1}[\s]*\(/.test(t)},l=function(){var t=document.createElement("i");return t.title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),t},u=function(t,e,n,r){return t[r]+(e[r]-t[r])*n};function h(t){return"#"+d(t[0])+d(t[1])+d(t[2])}var f,p=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},d=function(t){var e=Math.round(t).toString(16);return 1===e.length?"0"+e:e},g=function(t,e){var n=isNaN(Number(e))||e<0?0:e>1?1:Number(e),r=t.length-1,i=Math.floor(r*n),o=r*n-i,a=t[i],s=i===r?a:t[i+1];return h([u(a,s,o,0),u(a,s,o,1),u(a,s,o,2)])},y=function(t){if("#"===t[0]&&7===t.length)return t;f||(f=l()),f.style.color=t;var e=document.defaultView.getComputedStyle(f,"").getPropertyValue("color"),n=i.exec(e),r=n[1].split(/\s*,\s*/).map(function(t){return Number(t)});return e=h(r),e},v=function(t){var e=Object(r["isString"])(t)?t.split("-"):t,n=Object(r["map"])(e,function(t){return p(-1===t.indexOf("#")?y(t):t)});return function(t){return g(n,t)}},m=function(t){if(c(t)){var e,n=void 0;if("l"===t[0]){var i=o.exec(t),l=+i[1]+90;n=i[2],e="linear-gradient("+l+"deg, "}else if("r"===t[0]){e="radial-gradient(";i=a.exec(t);n=i[4]}var u=n.match(s);return Object(r["each"])(u,function(t,n){var r=t.split(":");e+=r[1]+" "+100*r[0]+"%",n!==u.length-1&&(e+=", ")}),e+=")",e}return t};e["a"]={rgb2arr:p,gradient:v,toRGB:Object(r["memoize"])(y),toCSSGradient:m}},"6YkS":function(t,e,n){"use strict";n.r(e),n.d(e,"BrowserRouter",function(){return h}),n.d(e,"HashRouter",function(){return f}),n.d(e,"Link",function(){return b}),n.d(e,"NavLink",function(){return j});var r=n("CxXe");n.d(e,"MemoryRouter",function(){return r["a"]}),n.d(e,"Prompt",function(){return r["b"]}),n.d(e,"Redirect",function(){return r["c"]}),n.d(e,"Route",function(){return r["d"]}),n.d(e,"Router",function(){return r["e"]}),n.d(e,"StaticRouter",function(){return r["f"]}),n.d(e,"Switch",function(){return r["g"]}),n.d(e,"__RouterContext",function(){return r["h"]}),n.d(e,"generatePath",function(){return r["i"]}),n.d(e,"matchPath",function(){return r["j"]}),n.d(e,"useHistory",function(){return r["k"]}),n.d(e,"useLocation",function(){return r["l"]}),n.d(e,"useParams",function(){return r["m"]}),n.d(e,"useRouteMatch",function(){return r["n"]}),n.d(e,"withRouter",function(){return r["o"]});var i=n("ohPV"),o=n("q1tI"),a=n.n(o),s=n("g0MP"),c=(n("17x9"),n("EVqI")),l=n("MWgS"),u=n("9R94"),h=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i1){var o=Array(t.callback.length-1).fill("");i=t.mapping.apply(t,r.__spreadArrays([e],o)).join("")}else i=t.mapping(e).join("");return i||n}e.getMappingValue=i},"6sVZ":function(t,e){var n=Object.prototype;function r(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||n;return t===r}t.exports=r},"7+4w":function(t,e,n){"use strict";var r=n("mrSG"),i=n("YuPD"),o=n("zJSt");(function(t){function e(e,n,r,o){var a=t.call(this,e,Object(i["b"])({},o,n))||this;return a.type="g2-plot",a.defaultOptions=o,a.adaptor=r,a}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor}})(o["a"])},"77Zs":function(t,e,n){var r=n("Xi7e");function i(){this.__data__=new r,this.size=0}t.exports=i},"7Ix3":function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},"7ZbV":function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("tKoa"),l="first-axes-view",u="second-axes-view";function h(t,e,n){var r=[];return e.forEach(function(e){n.forEach(function(n){var i,o=(i={},i[t]=n[t],i.type=e,i[e]=n[e],i);r.push(o)})}),r}function f(t){return"vertical"!==t}function p(t,e,n){var r=e[0],i=e[1],o=r.autoPadding,a=i.autoPadding,s=t.__axisPosition,c=s.layout,l=s.position;if(f(c)&&"top"===l&&(r.autoPadding=n.instance(o.top,0,o.bottom,o.left),i.autoPadding=n.instance(a.top,o.left,a.bottom,0)),f(c)&&"bottom"===l&&(r.autoPadding=n.instance(o.top,o.right/2+5,o.bottom,o.left),i.autoPadding=n.instance(a.top,a.right,a.bottom,o.right/2+5)),!f(c)&&"bottom"===l){var u=o.left>=a.left?o.left:a.left;r.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,u),i.autoPadding=n.instance(o.bottom/2+5,a.right,a.bottom,u)}if(!f(c)&&"top"===l){u=o.left>=a.left?o.left:a.left;r.autoPadding=n.instance(o.top,o.right,0,u),i.autoPadding=n.instance(0,a.right,o.top,u)}}function d(t){var e,n,r=t.chart,i=t.options,s=i.data,p=i.xField,d=i.yField,g=i.color,y=i.barStyle,v=i.widthRatio,m=i.legend,b=i.layout,x=h(p,d,s),O=Object.values(Object(a["groupBy"])(x,"type"));r.scale({type:{sync:!0}}),m?r.legend("type",m):!1===m&&r.legend(!1),f(b)?(e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:l}),e.coordinate().transpose().reflect("x"),n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:u}),n.coordinate().transpose()):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:l}),n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:u}),n.coordinate().reflect("y").rotate(0*Math.PI)),e.data(Object(a["get"])(O,[0],[]));var w=Object(o["b"])({},t,{chart:e,options:{widthRatio:v,xField:p,yField:d[0],seriesField:"type",interval:{color:g,style:y}}});Object(c["c"])(w),n.data(Object(a["get"])(O,[1],[]));var j=Object(o["b"])({},t,{chart:n,options:{xField:p,yField:d[1],seriesField:"type",widthRatio:v,interval:{color:g,style:y}}});return Object(c["c"])(j),t}function g(t){var e,n,r=t.options,i=t.chart,a=r.xAxis,c=r.yAxis,h=r.xField,f=r.yField,p=Object(o["d"])(i,l),d=Object(o["d"])(i,u);return Object(s["f"])((e={},e[h]=a,e[f[0]]=c[f[0]],e))(Object(o["b"])({},t,{chart:p})),Object(s["f"])((n={},n[h]=a,n[f[1]]=c[f[1]],n))(Object(o["b"])({},t,{chart:d})),t}function y(t){var e=t.chart,n=t.options,i=n.xAxis,a=n.yAxis,s=n.xField,c=n.yField,h=n.layout,p=Object(o["d"])(e,l),d=Object(o["d"])(e,u);return d.axis(s,!1),!1===i?p.axis(s,!1):p.axis(s,Object(r["a"])({position:f(h)?"top":"bottom"},i)),!1===a?(p.axis(c[0],!1),d.axis(c[1],!1)):(p.axis(c[0],a[c[0]]),d.axis(c[1],a[c[1]])),e.__axisPosition={position:p.getOptions().axes[s].position,layout:h},t}function v(t){var e=t.chart;return Object(s["c"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l)})),Object(s["c"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u)})),t}function m(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return Object(s["e"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l),options:{yAxis:i[r[0]]}})),Object(s["e"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u),options:{yAxis:i[r[1]]}})),t}function b(t){var e=t.chart;return Object(s["j"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l)})),Object(s["j"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u)})),t}function x(t){var e=t.chart;return Object(s["a"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,l)})),Object(s["a"])(Object(o["b"])({},t,{chart:Object(o["d"])(e,u)})),t}function O(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["d"])(e,l),c=Object(o["d"])(e,u),h=Object(o["c"])(s,"interval"),f=Object(o["c"])(c,"interval");if(i){var p=i.callback,d=Object(r["c"])(i,["callback"]);h.label({fields:[a[0]],callback:p,cfg:Object(o["o"])(d)}),f.label({fields:[a[1]],callback:p,cfg:Object(o["o"])(d)})}else h.label(!1),f.label(!1);return t}function w(t){return Object(o["e"])(d,g,y,m,b,O,s["k"],v,x)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{syncViewPadding:p})},e.prototype.getSchemaAdaptor=function(){return w}})(i["a"])},"7bO/":function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"take",function(){return Mt}),n.d(r,"takem",function(){return _t}),n.d(r,"put",function(){return At}),n.d(r,"all",function(){return Tt}),n.d(r,"race",function(){return Et}),n.d(r,"call",function(){return Lt}),n.d(r,"apply",function(){return It}),n.d(r,"cps",function(){return Ft}),n.d(r,"fork",function(){return Dt}),n.d(r,"spawn",function(){return Bt}),n.d(r,"join",function(){return Rt}),n.d(r,"cancel",function(){return Nt}),n.d(r,"select",function(){return Yt}),n.d(r,"actionChannel",function(){return zt}),n.d(r,"cancelled",function(){return Gt}),n.d(r,"flush",function(){return Vt}),n.d(r,"getContext",function(){return Xt}),n.d(r,"setContext",function(){return Wt}),n.d(r,"takeEvery",function(){return me}),n.d(r,"takeLatest",function(){return be}),n.d(r,"throttle",function(){return xe});var i=Object.assign||function(t){for(var e=1;e=0&&t.splice(n,1)}var j={from:function(t){var e=Array(t.length);for(var n in t)b(t,n)&&(e[n]=t[n]);return e}};function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=i({},t),n=new Promise(function(t,n){e.resolve=t,e.reject=n});return e.promise=n,e}function S(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise(function(r){n=setTimeout(function(){return r(e)},t)});return r[u]=function(){return clearTimeout(n)},r}function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++t}}var M=k(),_=function(t){throw t},A=function(t){return{value:t,done:!0}};function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i={name:n,next:t,throw:e,return:A};return r&&(i[c]=!0),"undefined"!==typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"===typeof window?console.log("redux-saga "+t+": "+e+"\n"+(n&&n.stack||n)):console[t](e,n)}function P(t,e){return function(){return t.apply(void 0,arguments)}}var L=function(t,e){return t+" has been deprecated in favor of "+e+", please update your code"},I=function(t){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+t+"\n")},F=function(t,e){return(t?t+".":"")+"setContext(props): argument "+e+" is not a plain object"},D=function(t){return function(e){return t(Object.defineProperty(e,h,{value:!0}))}},B="Channel's Buffer overflow!",R=1,N=2,Y=3,z=4,G={isEmpty:d,put:g,take:g};function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=arguments[1],n=new Array(t),r=0,i=0,o=0,a=function(e){n[i]=e,i=(i+1)%t,r++},s=function(){if(0!=r){var e=n[o];return n[o]=null,r--,o=(o+1)%t,e}},c=function(){var t=[];while(r)t.push(s());return t};return{isEmpty:function(){return 0==r},put:function(s){if(r0&&void 0!==arguments[0]?arguments[0]:X.fixed(),e=!1,n=[];function r(){if(e&&n.length)throw I("Cannot have a closed channel with pending takers");if(n.length&&!t.isEmpty())throw I("Cannot have pending takers with non empty buffer")}function i(i){if(r(),v(i,x.notUndef,it),!e){if(!n.length)return t.put(i);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:X.none(),n=arguments[2];arguments.length>2&&v(n,x.func,"Invalid match function passed to eventChannel");var r=ot(e),i=function(){r.__closed__||(o&&o(),r.close())},o=t(function(t){et(t)?i():n&&!n(t)||r.put(t)});if(r.__closed__&&o(),!x.func(o))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:i}}function st(t){var e=at(function(e){return t(function(t){t[h]?e(t):q(function(){return e(t)})})});return $({},e,{take:function(t,n){arguments.length>1&&(v(n,x.func,"channel.take's matcher argument must be a function"),t[l]=n),e.take(t)}})}var ct=a("IO"),lt="TAKE",ut="PUT",ht="ALL",ft="RACE",pt="CALL",dt="CPS",gt="FORK",yt="JOIN",vt="CANCEL",mt="SELECT",bt="ACTION_CHANNEL",xt="CANCELLED",Ot="FLUSH",wt="GET_CONTEXT",jt="SET_CONTEXT",Ct="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",St=function(t,e){var n;return n={},n[ct]=!0,n[t]=e,n},kt=function(t){return v(Ut.fork(t),x.object,"detach(eff): argument must be a fork effect"),t[gt].detached=!0,t};function Mt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&v(arguments[0],x.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),x.pattern(t))return St(lt,{pattern:t});if(x.channel(t))return St(lt,{channel:t});throw new Error("take(patternOrChannel): argument "+String(t)+" is not valid channel or a valid pattern")}Mt.maybe=function(){var t=Mt.apply(void 0,arguments);return t[lt].maybe=!0,t};var _t=P(Mt.maybe,L("takem","take.maybe"));function At(t,e){return arguments.length>1?(v(t,x.notUndef,"put(channel, action): argument channel is undefined"),v(t,x.channel,"put(channel, action): argument "+t+" is not a valid channel"),v(e,x.notUndef,"put(channel, action): argument action is undefined")):(v(t,x.notUndef,"put(action): argument action is undefined"),e=t,t=null),St(ut,{channel:t,action:e})}function Tt(t){return St(ht,t)}function Et(t){return St(ft,t)}function Pt(t,e,n){v(e,x.notUndef,t+": argument fn is undefined");var r=null;if(x.array(e)){var i=e;r=i[0],e=i[1]}else if(e.fn){var o=e;r=o.context,e=o.fn}return r&&x.string(e)&&x.func(r[e])&&(e=r[e]),v(e,x.func,t+": argument "+e+" is not a function"),{context:r,fn:e,args:n}}function Lt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:[];return St(pt,Pt("apply",{context:t,fn:e},n))}function Ft(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r1)return Tt(e.map(function(t){return Rt(t)}));var r=e[0];return v(r,x.notUndef,"join(task): argument task is undefined"),v(r,x.task,"join(task): argument "+r+" is not a valid Task object "+Ct),St(yt,r)}function Nt(){for(var t=arguments.length,e=Array(t),n=0;n1)return Tt(e.map(function(t){return Nt(t)}));var r=e[0];return 1===e.length&&(v(r,x.notUndef,"cancel(task): argument task is undefined"),v(r,x.task,"cancel(task): argument "+r+" is not a valid Task object "+Ct)),St(vt,r||f)}function Yt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1&&(v(e,x.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),v(e,x.buffer,"actionChannel(pattern, buffer): argument "+e+" is not a valid buffer")),St(bt,{pattern:t,buffer:e})}function Gt(){return St(xt,{})}function Vt(t){return v(t,x.channel,"flush(channel): argument "+t+" is not valid channel"),St(Ot,t)}function Xt(t){return v(t,x.string,"getContext(prop): argument "+t+" is not a string"),St(wt,t)}function Wt(t){return v(t,x.object,F(null,t)),St(jt,t)}At.resolve=function(){var t=At.apply(void 0,arguments);return t[ut].resolve=!0,t},At.sync=P(At.resolve,L("put.sync","put.resolve"));var Ht=function(t){return function(e){return e&&e[ct]&&e[t]}},Ut={take:Ht(lt),put:Ht(ut),all:Ht(ht),race:Ht(ft),call:Ht(pt),cps:Ht(dt),fork:Ht(gt),join:Ht(yt),cancel:Ht(vt),select:Ht(mt),actionChannel:Ht(bt),cancelled:Ht(xt),flush:Ht(Ot),getContext:Ht(wt),setContext:Ht(jt)},qt=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:function(){return g},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"anonymous",l=arguments[8];v(t,x.iterator,Qt);var h="[...effects]",p=P(tt,L(h,"all("+h+")")),d=o.sagaMonitor,y=o.logger,m=o.onError,b=y||E,S=function(t){var e=t.sagaStack;!e&&t.stack&&(e=-1!==t.stack.split("\n")[0].indexOf(t.message)?t.stack:"Error: "+t.message+"\n"+t.stack),b("error","uncaught at "+c,e||t.message||t)},k=st(e),_=Object.create(i);R.cancel=g;var A=ht(a,c,t,l),T={name:c,cancel:D,isRunning:!0},I=ne(c,T,N);function D(){T.isRunning&&!T.isCancelled&&(T.isCancelled=!0,R(Jt))}function B(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,I.cancelAll(),N(Jt))}return l&&(l.cancel=B),t._isRunning=!0,R(),A;function R(e,n){if(!T.isRunning)throw new Error("Trying to resume an already finished generator");try{var r=void 0;n?r=t.throw(e):e===Jt?(T.isCancelled=!0,R.cancel(),r=x.func(t.return)?t.return(Jt):{done:!0,value:Jt}):r=e===$t?x.func(t.return)?t.return():{done:!0}:t.next(e),r.done?(T.isMainRunning=!1,T.cont&&T.cont(r.value)):Y(r.value,a,"",R)}catch(t){T.isCancelled&&S(t),T.isMainRunning=!1,T.cont(t,!0)}}function N(e,n){t._isRunning=!1,k.close(),n?(e instanceof Error&&Object.defineProperty(e,"sagaStack",{value:"at "+c+" \n "+(e.sagaStack||e.stack),configurable:!0}),A.cont||(e instanceof Error&&m?m(e):S(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(t._result=e,t._deferredEnd&&t._deferredEnd.resolve(e)),A.cont&&A.cont(e,n),A.joiners.forEach(function(t){return t.cb(e,n)}),A.joiners=null}function Y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i=M();d&&d.effectTriggered({effectId:i,parentEffectId:e,label:n,effect:t});var o=void 0;function a(t,e){o||(o=!0,r.cancel=g,d&&(e?d.effectRejected(i,t):d.effectResolved(i,t)),r(t,e))}a.cancel=g,r.cancel=function(){if(!o){o=!0;try{a.cancel()}catch(t){S(t)}a.cancel=g,d&&d.effectCancelled(i)}};var s=void 0;return x.promise(t)?z(t,a):x.helper(t)?K(ie(t),i,a):x.iterator(t)?G(t,i,c,a):x.array(t)?p(t,i,a):(s=Ut.take(t))?V(s,a):(s=Ut.put(t))?W(s,a):(s=Ut.all(t))?tt(s,i,a):(s=Ut.race(t))?nt(s,i,a):(s=Ut.call(t))?H(s,i,a):(s=Ut.cps(t))?U(s,a):(s=Ut.fork(t))?K(s,i,a):(s=Ut.join(t))?$(s,a):(s=Ut.cancel(t))?J(s,a):(s=Ut.select(t))?rt(s,a):(s=Ut.actionChannel(t))?it(s,a):(s=Ut.flush(t))?ct(s,a):(s=Ut.cancelled(t))?ot(s,a):(s=Ut.getContext(t))?lt(s,a):(s=Ut.setContext(t))?ut(s,a):a(t)}function z(t,e){var n=t[u];x.func(n)?e.cancel=n:x.func(t.abort)&&(e.cancel=function(){return t.abort()}),t.then(e,function(t){return e(t,!0)})}function G(t,i,a,s){oe(t,e,n,r,_,o,i,a,s)}function V(t,e){var n=t.channel,r=t.pattern,i=t.maybe;n=n||k;var o=function(t){return t instanceof Error?e(t,!0):et(t)&&!i?e($t):e(t)};try{n.take(o,ee(r))}catch(t){return e(t,!0)}e.cancel=o.cancel}function W(t,e){var r=t.channel,i=t.action,o=t.resolve;q(function(){var t=void 0;try{t=(r?r.put:n)(i)}catch(t){if(r||o)return e(t,!0);S(t)}if(!o||!x.promise(t))return e(t);z(t,e)})}function H(t,e,n){var r=t.context,i=t.fn,o=t.args,a=void 0;try{a=i.apply(r,o)}catch(t){return n(t,!0)}return x.promise(a)?z(a,n):x.iterator(a)?G(a,e,i.name,n):n(a)}function U(t,e){var n=t.context,r=t.fn,i=t.args;try{var o=function(t,n){return x.undef(t)?e(n):e(t,!0)};r.apply(n,i.concat(o)),o.cancel&&(e.cancel=function(){return o.cancel()})}catch(t){return e(t,!0)}}function K(t,i,a){var s=t.context,c=t.fn,l=t.args,u=t.detached,h=re({context:s,fn:c,args:l});try{Z();var f=oe(h,e,n,r,_,o,i,c.name,u?null:g);u?a(f):h._isRunning?(I.addTask(f),a(f)):h._error?I.abort(h._error):a(f)}finally{Q()}}function $(t,e){if(t.isRunning()){var n={task:A,cb:e};e.cancel=function(){return w(t.joiners,n)},t.joiners.push(n)}else t.isAborted()?e(t.error(),!0):e(t.result())}function J(t,e){t===f&&(t=A),t.isRunning()&&t.cancel(),e()}function tt(t,e,n){var r=Object.keys(t);if(!r.length)return n(x.array(t)?[]:{});var i=0,o=void 0,a={},s={};function c(){i===r.length&&(o=!0,n(x.array(t)?j.from(qt({},a,{length:r.length})):a))}r.forEach(function(t){var e=function(e,r){o||(r||et(e)||e===$t||e===Jt?(n.cancel(),n(e,r)):(a[t]=e,i++,c()))};e.cancel=g,s[t]=e}),n.cancel=function(){o||(o=!0,r.forEach(function(t){return s[t].cancel()}))},r.forEach(function(n){return Y(t[n],e,n,s[n])})}function nt(t,e,n){var r=void 0,i=Object.keys(t),o={};i.forEach(function(e){var a=function(o,a){if(!r)if(a)n.cancel(),n(o,!0);else if(!et(o)&&o!==$t&&o!==Jt){var s;n.cancel(),r=!0;var c=(s={},s[e]=o,s);n(x.array(t)?[].slice.call(qt({},c,{length:i.length})):c)}};a.cancel=g,o[e]=a}),n.cancel=function(){r||(r=!0,i.forEach(function(t){return o[t].cancel()}))},i.forEach(function(n){r||Y(t[n],e,n,o[n])})}function rt(t,e){var n=t.selector,i=t.args;try{var o=n.apply(void 0,[r()].concat(i));e(o)}catch(t){e(t,!0)}}function it(t,n){var r=t.pattern,i=t.buffer,o=ee(r);o.pattern=r,n(at(e,i||X.fixed(),o))}function ot(t,e){e(!!T.isCancelled)}function ct(t,e){t.flush(e)}function lt(t,e){e(_[t])}function ut(t,e){O.assign(_,t),e()}function ht(t,e,n,r){var i,o,a;return n._deferredEnd=null,o={},o[s]=!0,o.id=t,o.name=e,i="done",a={},a[i]=a[i]||{},a[i].get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var t=C();return n._deferredEnd=t,n._isRunning||(n._error?t.reject(n._error):t.resolve(n._result)),t.promise},o.cont=r,o.joiners=[],o.cancel=B,o.isRunning=function(){return n._isRunning},o.isCancelled=function(){return n._isCancelled},o.isAborted=function(){return n._isAborted},o.result=function(){return n._result},o.error=function(){return n._error},o.setContext=function(t){v(t,x.object,F("task",t)),O.assign(_,t)},Kt(o,a),o}}var ae="runSaga(storeInterface, saga, ...args)",se=ae+": saga argument must be a Generator function!";function ce(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function ue(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.context,n=void 0===e?{}:e,r=le(t,["context"]),i=r.sagaMonitor,o=r.logger,a=r.onError;if(x.func(r))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(o&&!x.func(o))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(a&&!x.func(a))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(r.emitter&&!x.func(r.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function s(t){var e=t.getState,c=t.dispatch,l=nt();return l.emit=(r.emitter||y)(l.emit),s.run=ce.bind(null,{context:n,subscribe:l.subscribe,dispatch:c,getState:e,sagaMonitor:i,logger:o,onError:a}),function(t){return function(e){i&&i.actionDispatched&&i.actionDispatched(e);var n=t(e);return l.emit(e),n}}}return s.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},s.setContext=function(t){v(t,x.object,F("sagaMiddleware",t)),O.assign(n,t)},s}var he={done:!0,value:void 0},fe={};function pe(t){return x.channel(t)?"channel":Array.isArray(t)?String(t.map(function(t){return String(t)})):String(t)}function de(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",r=void 0,i=e;function o(e,n){if(i===fe)return he;if(n)throw i=fe,n;r&&r(e);var o=t[i](),a=o[0],s=o[1],c=o[2];return i=a,r=c,i===fe?he:s}return T(o,function(t){return o(null,t)},n,!0)}function ge(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}}},"7np+":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uniq=e.omit=e.padEnd=e.isBetween=void 0;var r=n("iTfj");function i(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}function o(t,e,n){if(r.isString(t))return t.padEnd(e,n);if(r.isArray(t)){var i=t.length;if(i0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}t.exports=o},"8FoI":function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj"),o=n("Qci9"),a=i["Cache"],s=function(t){function e(e){var n=t.call(this,e)||this,r=e.adjustNames,i=void 0===r?["y"]:r,o=e.height,a=void 0===o?NaN:o,s=e.size,c=void 0===s?10:s,l=e.reverseOrder,u=void 0!==l&&l;return n.adjustNames=i,n.height=a,n.size=c,n.reverseOrder=u,n}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=this,n=e.yField,r=e.reverseOrder,i=n?this.processStack(t):this.processOneDimStack(t);return r?this.reverse(i):i},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this,n=e.xField,o=e.yField,s=e.reverseOrder,c=s?this.reverse(t):t,l=new a,u=new a;return c.map(function(t){return t.map(function(t){var e,a=i["get"](t,n,0),s=i["get"](t,[o]),c=a.toString();if(s=i["isArray"](s)?s[1]:s,!i["isNil"](s)){var h=s>=0?l:u;h.has(c)||h.set(c,0);var f=h.get(c),p=s+f;return h.set(c,p),Object(r["a"])(Object(r["a"])({},t),(e={},e[o]=[f,p],e))}return t})})},e.prototype.processOneDimStack=function(t){var e=this,n=this,i=n.xField,o=n.height,s=n.reverseOrder,c="y",l=s?this.reverse(t):t,u=new a;return l.map(function(t){return t.map(function(t){var n,a=e.size,s=t[i],l=2*a/o;u.has(s)||u.set(s,l/2);var h=u.get(s);return u.set(s,h+l),Object(r["a"])(Object(r["a"])({},t),(n={},n[c]=h,n))})})},e}(o["a"]);e["a"]=s},"8vsG":function(t,e,n){"use strict";n.r(e);var r=n("iTfj"),i={};function o(t){return i[t]}function a(t,e){i[t]=e}var s=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){Object(r["assign"])(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return Object(r["map"])(this.ticks,function(e,n){return Object(r["isObject"])(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return Object(r["isNil"])(i)||!Object(r["isFunction"])(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){Object(r["assign"])(this,this.__cfg__),this.setDomain(),Object(r["isEmpty"])(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(r["isString"])(t)){var n=o(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else Object(r["isFunction"])(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return Object(r["head"])(this.range)},t.prototype.rangeMax=function(){return Object(r["last"])(this.range)},t.prototype.calcPercent=function(t,e,n){return Object(r["isNumber"])(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),c=s,l=function(t,e){return l=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])},l(t,e)};function u(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;function h(){for(var t=0,e=0,n=arguments.length;ethis.max?NaN:this.values[r]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}},e}(c),p=f,d=n("F4kd"),g=function(t){return function(e,n,i,o){var a=Object(r["isNil"])(i)?0:i,s=Object(r["isNil"])(o)?e.length:o;while(a>>1;t(e[c])>n?s=c:a=c+1}return a}},y="format";function v(t,e){var n=d[y]||d["default"][y];return n(t,e)}function m(t){return Object(r["isString"])(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),Object(r["isDate"])(t)&&(t=t.getTime()),t}var b=1e3,x=60*b,O=60*x,w=24*O,j=31*w,C=365*w,S=[["HH:mm:ss",b],["HH:mm:ss",10*b],["HH:mm:ss",30*b],["HH:mm",x],["HH:mm",10*x],["HH:mm",30*x],["HH",O],["HH",6*O],["HH",12*O],["YYYY-MM-DD",w],["YYYY-MM-DD",4*w],["YYYY-WW",7*w],["YYYY-MM",j],["YYYY-MM",4*j],["YYYY-MM",6*j],["YYYY",380*w]];function k(t,e,n){var i=(e-t)/n,o=g(function(t){return t[1]})(S,i)-1,a=S[o];return o<0?a=S[0]:o>=S.length&&(a=Object(r["last"])(S)),a}var M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return u(e,t),e.prototype.translate=function(t){t=m(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(r["isNumber"])(t)&&t-1){var r=this.values[n],i=this.formatter;return r=i?i(r,e):v(r,this.mask),r}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;Object(r["each"])(e,function(t,n){e[n]=m(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(p),_=M,A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return u(e,t),e.prototype.scale=function(t){if(Object(r["isNil"])(t))return NaN;var e=this.rangeMin(),n=this.rangeMax(),i=this.max,o=this.min;if(i===o)return e;var a=this.getScalePercent(t);return e+a*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=Object(r["head"])(e),i=Object(r["last"])(e);nthis.max&&(this.max=i),Object(r["isNil"])(this.minLimit)||(this.min=n),Object(r["isNil"])(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=Object(r["getRange"])(this.values),e=t.min,n=t.max;Object(r["isNil"])(this.min)&&(this.min=e),Object(r["isNil"])(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=Object(r["filter"])(n,function(t){return t>=e.min&&t<=e.max})),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(c),T=A,E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return u(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(T),P=E;function L(t,e){var n,r=Math.E;return n=e>=0?Math.pow(r,Math.log(e)/t):-1*Math.pow(r,Math.log(-e)/t),n}function I(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function F(t,e,n){Object(r["isNil"])(n)&&(n=Math.max.apply(null,t));var i=n;return Object(r["each"])(t,function(t){t>0&&t1&&(i=1),i}var D=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return u(e,t),e.prototype.invert=function(t){var e,n=this.base,r=I(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===t)return 0;e=I(n,a/n);var s=1/(r-e)*o;if(t=0?1:-1;return Math.pow(o,n)*a},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent,i=(L(r,t)-L(r,n))/(L(r,e)-L(r,n));return i},e}(T),N=R,Y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return u(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):v(n,this.mask)},e.prototype.scale=function(e){var n=e;return(Object(r["isString"])(n)||Object(r["isDate"])(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return m(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(Object(r["isNil"])(e)&&Object(r["isNumber"])(e)||(this.min=this.translate(this.min)),Object(r["isNil"])(n)&&Object(r["isNumber"])(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],o=1/0,a=o,s=0;Object(r["each"])(t,function(t){var e=m(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");o>e?(a=o,o=e):a>e&&(a=e),s1&&(this.minTickInterval=a-o),Object(r["isNil"])(e)&&(this.min=o),Object(r["isNil"])(n)&&(this.max=s)}},e}(P),z=Y,G=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return u(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),o=Math.floor(i*(n-1));if(o>=n-1)return Object(r["last"])(e);if(o<0)return Object(r["head"])(e);var a=e[o],s=e[o+1],c=o/(n-1),l=(o+1)/(n-1);return a+(i-c)/(l-c)*(s-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(Object(r["last"])(e)!==this.max&&e.push(this.max),Object(r["head"])(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tObject(r["last"])(e))return 1;var n=0;return Object(r["each"])(e,function(e,r){if(!(t>=e))return!1;n=r}),n/(e.length-1)},e}(T),V=G,X=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return u(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(V),W=X,H={};function U(t){return H[t]}function q(t,e){if(U(t))throw new Error("type '"+t+"' existed.");H[t]=e}var Z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return u(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(r["isNumber"])(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(c),K=Z,Q=[1,5,2,2.5,4,3],$=100*Number.EPSILON;function J(t,e){return(t%e+e)%e}function tt(t,e,n,i,o,a){var s=Object(r["size"])(e),c=Object(r["indexOf"])(e,t),l=0,u=J(i,a);return(u<$||a-u<$)&&i<=0&&o>=0&&(l=1),1-c/(s-1)-n+l}function et(t,e,n){var i=Object(r["size"])(e),o=Object(r["indexOf"])(e,t),a=1;return 1-o/(i-1)-n+a}function nt(t,e,n,r,i,o){var a=(t-1)/(o-i),s=(e-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/s,s/a)}function rt(t,e){return t>=e?2-(t-1)/(e-1):1}function it(t,e,n,r){var i=e-t;return 1-.5*(Math.pow(e-r,2)+Math.pow(t-n,2))/Math.pow(.1*i,2)}function ot(t,e,n){var r=e-t;if(n>r){var i=(n-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function at(){return 1}function st(t,e,n,i,o,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===o&&(o=Q),void 0===a&&(a=[.25,.2,.5,.05]),"number"!==typeof t||"number"!==typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};var s={score:-2,lmin:0,lmax:0,lstep:0},c=1;while(c<1/0){for(var l=0,u=o;lx)y+=1;else{for(var O=b;O<=x;O+=1){var w=O*(v/c),j=w+v*(p-1),C=v,S=tt(h,o,c,w,j,C),k=it(t,e,w,j),M=nt(p,n,t,e,w,j),_=at(),A=a[0]*S+a[1]*k+a[2]*M+a[3]*_;A>s.score&&(!i||w<=t&&j>=e)&&(s.lmin=w,s.lmax=j,s.lstep=C,s.score=A)}y+=1}}p+=1}}c+=1}for(var T=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),E=[],P=s.lmin;P<=s.lmax;P+=s.lstep)E.push(P);var L=T?Object(r["map"])(E,function(t){return Number.parseFloat(t.toFixed(T))}):E;return{min:Math.min(t,Object(r["head"])(L)),max:Math.max(e,Object(r["last"])(L)),ticks:L}}function ct(t){var e=t.values,n=t.tickInterval,i=t.tickCount,o=e;if(Object(r["isNumber"])(n))return Object(r["filter"])(o,function(t,e){return e%n===0});var a=t.min,s=t.max;if(Object(r["isNil"])(a)&&(a=0),Object(r["isNil"])(s)&&(s=e.length-1),Object(r["isNumber"])(i)&&i=a&&t<=s});return l.map(function(t){return e[t]})}return e.slice(a,s+1)}function lt(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,o=new dt;return o.domain([e,n]),r&&o.nice(i),o.ticks(i)}var ut=5,ht=Math.sqrt(50),ft=Math.sqrt(10),pt=Math.sqrt(2),dt=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=ut);var r,i=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],c=this._domain[a];return c0?(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,r=yt(s,c,t)):r<0&&(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,r=yt(s,c,t)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(c/r)*r,this.domain(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(c*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=ut),gt(this._domain[0],this._domain[this._domain.length-1],t||ut)},t}();function gt(t,e,n){var r,i,o,a,s=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((r=e0){t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));while(++s=0?(o>=ht?10:o>=ft?5:o>=pt?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ht?10:o>=ft?5:o>=pt?2:1)}function vt(t,e,n){var r;return r="ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e),r*e}function mt(t,e,n){var i=vt(t,n,"floor"),o=vt(e,n,"ceil");i=Object(r["fixedBase"])(i,n),o=Object(r["fixedBase"])(o,n);for(var a=[],s=i;s<=o;s+=n){var c=Object(r["fixedBase"])(s,n);a.push(c)}return{min:i,max:o,ticks:a}}function bt(t,e,n){var i,o=t.minLimit,a=t.maxLimit,s=t.min,c=t.max,l=t.tickCount,u=void 0===l?5:l,h=Object(r["isNil"])(o)?Object(r["isNil"])(e)?s:e:o,f=Object(r["isNil"])(a)?Object(r["isNil"])(n)?c:n:a;if(h>f&&(i=[h,f],f=i[0],h=i[1]),u<=2)return[h,f];for(var p=(f-h)/(u-1),d=[],g=0;g0)e=Math.floor(I(n,i));else{var c=F(a,n,o);e=Math.floor(I(n,c))}for(var l=s-e,u=Math.ceil(l/r),h=[],f=e;f=0?1:-1;return Math.pow(t,e)*n})}function St(t,e){var n=t.length*e;return 1===e?t[t.length-1]:0===e?t[0]:n%1!==0?t[Math.ceil(n)-1]:t.length%2===0?(t[n-1]+t[n])/2:t[n]}function kt(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort(function(t,e){return t-e}),i=[],o=0;o1&&(i*=Math.ceil(s)),r&&iC)for(var c=Tt(n),l=Math.ceil(o/C),u=s;u<=c+l;u+=l)a.push(Et(u));else if(o>j){var h=Math.ceil(o/j),f=Pt(e),p=Lt(e,n);for(u=0;u<=p+h;u+=h)a.push(It(s,u+f))}else if(o>w){var d=new Date(e),g=d.getFullYear(),y=d.getMonth(),v=d.getDate(),m=Math.ceil(o/w),S=Ft(e,n);for(u=0;uO){d=new Date(e),g=d.getFullYear(),y=d.getMonth(),m=d.getDate();var k=d.getHours(),M=Math.ceil(o/O),_=Dt(e,n);for(u=0;u<=_+M;u+=M)a.push(new Date(g,y,m,k+u).getTime())}else if(o>x){var A=Bt(e,n),T=Math.ceil(o/x);for(u=0;u<=A+T;u+=T)a.push(e+u*x)}else{var E=o;E=512&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+o+") is too small, increase the value to solve the problem!"),a}a("cat",ct),a("time-cat",At),a("wilkinson-extended",Ot),a("r-pretty",Mt),a("time",_t),a("time-pretty",Rt),a("log",wt),a("pow",Ct),a("quantile",kt),a("d3-linear",xt),n.d(e,"Category",function(){return p}),n.d(e,"Identity",function(){return K}),n.d(e,"Linear",function(){return P}),n.d(e,"Log",function(){return B}),n.d(e,"Pow",function(){return N}),n.d(e,"Time",function(){return z}),n.d(e,"TimeCat",function(){return _}),n.d(e,"Quantile",function(){return W}),n.d(e,"Quantize",function(){return V}),n.d(e,"Scale",function(){return c}),n.d(e,"getScale",function(){return U}),n.d(e,"registerScale",function(){return q}),n.d(e,"getTickMethod",function(){return o}),n.d(e,"registerTickMethod",function(){return a}),q("cat",p),q("category",p),q("identity",K),q("linear",P),q("log",B),q("pow",N),q("time",z),q("timeCat",_),q("quantize",V),q("quantile",W)},"8wmI":function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},"96lr":function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj"),o=n("Qci9"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["flatten"](t),n=this,o=n.xField,a=n.yField,s=this.getXValuesMaxMap(e),c=Math.max.apply(Math,Object.keys(s).map(function(t){return s[t]}));return i["map"](t,function(t){return i["map"](t,function(t){var e,n,l=t[a],u=t[o];if(i["isArray"](l)){var h=(c-s[u])/2;return Object(r["a"])(Object(r["a"])({},t),(e={},e[a]=i["map"](l,function(t){return h+t}),e))}var f=(c-l)/2;return Object(r["a"])(Object(r["a"])({},t),(n={},n[a]=[f,l+f],n))})})},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this,r=n.xField,o=n.yField,a=i["groupBy"](t,function(t){return t[r]});return i["mapValues"](a,function(t){return e.getDimMaxValue(t,o)})},e.prototype.getDimMaxValue=function(t,e){var n=i["map"](t,function(t){return i["get"](t,e,[])}),r=i["flatten"](n);return Math.max.apply(Math,r)},e}(o["a"]);e["a"]=a},"9Nap":function(t,e,n){var r=n("/9aa"),i=1/0;function o(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}t.exports=o},"9eUa":function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return p}),n.d(e,"e",function(){return y}),n.d(e,"h",function(){return v}),n.d(e,"f",function(){return b}),n.d(e,"g",function(){return x});var r=n("iTfj"),i=n("r0DC"),o=n("nCnq"),a=n("cyZq"),s=n("nycV"),c={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function l(t,e){var n=e.attr();for(var o in n){var a=n[o],s=c[o]?c[o]:o;"matrix"===s&&a?t.transform(a[0],a[1],a[3],a[4],a[6],a[7]):"lineDash"===s&&t.setLineDash?Object(r["isArray"])(a)&&t.setLineDash(a):("strokeStyle"===s||"fillStyle"===s?a=Object(i["b"])(t,e,a):"globalAlpha"===s&&(a*=t.globalAlpha),t[s]=a)}}function u(t,e,n){for(var r=0;rj?w:j,A=w>j?1:w/j,T=w>j?j/w:1;e.translate(x,O),e.rotate(k),e.scale(A,T),e.arc(0,0,_,C,S,1-M),e.scale(1/A,1/T),e.rotate(-k),e.translate(-x,-O)}break;case"Z":e.closePath();break;default:break}if("Z"===d)l=u;else{var E=p.length;l=[p[E-2],p[E-1]]}}}}function v(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),t.cfg.parent&&t.cfg.parent.get("hasChanged")||(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))}function m(t){var e;if(t.destroyed)e=t["_cacheCanvasBBox"];else{var n=t.get("cacheCanvasBBox"),r=n&&!(!n.width||!n.height),i=t.getCanvasBBox(),o=i&&!(!i.width||!i.height);r&&o?e=Object(a["l"])(n,i):r?e=n:o&&(e=i)}return e}function b(t){if(!t.length)return null;var e=[],n=[],i=[],o=[];return Object(r["each"])(t,function(t){var r=m(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),o.push(r.maxY))}),{minX:Math.min.apply(null,e),minY:Math.min.apply(null,n),maxX:Math.max.apply(null,i),maxY:Math.max.apply(null,o)}}function x(t,e){return t&&e&&Object(a["f"])(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},"9ggG":function(t,e,n){var r=n("Z0cm"),i=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}t.exports=s},AGgm:function(t,e,n){"use strict";function r(t){return Object.prototype.toString.call(t)}function i(t){return"[object String]"===r(t)}var o=Object.prototype.hasOwnProperty;function a(t,e){return o.call(t,e)}function s(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){if(e){if("object"!==typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t}function c(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function l(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!==(65535&t)&&65534!==(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function u(t){if(t>65535){t-=65536;var e=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}var h=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,f=/&([a-z#][a-z0-9]{1,31});/gi,p=new RegExp(h.source+"|"+f.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=n("vWgF");function y(t,e){var n=0;return a(g,e)?g[e]:35===e.charCodeAt(0)&&d.test(e)&&(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10),l(n))?u(n):t}function v(t){return t.indexOf("\\")<0?t:t.replace(h,"$1")}function m(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(p,function(t,e,n){return e||y(t,n)})}var b=/[&<>"]/,x=/[&<>"]/g,O={"&":"&","<":"<",">":">",'"':"""};function w(t){return O[t]}function j(t){return b.test(t)?t.replace(x,w):t}var C=/[.?*+^$[\]\\(){}|-]/g;function S(t){return t.replace(C,"\\$&")}function k(t){switch(t){case 9:case 32:return!0}return!1}function M(t){if(t>=8192&&t<=8202)return!0;switch(t){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}var _=n("fKCf");function A(t){return _.test(t)}function T(t){switch(t){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}}function E(t){return t=t.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(t=t.replace(/\u1e9e/g,"\xdf")),t.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=n("2KYT"),e.lib.ucmicro=n("1dGX"),e.assign=s,e.isString=i,e.has=a,e.unescapeMd=v,e.unescapeAll=m,e.isValidEntityCode=l,e.fromCodePoint=u,e.escapeHtml=j,e.arrayReplaceAt=c,e.isSpace=k,e.isWhiteSpace=M,e.isMdAsciiPunct=T,e.isPunctChar=A,e.escapeRE=S,e.normalizeReference=E},AMYk:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=function(t,e){return r=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])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create},AP2z:function(t,e,n){var r=n("nmnc"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function c(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=c},APlK:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a});var r=n("c+wO");function i(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var o=e.find("filter",i);o||(o=e.addShadow(i)),n.setAttribute("filter","url(#"+o+")")}else n.removeAttribute("filter")}function o(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);r=r.join(","),-1===r.indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}}function a(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){Object(r["a"])(n),n.createPath(e);var o=e.addClip(n);i.setAttribute("clip-path","url(#"+o+")")}}else i.removeAttribute("clip-path")}},B0RU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("iTfj"),i=n("omAN"),o=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;if(t){if(t.target instanceof HTMLElement){var e=this.view.getCanvas(),n=e.getPointByClient(t.clientX,t.clientY);return n}return{x:t.x,y:t.y}}return null},t.prototype.getCurrentShape=function(){return r.get(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=i.getComponents(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&i.isInBox(r,n):i.isInBox(r,n)})},t.prototype.destroy=function(){this.view=null,this.event=null,r.each(this.actions.slice(),function(t){t.destroy()}),this.actions=null,this.cacheMap=null},t}();e.default=o},B0vJ:function(t,e){},B1jb:function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e,n,i){var o,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(o=t.src.charCodeAt(l),35!==o||l>=u)return!1;a=1,o=t.src.charCodeAt(++l);while(35===o&&l6||ll&&r(t.src.charCodeAt(s-1))&&(u=s),t.line=e+1,c=t.push("heading_open","h"+String(a),1),c.markup="########".slice(0,a),c.map=[e,t.line],c=t.push("inline","",0),c.content=t.src.slice(l,u).trim(),c.map=[e,t.line],c.children=[],c=t.push("heading_close","h"+String(a),-1),c.markup="########".slice(0,a),!0))}},"B2d+":function(t,e){},B8du:function(t,e){function n(){return!1}t.exports=n},BYeR:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("n/J0"),l=n("tKoa");function u(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,o=t.targetField,a=t.layout,s=[],c=[];e.forEach(function(t,e){var a;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,o){var a,c=0===o?r:t[i][o]-t[i][o-1];s.push((a={rKey:i+"_"+o},a[n]=n?t[n]:String(e),a[i]=c,a))}),t[r].forEach(function(i,o){var a;s.push((a={mKey:t[r].length>1?r+"_"+o:""+r},a[n]=n?t[n]:String(e),a[r]=i,a))}),s.push((a={tKey:""+o},a[n]=n?t[n]:String(e),a[o]=t[o],a)),c.push(t[i],t[r],t[o])});var l=Math.min.apply(Math,c.flat(1/0)),u=Math.max.apply(Math,c.flat(1/0));return l=l>0?0:l,"vertical"===a&&s.reverse(),{min:l,max:u,ds:s}}function h(t){var e,n=t.chart,r=t.options,i=r.bulletStyle,s=r.targetField,c=r.rangeField,h=r.measureField,f=r.xField,p=r.color,d=r.layout,g=r.size,y=r.label,v=u(r),m=v.min,b=v.max,x=v.ds;n.scale((e={},e[h]={min:m,max:b},e[c]={sync:""+h},e[s]={sync:""+h},e)),n.data(x),n.axis(""+c,!1),n.axis(""+s,!1);var O=Object(o["b"])({},t,{options:{xField:f,yField:c,seriesField:"rKey",isStack:!0,label:Object(a["get"])(y,"range"),interval:{color:Object(a["get"])(p,"range"),style:Object(a["get"])(i,"range"),size:Object(a["get"])(g,"range")}}});Object(l["c"])(O),n.geometries[0].tooltip(!1);var w=Object(o["b"])({},t,{options:{xField:f,yField:h,seriesField:"mKey",isStack:!0,label:Object(a["get"])(y,"measure"),interval:{color:Object(a["get"])(p,"measure"),style:Object(a["get"])(i,"measure"),size:Object(a["get"])(g,"measure")}}});Object(l["c"])(w);var j=Object(o["b"])({},t,{options:{xField:f,yField:s,seriesField:"tKey",label:Object(a["get"])(y,"target"),point:{color:Object(a["get"])(p,"target"),style:Object(a["get"])(i,"target"),size:Object(a["get"])(g,"target")/2,shape:"horizontal"===d?"line":"hyphen"}}});return Object(l["e"])(j),"horizontal"===d&&n.coordinate().transpose(),t}function f(t){var e,n=t.chart,r=t.options,i=r.xAxis,a=r.yAxis,s=r.meta,l=r.targetField,u=r.rangeField,h=r.measureField,f=r.xField;if(s){var p=Object(o["b"])({},s,(e={},e[f]=Object(o["k"])(i,c["a"]),e[h]=Object(o["k"])(a,c["a"]),e[l]={sync:""+h},e[u]={sync:""+h},e));n.scale(p)}return t}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.measureField;return!1===r?e.axis(""+o,!1):e.axis(""+o,r),!1===i?e.axis(""+a,!1):e.axis(""+a,i),t}function d(t){var e=t.chart,n=t.options,r=n.legend;return e.removeInteraction("legend-filter"),e.legend(r),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function g(t){var e=t.chart,n=t.options,r=n.label,i=n.measureField,s=n.targetField,c=n.rangeField,l=e.geometries,u=l[0],h=l[1],f=l[2];return Object(a["get"])(r,"range")&&u.label(""+c,Object(o["o"])(r.range)),Object(a["get"])(r,"measure")&&h.label(""+i,Object(o["o"])(r.measure)),Object(a["get"])(r,"target")&&f.label(""+s,Object(o["o"])(r.target)),t}function y(t){Object(o["e"])(h,f,p,d,s["j"],g,s["k"],s["c"],s["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bullet",e}Object(r["b"])(e,t),e.prototype.getSchemaAdaptor=function(){return y},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}}})}})(i["a"])},BgvD:function(t,e,n){"use strict";var r=n("iTfj"),i="\u2026";function o(t){for(var e=0,n=0;n0&&t.charCodeAt(e)<128?1:2}function s(t,e,n){void 0===n&&(n="tail");var r=t.length,o="";if("tail"===n){for(var s=0,c=0;s=0?s(i,p,r):c,d&&(e.attr("text",d),f=!0)}return f?e.set("tip",i):e.set("tip",null),f}},BwSJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa"),c=n("iTfj");function l(t,e){var n=Math.floor(t/e);return[e*n,e*(n+1)]}function u(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function h(t,e,n,r,i){var o=Object(c["clone"])(t);Object(c["sortBy"])(o,e);var a=Object(c["valuesOfKey"])(o,e),s=Object(c["getRange"])(a),h=s.max-s.min,f=n;if(!n&&r&&(f=h/r),!n&&!r){var p=u(a);f=h/p}var d={},g=Object(c["groupBy"])(o,i);Object(c["isEmpty"])(g)?Object(c["each"])(o,function(t){var n=t[e],r=l(n,f),i=r[0]+"-"+r[1];Object(c["hasKey"])(d,i)||(d[i]={range:r,count:0}),d[i].count+=1}):Object.keys(g).forEach(function(t){Object(c["each"])(g[t],function(n){var r=n[e],o=l(r,f),a=o[0]+"-"+o[1],s=a+"-"+t;Object(c["hasKey"])(d,s)||(d[s]={range:o,count:0},d[s][i]=t),d[s].count+=1})});var y=[];return Object(c["each"])(d,function(t){y.push(t)}),y}function f(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,c=n.binWidth,l=n.color,u=n.stackField,f=n.legend,p=n.columnStyle,d=h(r,i,c,a,u);e.data(d);var g=Object(o["b"])({},t,{options:{xField:"range",yField:"count",seriesField:u,isStack:!0,interval:{color:l,style:p}}});return Object(s["c"])(g),f&&u&&e.legend(u,f),t}function p(t){var e=t.options,n=e.xAxis,r=e.yAxis;return Object(o["e"])(Object(a["f"])({range:n,count:r}))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis("range",!1):e.axis("range",r),!1===i?e.axis("count",!1):e.axis("count",i),t}function g(t){var e=t.chart,n=t.options,i=n.label,a=Object(o["c"])(e,"interval");if(i){var s=i.callback,c=Object(r["c"])(i,["callback"]);a.label({fields:["count"],callback:s,cfg:Object(o["o"])(c)})}else a.label(!1);return t}function y(t){return Object(o["e"])(f,p,d,a["j"],g,a["k"],a["c"],a["a"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="histogram",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return y}})(i["a"])},CK61:function(t,e,n){"use strict";var r=n("AGgm"),i=n("Vlv/"),o=n("fMI+"),a=n("qRUV"),s=n("dpam"),c=n("TLR5"),l=n("+80P"),u=n("2KYT"),h=n("GYWy"),f={default:n("ijE+"),zero:n("HKru"),commonmark:n("Qo0+")},p=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function g(t){var e=t.trim().toLowerCase();return!p.test(e)||!!d.test(e)}var y=["http:","https:","mailto:"];function v(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||y.indexOf(e.protocol)>=0))try{e.hostname=h.toASCII(e.hostname)}catch(t){}return u.encode(u.format(e))}function m(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||y.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(t){}return u.decode(u.format(e),u.decode.defaultChars+"%")}function b(t,e){if(!(this instanceof b))return new b(t,e);e||r.isString(t)||(e=t||{},t="default"),this.inline=new c,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new l,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=m,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(t),e&&this.set(e)}b.prototype.set=function(t){return r.assign(this.options,t),this},b.prototype.configure=function(t){var e,n=this;if(r.isString(t)&&(e=t,t=f[e],!t))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},b.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},b.prototype.parse=function(t,e){if("string"!==typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},b.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},b.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=b},CWsV:function(t,e,n){"use strict";function r(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(t){var e,n,r;if(!this.attrs)return-1;for(e=this.attrs,n=0,r=e.length;n=0&&(n=this.attrs[e][1]),n},r.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=r},CXva:function(t,e,n){"use strict";var r=n("CWsV"),i=n("AGgm").isWhiteSpace,o=n("AGgm").isPunctChar,a=n("AGgm").isMdAsciiPunct;function s(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}s.prototype.pushPending=function(){var t=new r("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},s.prototype.push=function(t,e,n){this.pending&&this.pushPending();var i=new r(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(t,e){var n,r,s,c,l,u,h,f,p,d=t,g=!0,y=!0,v=this.posMax,m=this.src.charCodeAt(t);n=t>0?this.src.charCodeAt(t-1):32;while(di.x+i.width,top:ei.y+i.height};return o}function d(t,e,n,r,i,o){var a=t,s=e;switch(o){case"left":a=t-r-n,s=e-i/2;break;case"right":a=t+n,s=e-i/2;break;case"top":a=t-r/2,s=e-i-n;break;case"bottom":a=t-r/2,s=e+n;break;default:a=t+n,s=e-i-n;break}return{x:a,y:s}}function g(t,e,n,r,i,o,a){var s=d(t,e,n,r,i,o);if(a){var c=p(s.x,s.y,r,i,a);"auto"===o?(c.right&&(s.x=Math.max(0,t-r-n)),c.top&&(s.y=Math.max(0,e-i-n))):"top"===o||"bottom"===o?(c.left&&(s.x=a.x),c.right&&(s.x=a.x+a.width-r),"top"===o&&c.top&&(s.y=e+n),"bottom"===o&&c.bottom&&(s.y=e-i-n)):(c.top&&(s.y=a.y),c.bottom&&(s.y=a.y+a.height-i),"left"===o&&c.left&&(s.x=t+n),"right"===o&&c.right&&(s.x=t-r-n))}return s}function y(t,e){var n=!1;return Object(s["each"])(e,function(e){if(Object(s["hasKey"])(t,e))return n=!0,!1}),n}var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i["a"])(Object(i["a"])({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
      ',itemTpl:'
    • \n \n {name}:\n {value}\n
    • ',xCrosshairTpl:'
      ',yCrosshairTpl:'
      ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:u["CONTAINER_CLASS"],crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:f})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!0),Object(a["e"])(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),Object(a["e"])(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var e=t?"":"none",n=this.get("xCrosshairDom"),r=this.get("yCrosshairDom");n&&Object(a["e"])(n,{display:e}),r&&Object(a["e"])(r,{display:e})},e.prototype.initContainer=function(){if(t.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var e=this.getHtmlContentNode();this.get("parent").appendChild(e),this.set("container",e),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(e){this.get("customContent")?this.renderCustomContent():(y(e,["title","showTitle"])&&this.resetTitle(),Object(s["hasKey"])(e,"items")&&this.renderItems()),t.prototype.updateInner.call(this,e)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){t.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t,e=this.get("x"),n=this.get("y"),r=this.get("offset"),i=this.getOffset(),o=i.offsetX,s=i.offsetY,c=this.get("position"),u=this.get("region"),h=this.getContainer(),f=this.getBBox(),p=f.width,d=f.height;u&&(t=Object(l["k"])(u));var y=g(e,n,r,p,d,c,t);Object(a["e"])(h,{left:Object(l["l"])(y.x+o),top:Object(l["l"])(y.y+s)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),e=this.get("parent"),n=this.get("container");n&&n.parentNode===e?e.replaceChild(t,n):e.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,e=this.get("customContent");if(e){var n=e(this.get("title"),this.get("items"));t=Object(s["isElement"])(n)?n:Object(a["b"])(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(u["TITLE_CLASS"])[0],n=t.getElementsByClassName(u["LIST_CLASS"])[0];this.set("titleDom",e),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title"),e=this.get("showTitle");e&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var e=this.get("titleDom");e&&(e.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),e=this.get("crosshairs");if(t&&e){var n=Object(l["k"])(t),r=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),i&&(i.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),r&&(r.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}else this.clearCrosshairs()},e.prototype.resetCrosshair=function(t,e){var n=this.checkCrosshair(t),r=this.get(t);"x"===t?Object(a["e"])(n,{left:Object(l["l"])(r),top:Object(l["l"])(e.y),height:Object(l["l"])(e.height)}):Object(a["e"])(n,{top:Object(l["l"])(r),left:Object(l["l"])(e.x),width:Object(l["l"])(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=t+"CrosshairTpl",r="CROSSHAIR_"+t.toUpperCase(),i=u[r],o=this.get(e),s=this.get("parent");return o||(o=Object(a["b"])(this.get(n)),this.applyStyle(i,o),s.appendChild(o),this.set(e,o)),o},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),e=this.get("itemTpl"),n=this.get("listDom");n&&(Object(s["each"])(t,function(t){var r=o["a"].toCSSGradient(t.color),c=Object(i["a"])(Object(i["a"])({},t),{color:r}),l=Object(s["substitute"])(e,c),u=Object(a["b"])(l);n.appendChild(u)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&Object(l["a"])(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),e=this.get("yCrosshairDom");t&&t.remove(),e&&e.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(c["a"]),m=v;n.d(e,"Html",function(){return m})},Cr25:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("tKoa");function l(t,e){var n=null;return Object(a["each"])(t,function(t){"number"===typeof t[e]&&(n+=t[e])}),n}function u(t,e){var n;switch(t){case"inner":return n="-30%",Object(a["isString"])(e)&&e.endsWith("%")?.01*parseFloat(e)>0?n:e:e<0?e:n;case"outer":return n=12,Object(a["isString"])(e)&&e.endsWith("%")?.01*parseFloat(e)<0?n:e:e>0?e:n;default:return e}}function h(t){var e=t.chart,n=t.options,i=n.data,s=n.angleField,l=n.colorField,u=n.color,h=n.pieStyle,f=Object(a["filter"])(i,function(t){return"number"===typeof t[s]||Object(a["isNil"])(t[s])});Object(o["j"])(o["a"].WARN,f.length===i.length,"illegal data existed in chart data.");var p=Object(a["every"])(f,function(t){return 0===t[s]});if(p){var d="$$percentage$$";f=f.map(function(t){var e;return Object(r["a"])(Object(r["a"])({},t),(e={},e[d]=1/f.length,e))}),e.data(f);var g=Object(o["b"])({},t,{options:{xField:"1",yField:d,seriesField:l,isStack:!0,interval:{color:u,style:h}}});Object(c["c"])(g),e.geometries[0].tooltip(l+"*"+s)}else{e.data(f);g=Object(o["b"])({},t,{options:{xField:"1",yField:s,seriesField:l,isStack:!0,interval:{color:u,style:h}}});Object(c["c"])(g)}return t}function f(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,s=Object(o["b"])({},i);return n.scale(s,(e={},e[a]={type:"cat"},e)),t}function p(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i}}),t}function d(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,c=n.angleField,l=e.geometries[0];if(i){var h=i.callback,f=Object(r["c"])(i,["callback"]),p=Object(o["o"])(f);if(p.content){var d=p.content;p.content=function(t,n,i){var l=t[s],u=t[c],h=e.getScaleByField(c),f=null===h||void 0===h?void 0:h.scale(u);return Object(a["isFunction"])(d)?d(Object(r["a"])(Object(r["a"])({},t),{percent:f}),n,i):Object(a["isString"])(d)?Object(o["n"])(d,{value:u,name:l,percentage:Object(a["isNumber"])(f)&&!Object(a["isNil"])(u)?(100*f).toFixed(2)+"%":null}):d}}var g={inner:"",outer:"pie-outer",spider:"pie-spider"},y=p.type?g[p.type]:"pie-outer",v=p.layout?Object(a["isArray"])(p.layout)?p.layout:[p.layout]:[];p.layout=(y?[{type:y}]:[]).concat(v),l.label({fields:s?[c,s]:[c],callback:h,cfg:Object(r["a"])(Object(r["a"])({},p),{offset:u(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function g(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.statistic,s=n.angleField,c=n.colorField,u=n.meta;if(r&&i){var h=i.title,f=i.content;!1!==h&&(h=Object(o["b"])({},{formatter:function(t){return t?t[c]:"\u603b\u8ba1"}},h)),!1!==f&&(f=Object(o["b"])({},{formatter:function(t,e){var n=Object(a["get"])(u,[s,"formatter"]),r=t?t[s]:l(e,s);return n?n(r):r}},f)),Object(o["m"])(e,{statistic:{title:h,content:f},plotType:"pie"})}return t}function y(t){return Object(o["e"])(h,f,s["j"],p,s["d"],s["k"],d,s["i"],Object(s["b"])(),g,s["c"],s["a"])(t)}var v=n("kXyF"),m=n("uI74"),b=n("omAN"),x=n("qaDU"),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getActiveElements=function(){var t=Object(b["getDelegationObject"])(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,i=n.get("field");if(i){var o=e.geometries[0].elements;return o.filter(function(t){return t.getModel().data[i]===r.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements(),n=t.geometries[0].labelsContainer.getChildren();return n.filter(function(t){return e.find(function(e){return Object(a["isEqual"])(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var i=n[r],o=e.geometry.coordinate;if(o.isPolar&&o.isTransposed){var a=v["c"].getAngle(e.getModel(),o),s=a.startAngle,c=a.endAngle,l=(s+c)/2,u=t,h=u*Math.cos(l),f=u*Math.sin(l);e.shape.setMatrix(Object(x["a"])([["t",h,f]])),i.setMatrix(Object(x["a"])([["t",h,f]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(m["Action"]),w=n("mj6g"),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getAnnotations=function(t){var e=t||this.context.view;return e.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(){var t=this.context,e=t.view,n=t.event,i=this.getAnnotations();this.initialAnnotation||(this.initialAnnotation=i);var o=((null===n||void 0===n?void 0:n.data)||{}).data;if(n.type.match("legend-item")){var s=Object(b["getDelegationObject"])(this.context),c=e.getGroupedFields()[0];if(s&&c){var l=s.item;o=e.getData().find(function(t){return t[c]===l.value})}}if(o){var u=e.getController("annotation");u.clear(!0);var h=e.getScaleFields(),f=h[1],p=h[2],d=e.getScaleByField(f),g=e.getScaleByField(p),y=i.filter(function(t){return!Object(a["get"])(t,"key","").match("statistic")}),v=i.filter(function(t){return Object(a["get"])(t,"key","").match("statistic")}),m=v.filter(function(t){return"top-statistic"===t.key}),x=v.filter(function(t){return"bottom-statistic"===t.key});Object(a["each"])(v,function(t){var n,i;"top-statistic"===t.key?(n=g?g.getText(o[p]):null,i=x?"translate(-50%, -100%)":"translate(-50%, -50%)"):(n=d?d.getText(o[f]):o[f],i=m?"translate(-50%, 0)":"translate(-50%,-50%)"),y.push(Object(r["a"])(Object(r["a"])({},t),{html:function(e,s){var c=s.getCoordinate(),l=c.getRadius()*c.innerRadius*2,u=Object(a["isFunction"])(t.style)?t.style():t.style;Object(w["d"])(e,Object(r["a"])({width:l+"px",transform:i},Object(w["a"])(u)));var h=s.getData();return t.customHtml?t.customHtml(e,s,o,h):(t.formatter&&(n=t.formatter(o,h)),n?Object(a["isString"])(n)?n:""+n:"
      ")}})),y.forEach(function(t){u.annotation(t)}),e.render(!0)})}},e.prototype.reset=function(){var t=this.context.view,e=t.getController("annotation");e.clear(!0);var n=this.getInitialAnnotation();Object(a["each"])(n,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(m["Action"]);Object(v["e"])("pie-statistic",j),Object(v["g"])("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),Object(v["e"])("pie-legend",O),Object(v["g"])("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{legend:{position:"right"},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}})},e.prototype.getSchemaAdaptor=function(){return y}})(i["a"])},Cwc5:function(t,e,n){var r=n("NKxu"),i=n("Npjl");function o(t,e){var n=i(t,e);return r(n)?n:void 0}t.exports=o},CxXe:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return x}),n.d(e,"c",function(){return k}),n.d(e,"d",function(){return P}),n.d(e,"e",function(){return v}),n.d(e,"f",function(){return N}),n.d(e,"g",function(){return Y}),n.d(e,"h",function(){return y}),n.d(e,"i",function(){return S}),n.d(e,"j",function(){return E}),n.d(e,"k",function(){return V}),n.d(e,"l",function(){return X}),n.d(e,"m",function(){return W}),n.d(e,"n",function(){return H}),n.d(e,"o",function(){return z});var r=n("ohPV"),i=n("q1tI"),o=n.n(i),a=(n("17x9"),n("g0MP")),s=n("8ifW"),c=n("9R94"),l=n("EVqI"),u=n("bALw"),h=n.n(u),f=(n("TOwV"),n("MWgS")),p=n("2mql"),d=n.n(p),g=function(t){var e=Object(s["a"])();return e.displayName=t,e},y=g("Router"),v=function(t){function e(e){var n;return n=t.call(this,e)||this,n.state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen(function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t})),n}Object(r["a"])(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(y.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},e}(o.a.Component);var m=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;iO){var j=w/v.length,C=Math.max(1,Math.ceil(O/j)-1),S=v.slice(0,C)+"...";x.attr("text",S)}}}}function p(t,e,n){h(t,e,n),f(t,e,n)}function d(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=!1),function(r){var o=r.options,c=r.chart,u=o.conversionTag,h=o.theme;return u&&!n&&(c.theme(Object(i["b"])({},Object(a["isObject"])(h)?h:Object(s["d"])(h),{columnWidthRatio:1/3})),c.annotation().shape({render:function(n,r){var i=n.addGroup({id:c.id+"-conversion-tag-group",name:"conversion-tag-group"}),o=Object(a["find"])(c.geometries,function(t){return"interval"===t.type}),s={view:r,geometry:o,group:i,field:t,horizontal:e,options:l(u,e)},h=e?o.elements:o.elements.slice().reverse();Object(a["each"])(h,function(t,e){e>0&&p(s,h[e-1],t)})}})),r}}var g={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"};function y(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options,i=r.connectedArea,o=function(){n.removeInteraction(g.hover),n.removeInteraction(g.click)};if(!t&&i){var a=i.trigger||"hover";o(),n.interaction(g[a])}else o();return e}}Object(s["g"])(g.hover,{start:[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"]}],end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),Object(s["g"])(g.click,{start:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"]}],end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]});var v=n("tKoa"),m=n("DyAw"),b=n("sqD9");function x(t){var e=t.options,n=e.legend,i=e.seriesField,o=e.isStack;return i?!1!==n&&(n=Object(r["a"])({position:o?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function O(t){var e=t.chart,n=t.options,o=n.data,a=n.columnStyle,s=n.color,c=n.columnWidthRatio,l=n.isPercent,u=n.xField,h=n.yField,f=n.seriesField,p=n.tooltip,d=l?Object(b["a"])(o,h,u,h):o;e.data(d);var g=l?Object(r["a"])({formatter:function(t){return{name:t[f]||t[u],value:(100*Number(t[h])).toFixed(2)+"%"}}},p):p,y=Object(i["b"])({},t,{options:{widthRatio:c,tooltip:g,interval:{style:a,color:s}}});return Object(v["c"])(y),t}function w(t){var e,n,a=t.options,s=a.xAxis,c=a.yAxis,l=a.xField,u=a.yField,h=a.data,f=a.isPercent,p=f?{max:1,min:0,minLimit:0,maxLimit:1}:{};return Object(i["e"])(Object(o["f"])((e={},e[l]=s,e[u]=c,e),(n={},n[l]={type:"cat"},n[u]=Object(r["a"])(Object(r["a"])({},Object(m["a"])(h,u)),p),n)))(t)}function j(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function C(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function S(t){var e=t.chart,n=t.options,o=n.label,a=n.yField,s=n.isRange,c=Object(i["c"])(e,"interval");if(o){var l=o.callback,u=Object(r["c"])(o,["callback"]);c.label({fields:[a],callback:l,cfg:Object(r["a"])({layout:(null===u||void 0===u?void 0:u.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(i["o"])(s?Object(r["a"])({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},u):u))})}else c.label(!1);return t}function k(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return Object(i["e"])(x,o["j"],O,w,j,C,o["k"],o["h"],o["g"],S,o["c"],o["a"],Object(o["b"])(),d(n.yField,!e,!!r),y(!n.isStack),o["e"])(t)}n.d(e,"a",function(){return k})},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),i=n("B8du"),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o,c=s?r.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||i;t.exports=u}).call(this,n("YuTi")(t))},Djfg:function(t,e,n){"use strict";n("XiRp"),n("h4/5"),n("N9hJ"),n("3T7b"),n("B0vJ"),n("B2d+")},DyAw:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var r=n("iTfj");function i(t,e){var n=t.filter(function(t){var n=Object(r["get"])(t,[e]);return Object(r["isNumber"])(n)&&!isNaN(n)}),i=n.every(function(t){return Object(r["get"])(t,[e])>=0}),o=n.every(function(t){return Object(r["get"])(t,[e])<=0});return i?{min:0}:o?{max:0}:{}}function o(t,e,n,r){if(!Array.isArray(t))return{nodes:[],links:[]};var i=[],o={},a=-1;return t.forEach(function(t){var s=t[e],c=t[n],l=t[r];o[s]||(o[s]={id:++a,name:s}),o[c]||(o[c]={id:++a,name:c}),i.push({source:o[s].id,target:o[c].id,value:l})}),{nodes:Object.values(o),links:i}}},E2jh:function(t,e,n){var r=n("2gN3"),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function o(t){return!!i&&i in t}t.exports=o},EA7m:function(t,e,n){var r=n("zZ0H"),i=n("Ioao"),o=n("wclG");function a(t,e){return o(i(t,e,r),t+"")}t.exports=a},EIvI:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultCategoryScaleRange=e.getName=e.syncScale=e.createScaleByField=void 0;var r=n("t0W4"),i=n("iTfj"),o=n("Nzmt"),a=n("D5zP"),s=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function c(t){var e="linear";return s.test(t)?e="timeCat":i.isString(t)&&(e="cat"),e}function l(t,e,n){var a=e||[];if(i.isNumber(t)||i.isNil(i.firstValue(a,t))&&i.isEmpty(n)){var s=o.getScale("identity");return new s({field:t.toString(),values:[t]})}var l=i.valuesOfKey(a,t),u=i.get(n,"type",c(l[0])),h=o.getScale(u);return new h(r.__assign({field:t,values:l},n))}function u(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}}function h(t){return t.alias||t.field}function f(t,e,n){var r,o=t.values,s=o.length;if(1===s)r=[.5,1];else{var c=1,l=0;a.isFullCircle(e)?e.isTransposed?(c=i.get(n,"widthRatio.multiplePie",1/1.3),l=1/s*c,r=[l/2,1-l/2]):r=[0,1-1/s]:(l=1/s/2,r=[l,1-l])}return r}e.createScaleByField=l,e.syncScale=u,e.getName=h,e.getDefaultCategoryScaleRange=f},EYNi:function(t,e,n){"use strict";var r={};function i(t){return Math.min.apply(null,t)}function o(t){return Math.max.apply(null,t)}function a(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function s(t,e){return Math.abs(t-e)<.001}function c(t,e){var n=i(t),r=i(e),a=o(t),s=o(e);return{x:n,y:r,width:a-n,height:s-r}}function l(t,e,n,r){return{minX:i([t,n]),maxX:o([t,n]),minY:i([e,r]),maxY:o([e,r])}}function u(t){return(t+2*Math.PI)%(2*Math.PI)}n.r(r),n.d(r,"distance",function(){return a}),n.d(r,"isNumberEqual",function(){return s}),n.d(r,"getBBoxByArray",function(){return c}),n.d(r,"getBBoxRange",function(){return l}),n.d(r,"piMod",function(){return u});var h=n("ZxFD"),f={box:function(t,e,n,r){return c([t,n],[e,r])},length:function(t,e,n,r){return a(t,e,n,r)},pointAt:function(t,e,n,r,i){return{x:(1-i)*t+i*n,y:(1-i)*e+i*r}},pointDistance:function(t,e,n,r,i,o){var s=(n-t)*(i-t)+(r-e)*(o-e);if(s<0)return a(t,e,i,o);var c=(n-t)*(n-t)+(r-e)*(r-e);return s>c?a(n,r,i,o):this.pointToLine(t,e,n,r,i,o)},pointToLine:function(t,e,n,r,i,o){var a=[n-t,r-e];if(h["exactEquals"](a,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var s=[-a[1],a[0]];h["normalize"](s,s);var c=[i-t,o-e];return Math.abs(h["dot"](c,s))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}},p=1e-4;function d(t,e,n,r,i,o){var s,c=1/0,l=[n,r],u=20;o&&o>200&&(u=o/10);for(var h=1/u,f=h/10,d=0;d<=u;d++){var g=d*h,y=[i.apply(null,t.concat([g])),i.apply(null,e.concat([g]))],v=a(l[0],l[1],y[0],y[1]);v=0&&v=0?[i]:[]}function m(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function b(t,e,n,r,i,o,a){var s=y(t,n,i,a),c=y(e,r,o,a),l=f.pointAt(t,e,n,r,a),u=f.pointAt(n,r,i,o,a);return[[t,e,l.x,l.y,s,c],[s,c,u.x,u.y,i,o]]}function x(t,e,n,r,i,o,s){if(0===s)return(a(t,e,n,r)+a(n,r,i,o)+a(t,e,i,o))/2;var c=b(t,e,n,r,i,o,.5),l=c[0],u=c[1];return l.push(s-1),u.push(s-1),x.apply(null,l)+x.apply(null,u)}var O={box:function(t,e,n,r,i,o){var a=v(t,n,i)[0],s=v(e,r,o)[0],l=[t,i],u=[e,o];return void 0!==a&&l.push(y(t,n,i,a)),void 0!==s&&u.push(y(e,r,o,s)),c(l,u)},length:function(t,e,n,r,i,o){return x(t,e,n,r,i,o,3)},nearestPoint:function(t,e,n,r,i,o,a,s){return d([t,n,i],[e,r,o],a,s,y)},pointDistance:function(t,e,n,r,i,o,s,c){var l=this.nearestPoint(t,e,n,r,i,o,s,c);return a(l.x,l.y,s,c)},interpolationAt:y,pointAt:function(t,e,n,r,i,o,a){return{x:y(t,n,i,a),y:y(e,r,o,a)}},divide:function(t,e,n,r,i,o,a){return b(t,e,n,r,i,o,a)},tangentAngle:function(t,e,n,r,i,o,a){var s=m(t,n,i,a),c=m(e,r,o,a),l=Math.atan2(c,s);return u(l)}};function w(t,e,n,r,i){var o=1-i;return o*o*o*t+3*e*i*o*o+3*n*i*i*o+r*i*i*i}function j(t,e,n,r,i){var o=1-i;return 3*(o*o*(e-t)+2*o*i*(n-e)+i*i*(r-n))}function C(t,e,n,r){var i,o,a,c=-3*t+9*e-9*n+3*r,l=6*t-12*e+6*n,u=3*e-3*t,h=[];if(s(c,0))s(l,0)||(i=-u/l,i>=0&&i<=1&&h.push(i));else{var f=l*l-4*c*u;s(f,0)?h.push(-l/(2*c)):f>0&&(a=Math.sqrt(f),i=(-l+a)/(2*c),o=(-l-a)/(2*c),i>=0&&i<=1&&h.push(i),o>=0&&o<=1&&h.push(o))}return h}function S(t,e,n,r,i,o,a,s,c){var l=w(t,n,i,a,c),u=w(e,r,o,s,c),h=f.pointAt(t,e,n,r,c),p=f.pointAt(n,r,i,o,c),d=f.pointAt(i,o,a,s,c),g=f.pointAt(h.x,h.y,p.x,p.y,c),y=f.pointAt(p.x,p.y,d.x,d.y,c);return[[t,e,h.x,h.y,g.x,g.y,l,u],[l,u,y.x,y.y,d.x,d.y,a,s]]}function k(t,e,n,r,i,o,a,s,c){if(0===c)return g([t,n,i,a],[e,r,o,s]);var l=S(t,e,n,r,i,o,a,s,.5),u=l[0],h=l[1];return u.push(c-1),h.push(c-1),k.apply(null,u)+k.apply(null,h)}var M={extrema:C,box:function(t,e,n,r,i,o,a,s){for(var l=[t,a],u=[e,s],h=C(t,n,i,a),f=C(e,r,o,s),p=0;p0?n:-1*n}var A={box:function(t,e,n,r){return{x:t-n,y:e-r,width:2*n,height:2*r}},length:function(t,e,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(t,e,n,r,i,o){var a=n,s=r;if(0===a||0===s)return{x:t,y:e};for(var c,l,u=i-t,h=o-e,f=Math.abs(u),p=Math.abs(h),d=a*a,g=s*s,y=Math.PI/4,v=0;v<4;v++){c=a*Math.cos(y),l=s*Math.sin(y);var m=(d-g)*Math.pow(Math.cos(y),3)/a,b=(g-d)*Math.pow(Math.sin(y),3)/s,x=c-m,O=l-b,w=f-m,j=p-b,C=Math.hypot(O,x),S=Math.hypot(j,w),k=C*Math.asin((x*j-O*w)/(C*S)),M=k/Math.sqrt(d+g-c*c-l*l);y+=M,y=Math.min(Math.PI/2,Math.max(0,y))}return{x:t+_(c,u),y:e+_(l,h)}},pointDistance:function(t,e,n,r,i,o){var s=this.nearestPoint(t,e,n,r,i,o);return a(s.x,s.y,i,o)},pointAt:function(t,e,n,r,i){var o=2*Math.PI*i;return{x:t+n*Math.cos(o),y:e+r*Math.sin(o)}},tangentAngle:function(t,e,n,r,i){var o=2*Math.PI*i,a=Math.atan2(r*Math.cos(o),-n*Math.sin(o));return u(a)}};function T(t,e,n,r,i,o,a,s){return-1*n*Math.cos(i)*Math.sin(s)-r*Math.sin(i)*Math.cos(s)}function E(t,e,n,r,i,o,a,s){return-1*n*Math.sin(i)*Math.sin(s)+r*Math.cos(i)*Math.cos(s)}function P(t,e,n){return Math.atan(-e/t*Math.tan(n))}function L(t,e,n){return Math.atan(e/(t*Math.tan(n)))}function I(t,e,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+t}function F(t,e,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+e}function D(t,e,n,r){var i=Math.atan2(r*t,n*e);return(i+2*Math.PI)%(2*Math.PI)}function B(t,e,n){return{x:t*Math.cos(n),y:e*Math.sin(n)}}function R(t,e,n){var r=Math.cos(n),i=Math.sin(n);return[t*r-e*i,t*i+e*r]}var N={box:function(t,e,n,r,i,o,a){for(var s=P(n,r,i),c=1/0,l=-1/0,u=[o,a],h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var f=s+h;ol&&(l=p)}var d=L(n,r,i),g=1/0,y=-1/0,v=[o,a];for(h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var m=d+h;oy&&(y=b)}return{x:c,y:g,width:l-c,height:y-g}},length:function(t,e,n,r,i,o,a){},nearestPoint:function(t,e,n,r,i,o,a,s,c){var l=R(s-t,c-e,-i),u=l[0],h=l[1],f=A.nearestPoint(0,0,n,r,u,h),p=D(n,r,f.x,f.y);pa&&(f=B(n,r,a));var d=R(f.x,f.y,i);return{x:d[0]+t,y:d[1]+e}},pointDistance:function(t,e,n,r,i,o,s,c,l){var u=this.nearestPoint(t,e,n,r,c,l);return a(u.x,u.y,c,l)},pointAt:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o;return{x:I(t,e,n,r,i,c),y:F(t,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o,l=T(t,e,n,r,i,o,a,c),h=E(t,e,n,r,i,o,a,c);return u(Math.atan2(h,l))}};function Y(t){for(var e=0,n=[],r=0;r1||e<0||t.length<2)return null;var n=Y(t),r=n.segments,i=n.totalLength;if(0===i)return{x:t[0][0],y:t[0][1]};for(var o=0,a=null,s=0;s=o&&e<=o+h){var p=(e-o)/h;a=f.pointAt(l[0],l[1],u[0],u[1],p);break}o+=h}return a}function V(t,e){if(e>1||e<0||t.length<2)return 0;for(var n=Y(t),r=n.segments,i=n.totalLength,o=0,a=0,s=0;s=o&&e<=o+h){a=Math.atan2(u[1]-l[1],u[0]-l[0]);break}o+=h}return a}function X(t,e,n){for(var r=1/0,i=0;iy.length?(l=f["parsePathString"](o[c]),y=f["parsePathString"](i[c]),y=f["fillPathByDiff"](y,l),y=f["formatPath"](y,l),e.fromAttrs.path=y,e.toAttrs.path=l):e.pathFormatted||(l=f["parsePathString"](o[c]),y=f["parsePathString"](i[c]),y=f["formatPath"](y,l),e.fromAttrs.path=y,e.toAttrs.path=l,e.pathFormatted=!0),r[c]=[];for(var v=0;v0){for(var a=r.animators.length-1;a>=0;a--)if(t=r.animators[a],t.destroyed)r.removeAnimator(a);else{if(!t.isAnimatePaused()){e=t.get("animations");for(var s=e.length-1;s>=0;s--)n=e[s],i=v(t,n,o),i&&(e.splice(s,1),i=!1,n.callback&&n.callback())}0===e.length&&r.removeAnimator(a)}var c=r.canvas.get("autoDraw");c||r.canvas.draw()}})},t.prototype.addAnimator=function(t){this.animators.push(t)},t.prototype.removeAnimator=function(t){this.animators.splice(t,1)},t.prototype.isAnimating=function(){return!!this.animators.length},t.prototype.stop=function(){this.timer&&this.timer.stop()},t.prototype.stopAllAnimations=function(t){void 0===t&&(t=!0),this.animators.forEach(function(e){e.stopAnimate(t)}),this.animators=[],this.canvas.draw()},t.prototype.getTime=function(){return this.current},t}(),b=m,x=n("5eLp"),O=40,w=0,j=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function C(t,e,n){n.name=e,n.target=t,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}function S(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),t.isCanvas()&&i)return;if(r&&Object(a["g"])(t,r))return void(n.bubbles=!1);n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}var k=function(){function t(t){var e=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(t){var n=t.type;e._triggerEvent(n,t)},this._onDocumentMove=function(t){var n=e.canvas,r=n.get("el");if(r!==t.target&&(e.dragging||e.currentShape)){var i=e._getPointInfo(t);e.dragging&&e._emitEvent("drag",t,i,e.draggingShape)}},this._onDocumentMouseUp=function(t){var n=e.canvas,r=n.get("el");if(r!==t.target&&e.dragging){var i=e._getPointInfo(t);e.draggingShape&&e._emitEvent("drop",t,i,null),e._emitEvent("dragend",t,i,e.draggingShape),e._afterDrag(e.draggingShape,i,t)}},this.canvas=t.canvas}return t.prototype.init=function(){this._bindEvents()},t.prototype._bindEvents=function(){var t=this,e=this.canvas.get("el");Object(a["a"])(j,function(n){e.addEventListener(n,t._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._clearEvents=function(){var t=this,e=this.canvas.get("el");Object(a["a"])(j,function(n){e.removeEventListener(n,t._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._getEventObj=function(t,e,n,r,i,o){var a=new x["a"](t,e);return a.fromShape=i,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},t.prototype._getShape=function(t,e){return this.canvas.getShape(t.x,t.y,e)},t.prototype._getPointInfo=function(t){var e=this.canvas,n=e.getClientByEvent(t),r=e.getPointByEvent(t);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},t.prototype._triggerEvent=function(t,e){var n=this._getPointInfo(e),r=this._getShape(n,e),i=this["_on"+t],o=!1;if(i)i.call(this,n,r,e);else{var a=this.currentShape;"mouseenter"===t||"dragenter"===t||"mouseover"===t?(this._emitEvent(t,e,n,null,null,r),r&&this._emitEvent(t,e,n,r,null,r),"mouseenter"===t&&this.draggingShape&&this._emitEvent("dragenter",e,n,null)):"mouseleave"===t||"dragleave"===t||"mouseout"===t?(o=!0,a&&this._emitEvent(t,e,n,a,a,null),this._emitEvent(t,e,n,null,a,null),"mouseleave"===t&&this.draggingShape&&this._emitEvent("dragleave",e,n,null)):this._emitEvent(t,e,n,r,null,null)}if(o||(this.currentShape=r),r&&!r.get("destroyed")){var s=this.canvas,c=s.get("el");c.style.cursor=r.attr("cursor")||s.get("cursor")}},t.prototype._onmousedown=function(t,e,n){n.button===w&&(this.mousedownShape=e,this.mousedownPoint=t,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,t,e,null,null)},t.prototype._emitMouseoverEvents=function(t,e,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",t,e,n,n,r),this._emitEvent("mouseleave",t,e,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r&&(this._emitEvent("mouseover",t,e,r,n,r),this._emitEvent("mouseenter",t,e,r,n,r)))},t.prototype._emitDragoverEvents=function(t,e,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",t,e,n,n,r),this._emitEvent("dragenter",t,e,r,n,r)),i||this._emitEvent("dragover",t,e,r)):n&&this._emitEvent("dragleave",t,e,n,n,r),i&&this._emitEvent("dragover",t,e,r)},t.prototype._afterDrag=function(t,e,n){t&&(t.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(e,n);r!==t&&this._emitMouseoverEvents(n,e,t,r),this.currentShape=r},t.prototype._onmouseup=function(t,e,n){if(n.button===w){var r=this.draggingShape;this.dragging?(r&&this._emitEvent("drop",n,t,e),this._emitEvent("dragend",n,t,r),this._afterDrag(r,t,n)):(this._emitEvent("mouseup",n,t,e),e===this.mousedownShape&&this._emitEvent("click",n,t,e),this.mousedownShape=null,this.mousedownPoint=null)}},t.prototype._ondragover=function(t,e,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,t,r,e,!0)},t.prototype._onmousemove=function(t,e,n){var r=this.canvas,i=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,t,i,e,!1),this._emitEvent("drag",n,t,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,c=n.timeStamp,l=c-this.mousedownTimeStamp,u=a.clientX-t.clientX,h=a.clientY-t.clientY,f=u*u+h*h;l>120||f>O?s&&s.get("draggable")?(o=this.mousedownShape,o.set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,t,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var a=this._getEventObj(t,e,n,r,i,o);if(r){a.shape=r,C(r,t,a);var s=r.getParent();while(s)s.emitDelegation(t,a),a.propagationStopped||S(s,t,a),a.propagationPath.push(s),s=s.getParent()}else{var c=this.canvas;C(c,t,a)}},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}(),M=k,_="px",A=Object(i["a"])(),T=A&&"firefox"===A.name,E=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return Object(r["a"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["cursor"]="default",e["supportCSSTransform"]=!1,e},e.prototype.initContainer=function(){var t=this.get("container");Object(a["h"])(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t);var e=this.get("container");e.appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new M({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new b(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");a["c"]&&(n.style.width=t+_,n.style.height=e+_)},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");a["c"]&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){var e=this.get("supportCSSTransform");if(e){if(T&&!Object(a["e"])(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!Object(a["e"])(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var n=this.getClientByEvent(t),r=n.x,i=n.y;return this.getPointByClient(r,i)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el"),r=n.getBoundingClientRect();return{x:t-r.left,y:e-r.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el"),r=n.getBoundingClientRect();return{x:t+r.left,y:e+r.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){var t=this.get("eventController");t.destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(o["a"]);e["a"]=E},EpBk:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},ExA7:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},FAXy:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("iTfj"),a=n("w02o"),s=n("YuPD"),c=n("tKoa"),l="liquid";function u(t){var e=t.chart,n=t.options,r=n.percent,i=n.color,o=n.liquidStyle,a=n.radius,u=n.outline,h=n.wave,f=[{percent:r,type:l}];e.scale({percent:{min:0,max:1}}),e.data(f);var p=Object(s["b"])({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:i,style:o,shape:"liquid-fill-gauge"}}}),d=Object(c["c"])(p).ext,g=d.geometry;return g.customInfo({radius:a,outline:u,wave:h}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function h(t){var e=t.chart,n=t.options,r=n.statistic,i=n.percent,a=n.meta;if(r.content&&!r.content.formatter){var c=Object(o["get"])(a,["percent","formatter"]);r.content.formatter=function(t){var e=t.percent;return c?c(e):(100*e).toFixed(2)+"%"}}return Object(s["m"])(e,{statistic:r,plotType:"liquid"},{percent:i}),t}function f(t){return Object(s["e"])(u,h,Object(a["f"])({}),a["a"],a["j"],a["c"])(t)}var p=n("kXyF"),d=n("qaDU"),g=5e3;function y(t,e,n){return t+(e-t)*n}function v(t){var e=Object(r["a"])({opacity:1},t.style);return t.color&&!e.fill&&(e.fill=t.color),e}function m(t){var e={fill:"#fff",fillOpacity:0,lineWidth:4},n=Object(o["mix"])({},e,t.style);return t.color&&!n.stroke&&(n.stroke=t.color),Object(o["isNumber"])(t.opacity)&&(n.opacity=n.strokeOpacity=t.opacity),n}function b(t,e,n,r){return 0===e?[[t+.5*n/Math.PI/2,r/2],[t+.5*n/Math.PI,r],[t+n/4,r]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),r],[t+.5*n/Math.PI/2*(Math.PI-1),r/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-r/2],[t+.5*n/Math.PI,-r],[t+n/4,-r]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-r],[t+.5*n/Math.PI/2*(Math.PI-1),-r/2],[t+n/4,0]]}function x(t,e,n,r,i,o,a){var s=4*Math.ceil(2*t/n*4),c=[],l=r;while(l<2*-Math.PI)l+=2*Math.PI;while(l>0)l-=2*Math.PI;l=l/Math.PI/2*n;var u=o-t+l-2*t;c.push(["M",u,e]);for(var h=0,f=0;f0?v:m},O=Object(c["b"])({},t,{options:{xField:i,yField:l,seriesField:i,rawFields:[a,u,f,l],widthRatio:g,interval:{style:y,shape:"waterfall",color:x}}}),w=Object(s["c"])(O).ext,j=w.geometry;return j.customInfo({leaderLine:p}),j.tooltip(a),t}function b(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,f=r.xField,p=r.yField,d=r.meta,g=Object(c["b"])({},{alias:p},Object(o["get"])(d,p));return Object(c["e"])(Object(a["f"])((e={},e[f]=i,e[p]=s,e[l]=s,e),Object(c["b"])({},d,(n={},n[l]=g,n[u]=g,n[h]=g,n))))(t)}function x(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?(e.axis(a,!1),e.axis(l,!1)):(e.axis(a,i),e.axis(l,i)),t}function O(t){var e=t.chart,n=t.options,r=n.legend,i=n.total,a=n.risingFill,s=n.fallingFill;if(!1===r)e.legend(!1);else{var l=[{name:"\u589e\u52a0",value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:"\u51cf\u5c11",value:"decrease",marker:{symbol:"square",style:{r:5,fill:s}}}];i&&l.push({name:i.label||"",value:"total",marker:{symbol:"square",style:Object(c["b"])({},{r:5},Object(o["get"])(i,"style"))}}),e.legend(Object(c["b"])({},{custom:!0,position:"top",items:l},r)),e.removeInteraction("legend-filter")}return t}function w(t){var e=t.chart,n=t.options,i=n.label,o=n.labelMode,a=Object(c["c"])(e,"interval");if(i){var s=i.callback,l=Object(r["c"])(i,["callback"]);a.label({fields:"absolute"===o?[h]:[u],callback:s,cfg:Object(c["o"])(l)})}else a.label(!1);return t}function j(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.yField;return!1!==i?e.tooltip(Object(r["a"])({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i)):e.tooltip(!1),t}function C(t){return Object(c["e"])(m,b,x,O,j,w,a["i"],a["j"],a["c"],a["a"],Object(a["b"])())(t)}Object(g["h"])("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,a=t.nextPoints,s=e.addGroup(),c=this.parsePath(y(i)),l=v(t);s.addShape("path",{attrs:Object(r["a"])(Object(r["a"])({},l),{path:c})});var u=Object(o["get"])(n,"leaderLine");if(u&&a){var h=[["M",i[2].x,i[2].y],["L",a[0].x,a[0].y]];i[2].y===a[1].y&&(h[1]=["L",a[1].x,a[1].y]),h=this.parsePath(h),s.addShape("path",{attrs:Object(r["a"])({path:h},u.style||{})})}return s}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="waterfall",e}Object(r["b"])(e,t),e.prototype.getSchemaAdaptor=function(){return C},e.prototype.getDefaultOptions=function(){return{label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{label:"\u603b\u8ba1",style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}}})(i["a"])},GNiM:function(t,e,n){var r=n("I01J"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)}),e});t.exports=a},GZ5e:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o,a,s,c,l,u,h,f,p=e+1,d=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;for(f=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(c=t.bMarks[p]+t.tShift[p],l=t.eMarks[p],c=l)))){u=61===h?1:2;break}if(!(t.sCount[p]<0)){for(i=!1,o=0,a=d.length;o0&&void 0!==arguments[0]?arguments[0]:{},e=t.history||Object(u["b"])(),n={initialReducer:{router:T(e)},setupMiddlewares:function(t){return[E(e)].concat(Object(o["a"])(t))},setupApp:function(t){t._history=R(e)}},r=Object(d["a"])(t,n),a=r.start;return r.router=s,r.start=c,r;function s(t){l()(P(t),"[app.router] router should be function, but got ".concat(Object(i["a"])(t))),r._router=t}function c(t){F(t)&&(t=f.a.querySelector(t),l()(t,"[app.start] container ".concat(t," not found"))),l()(!t||I(t),"[app.start] container should be HTMLElement"),l()(r._router,"[app.start] router must be registered before app.start()"),r._store||a.call(r);var e=r._store;if(r._getProvider=D.bind(null,e,r),!t)return D(e,this,this._router);B(t,e,r,r._router),r._plugin.apply("onHmr")(B.bind(null,t,e,r))}}function I(t){return"object"===Object(i["a"])(t)&&null!==t&&t.nodeType&&t.nodeName}function F(t){return"string"===typeof t}function D(t,e,n){var i=function(i){return s.a.createElement(p["a"],{store:t},n(Object(r["a"])({app:e,history:e._history},i)))};return i}function B(t,e,r,i){var o=n("i8i4");o.render(s.a.createElement(D(e,r,i)),t)}function R(t){var e=t.listen;return t.listen=function(n){var r=n.toString(),i="handleLocationChange"===n.name&&r.indexOf("onLocationChanged")>-1||r.indexOf(".inTimeTravelling")>-1&&r.indexOf(".inTimeTravelling")>-1&&r.indexOf("arguments[2]")>-1;return n(t.location,t.action),e.call(t,function(){for(var t=arguments.length,e=new Array(t),r=0;r0&&r++,"text"===i[e].type&&e+1=s[u]?1:0,p=h>Math.PI?1:0,d=n.convert(c),g=o.getDistanceToCenter(n,d);if(g>=.5)if(h===2*Math.PI){var y={x:(c.x+s.x)/2,y:(c.y+s.y)/2},v=n.convert(y);l.push(["A",g,g,0,p,f,v.x,v.y]),l.push(["A",g,g,0,p,f,d.x,d.y])}else l.push(["A",g,g,0,p,f,d.x,d.y]);return l}function u(t){i.each(t,function(e,n){var r=e;if("a"===r[0].toLowerCase()){var i=t[n-1],o=t[n+1];o&&"a"===o[0].toLowerCase()?i&&"l"===i[0].toLowerCase()&&(i[0]="M"):i&&"a"===i[0].toLowerCase()&&o&&"l"===o[0].toLowerCase()&&(o[0]="M")}})}function h(t,n,r){for(var i=!!n,o=[],a=0,s=t.length;a/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(t,e){var n,o,a,s,c,l,u=t.pos;return 60===t.src.charCodeAt(u)&&(n=t.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),c=t.md.normalizeLink(s),!!t.md.validateLink(c)&&(e||(l=t.push("link_open","a",1),l.attrs=[["href",c]],l.markup="autolink",l.info="auto",l=t.push("text","",0),l.content=t.md.normalizeLinkText(s),l=t.push("link_close","a",-1),l.markup="autolink",l.info="auto"),t.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),c=t.md.normalizeLink("mailto:"+s),!!t.md.validateLink(c)&&(e||(l=t.push("link_open","a",1),l.attrs=[["href",c]],l.markup="autolink",l.info="auto",l=t.push("text","",0),l.content=t.md.normalizeLinkText(s),l=t.push("link_close","a",-1),l.markup="autolink",l.info="auto"),t.pos+=a[0].length,!0))))}},KavR:function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj"),o=n("0Xep"),a=n("Qci9");function s(t,e){return(e-t)*Math.random()+t}var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["clone"](t),n=i["flatten"](e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var r=this,o=this.groupData(n,t);return i["each"](o,function(n,i){return r.adjustGroup(n,t,parseFloat(i),e)})},e.prototype.getAdjustOffset=function(t){var e=t.pre,n=t.next,r=(n-e)*o["c"];return s(e+r,n-r)},e.prototype.adjustGroup=function(t,e,n,r){var o=this,a=this.getAdjustRange(e,n,r);return i["each"](t,function(t){t[e]=o.getAdjustOffset(a)}),t},e}(a["a"]);e["a"]=c},KfNM:function(t,e){var n=Object.prototype,r=n.toString;function i(t){return r.call(t)}t.exports=i},Kz5y:function(t,e,n){var r=n("WFqU"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},L16w:function(t,e,n){"use strict";e["a"]={fontFamily:'\n "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue",\n Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",\n SimSun, "sans-serif"',textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4}},L8xA:function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},LHnb:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return s});var r=function(t,e){return r=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])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n1?n[o-1]:void 0,s=o>2?n[2]:void 0;a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);while(++r1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}Object(r["each"])(t,function(e,n){isNaN(e)||(t[n]=+e)}),e[n]=t}),e):void 0}var s=a;function c(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}function l(t,e){var n=[],r=[];function i(t,e){if(1===t.length)n.push(t[0]),r.push(t[0]);else{for(var o=[],a=0;a=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1]),e});return h}function h(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(u(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r}function f(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a=0;c--)a=o[c].index,"add"===o[c].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}if(r=t.length,r0)){t[r]=e[r];break}n=v(n,t[r-1],1)}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){t[r]=e[r];break}n=v(n,t[r-1],2)}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=v(n,t[r-1],1)}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t}function b(t,e,n,r,i){return i?[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]}var x="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",O=new RegExp("([a-z])["+x+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+x+"]*,?["+x+"]*)+)","ig"),w=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+x+"]*,?["+x+"]*","ig");function j(t){if(!t)return null;if(Object(r["isArray"])(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(O,function(t,r,i){var o=[],a=r.toLowerCase();if(i.replace(w,function(t,e){e&&o.push(+e)}),"m"===a&&o.length>2&&(n.push([r].concat(o.splice(0,2))),a="l",r="m"===r?"l":"L"),"o"===a&&1===o.length&&n.push([r,o[0]]),"r"===a)n.push([r].concat(o));else while(o.length>=e[a])if(n.push([r].concat(o.splice(0,e[a]))),!e[a])break;return""}),n}var C=/[a-z]/;function S(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function k(t){var e=j(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r=0){n=!0;break}}if(!n)return e;var o=[],a=0,s=0,c=0,l=0,u=0,h=e[0];"M"!==h[0]&&"m"!==h[0]||(a=+h[1],s=+h[2],c=a,l=s,u++,o[0]=["M",a,s]);r=u;for(var f=e.length;r1&&(O=Math.sqrt(O),n*=O,r*=O);var w=n*n,j=r*r,C=(o===a?-1:1)*Math.sqrt(Math.abs((w*j-w*x*x-j*b*b)/(w*x*x+j*b*b)));p=C*n*x/r+(t+s)/2,d=C*-r*b/n+(e+c)/2,h=Math.asin(Number(((e-d)/r).toFixed(9))),f=Math.asin(Number(((c-d)/r).toFixed(9))),h=tf&&(h-=2*Math.PI),!a&&f>h&&(f-=2*Math.PI)}var S=f-h;if(Math.abs(S)>g){var k=f,_=s,A=c;f=h+g*(a&&f>h?1:-1),s=p+n*Math.cos(f),c=d+r*Math.sin(f),v=M(s,c,n,r,i,0,a,_,A,[f,k,p,d])}S=f-h;var T=Math.cos(h),E=Math.sin(h),P=Math.cos(f),L=Math.sin(f),I=Math.tan(S/4),F=4/3*n*I,D=4/3*r*I,B=[t,e],R=[t+F*E,e-D*T],N=[s+F*L,c-D*P],Y=[s,c];if(R[0]=2*B[0]-R[0],R[1]=2*B[1]-R[1],l)return[R,N,Y].concat(v);v=[R,N,Y].concat(v).join().split(",");for(var z=[],G=0,V=v.length;G7){t[e].shift();var o=t[e];while(o.length)s[e]="A",i&&(c[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},p=function(t,e,o,a,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[s][1],o.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var d=0;d1?1:c<0?0:c;for(var l=c/2,u=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,d=0;d0&&h<1&&f.push(h)}else{var g=l*l-4*u*c,y=Math.sqrt(g);if(!(g<0)){var v=(-l+y)/(2*c);v>0&&v<1&&f.push(v);var m=(-l-y)/(2*c);m>0&&m<1&&f.push(m)}}var b,x=f.length,O=x;while(x--)h=f[x],b=1-h,p[0][x]=b*b*b*t+3*b*b*h*n+3*b*h*h*i+h*h*h*a,p[1][x]=b*b*b*e+3*b*b*h*r+3*b*h*h*o+h*h*h*s;return p[0][O]=t,p[1][O]=e,p[0][O+1]=a,p[1][O+1]=s,p[0].length=p[1].length=O+2,{min:{x:Math.min.apply(0,p[0]),y:Math.min.apply(0,p[1])},max:{x:Math.max.apply(0,p[0]),y:Math.max.apply(0,p[1])}}},I=function(t,e,n,r,i,o,a,s){if(!(Math.max(t,n)Math.max(i,a)||Math.max(e,r)Math.max(o,s))){var c=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),l=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),u=(t-n)*(o-s)-(e-r)*(i-a);if(u){var h=c/u,f=l/u,p=+h.toFixed(2),d=+f.toFixed(2);if(!(p<+Math.min(t,n).toFixed(2)||p>+Math.max(t,n).toFixed(2)||p<+Math.min(i,a).toFixed(2)||p>+Math.max(i,a).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(o,s).toFixed(2)||d>+Math.max(o,s).toFixed(2)))return{x:h,y:f}}}},F=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},D=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:b(t,e,n,r),vb:[t,e,n,r].join(" ")}},B=function(t,e){return t=D(t),e=D(e),F(e,t.x,t.y)||F(e,t.x2,t.y)||F(e,t.x,t.y2)||F(e,t.x2,t.y2)||F(t,e.x,e.y)||F(t,e.x2,e.y)||F(t,e.x,e.y2)||F(t,e.x2,e.y2)||(t.xe.x||e.xt.x)&&(t.ye.y||e.yt.y)},R=function(t,e,n,i,o,a,s,c){Object(r["isArray"])(t)||(t=[t,e,n,i,o,a,s,c]);var l=L.apply(null,t);return D(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},N=function(t,e,n,r,i,o,a,s,c){var l=1-c,u=Math.pow(l,3),h=Math.pow(l,2),f=c*c,p=f*c,d=u*t+3*h*c*n+3*l*c*c*i+p*a,g=u*e+3*h*c*r+3*l*c*c*o+p*s,y=t+2*c*(n-t)+f*(i-2*n+t),v=e+2*c*(r-e)+f*(o-2*r+e),m=n+2*c*(i-n)+f*(a-2*i+n),b=r+2*c*(o-r)+f*(s-2*o+r),x=l*t+c*n,O=l*e+c*r,w=l*i+c*a,j=l*o+c*s,C=90-180*Math.atan2(y-m,v-b)/Math.PI;return{x:d,y:g,m:{x:y,y:v},n:{x:m,y:b},start:{x:x,y:O},end:{x:w,y:j},alpha:C}},Y=function(t,e,n){var r=R(t),i=R(e);if(!B(r,i))return n?0:[];for(var o=P.apply(0,t),a=P.apply(0,e),s=~~(o/8),c=~~(a/8),l=[],u=[],h={},f=n?0:[],p=0;p=0&&j<=1&&C>=0&&C<=1&&(n?f++:f.push({x:w.x,y:w.y,t1:j,t2:C}))}}return f},z=function(t,e,n){var r,i,o,a,s,c,l,u,h,f;t=T(t),e=T(e);for(var p=n?0:[],d=0,g=t.length;d1&&(n*=Math.sqrt(d),i*=Math.sqrt(d));var g=n*n*(p*p)+i*i*(f*f),y=g?Math.sqrt((n*n*(i*i)-g)/g):1;a===s&&(y*=-1),isNaN(y)&&(y=0);var v=i?y*n*p/i:0,m=n?y*-i*f/n:0,b=(c+u)/2+Math.cos(o)*v-Math.sin(o)*m,x=(l+h)/2+Math.sin(o)*v+Math.cos(o)*m,O=[(f-v)/n,(p-m)/i],w=[(-1*f-v)/n,(-1*p-m)/i],j=U([1,0],O),C=U(O,w);return H(O,w)<=-1&&(C=Math.PI),H(O,w)>=1&&(C=0),0===s&&C>0&&(C-=2*Math.PI),1===s&&C<0&&(C+=2*Math.PI),{cx:b,cy:x,rx:q(t,[u,h])?0:n,ry:q(t,[u,h])?0:i,startAngle:j,endAngle:j+C,xRotation:o,arcFlag:a,sweepFlag:s}}function K(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function Q(t){t=s(t);for(var e=[],n=null,r=null,i=null,o=0,a=t.length,c=0;c=e&&t<=n};function J(t,e,n,r){var i=.001,o={x:n.x-t.x,y:n.y-t.y},a={x:e.x-t.x,y:e.y-t.y},s={x:r.x-n.x,y:r.y-n.y},c=a.x*s.y-a.y*s.x,l=c*c,u=a.x*a.x+a.y*a.y,h=s.x*s.x+s.y*s.y,f=null;if(l>i*u*h){var p=(o.x*s.y-o.y*s.x)/c,d=(o.x*a.y-o.y*a.x)/c;$(p,0,1)&&$(d,0,1)&&(f={x:t.x+p*a.x,y:t.y+p*a.y})}return f}var tt=1e-6;function et(t){return Math.abs(t)0!==et(s[1]-n)>0&&et(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}function it(t){for(var e=[],n=t.length,r=0;r1){var a=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:a[0],y:a[1]}})}return e}function ot(t,e){var n=!1;return Object(r["each"])(t,function(t){if(J(t.from,t.to,e.from,e.to))return n=!0,!1}),n}function at(t){var e=t.map(function(t){return t[0]}),n=t.map(function(t){return t[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}function st(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,r=t.minY,i=t.maxX,a=t.maxY;if(e){var s=Object(o["c"])(e,[t.minX,t.minY]),c=Object(o["c"])(e,[t.maxX,t.minY]),l=Object(o["c"])(e,[t.minX,t.maxY]),u=Object(o["c"])(e,[t.maxX,t.maxY]);n=Math.min(s[0],c[0],l[0],u[0]),i=Math.max(s[0],c[0],l[0],u[0]),r=Math.min(s[1],c[1],l[1],u[1]),a=Math.max(s[1],c[1],l[1],u[1])}var h=this.attrs;if(h.shadowColor){var f=h.shadowBlur,p=void 0===f?0:f,d=h.shadowOffsetX,g=void 0===d?0:d,y=h.shadowOffsetY,v=void 0===y?0:y,m=n-p+g,b=i+p+g,x=r-p+v,O=a+p+v;n=Math.min(n,m),i=Math.max(i,b),r=Math.min(r,x),a=Math.max(a,O)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:a,width:i-n,height:a-r}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[t,e,1];i=this.invertFromMatrix(i);var o=i[0],a=i[1],s=this._isInBBox(o,a);if(this.isOnlyHitBox())return s;if(s&&!this.isClipped(o,a)){if(this.isInShape(o,a))return!0;if(n&&n.isHit(o,a))return!0;if(r&&r.isHit(o,a))return!0}return!1},e}(i["a"]);e["a"]=a},MeYt:function(t,e,n){"use strict";var r=n("LHnb"),i=n("iTfj"),o=n("1//c"),a=n("jqgP"),s=n("5UbV"),c=n("NmWf"),l="update_status",u=["visible","tip","delegateObject"],h=["container","group","shapesMap","isRegister","isUpdating","destroyed"],f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var e=this.getElementById(t),n=e&&e.get("component");return n},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var e=this.getElementId(t);return this.getElementById(e)},e.prototype.getElementsByName=function(t){var e=[];return Object(i["each"])(this.get("shapesMap"),function(n){n.get("name")===t&&e.push(n)}),e},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var e=this.get("group");this.updateElements(t,e),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.get("group");e.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),t.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),e=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(e=Object(a["a"])(n,e)),e},e.prototype.on=function(t,e,n){var r=this.get("group");return r.on(t,e,n),this},e.prototype.off=function(t,e){var n=this.get("group");return n&&n.off(t,e),this},e.prototype.emit=function(t,e){var n=this.get("group");n.emit(t,e)},e.prototype.init=function(){t.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,e){var n=this.get("group");e.target=n,n.emit(t,e),Object(o["a"])(n,t,e)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),e=t.getGroupBase(),n=new e({delegateObject:this.getDelegateObject()});return n},e.prototype.applyOffset=function(){var t=this.get("offsetX"),e=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:e})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",Object(s["d"])(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,i=e.component,o=Object(r["c"])(e,["id","component"]),a=new i(Object(r["a"])(Object(r["a"])({},o),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return a.init(),a.render(),this.get("isRegister")&&this.registerElement(a.get("group")),a},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var e=this.get("id"),n=this.get("name");return e+"-"+n+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=Object(a["f"])(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var r=e.attr("opacity");Object(i["isNil"])(r)&&(r=1),e.attr("opacity",0),e.animate({opacity:r},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,r){e.animate(n,r)},e.prototype.updateElements=function(t,e){var n,r=this,o=this.get("animate"),a=this.get("animateOption"),c=t.getChildren().slice(0);Object(i["each"])(c,function(t){var c=t.get("id"),f=r.getElementById(c),p=t.get("name");if(f)if(t.get("isComponent")){var d=t.get("component"),g=f.get("component"),y=Object(i["pick"])(d.cfg,Object(i["difference"])(Object(i["keys"])(d.cfg),h));g.update(y),f.set(l,"update")}else{var v=r.getReplaceAttrs(f,t);o&&a.update?r.updateAnimation(p,f,v,a.update):f.attr(v),t.isGroup()&&r.updateElements(t,f),Object(i["each"])(u,function(e){f.set(e,t.get(e))}),Object(s["m"])(f,t),n=f,f.set(l,"update")}else{e.add(t);var m=e.getChildren();if(m.splice(m.length-1,1),n){var b=m.indexOf(n);m.splice(b+1,0,t)}else m.unshift(t);if(r.registerElement(t),t.set(l,"add"),t.get("isComponent")){d=t.get("component");d.set("container",e)}else t.isGroup()&&r.registerNewGroup(t);if(n=t,o){var x=r.get("isInit")?a.appear:a.enter;x&&r.addAnimation(p,t,x)}}})},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();Object(i["each"])(e,function(t){t.set(l,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,e=this.get("name"),n=(t={},t[e]=this,t.component=this,t);return n},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),Object(i["mix"])(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),r=e.attr();return Object(i["each"])(n,function(t,e){void 0===r[e]&&(r[e]=void 0)}),r},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();Object(i["each"])(n,function(t){e.registerElement(t),t.set(l,"add"),t.isGroup()&&e.registerNewGroup(t)})},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];Object(i["each"])(e,function(t,e){!t.get(l)||t.destroyed?n.push([e,t]):t.set(l,null)});var r=this.get("animate"),o=this.get("animateOption");Object(i["each"])(n,function(n){var a=n[0],s=n[1];if(!s.destroyed){var c=s.get("name");if(r&&o.leave){var l=Object(i["mix"])({callback:function(){t.removeElement(s)}},o.leave);t.removeAnimation(c,s,l)}else t.removeElement(s)}delete e[a]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(c["a"]);e["a"]=f},Mj7Y:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa"),c=n("iTfj"),l={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function u(t,e){return e=Object(c["assign"])({},l,e),h(t,e)}function h(t,e){var n=E();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){Object(c["isNil"])(e[t])||n[t](e[t])}),n.words(t),e.imageMask&&n.createMask(e.imageMask);var r=n.start(),i=r._tags;i.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var o=e.size,a=o[0],s=o[1];return i.push({text:"",value:0,x:0,y:0,opacity:0}),i.push({text:"",value:0,x:a,y:s,opacity:0}),i}var f=Math.PI/180,p=64,d=2048;function g(t){return t.text}function y(){return"serif"}function v(){return"normal"}function m(t){return t.value}function b(){return 90*~~(2*Math.random())}function x(){return 1}function O(t,e,n,r){if(!e.sprite){var i=t.context,o=t.ratio;i.clearRect(0,0,(p<<5)/o,d/o);var a=0,s=0,c=0,l=n.length;--r;while(++r>5<<5,h=~~Math.max(Math.abs(m+b),Math.abs(m-b))}else u=u+31>>5<<5;if(h>c&&(c=h),a+u>=p<<5&&(a=0,s+=c,c=0),s+h>=d)break;i.translate((a+(u>>1))/o,(s+(h>>1))/o),e.rotate&&i.rotate(e.rotate*f),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=u,e.height=h,e.xoff=a,e.yoff=s,e.x1=u>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,a+=u}var O=i.getImageData(0,0,(p<<5)/o,d/o).data,w=[];while(--r>=0)if(e=n[r],e.hasText){u=e.width;for(var j=u>>5,C=(h=e.y1-e.y0,0);C>5),A=O[(s+M)*(p<<5)+(a+C)<<2]?1<<31-C%32:0;w[_]|=A,S|=A}S?k=M:(e.y0++,h--,M--,s++)}e.y1=e.y0+k,e.sprite=w.slice(0,(e.y1-e.y0)*j)}}}function w(t,e,n){n>>=5;for(var r,i=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,c=32-s,l=t.y1-t.y0,u=(t.y+t.y0)*n+(a>>5),h=0;h>>s:0))&e[u+f])return!0;u+=n}return!1}function j(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function C(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0e[0].y&&t.y+t.y0>2);t.width=(p<<5)/e,t.height=d/e;var n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:e}}function P(e,n,r){var i,o,c,l=n.x,u=n.y,h=Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=a(t),p=s()<.5?1:-1,d=-p;while(i=f(d+=p)){if(o=~~i[0],c=~~i[1],Math.min(Math.abs(o),Math.abs(c))>=h)break;if(n.x=l+o,n.y=u+c,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1])&&(!r||!w(n,e,t[0]))&&(!r||C(n,r))){for(var g=n.sprite,y=n.width>>5,v=t[0]>>5,m=n.x-(y<<4),b=127&m,x=32-b,O=n.y1-n.y0,j=void 0,S=(n.y+n.y0)*v+(m>>5),k=0;k>>b:0);S+=v}return delete n.sprite,!0}}return!1}return k.start=function(){var a=t[0],p=t[1],d=E(f()),g=k.board?k.board:M((t[0]>>5)*t[1]),y=c.length,v=[],m=c.map(function(t,a,s){return t.text=u.call(this,t,a,s),t.font=e.call(this,t,a,s),t.style=h.call(this,t,a,s),t.weight=r.call(this,t,a,s),t.rotate=i.call(this,t,a,s),t.size=~~n.call(this,t,a,s),t.padding=o.call(this,t,a,s),t}).sort(function(t,e){return e.size-t.size}),b=-1,x=k.board?[{x:0,y:0},{x:a,y:p}]:null;function w(){var e=Date.now();while(Date.now()-e>1,n.y=p*(s()+.5)>>1,O(d,n,m,b),n.hasText&&P(g,n,x)&&(v.push(n),x?k.hasImage||j(x,n):x=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}k._tags=v,k._bounds=x}return w(),k},k.createMask=function(e){var n=document.createElement("canvas"),r=t[0],i=t[1];if(r&&i){var o=r>>5,a=M((r>>5)*i);n.width=r,n.height=i;var s=n.getContext("2d");s.drawImage(e,0,0,e.width,e.height,0,0,r,i);for(var c=s.getImageData(0,0,r,i).data,l=0;l>5),f=l*r+u<<2,p=c[f]>=250&&c[f+1]>=250&&c[f+2]>=250,d=p?1<<31-u%32:0;a[h]|=d}k.board=a,k.hasImage=!0}},k.timeInterval=function(t){l=null==t?1/0:t},k.words=function(t){c=t},k.size=function(e){t=[+e[0],+e[1]]},k.font=function(t){e=A(t)},k.fontWeight=function(t){r=A(t)},k.rotate=function(t){i=A(t)},k.spiral=function(t){a=T[t]||t},k.fontSize=function(t){n=A(t)},k.padding=function(t){o=A(t)},k.random=function(t){s=A(t)},k}function P(t){var e=t.options,n=t.chart,i=n,o=i.width,a=i.height,s=i.padding,l=i.appendPadding,h=i.ele,f=e.data,p=e.imageMask,d=e.wordField,g=e.weightField,y=e.colorField,v=e.wordStyle,m=e.timeInterval,b=e.random,x=e.spiral,O=e.autoFit,w=void 0===O||O,j=e.placementStrategy;if(!f||!f.length)return[];var C=v.fontFamily,S=v.fontWeight,k=v.padding,M=v.fontSize,_=R(f,g),T=[z(_),G(_)],E=f.map(function(t){return{text:t[d],value:t[g],color:t[y],datum:t}}),P={imageMask:p,font:C,fontSize:B(M,T),fontWeight:S,size:L({width:o,height:a,padding:s,appendPadding:l,autoFit:w,container:h}),padding:k,timeInterval:m,random:b,spiral:x,rotate:N(e)};if(Object(c["isFunction"])(j)){var I=E.map(function(t,e,i){return Object(r["a"])(Object(r["a"])(Object(r["a"])({},t),{hasText:!!t.text,font:A(P.font)(t,e,i),weight:A(P.fontWeight)(t,e,i),rotate:A(P.rotate)(t,e,i),size:A(P.fontSize)(t,e,i),style:"normal"}),j.call(n,t,e,i))});return I.push({text:"",value:0,x:0,y:0,opacity:0}),I.push({text:"",value:0,x:P.size[0],y:P.size[1],opacity:0}),I}return u(E,P)}function L(t){var e=t.width,n=t.height,r=t.container,i=t.autoFit,a=t.padding,s=t.appendPadding;if(i){var c=Object(o["g"])(r);e=c.width,n=c.height}e=e||400,n=n||400;var l=I({padding:a,appendPadding:s}),u=l[0],h=l[1],f=l[2],p=l[3],d=[e-(p+h),n-(u+f)];return d}function I(t){var e=F(t.padding),n=F(t.appendPadding),r=e[0]+n[0],i=e[1]+n[1],o=e[2]+n[2],a=e[3]+n[3];return[r,i,o,a]}function F(t){if(Object(c["isNumber"])(t))return[t,t,t,t];if(Object(c["isArray"])(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}function D(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement)e(t);else{if(Object(c["isString"])(t)){var r=new Image;return r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},void(r.onerror=function(){Object(o["j"])(o["a"].ERROR,!1,"image %s load failed !!!",t),n()})}Object(o["j"])(o["a"].WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()}})}function B(t,e){if(Object(c["isFunction"])(t))return t;if(Object(c["isArray"])(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var i=e[0],o=e[1];return o===i?function(){return(r+n)/2}:function(t){var e=t.value;return(r-n)/(o-i)*(e-i)+n}}return function(){return t}}function R(t,e){return t.map(function(t){return t[e]}).filter(function(t){return"number"===typeof t&&!isNaN(t)})}function N(t){var e=Y(t),n=e.rotation,r=e.rotationSteps;if(!Object(c["isArray"])(n))return n;var i=n[0],o=n[1],a=1===r?0:(o-i)/(r-1);return function(){return o===i?o:Math.floor(Math.random()*r)*a}}function Y(t){var e=t.wordStyle.rotationSteps;return e<1&&(Object(o["j"])(o["a"].WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}}function z(t){return Math.min.apply(Math,t)}function G(t){return Math.max.apply(Math,t)}function V(t){var e=t.chart,n=t.options,r=n.colorField,i=n.color,a=P(t);e.data(a);var c=Object(o["b"])({},t,{options:{xField:"x",yField:"y",seriesField:r&&"color",point:{color:i,shape:"word-cloud"}}}),l=Object(s["e"])(c).ext;return l.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),e.legend(!1),t}function X(t){return Object(o["e"])(Object(a["f"])({x:{nice:!1},y:{nice:!1}}))(t)}function W(t){Object(o["e"])(V,X,a["k"],a["c"],a["a"],a["j"],a["i"])(t)}var H=n("kXyF");function U(t){return{fontSize:t.data.size,text:t.data.text,textAlign:"center",fontFamily:t.data.font,fontWeight:t.data.weight,fill:t.color||t.defaultStyle.stroke,textBaseline:"alphabetic"}}Object(H["h"])("point","word-cloud",{draw:function(t,e){var n=t.x,i=t.y,o=e.addShape("text",{attrs:Object(r["a"])(Object(r["a"])({},U(t)),{x:n,y:i})}),a=t.data.rotate;return"number"===typeof a&&H["c"].rotate(o,a*Math.PI/180),o}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{timeInterval:2e3,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value","color"],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i)return t.prototype.render.call(e),void n();var o=function(i){e.options=Object(r["a"])(Object(r["a"])({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};D(i).then(o).catch(o)})},e.prototype.getSchemaAdaptor=function(){return W},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))}})(i["a"])},MrPd:function(t,e,n){var r=n("hypo"),i=n("ljhN"),o=Object.prototype,a=o.hasOwnProperty;function s(t,e,n){var o=t[e];a.call(t,e)&&i(o,n)&&(void 0!==n||e in t)||r(t,e,n)}t.exports=s},Mw2x:function(t,e,n){"use strict";var r=n("AMYk"),i=n("zK8m"),o=n("sstZ"),a={},s="_INDEX";function c(t,e){if(t.set("canvas",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach(function(t){c(t,e)})}}function l(t,e){if(t.set("timeline",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach(function(t){l(t,e)})}}function u(t,e,n){void 0===n&&(n=!0),n?e.destroy():(e.set("parent",null),e.set("canvas",null)),Object(o["j"])(t.getChildren(),e)}function h(t){return function(e,n){var r=t(e,n);return 0===r?e[s]-n[s]:r}}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["a"])(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});s.length>0?(Object(o["a"])(s,function(t){var e=t.getBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)}),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n};return c},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});s.length>0?(Object(o["a"])(s,function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)}),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n};return c},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["children"]=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();Object(o["a"])(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e=0;a--){var s=t[a];if(Object(o["b"])(s)&&(s.isGroup()?i=s.getShape(e,n,r):s.isHit(e,n)&&(i=s)),i)break}return i},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=t.getParent();i&&u(i,t,!1),t.set("parent",this),e&&c(t,e),r&&l(t,r),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();Object(o["a"])(t,function(t,e){return t[s]=e,t}),t.sort(h(function(t,e){return t.get("zIndex")-e.get("zIndex")})),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){var e=this.getChildren();return e[t]},e.prototype.getCount=function(){var t=this.getChildren();return t.length},e.prototype.contain=function(t){var e=this.getChildren();return e.indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return Object(o["a"])(n,function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))}),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return Object(o["a"])(n,function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1}),e},e.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},e}(i["a"]);e["a"]=f},N5VM:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&t.handleMarkers(O,e);for(r=0;r=0},t.prototype.getAdjustRange=function(t,e,n){var r,i,o=this.yField,a=n.indexOf(e),s=n.length;return!o&&this.isAdjust("y")?(r=0,i=1):s>1?(r=n[0===a?0:a-1],i=n[a===s-1?s-1:a+1],0!==a?r+=(e-r)/2:r-=(i-e)/2,a!==s-1?i-=(i-e)/2:i+=(e-n[s-2])/2):(r=0===e?0:e-.5,i=0===e?1:e+.5),{pre:r,next:i}},t.prototype.adjustData=function(t,e){var n=this,i=this.getDimValues(e);r["each"](t,function(t,e){r["each"](i,function(r,i){n.adjustDim(i,r,t,e)})})},t.prototype.groupData=function(t,e){return r["each"](t,function(t){void 0===t[e]&&(t[e]=i["a"])}),r["groupBy"](t,e)},t.prototype.adjustDim=function(t,e,n,r){},t.prototype.getDimValues=function(t){var e=this,n=e.xField,o=e.yField,a={},s=[];if(n&&this.isAdjust("x")&&s.push(n),o&&this.isAdjust("y")&&s.push(o),s.forEach(function(e){a[e]=r["valuesOfKey"](t,e).sort(function(t,e){return t-e})}),!o&&this.isAdjust("y")){var c="y";a[c]=[i["a"],1]}return a},t}();e["a"]=o},QjYF:function(t,e,n){"use strict";var r=n("AGgm").isSpace;t.exports=function(t,e){var n,i,o=t.pos;if(10!==t.src.charCodeAt(o))return!1;n=t.pending.length-1,i=t.posMax,e||(n>=0&&32===t.pending.charCodeAt(n)?n>=1&&32===t.pending.charCodeAt(n-1)?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),o++;while(o0&&(Object(a["i"])(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t["lineWidth"]+t["lineAppendWidth"]},e}(o["AbstractShape"]),u=l,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),s=o.x,c=o.y,l=o.r,u=i/2,h=Object(a["b"])(s,c,t,e);return r&&n?h<=l+u:r?h<=l:!!n&&(h>=l-u&&h<=l+u)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(u),f=h;function p(t,e,n,r){return t/(n*n)+e/(r*r)}var d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),a=i/2,s=o.x,c=o.y,l=o.rx,u=o.ry,h=(t-s)*(t-s),f=(e-c)*(e-c);return r&&n?p(h,f,l+a,u+a)<=1:r?p(h,f,l,u)<=1:!!n&&(p(h,f,l-a,u-a)>=1&&p(h,f,l+a,u+a)<=1)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,o,0,0,2*Math.PI,!1);else{var a=i>o?i:o,s=i>o?1:i/o,c=i>o?o/i:1;t.save(),t.translate(n,r),t.scale(s,c),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(u),g=d;function y(t){return t instanceof HTMLElement&&Object(a["k"])(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(Object(a["k"])(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):y(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",t);var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,s=e.sx,c=e.sy,l=e.swidth,u=e.sheight,h=e.img;(h instanceof Image||y(h))&&(Object(a["i"])(s)||Object(a["i"])(c)||Object(a["i"])(l)||Object(a["i"])(u)?t.drawImage(h,n,r,i,o):t.drawImage(h,s,c,l,u,n,r,i,o))},e}(u),m=v,b=n("EYNi");function x(t,e,n,r,i,o,a){var s=Math.min(t,n),c=Math.max(t,n),l=Math.min(e,r),u=Math.max(e,r),h=i/2;return o>=s-h&&o<=c+h&&a>=l-h&&a<=u+h&&b["c"].pointToLine(t,e,n,r,o,a)<=i/2}var O=n("nycV"),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,o=t.startArrow,a=t.endArrow;o&&O["b"](this,t,r,i,e,n),a&&O["a"](this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr(),a=o.x1,s=o.y1,c=o.x2,l=o.y2;return x(a,s,c,l,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=e.startArrow,s=e.endArrow,c={dx:0,dy:0},l={dx:0,dy:0};a&&a.d&&(c=O["c"](n,r,i,o,e.startArrow.d)),s&&s.d&&(l=O["c"](n,r,i,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+c.dx,r+c.dy),t.lineTo(i-l.dx,o-l.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return b["c"].length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return b["c"].pointAt(n,r,i,o,t)},e}(u),j=w,C=n("iTfj"),S=n("LvGN"),k={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return Object(C["isNil"])(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,s=r.symbol||"circle",c=this._getR(r);if(Object(a["h"])(s))t=s,n=t(i,o,c),n=Object(S["path2Absolute"])(n);else{if(t=e.Symbols[s],!t)return console.warn(s+" marker is not supported."),null;n=t(i,o,c)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");Object(s["e"])(this,t,{path:e},n)},e.Symbols=k,e}(u),_=M;function A(t,e,n){var r=Object(o["getOffScreenContext"])();return t.createPath(r),r.isPointInPath(e,n)}var T=1e-6;function E(t){return Math.abs(t)0!==E(s[1]-n)>0&&E(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}var I=n("6JdA"),F=n("n+fv");function D(t,e,n,r,i,o,s,c){var l=(Math.atan2(c-e,s-t)+2*Math.PI)%(2*Math.PI);if(li)return!1;var u={x:t+n*Math.cos(l),y:e+n*Math.sin(l)};return Object(a["b"])(u.x,u.y,s,c)<=o/2}var B=I["ext"].transform;function R(t){for(var e=!1,n=t.length,r=0;rw?O:w,_=O>w?1:O/w,A=O>w?w/O:1,T=B(null,[["t",-v,-m],["r",-S],["s",1/_,1/A]]);F["transformMat3"](k,k,T),o=D(0,0,M,j,C,e,k[0],k[1]);break;default:break}if(o)break}}return o}function Y(t){for(var e=t.length,n=[],r=[],i=[],o=0;o0&&r.push(i),{polygons:n,polylines:r}}var z=Object(i["a"])({hasArc:R,extractPolygons:Y,isPointInStroke:N},o["PathUtil"]);function G(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var o=i[n];if(Object(C["isNil"])(o)||Object(C["isNil"])(n))return null;var a=o.length,s=i[n+1];return b["b"].pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",z.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(Object(C["each"])(s,function(t,e){n=s[e+1],r=t.length,n&&(i+=b["b"].length(t[r-2],t[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)}),this.set("totalLength",i),0!==i?(Object(C["each"])(s,function(c,l){n=s[l+1],r=c.length,n&&(t=[],t[0]=o/i,e=b["b"].length(c[r-2],c[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=e||0,t[1]=o/i,a.push(t))}),this.set("tCache",a)):this.set("tCache",[]))},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([i[0]-o[0],i[1]-o[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(u),X=V;function W(t,e,n,r,i){var o=t.length;if(o<2)return!1;for(var a=0;a=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),b["c"].pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(C["each"])(t,function(a,s){t[s+1]&&(n=[],n[0]=i/e,r=b["c"].length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(u),Z=q,K=n("r0DC");function Q(t,e,n,r,i,o,s){var c=i/2;return Object(a["e"])(t-c,e-c,n,i,o,s)||Object(a["e"])(t+n-c,e-c,i,r,o,s)||Object(a["e"])(t+c,e+r-c,n,i,o,s)||Object(a["e"])(t-c,e+c,i,r,o,s)}function $(t,e,n,r,i,o,a,s){return x(t+i,e,t+n-i,e,o,a,s)||x(t+n,e+i,t+n,e+r-i,o,a,s)||x(t+n-i,e+r,t+i,e+r,o,a,s)||x(t,e+r-i,t,e+i,o,a,s)||D(t+n-i,e+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||D(t+n-i,e+r-i,i,0,.5*Math.PI,o,a,s)||D(t+i,e+r-i,i,.5*Math.PI,Math.PI,o,a,s)||D(t+i,e+i,i,Math.PI,1.5*Math.PI,o,a,s)}var J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),s=o.x,c=o.y,l=o.width,u=o.height,h=o.radius;if(h){var f=!1;return n&&(f=$(s,c,l,u,h,i,t,e)),!f&&r&&(f=A(this,t,e)),f}var p=i/2;return r&&n?Object(a["e"])(s-p,c-p,l+p,u+p,t,e):r?Object(a["e"])(s,c,l,u,t,e):n?Q(s,c,l,u,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,a=e.radius;if(t.beginPath(),0===a)t.rect(n,r,i,o);else{var s=Object(K["a"])(a),c=s[0],l=s[1],u=s[2],h=s[3];t.moveTo(n+c,r),t.lineTo(n+i-l,r),0!==l&&t.arc(n+i-l,r+l,l,-Math.PI/2,0),t.lineTo(n+i,r+o-u),0!==u&&t.arc(n+i-u,r+o-u,u,0,Math.PI/2),t.lineTo(n+h,r+o),0!==h&&t.arc(n+h,r+o-h,h,Math.PI/2,Math.PI),t.lineTo(n,r+c),0!==c&&t.arc(n+c,r+c,c,Math.PI,1.5*Math.PI),t.closePath()}},e}(u),tt=J,et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=Object(o["assembleFont"])(t)},e.prototype._setText=function(t){var e=null;Object(a["k"])(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,c=i.x,l=i.y,u=1*i.fontSize,h=this._getSpaceingY(),f=Object(o["getTextHeight"])(i.text,i.fontSize,i.lineHeight);Object(a["c"])(e,function(e,i){r=l+i*(h+u)-f+u,"middle"===s&&(r+=f-u-(f-u)/2),"top"===s&&(r+=f-u),n?t.fillText(e,c,r):t.strokeText(e,c,r)})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var a=n.text;e?t.fillText(a,r,i):t.strokeText(a,r,i)}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(Object(a["i"])(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(Object(a["i"])(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(u),nt=et;n.d(e,"Base",function(){return u}),n.d(e,"Circle",function(){return f}),n.d(e,"Ellipse",function(){return g}),n.d(e,"Image",function(){return m}),n.d(e,"Line",function(){return j}),n.d(e,"Marker",function(){return _}),n.d(e,"Path",function(){return X}),n.d(e,"Polygon",function(){return U}),n.d(e,"Polyline",function(){return Z}),n.d(e,"Rect",function(){return tt}),n.d(e,"Text",function(){return nt})},RKh7:function(t,e,n){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,c=e+1,l=t.md.block.ruler.getRules("paragraph"),u=t.lineMax;for(s=t.parentType,t.parentType="paragraph";c3)&&!(t.sCount[c]<0)){for(r=!1,i=0,o=l.length;i=a)return-1;if(n=t.src.charCodeAt(o++),n<48||n>57)return-1;for(;;){if(o>=a)return-1;if(n=t.src.charCodeAt(o++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o=4)return!1;if(t.listIndent>=0&&t.sCount[e]-t.listIndent>=4&&t.sCount[e]=t.blkIndent&&(F=!0),(A=o(t,e))>=0){if(p=!0,E=t.bMarks[e]+t.tShift[e],b=Number(t.src.substr(E,A-E-1)),F&&1!==b)return!1}else{if(!((A=i(t,e))>=0))return!1;p=!1}if(F&&t.skipSpaces(A)>=t.eMarks[e])return!1;if(m=t.src.charCodeAt(A-1),r)return!0;v=t.tokens.length,p?(I=t.push("ordered_list_open","ol",1),1!==b&&(I.attrs=[["start",b]])):I=t.push("bullet_list_open","ul",1),I.map=y=[e,0],I.markup=String.fromCharCode(m),O=e,T=!1,L=t.md.block.ruler.getRules("list"),C=t.parentType,t.parentType="list";while(O=x?1:w-f,h>4&&(h=1),u=f+h,I=t.push("list_item_open","li",1),I.markup=String.fromCharCode(m),I.map=d=[e,0],M=t.tight,k=t.tShift[e],S=t.sCount[e],j=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=u,t.tight=!0,t.tShift[e]=c-t.bMarks[e],t.sCount[e]=w,c>=x&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,e,n,!0),t.tight&&!T||(D=!1),T=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=j,t.tShift[e]=k,t.sCount[e]=S,t.tight=M,I=t.push("list_item_close","li",-1),I.markup=String.fromCharCode(m),O=e=t.line,d[1]=O,c=t.bMarks[e],O>=n)break;if(t.sCount[O]=4)break;for(P=!1,l=0,g=L.length;l=o)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},a.prototype.parse=function(t,e,n,r){var i,o,a,s=new this.State(t,e,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;i=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=r/(2*n),o=e.nodeWidthRatio;if(o<=0||o>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var a=0;t.forEach(function(t){a+=t.value}),t.forEach(function(t){t.weight=t.value/a,t.width=t.weight*(1-r),t.height=o}),t.forEach(function(n,r){for(var a=0,s=r-1;s>=0;s--)a+=t[s].width+2*i;var c=n.minX=i+a,l=n.maxX=n.minX+n.width,u=n.minY=e.y-o/2,h=n.maxY=u+o;n.x=[c,l,l,c],n.y=[u,u,h,h]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}return t}function p(t,e,n){if(n.weight){var r={};Object(c["forIn"])(t,function(t,e){r[e]=t.value}),e.forEach(function(e){var i=n.source(e),o=n.target(e),a=t[i],s=t[o];if(a&&s){var c=r[i],l=n.sourceWeight(e),u=a.minX+(a.value-c)/a.value*a.width,h=u+l/a.value*a.width;r[i]-=l;var f=r[o],p=n.targetWeight(e),d=s.minX+(s.value-f)/s.value*s.width,g=d+p/s.value*s.width;r[o]-=p;var y=n.y;e.x=[u,h,d,g],e.y=[y,y,y,y],e.source=a,e.target=s}})}else e.forEach(function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y],e.source=r,e.target=i)});return e}function d(t){return Object(c["assign"])({},l,t)}function g(t,e){var n=d(t),r={},i=e.nodes,o=e.links;i.forEach(function(t){var e=n.id(t);r[e]=t}),u(r,o,n),h(i,n);var a=f(i,n),s=p(r,o,n);return{nodes:a,links:s}}var y=n("DyAw"),v="x",m="y",b="name",x="source";function O(t){var e=t.options,n=e.data,i=e.sourceField,o=e.targetField,a=e.weightField,s=e.nodePaddingRatio,c=e.nodeWidthRatio,l=Object(y["b"])(n,i,o,a),u=g({weight:!0,nodePaddingRatio:s,nodeWidthRatio:c},l),h=u.nodes,f=u.links,p=h.map(function(t){return{id:t.id,x:t.x,y:t.y,name:t.name}}),d=f.map(function(t){return{source:t.source.name,target:t.target.name,x:t.x,y:t.y,value:t.value}});return Object(r["a"])(Object(r["a"])({},t),{ext:Object(r["a"])(Object(r["a"])({},t.ext),{chordData:{nodesData:p,edgesData:d}})})}function w(t){var e,n=t.chart;return n.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[b]={sync:"color"},e[x]={sync:"color"},e)),t}function j(t){var e=t.chart;return e.axis(!1),t}function C(t){var e=t.chart;return e.legend(!1),t}function S(t){var e=t.chart;return e.tooltip({showTitle:!1,showMarkers:!1}),t}function k(t){var e=t.chart;return e.coordinate("polar").reflect("y"),t}function M(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,o=n.label,a=e.createView();return a.data(r),Object(s["f"])({chart:a,options:{xField:v,yField:m,seriesField:b,polygon:{style:i},label:o,tooltip:!1}}),t}function _(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,o=n.tooltip,a=e.createView();a.data(r);var c={xField:v,yField:m,seriesField:x,edge:{style:i,shape:"arc"},tooltip:o};return Object(s["b"])({chart:a,options:c}),t}function A(t){return Object(a["e"])(O,k,w,j,C,S,_,M,o["c"],o["a"],o["j"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){var n=(t[0]+t[1])/2,r=n>.5?-4:4;return{labelEmit:!0,style:{fill:"#8c8c8c"},offsetX:r,content:e}}},tooltip:{fields:["source","target","value"],formatter:function(t){var e=t.source,n=t.target,r=t.value;return{name:e+" -> "+n,value:r}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05}},e.prototype.getSchemaAdaptor=function(){return A}})(i["a"])},VaNO:function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},"Vlv/":function(t,e,n){"use strict";e.parseLinkLabel=n("31bW"),e.parseLinkDestination=n("5Mrk"),e.parseLinkTitle=n("fZFN")},Vwaf:function(t,e,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",o="'[^']*'",a='"[^"]*"',s="(?:"+i+"|"+o+"|"+a+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",h="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",f="<[?].*?[?]>",p="]*>",d="",g=new RegExp("^(?:"+l+"|"+u+"|"+h+"|"+f+"|"+p+"|"+d+")"),y=new RegExp("^(?:"+l+"|"+u+")");t.exports.HTML_TAG_RE=g,t.exports.HTML_OPEN_CLOSE_TAG_RE=y},W1Rp:function(t,e,n){"use strict";var r=n("vWgF"),i=n("AGgm").has,o=n("AGgm").isValidEntityCode,a=n("AGgm").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,e){var n,l,u,h=t.pos,f=t.posMax;if(38!==t.src.charCodeAt(h))return!1;if(h+1|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,r){var i,a,s,c,l=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(l))return!1;for(c=t.src.slice(l,u),i=0;i0&&(e?"stroke"in n?this._setColor(t,"stroke",o):"strokeStyle"in n&&this._setColor(t,"stroke",a):this._setColor(t,"stroke",o||a),c&&h.setAttribute(l["b"]["strokeOpacity"],c),u&&h.setAttribute(l["b"]["lineWidth"],u))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(l["b"][e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(l["b"][e],"url(#"+i+")")}else r.setAttribute(l["b"][e],n);else r.setAttribute(l["b"][e],"none")},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,o=r.shadowOffsetY,s=r.shadowBlur,c=r.shadowColor;(i||o||s||c)&&Object(a["b"])(this,t)},e.prototype.transform=function(t){var e=this.attr(),n=(t||e).matrix;n&&Object(a["c"])(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas"),i=r.get("el").getBoundingClientRect(),o=t+i.left,a=e+i.top,s=document.elementFromPoint(o,a);return!(!s||!s.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(o["AbstractShape"]),f=h,p=n("iTfj"),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e}(f),g=d,y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return Object(i["b"])(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(Object(p["each"])(e||n,function(t,e){l["b"][e]&&r.setAttribute(l["b"][e],t)}),"function"===typeof n["html"]){var i=n["html"].call(this,n);if(i instanceof Element||i instanceof HTMLDocument){for(var o=r.childNodes,a=o.length-1;a>=0;a--)r.removeChild(o[a]);r.appendChild(i)}else r.innerHTML=i}else r.innerHTML=n["html"]},e}(f),v=y,m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e}(f),b=m,x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(p["each"])(e||r,function(t,e){"img"===e?n._setImage(r.img):l["b"][e]&&i.setAttribute(l["b"][e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(Object(p["isString"])(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&Object(p["isString"])(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(f),O=x,w=n("EYNi"),j=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(e,i){if("startArrow"===i||"endArrow"===i)if(e){var o=Object(p["isObject"])(e)?t.addArrow(n,l["b"][i]):t.getDefaultArrow(n,l["b"][i]);r.setAttribute(l["b"][i],"url(#"+o+")")}else r.removeAttribute(l["b"][i]);else l["b"][i]&&r.setAttribute(l["b"][i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return w["c"].length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return w["c"].pointAt(n,r,i,o,t)},e}(f),C=j,S={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},k={get:function(t){return S[t]},register:function(t,e){S[t]=e},remove:function(t){delete S[t]},getAll:function(){return S}},M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.createPath=function(t){var e=this.get("el");e.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return Object(p["isArray"])(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return t=Object(p["isFunction"])(o)?o:k.get(o),t?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=k,e}(f),_=M,A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(p["each"])(e||r,function(e,o){if("path"===o&&Object(p["isArray"])(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===o||"endArrow"===o)if(e){var a=Object(p["isObject"])(e)?t.addArrow(r,l["b"][o]):t.getDefaultArrow(r,l["b"][o]);i.setAttribute(l["b"][o],"url(#"+a+")")}else i.removeAttribute(l["b"][o]);else l["b"][o]&&i.setAttribute(l["b"][o],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(f),T=A,E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"points"===e&&Object(p["isArray"])(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e}(f),P=E,L=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(p["each"])(e||n,function(t,e){"points"===e&&Object(p["isArray"])(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):l["b"][e]&&r.setAttribute(l["b"][e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return Object(p["isNil"])(e)?(this.set("totalLength",w["d"].length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),Object(p["each"])(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),w["c"].pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(p["each"])(t,function(a,s){t[s+1]&&(n=[],n[0]=i/e,r=w["c"].length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(f),I=L;function F(t){var e=0,n=0,r=0,i=0;return Object(p["isArray"])(t)?1===t.length?e=n=r=i=t[0]:2===t.length?(e=r=t[0],n=i=t[1]):3===t.length?(e=t[0],n=i=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],i=t[3]):e=n=r=i=t,{r1:e,r2:n,r3:r,r4:i}}var D=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,a=["x","y","width","height","radius"];Object(p["each"])(e||r,function(t,e){-1===a.indexOf(e)||o?-1===a.indexOf(e)&&l["b"][e]&&i.setAttribute(l["b"][e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var a=F(o);Object(p["isArray"])(o)?1===o.length?a.r1=a.r2=a.r3=a.r4=o[0]:2===o.length?(a.r1=a.r3=o[0],a.r2=a.r4=o[1]):3===o.length?(a.r1=o[0],a.r2=a.r4=o[1],a.r3=o[2]):(a.r1=o[0],a.r2=o[1],a.r3=o[2],a.r4=o[3]):a.r1=a.r2=a.r3=a.r4=o;var s=[["M "+(e+a.r1)+","+n],["l "+(r-a.r1-a.r2)+",0"],["a "+a.r2+","+a.r2+",0,0,1,"+a.r2+","+a.r2],["l 0,"+(i-a.r2-a.r3)],["a "+a.r3+","+a.r3+",0,0,1,"+-a.r3+","+a.r3],["l "+(a.r3+a.r4-r)+",0"],["a "+a.r4+","+a.r4+",0,0,1,"+-a.r4+","+-a.r4],["l 0,"+(a.r4+a.r1-i)],["a "+a.r1+","+a.r1+",0,0,1,"+a.r1+","+-a.r1],["z"]];return s.join(" ")},e}(f),B=D,R=n("e0ae"),N=.3,Y={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},z={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},G={left:"left",start:"left",center:"middle",right:"end",end:"end"},V=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return Object(i["b"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i["a"])(Object(i["a"])({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),Object(p["each"])(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?Object(a["c"])(n):l["b"][e]&&i.setAttribute(l["b"][e],t)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=Object(R["a"])();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",z[n]||"alphabetic"):t.setAttribute("alignment-baseline",Y[n]||"baseline"),t.setAttribute("text-anchor",G[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t)if(~t.indexOf("\n")){var a=t.split("\n"),s=a.length-1,c="";Object(p["each"])(a,function(t,e){0===e?"alphabetic"===o?c+=''+t+"":"top"===o?c+=''+t+"":"middle"===o?c+=''+t+"":"bottom"===o?c+=''+t+"":"hanging"===o&&(c+=''+t+""):c+=''+t+""}),e.innerHTML=c}else e.innerHTML=t;else e.innerHTML=""},e}(f),X=V;n.d(e,"Base",function(){return f}),n.d(e,"Circle",function(){return g}),n.d(e,"Dom",function(){return v}),n.d(e,"Ellipse",function(){return b}),n.d(e,"Image",function(){return O}),n.d(e,"Line",function(){return C}),n.d(e,"Marker",function(){return _}),n.d(e,"Path",function(){return T}),n.d(e,"Polygon",function(){return P}),n.d(e,"Polyline",function(){return I}),n.d(e,"Rect",function(){return B}),n.d(e,"Text",function(){return X})},aSjE:function(t,e,n){"use strict";function r(t,e){var n=[],r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],l=t[6],u=t[7],h=t[8],f=e[0],p=e[1],d=e[2],g=e[3],y=e[4],v=e[5],m=e[6],b=e[7],x=e[8];return n[0]=f*r+p*a+d*l,n[1]=f*i+p*s+d*u,n[2]=f*o+p*c+d*h,n[3]=g*r+y*a+v*l,n[4]=g*i+y*s+v*u,n[5]=g*o+y*c+v*h,n[6]=m*r+b*a+x*l,n[7]=m*i+b*s+x*u,n[8]=m*o+b*c+x*h,n}function i(t,e){var n=[],r=e[0],i=e[1];return n[0]=t[0]*r+t[3]*i+t[6],n[1]=t[1]*r+t[4]*i+t[7],n}function o(t){var e=[],n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],l=t[7],u=t[8],h=u*a-s*l,f=-u*o+s*c,p=l*o-a*c,d=n*h+r*f+i*p;return d?(d=1/d,e[0]=h*d,e[1]=(-u*r+i*l)*d,e[2]=(s*r-i*a)*d,e[3]=f*d,e[4]=(u*n-i*c)*d,e[5]=(-s*n+i*o)*d,e[6]=p*d,e[7]=(-l*n+r*c)*d,e[8]=(a*n-r*o)*d,e):null}n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o})},adU4:function(t,e,n){var r=n("y1pI"),i=Array.prototype,o=i.splice;function a(t){var e=this.__data__,n=r(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():o.call(e,n,1),--this.size,!0}t.exports=a},b80T:function(t,e,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),s=n("wJg7"),c=n("c6wG"),l=Object.prototype,u=l.hasOwnProperty;function h(t,e){var n=o(t),l=!n&&i(t),h=!n&&!l&&a(t),f=!n&&!l&&!h&&c(t),p=n||l||h||f,d=p?r(t.length,String):[],g=d.length;for(var y in t)!e&&!u.call(t,y)||p&&("length"==y||h&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||d.push(y);return d}t.exports=h},bgCn:function(t,e,n){"use strict";for(var r=n("AGgm").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){i[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o=t.pos,a=t.posMax;if(92!==t.src.charCodeAt(o))return!1;if(o++,oe)n.insertBefore(t,i);else if(o\n \n \n '+n+':\n '+r+"\n \n "}),l.innerHTML=u,l}function w(t){var e=t.chart,n=t.options,r=n.color,o=n.colorField,s=n.sunburstStyle,c=x(n);return e.data(c),Object(a["f"])(Object(i["b"])({},t,{options:{xField:"x",yField:"y",seriesField:o,polygon:{color:r,style:s}}})),t}function j(t){var e=t.chart;return e.axis(!1),t}function C(t){var e=t.chart;return e.legend(!1),t}function S(t){var e=t.chart,n=t.options,o=n.label,a=n.seriesField,s=Object(i["c"])(e,"polygon");if(o){var c=o.callback,l=Object(r["c"])(o,["callback"]);s.label({fields:[a],callback:c,cfg:Object(i["o"])(l)})}else s.label(!1);return t}function k(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius,o=n.reflect,a=e.coordinate({type:"polar",cfg:{innerRadius:r,radius:i}});return o&&a.reflect(o),t}function M(t){var e=t.chart,n=t.options,r=n.meta;return r&&e.scale(r),t}function _(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.seriesField,a=n.colorField;return i&&e.tooltip(Object(r["a"])(Object(r["a"])({},i),{customContent:i&&i.customContent?i.customContent:function(t,e){return O({value:t,items:e,formatter:i&&(null===i||void 0===i?void 0:i.formatter),fields:i&&i.fields||[o,a]})}})),t}function A(t){return Object(i["e"])(w,s["j"],j,M,C,k,_,S,s["c"],s["a"],Object(s["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="sunburst",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(i["b"])({},t.prototype.getDefaultOptions.call(this),{type:"partition",innerRadius:0,seriesField:"value",tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1}})},e.prototype.getSchemaAdaptor=function(){return A}})(o["a"])},cTMM:function(t,e,n){"use strict";var r=n("CWsV");function i(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}i.prototype.Token=r,t.exports=i},"cq/+":function(t,e,n){var r=n("mc0g"),i=r();t.exports=i},cvCv:function(t,e){function n(t){return function(){return t}}t.exports=n},cyZq:function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"l",function(){return c}),n.d(e,"j",function(){return l});var r=n("iTfj");function i(){return window?window.devicePixelRatio:1}function o(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function a(t,e,n,r,i,o){return i>=t&&i<=t+n&&o>=e&&o<=e+r}function s(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;et.minX&&this.minYt.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();function a(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}e.BBox=o,e.getRegionBBox=function(t,e){var n=e.start,r=e.end;return new o(t.x+t.width*n.x,t.y+t.height*n.y,t.width*Math.abs(r.x-n.x),t.height*Math.abs(r.y-n.y))},e.toPoints=a},de35:function(t,e,n){"use strict";var r=n("LHnb"),i=n("fIp6"),o=n("iTfj"),a=n("5UbV"),s=n("NmWf"),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{container:null,containerTpl:"
      ",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return Object(a["b"])(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");Object(a["a"])(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(Object(o["isNil"])(t)){t=this.createDom();var e=this.get("parent");Object(o["isString"])(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.set("container",t)}else Object(o["isString"])(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?Object(o["deepMix"])({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&Object(a["h"])(e,n)){var r=t[n];Object(i["e"])(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){Object(o["each"])(e,function(e,n){var r=t.getElementsByClassName(n);Object(o["each"])(r,function(t){Object(i["e"])(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");Object(i["e"])(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Object(i["b"])(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){Object(o["hasKey"])(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(s["a"]);e["a"]=c},dpam:function(t,e,n){"use strict";var r=n("SINd"),i=[["table",n("gNPE"),["paragraph","reference"]],["code",n("nBLk")],["fence",n("vys+"),["paragraph","reference","blockquote","list"]],["blockquote",n("6A5J"),["paragraph","reference","blockquote","list"]],["hr",n("/f6Q"),["paragraph","reference","blockquote","list"]],["list",n("Sz5L"),["paragraph","reference","blockquote"]],["reference",n("1nBO")],["heading",n("B1jb"),["paragraph","reference","blockquote"]],["lheading",n("GZ5e")],["html_block",n("X71X"),["paragraph","reference","blockquote"]],["paragraph",n("RKh7")]];function o(){this.ruler=new r;for(var t=0;t=n)break;if(t.sCount[s]=l){t.line=n;break}for(i=0;i0&&this.handleMarkers(j);var M=this.editor.$options;c.editorOptions.forEach(function(e){M.hasOwnProperty(e)?t.editor.setOption(e,t.props[e]):t.props[e]&&console.warn("ReactAce: editor option "+e+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray(O)&&O.forEach(function(e){"string"===typeof e.exec?t.editor.commands.bindKey(e.bindKey,e.exec):t.editor.commands.addCommand(e)}),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),x&&x(this.editor),this.editor.resize(),a&&this.editor.focus()},e.prototype.componentDidUpdate=function(t){for(var e=t,n=this.props,r=0;rf&&(r=[f,h],h=r[0],f=r[1],o=[n,e],e=o[0],n=o[1],p=!0);var d=e.getBBox(),g=n.getBBox(),y=d.width>h-l?{x:h+u/2+l,textAlign:"left"}:{x:h-u/2-l,textAlign:"right"},v=g.width>c-f-l?{x:f-u/2-l,textAlign:"right"}:{x:f+u/2+l,textAlign:"left"};return p?[v,y]:[y,v]},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e}(o["a"]);n.d(e,"a",function(){return k})},fGT3:function(t,e,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");function a(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}t.exports=a},fIp6:function(t,e,n){"use strict";function r(t,e,n){if(t){if("function"===typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"===typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}var i,o,a,s;function c(){i=document.createElement("table"),o=document.createElement("tr"),a=/^\s*<(\w+|!)[^>]*>/,s={tr:document.createElement("tbody"),tbody:i,thead:i,tfoot:i,td:o,th:o,"*":document.createElement("div")}}function l(t){i||c();var e=a.test(t)&&RegExp.$1;e&&e in s||(e="*");var n=s[e];t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t;var r=n.childNodes[0];return n.removeChild(r),r}function u(t,e,n){var r;try{r=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(t){}finally{r=void 0===r?n:r}return r}function h(t,e){var n=u(t,"height",e);return"auto"===n&&(n=t.offsetHeight),parseFloat(n)}function f(t,e){var n=h(t,e),r=parseFloat(u(t,"borderTopWidth"))||0,i=parseFloat(u(t,"paddingTop"))||0,o=parseFloat(u(t,"paddingBottom"))||0,a=parseFloat(u(t,"borderBottomWidth"))||0,s=parseFloat(u(t,"marginTop"))||0,c=parseFloat(u(t,"marginBottom"))||0;return n+r+a+i+o+s+c}function p(t,e){var n=u(t,"width",e);return"auto"===n&&(n=t.offsetWidth),parseFloat(n)}function d(t,e){var n=p(t,e),r=parseFloat(u(t,"borderLeftWidth"))||0,i=parseFloat(u(t,"paddingLeft"))||0,o=parseFloat(u(t,"paddingRight"))||0,a=parseFloat(u(t,"borderRightWidth"))||0,s=parseFloat(u(t,"marginRight"))||0,c=parseFloat(u(t,"marginLeft"))||0;return n+r+a+i+o+c+s}function g(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}n.d(e,"a",function(){return r}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return d}),n.d(e,"e",function(){return g})},"fMI+":function(t,e,n){"use strict";var r=n("AGgm").assign,i=n("AGgm").unescapeAll,o=n("AGgm").escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(t,e,n,r,i){var a=t[e];return""+o(t[e].content)+""},a.code_block=function(t,e,n,r,i){var a=t[e];return""+o(t[e].content)+"\n"},a.fence=function(t,e,n,r,a){var s,c,l,u,h,f=t[e],p=f.info?i(f.info).trim():"",d="",g="";return p&&(l=p.split(/(\s+)/g),d=l[0],g=l.slice(2).join("")),s=n.highlight&&n.highlight(f.content,d,g)||o(f.content),0===s.indexOf(""+s+"\n"):"
      "+s+"
      \n"},a.image=function(t,e,n,r,i){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(t,e,n)},a.hardbreak=function(t,e,n){return n.xhtmlOut?"
      \n":"
      \n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
      \n":"
      \n":"\n"},a.text=function(t,e){return o(t[e].content)},a.html_block=function(t,e){return t[e].content},a.html_inline=function(t,e){return t[e].content},s.prototype.renderAttrs=function(t){var e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">",i)},s.prototype.renderInline=function(t,e,n){for(var r,i="",o=this.rules,a=0,s=t.length;a0?e="start":t[0]<0&&(e="end"),e},e.prototype.getTextBaseline=function(t){var e;return Object(l["isNumberEqual"])(t[1],0)?e="middle":t[1]>0?e="top":t[1]<0&&(e="bottom"),e},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var e=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:Object(l["mix"])({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],r=this.get("tickLine"),i=r.alignTick,o=r.length,a=1,s=t.length;return s>=2&&(a=t[1].value-t[0].value),Object(l["each"])(t,function(t){var r=t.point;i||(r=e.getTickPoint(t.value-a/2));var s=e.getSidePoint(r,o);n.push({startPoint:r,tickValue:t.value,endPoint:s,tickId:t.id,id:"tickline-"+t.id})}),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),r=n.count,i=t.length;if(i>=2)for(var o=0;oe.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var c=Math.abs(Math.cos(o));i=Object(w["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}else{c=Math.abs(Math.sin(o));i=Object(w["i"])(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}return i}function k(t,e,n,r){var i=(null===r||void 0===r?void 0:r.minGap)||0,o=e.getChildren().slice().filter(function(t){return t.get("visible")});if(!o.length)return!1;var a=!1;n&&o.reverse();for(var s=o.length,c=o[0],l=c,u=1;u1){f=Math.ceil(f);for(var g=0;g2){var a=i[0],s=i[i.length-1];a.get("visible")||(a.show(),k(t,e,!1,r)&&(o=!0)),s.get("visible")||(s.show(),k(t,e,!0,r)&&(o=!0))}return o}function I(t,e){Object(l["each"])(t,function(t){var n=t.attr("x"),r=t.attr("y"),i=Object(h["e"])({x:n,y:r},e);t.attr("matrix",i)})}function F(t,e,n,r){var i=e.getChildren();if(!i.length)return!1;if(!t&&i.length<2)return!1;var o=Object(y["b"])(i),a=!1;if(t)a=!!n&&o>n;else{var s=Math.abs(i[1].attr("x")-i[0].attr("x"));a=o>s}if(a){var c=r(n,o);I(i,c)}return a}function D(){return B}function B(t,e,n,r){return F(t,e,n,function(){return Object(l["isNumber"])(r)?r:t?p["a"].verticalAxisRotate:p["a"].horizontalAxisRotate})}function R(t,e,n){return F(t,e,n,function(e,n){if(!e)return t?p["a"].verticalAxisRotate:p["a"].horizontalAxisRotate;if(t)return-Math.acos(e/n);var r=0;return e>n?r=Math.PI/4:(r=Math.asin(e/n),r>Math.PI/4&&(r=Math.PI/4)),r})}var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s["a"])(Object(s["a"])({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),r=t.prototype.getInnerLayoutBBox.call(this),i=Math.min(e.x,n.x,r.x),o=Math.min(e.y,n.y,r.y),a=Math.max(e.x,n.x,r.maxX),s=Math.max(e.y,n.y,r.maxY);return{x:i,y:o,minX:i,minY:o,maxX:a,maxY:s,width:a-i,height:s-o}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return Object(l["isNumberEqual"])(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return Object(l["isNumberEqual"])(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this,n=e.get("start"),r=e.get("end"),i=r.x-n.x,o=r.y-n.y;return{x:n.x+i*t,y:n.y+o*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=c["vec2"].normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return c["vec2"].scale([0,0],i,t*r)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),r=this.isHorizontal();if(n||r){var i=this.get("label"),o=this.get("title"),a=this.get("verticalLimitLength"),s=i.offset,c=a,u=0,h=0;o&&(u=o.style.fontSize,h=o.spacing),c&&(c=c-s-h-u);var f=this.get("overlapOrder");if(Object(l["each"])(f,function(n){i[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,i[n],t,c)}),o&&Object(l["isNil"])(o.offset)){var p=t.getCanvasBBox(),d=n?p.width:p.height;o.offset=s+d+h+u/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||Object(l["isNil"])(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,o=this.isVertical(),s=!1,c=a[t];if(!0===e){this.get("label");s=c.getDefault()(o,n,r)}else if(Object(l["isFunction"])(e))s=e(o,n,r);else if(Object(l["isObject"])(e)){var u=e;c[u.type]&&(s=c[u.type](o,n,r,u.cfg))}else c[e]&&(s=c[e](o,n,r));if("autoRotate"===t){if(s){var h=n.getChildren(),f=this.get("verticalFactor");Object(l["each"])(h,function(t){var e=t.attr("textAlign");if("center"===e){var n=f>0?"end":"start";t.attr("textAlign",n)}})}}else if("autoHide"===t){var p=n.getChildren().slice(0);Object(l["each"])(p,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(g),Y=N,z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s["a"])(Object(s["a"])({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,r=this.get("radius"),i=r,o=this.get("startAngle"),a=this.get("endAngle"),s=[];if(Math.abs(a-o)===2*Math.PI)s=[["M",e,n-i],["A",r,i,0,1,1,e,n+i],["A",r,i,0,1,1,e,n-i],["Z"]];else{var c=this.getCirclePoint(o),l=this.getCirclePoint(a),u=Math.abs(a-o)>Math.PI?1:0,h=o>a?0:1;s=[["M",e,n],["L",c.x,c.y],["A",r,i,0,u,h,l.x,l.y],["L",e,n]]}return s},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=this.get("endAngle"),r=e+(n-e)*t;return this.getCirclePoint(r)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y],i=this.get("verticalFactor"),o=c["vec2"].length(r);return c["vec2"].scale(r,r,i*t/o),r},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e}(g),G=z;n.d(e,"Line",function(){return Y}),n.d(e,"Circle",function(){return G}),n.d(e,"Base",function(){return g})},fW3x:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerSymbols=void 0,e.MarkerSymbols={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}}},fZFN:function(t,e,n){"use strict";var r=n("AGgm").unescapeAll;t.exports=function(t,e,n){var i,o,a=0,s=e,c={ok:!1,pos:0,lines:0,str:""};if(e>=n)return c;if(o=t.charCodeAt(e),34!==o&&39!==o&&40!==o)return c;e++,40===o&&(o=41);while(e0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te)if(!i(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;tn)if(e!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,e,n,r){var o,a,s,c,l,u,h,f=t;if(t>=e)return"";for(u=new Array(e-t),o=0;fn?new Array(a-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},o.prototype.Token=r,t.exports=o},g40J:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s,c,l,u={},h=e.length;for(n=0;na;r-=o.jump+1)if(o=e[r],o.marker===i.marker&&(-1===s&&(s=r),o.open&&o.end<0&&(c=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3===0&&i.length%3===0||(c=!0)),!c))){l=r>0&&!e[r-1].open?e[r-1].jump+1:0,i.jump=n-r+l,i.open=!1,o.end=n,o.jump=l,o.close=!1,s=-1;break}-1!==s&&(u[i.marker][(i.length||0)%3]=s)}}t.exports=function(t){var e,n=t.tokens_meta,i=t.tokens_meta.length;for(r(t,t.delimiters),e=0;en)return!1;if(f=e+1,t.sCount[f]=4)return!1;if(l=t.bMarks[f]+t.tShift[f],l>=t.eMarks[f])return!1;if(s=t.src.charCodeAt(l++),124!==s&&45!==s&&58!==s)return!1;while(l=4)return!1;if(p=o(c),p.length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),d=p.length,0===d||d!==y.length)return!1;if(a)return!0;for(x=t.parentType,t.parentType="table",w=t.md.block.ruler.getRules("blockquote"),g=t.push("table_open","table",1),g.map=m=[e,0],g=t.push("thead_open","thead",1),g.map=[e,e+1],g=t.push("tr_open","tr",1),g.map=[e,e+1],u=0;u=4)break;for(p=o(c),p.length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),f===e+2&&(g=t.push("tbody_open","tbody",1),g.map=b=[e+2,0]),g=t.push("tr_open","tr",1),g.map=[f,f+1],u=0;u-1},a=o,s=function(t,e){if(!i(t))return t;for(var n=[],r=0;r-1)G.call(t,o,1)}return t},W=X,H=Array.prototype.splice,U=function(t,e){if(!i(t))return[];var n=t?e.length:0,r=n-1;while(n--){var o=void 0,a=e[n];n!==r&&a===o||(o=a,H.call(t,a,1))}return t},q=U,Z=function(t,e,n){if(!v(t)&&!_(t))return t;var r=n;return x(t,function(t,n){r=e(r,t,n)}),r},K=Z,Q=function(t,e){var n=[];if(!i(t))return n;var r=-1,o=[],a=t.length;while(++re[i])return 1;if(t[i]n?n:t},Lt=Pt,It=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))},Ft=It,Dt=function(t){return p(t,"Number")},Bt=Dt,Rt=function(t){return Bt(t)&&t%1!==0},Nt=Rt,Yt=function(t){return Bt(t)&&t%2===0},zt=Yt,Gt=Number.isInteger?Number.isInteger:function(t){return Bt(t)&&t%1===0},Vt=Gt,Xt=function(t){return Bt(t)&&t<0},Wt=Xt,Ht=1e-5;function Ut(t,e,n){return void 0===n&&(n=Ht),Math.abs(t-e)0},Qt=Kt,$t=function(t,e){if(v(t)){var n,r,i=t[0];return n=d(e)?e(t[0]):t[0][e],x(t,function(t){r=d(e)?e(t):t[e],r>n&&(i=t,n=r)}),i}},Jt=function(t,e){if(v(t)){var n,r,i=t[0];return n=d(e)?e(t[0]):t[0][e],x(t,function(t){r=d(e)?e(t):t[e],re?(r&&(clearTimeout(r),r=null),s=l,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(c,u)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l},Tn=function(t){return i(t)?Array.prototype.slice.call(t):[]},En={},Pn=function(t){return t=t||"g",En[t]?En[t]+=1:En[t]=1,t+En[t]},Ln=function(){},In=function(t){return t};function Fn(t){return y(t)?0:i(t)?t.length:Object.keys(t).length}var Dn=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}(),Bn=Dn;n.d(e,"contains",function(){return a}),n.d(e,"includes",function(){return a}),n.d(e,"difference",function(){return u}),n.d(e,"find",function(){return T}),n.d(e,"findIndex",function(){return P}),n.d(e,"firstValue",function(){return I}),n.d(e,"flatten",function(){return D}),n.d(e,"flattenDeep",function(){return R}),n.d(e,"getRange",function(){return Y}),n.d(e,"pull",function(){return W}),n.d(e,"pullAt",function(){return q}),n.d(e,"reduce",function(){return K}),n.d(e,"remove",function(){return $}),n.d(e,"sortBy",function(){return et}),n.d(e,"union",function(){return ot}),n.d(e,"uniq",function(){return rt}),n.d(e,"valuesOfKey",function(){return at}),n.d(e,"head",function(){return st}),n.d(e,"last",function(){return ct}),n.d(e,"startsWith",function(){return ut}),n.d(e,"endsWith",function(){return ft}),n.d(e,"filter",function(){return c}),n.d(e,"every",function(){return dt}),n.d(e,"some",function(){return yt}),n.d(e,"group",function(){return wt}),n.d(e,"groupBy",function(){return bt}),n.d(e,"groupToMap",function(){return Ot}),n.d(e,"getWrapBehavior",function(){return Ct}),n.d(e,"wrapBehavior",function(){return kt}),n.d(e,"number2color",function(){return At}),n.d(e,"parseRadius",function(){return Et}),n.d(e,"clamp",function(){return Lt}),n.d(e,"fixedBase",function(){return Ft}),n.d(e,"isDecimal",function(){return Nt}),n.d(e,"isEven",function(){return zt}),n.d(e,"isInteger",function(){return Vt}),n.d(e,"isNegative",function(){return Wt}),n.d(e,"isNumberEqual",function(){return Ut}),n.d(e,"isOdd",function(){return Zt}),n.d(e,"isPositive",function(){return Qt}),n.d(e,"maxBy",function(){return $t}),n.d(e,"minBy",function(){return Jt}),n.d(e,"mod",function(){return ee}),n.d(e,"toDegree",function(){return ie}),n.d(e,"toInteger",function(){return oe}),n.d(e,"toRadian",function(){return ce}),n.d(e,"forIn",function(){return le}),n.d(e,"has",function(){return ue}),n.d(e,"hasKey",function(){return he}),n.d(e,"hasValue",function(){return de}),n.d(e,"keys",function(){return w}),n.d(e,"isMatch",function(){return C}),n.d(e,"values",function(){return pe}),n.d(e,"lowerCase",function(){return ve}),n.d(e,"lowerFirst",function(){return be}),n.d(e,"substitute",function(){return Oe}),n.d(e,"upperCase",function(){return je}),n.d(e,"upperFirst",function(){return Se}),n.d(e,"getType",function(){return _e}),n.d(e,"isArguments",function(){return Te}),n.d(e,"isArray",function(){return v}),n.d(e,"isArrayLike",function(){return i}),n.d(e,"isBoolean",function(){return Pe}),n.d(e,"isDate",function(){return Ie}),n.d(e,"isError",function(){return De}),n.d(e,"isFunction",function(){return d}),n.d(e,"isFinite",function(){return Be}),n.d(e,"isNil",function(){return y}),n.d(e,"isNull",function(){return Ne}),n.d(e,"isNumber",function(){return Bt}),n.d(e,"isObject",function(){return m}),n.d(e,"isObjectLike",function(){return k}),n.d(e,"isPlainObject",function(){return _}),n.d(e,"isPrototype",function(){return Ge}),n.d(e,"isRegExp",function(){return Xe}),n.d(e,"isString",function(){return J}),n.d(e,"isType",function(){return p}),n.d(e,"isUndefined",function(){return He}),n.d(e,"isElement",function(){return qe}),n.d(e,"requestAnimationFrame",function(){return Ze}),n.d(e,"clearAnimationFrame",function(){return Ke}),n.d(e,"augment",function(){return tn}),n.d(e,"clone",function(){return nn}),n.d(e,"debounce",function(){return on}),n.d(e,"memoize",function(){return an}),n.d(e,"deepMix",function(){return un}),n.d(e,"each",function(){return x}),n.d(e,"extend",function(){return fn}),n.d(e,"indexOf",function(){return dn}),n.d(e,"isEmpty",function(){return vn}),n.d(e,"isEqual",function(){return bn}),n.d(e,"isEqualWith",function(){return xn}),n.d(e,"map",function(){return wn}),n.d(e,"mapValues",function(){return Cn}),n.d(e,"mix",function(){return $e}),n.d(e,"assign",function(){return $e}),n.d(e,"get",function(){return Sn}),n.d(e,"set",function(){return kn}),n.d(e,"pick",function(){return _n}),n.d(e,"throttle",function(){return An}),n.d(e,"toArray",function(){return Tn}),n.d(e,"toString",function(){return ge}),n.d(e,"uniqueId",function(){return Pn}),n.d(e,"noop",function(){return Ln}),n.d(e,"identity",function(){return In}),n.d(e,"size",function(){return Fn}),n.d(e,"Cache",function(){return Bn})},"ijE+":function(t,e,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},itsj:function(t,e){function n(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=n},jYNY:function(t,e,n){var r=n("rgI+"),i=n("o9ul"),o=n("8wmI"),a="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,u=c.hasOwnProperty,h=l.call(Object);function f(t){if(!o(t)||r(t)!=a)return!1;var e=i(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}t.exports=f},jeLo:function(t,e,n){var r=n("juv8"),i=n("mTTR");function o(t){return r(t,i(t))}t.exports=o},jqgP:function(t,e,n){"use strict";n.d(e,"e",function(){return o}),n.d(e,"f",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return h});var r=n("6JdA"),i=[1,0,0,0,1,0,0,0,1];function o(t,e,n){if(void 0===n&&(n=i),!e)return null;var o=r["ext"].transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]);return o}function a(t,e){return t.x||t.y?r["ext"].transform(e||i,[["t",t.x,t.y]]):null}function s(t){var e=[1,0,0],n=[0,0,0];return r["vec3"].transformMat3(n,e,t),Math.atan2(n[1],n[0])}function c(t,e){var n=[0,0];return r["vec2"].transformMat3(n,e,t),n}function l(t,e){var n=c(t,[e.minX,e.minY]),r=c(t,[e.maxX,e.minY]),i=c(t,[e.minX,e.maxY]),o=c(t,[e.maxX,e.maxY]),a=Math.min(n[0],r[0],i[0],o[0]),s=Math.max(n[0],r[0],i[0],o[0]),l=Math.min(n[1],r[1],i[1],o[1]),u=Math.max(n[1],r[1],i[1],o[1]);return{x:a,y:l,minX:a,minY:l,maxX:s,maxY:u,width:s-a,height:u-l}}function u(t,e,n,r){if(e){var i=o({x:n,y:r},e,t.getMatrix());t.setMatrix(i)}}function h(t,e,n){var r=a({x:e,y:n});t.attr("matrix",r)}},juv8:function(t,e,n){var r=n("MrPd"),i=n("hypo");function o(t,e,n,o){var a=!n;n||(n={});var s=-1,c=e.length;while(++st.x?t.x:e,n=nt.y?t.y:r,i=i=r&&t<=i}function K(t,e,n){if(Object(s["isString"])(t))return t.padEnd(e,n);if(Object(s["isArray"])(t)){var r=t.length;if(r=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;et.minX&&this.minYt.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();function tt(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}function et(t){if(t.isPolar&&!t.isTransposed)return(t.endAngle-t.startAngle)*t.getRadius();var e=t.convert({x:0,y:0}),n=t.convert({x:1,y:0});return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function nt(t){if(t.isPolar){var e=t.startAngle,n=t.endAngle;return n-e===2*Math.PI}return!1}function rt(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function it(t,e){var n=!1;if(t)if("theta"===t.type){var r=t.start,i=t.end;n=Z(e.x,r.x,i.x)&&Z(e.y,r.y,i.y)}else{var o=t.invert(e);n=Z(o.x,0,1)&&Z(o.y,0,1)}return n}function ot(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function at(t,e){void 0===e&&(e=0);var n,r=t.start,i=t.end,o=t.getWidth(),a=t.getHeight();if(t.isPolar){var s=t.startAngle,c=t.endAngle,l=t.getCenter(),u=t.getRadius();return{type:"path",startState:{path:X(l.x,l.y,u+e,s,s)},endState:function(t){var n=(c-s)*t+s,r=X(l.x,l.y,u+e,s,n);return{path:r}},attrs:{path:X(l.x,l.y,u+e,s,c)}}}return n=t.isTransposed?{height:a+2*e}:{width:o+2*e},{type:"rect",startState:{x:r.x-e,y:i.y-e,width:t.isTransposed?o+2*e:0,height:t.isTransposed?0:a+2*e},endState:n,attrs:{x:r.x-e,y:i.y-e,width:o+2*e,height:a+2*e}}}function st(t,e){void 0===e&&(e=0);var n=t.start,r=t.end,i=t.getWidth(),o=t.getHeight(),a=Math.min(n.x,r.x),s=Math.min(n.y,r.y);return J.fromRange(a-e,s-e,a+i+e,s+o+e)}var ct=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function lt(t){var e="linear";return ct.test(t)?e="timeCat":Object(s["isString"])(t)&&(e="cat"),e}function ut(t,e,n){var r=e||[];if(Object(s["isNumber"])(t)||Object(s["isNil"])(Object(s["firstValue"])(r,t))&&Object(s["isEmpty"])(n)){var i=Object(L["getScale"])("identity");return new i({field:t.toString(),values:[t]})}var o=Object(s["valuesOfKey"])(r,t),c=Object(s["get"])(n,"type",lt(o[0])),l=Object(L["getScale"])(c);return new l(Object(a["__assign"])({field:t,values:o},n))}function ht(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}}function ft(t){return t.alias||t.field}function pt(t,e,n){var r,i=t.values,o=i.length;if(1===o)r=[.5,1];else{var a=1,c=0;nt(e)?e.isTransposed?(a=Object(s["get"])(n,"widthRatio.multiplePie",1/1.3),c=1/o*a,r=[c/2,1-c/2]):r=[0,1-1/o]:(c=1/o/2,r=[c,1-c])}return r}var dt=n("6JdA");function gt(t){var e,n;switch(t){case i.TOP:e={x:0,y:1},n={x:1,y:1};break;case i.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case i.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case i.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}function yt(t){var e,n;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{start:e,end:n}}function vt(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=gt(e):t.isPolar&&(n=yt(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}}function mt(t){var e=t.start,n=t.end;return e.x===n.x}function bt(t,e){var n=t.start,r=t.end,i=mt(t);return i?(n.y-r.y)*(e.x-n.x)>0?1:-1:(r.x-n.x)*(n.y-e.y)>0?-1:1}function xt(t,e){return Object(s["get"])(t,["components","axis",e],{})}function Ot(t){var e=t.x,n=t.y,r=t.circleCenter,i=n.start>n.end,o=t.isTransposed?t.convert({x:i?0:1,y:0}):t.convert({x:0,y:i?0:1}),a=[o.x-r.x,o.y-r.y],s=[1,0],c=o.y>r.y?dt["vec2"].angle(a,s):-1*dt["vec2"].angle(a,s),l=c+(e.end-e.start),u=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2));return{center:r,radius:u,startAngle:c,endAngle:l}}function wt(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e])}function jt(t,e){return Object(s["get"])(t,"position",e)}function Ct(t,e){return Object(s["get"])(e,["title","text"],ft(t))}var St=function(){function t(t,e){this.destroyed=!1,this.facets=[],this.view=t,this.cfg=Object(s["deepMix"])({},this.getDefaultCfg(),e)}return t.prototype.init=function(){this.container||(this.container=this.createContainer());var t=this.view.getData();this.facets=this.generateFacets(t)},t.prototype.render=function(){this.renderViews()},t.prototype.update=function(){},t.prototype.clear=function(){this.clearFacetViews()},t.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},t.prototype.facetToView=function(t){var e=t.region,n=t.data,r=t.padding,i=void 0===r?this.cfg.padding:r,o=this.view.createView({region:e,padding:i});o.data(n||[]),t.view=o,this.beforeEachView(o,t);var a=this.cfg.eachView;return a&&a(o,t),this.afterEachView(o,t),o},t.prototype.createContainer=function(){var t=this.view.getLayer(r.FORE);return t.addGroup()},t.prototype.renderViews=function(){this.createFacetViews()},t.prototype.createFacetViews=function(){var t=this;return this.facets.map(function(e){return t.facetToView(e)})},t.prototype.clearFacetViews=function(){var t=this;Object(s["each"])(this.facets,function(e){e.view&&(t.view.removeView(e.view),e.view=void 0)})},t.prototype.getFieldValues=function(t,e){var n=[],r={};return Object(s["each"])(t,function(t){var i=t[e];Object(s["isNil"])(i)||r[i]||(n.push(i),r[i]=!0)}),n},t.prototype.getRegion=function(t,e,n,r){var i=1/(0===e?1:e),o=1/(0===t?1:t),a={x:i*n,y:o*r},s={x:i*(n+1),y:o*(r+1)};return{start:a,end:s}},t.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,padding:10,fields:[]}},t.prototype.getDefaultTitleCfg=function(){var t=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:t}}},t.prototype.processAxis=function(t,e){var n=t.getOptions(),r=n.coordinate,i=t.geometries,o=Object(s["get"])(r,"type","rect");if("rect"===o&&i.length){Object(s["isNil"])(n.axes)&&(n.axes={});var a=n.axes,c=i[0].getXYFields(),l=c[0],u=c[1],h=wt(a,l),f=wt(a,u);!1!==h&&(n.axes[l]=this.getXAxisOption(l,a,h,e)),!1!==f&&(n.axes[u]=this.getYAxisOption(u,a,f,e))}},t.prototype.getFacetDataFilter=function(t){return function(e){return Object(s["every"])(t,function(t){var n=t.field,r=t.value;return!(!Object(s["isNil"])(r)&&n)||e[n]===r})}},t}(),kt={},Mt=function(t){return kt[Object(s["lowerCase"])(t)]},_t=function(t,e){kt[Object(s["lowerCase"])(t)]=e},At=function(){function t(t,e){this.context=t,this.cfg=e,t.addAction(this)}return t.prototype.applyCfg=function(t){Object(s["assign"])(this,t)},t.prototype.init=function(){this.applyCfg(this.cfg)},t.prototype.destroy=function(){this.context.removeAction(this),this.context=null},t}(),Tt=At,Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}(Tt),Pt=Et,Lt={};function It(t,e){var n=Lt[t],r=null;if(n){var i=n.ActionClass,o=n.cfg;r=new i(e,o),r.name=t,r.init()}return r}function Ft(t,e,n){Lt[t]={ActionClass:e,cfg:n}}function Dt(t,e){var n=new Pt(e);return n.callback=t,n.name="callback",n}function Bt(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r=a[l]?1:0,f=u>Math.PI?1:0,p=n.convert(s),d=rt(n,p);if(d>=.5)if(u===2*Math.PI){var g={x:(s.x+a.x)/2,y:(s.y+a.y)/2},y=n.convert(g);c.push(["A",d,d,0,f,h,y.x,y.y]),c.push(["A",d,d,0,f,h,p.x,p.y])}else c.push(["A",d,d,0,f,h,p.x,p.y]);return c}function zt(t){Object(s["each"])(t,function(e,n){var r=e;if("a"===r[0].toLowerCase()){var i=t[n-1],o=t[n+1];o&&"a"===o[0].toLowerCase()?i&&"l"===i[0].toLowerCase()&&(i[0]="M"):i&&"a"===i[0].toLowerCase()&&o&&"l"===o[0].toLowerCase()&&(o[0]="M")}})}var Gt=function(t,e,n,r){var i,o,a,s,c=[],l=!!r;if(l){a=[1/0,1/0],s=[-1/0,-1/0];for(var u=0,h=t.length;u=e||i.height>=e?i:null}function Kt(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?r.attr("path"):null}function Qt(t){var e,n=t.event,r=n.target;return r&&(e=r.get("element")),e}function $t(t){var e,n=t.event,r=n.target;return r&&(e=r.get("delegateObject")),e}function Jt(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function te(t){return t&&t.component&&t.component.isList()}function ee(t){return t&&t.component&&t.component.isSlider()}function ne(t){var e=t.event,n=e.target;return n&&"mask"===n.get("name")}function re(t,e){var n=t.event.target;if("path"===n.get("type")){var r=Kt(t,e);if(!r)return;return fe(t.view,r)}var i=Zt(t,e);return i?ue(t.view,i):null}function ie(t,e,n){var r=Zt(t,n);if(!r)return null;var i=t.view,o=be(i,e,{x:r.x,y:r.y}),a=be(i,e,{x:r.maxX,y:r.maxY}),s={minX:o.x,minY:o.y,maxX:a.x,maxY:a.y};return ue(e,s)}function oe(t){var e=t.geometries,n=[];return Object(s["each"])(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&Object(s["each"])(t.views,function(t){n=n.concat(oe(t))}),n}function ae(t,e,n){var r=oe(t);return r.filter(function(t){return ce(t,e)===n})}function se(t,e){var n=t.geometries,r=[];return Object(s["each"])(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});r=r.concat(n)}),r}function ce(t,e){var n,r=t.getModel(),i=r.data;return n=Object(s["isArray"])(i)?i[0][e]:i[e],n}function le(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=e.x&&t.y<=e.y&&t.maxY>e.y}function ve(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n}function me(t,e){var n=t.getCoordinate();return n.invert(e)}function be(t,e,n){var r=me(t,n);return e.getCoordinate().convert(r)}function xe(t,e,n,r){var i=!1;return Object(s["each"])(t,function(t){if(t[n]===e[n]&&t[r]===e[r])return i=!0,!1}),i}function Oe(t,e){var n=t.getScaleByField(e);return!n&&t.views&&Object(s["each"])(t.views,function(t){if(n=Oe(t,e),n)return!1}),n}var we=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;if(t){if(t.target instanceof HTMLElement){var e=this.view.getCanvas(),n=e.getPointByClient(t.clientX,t.clientY);return n}return{x:t.x,y:t.y}}return null},t.prototype.getCurrentShape=function(){return Object(s["get"])(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=pe(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&ye(r,n):ye(r,n)})},t.prototype.destroy=function(){this.view=null,this.event=null,Object(s["each"])(this.actions.slice(),function(t){t.destroy()}),this.actions=null,this.cacheMap=null},t}(),je=we,Ce=function(){function t(t,e){this.view=t,this.cfg=e}return t.prototype.init=function(){this.initEvents()},t.prototype.initEvents=function(){},t.prototype.clearEvents=function(){},t.prototype.destroy=function(){this.clearEvents()},t}(),Se=Ce;function ke(t,e){var n=t.split(":"),r=n[0],i=e.getAction(r)||It(r,e);if(!i)throw new Error("There is no action named "+r);var o=n[1];return{action:i,methodName:o}}function Me(t){var e=t.action,n=t.methodName;if(!e[n])throw new Error("Action("+e.name+") doesn't have a method called "+n);e[n]()}var _e={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},Ae=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return Object(a["__extends"])(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;Object(s["each"])(this.steps,function(e,n){Object(s["each"])(e,function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)})})},e.prototype.clearEvents=function(){var t=this;Object(s["each"])(this.steps,function(e,n){Object(s["each"])(e,function(e){var r=t.getActionCallback(n,e);r&&t.offEvent(e.trigger,r)})})},e.prototype.initContext=function(){var t=this.view,e=new je(t);this.context=e;var n=this.steps;Object(s["each"])(n,function(t){Object(s["each"])(t,function(t){if(Object(s["isFunction"])(t.action))t.actionObject={action:Dt(t.action,e),methodName:"execute"};else if(Object(s["isString"])(t.action))t.actionObject=ke(t.action,e);else if(Object(s["isArray"])(t.action)){var n=t.action;t.actionObject=[],Object(s["each"])(n,function(n){t.actionObject.push(ke(n,e))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t)return!0;if(t===_e.SHOW_ENABLE)return!0;if(t===_e.PROCESSING)return e===_e.START;if(t===_e.START)return e!==_e.PROCESSING;if(t===_e.END)return e===_e.PROCESSING||e===_e.START;if(t===_e.ROLLBACK){if(n[_e.END])return e===_e.END;if(e===_e.START)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==_e.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,r=this.context,i=this.callbackCaches,o=e.actionObject;if(e.action&&o){var a=this.getKey(t,e);if(!i[a]){var c=function(i){r.event=i,n.isAllowExecute(t,e)?(Object(s["isArray"])(o)?Object(s["each"])(o,function(t){r.event=i,Me(t)}):(r.event=i,Me(o)),n.afterExecute(t,e),e.callback&&(r.event=i,e.callback(r))):r.event=null};e.debounce?i[a]=Object(s["debounce"])(c,e.debounce.wait,e.debounce.immediate):e.throttle?i[a]=Object(s["throttle"])(c,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):i[a]=c}return i[a]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(Se),Te=Ae,Ee={};function Pe(t){return Ee[Object(s["lowerCase"])(t)]}function Le(t,e){Ee[Object(s["lowerCase"])(t)]=e}function Ie(t,e,n){var r=Pe(t);if(!r)return null;if(Object(s["isPlainObject"])(r)){var i=Object(s["mix"])(Object(s["clone"])(r),n);return new Te(e,i)}var o=r;return new o(e,n)}function Fe(t){return{title:{autoRotate:!0,position:"center",spacing:t.axisTitleSpacing,style:{fill:t.axisTitleTextFillColor,fontSize:t.axisTitleTextFontSize,lineHeight:t.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:t.axisLabelOffset,style:{fill:t.axisLabelFillColor,fontSize:t.axisLabelFontSize,lineHeight:t.axisLabelLineHeight,fontFamily:t.fontFamily}},line:{style:{lineWidth:t.axisLineBorder,stroke:t.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:t.axisGridBorderColor,lineWidth:t.axisGridBorder,lineDash:t.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:t.axisTickLineBorder,stroke:t.axisTickLineBorderColor},alignTick:!0,length:t.axisTickLineLength},subTickLine:null,animate:!0}}function De(t){return{title:null,marker:{symbol:"circle",spacing:t.legendMarkerSpacing,style:{r:t.legendCircleMarkerSize,fill:t.legendMarkerColor}},itemName:{spacing:5,style:{fill:t.legendItemNameFillColor,fontFamily:t.fontFamily,fontSize:t.legendItemNameFontSize,lineHeight:t.legendItemNameLineHeight,fontWeight:t.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},flipPage:!0,animate:!1,maxItemWidth:200,itemSpacing:t.legendItemSpacing,itemMarginBottom:t.legendItemMarginBottom,padding:t.legendPadding}}function Be(t){var e,n={point:{default:{fill:t.pointFillColor,r:t.pointSize,stroke:t.pointBorderColor,lineWidth:t.pointBorder,fillOpacity:t.pointFillOpacity},active:{stroke:t.pointActiveBorderColor,lineWidth:t.pointActiveBorder},selected:{stroke:t.pointSelectedBorderColor,lineWidth:t.pointSelectedBorder},inactive:{fillOpacity:t.pointInactiveFillOpacity,strokeOpacity:t.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:t.hollowPointFillColor,lineWidth:t.hollowPointBorder,stroke:t.hollowPointBorderColor,strokeOpacity:t.hollowPointBorderOpacity,r:t.hollowPointSize},active:{stroke:t.hollowPointActiveBorderColor,strokeOpacity:t.hollowPointActiveBorderOpacity},selected:{lineWidth:t.hollowPointSelectedBorder,stroke:t.hollowPointSelectedBorderColor,strokeOpacity:t.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:t.hollowPointInactiveBorderOpacity}},area:{default:{fill:t.areaFillColor,fillOpacity:t.areaFillOpacity,stroke:null},active:{fillOpacity:t.areaActiveFillOpacity},selected:{fillOpacity:t.areaSelectedFillOpacity},inactive:{fillOpacity:t.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:t.hollowAreaBorderColor,lineWidth:t.hollowAreaBorder,strokeOpacity:t.hollowAreaBorderOpacity},active:{fill:null,lineWidth:t.hollowAreaActiveBorder},selected:{fill:null,lineWidth:t.hollowAreaSelectedBorder},inactive:{strokeOpacity:t.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:t.intervalFillColor,fillOpacity:t.intervalFillOpacity},active:{stroke:t.intervalActiveBorderColor,lineWidth:t.intervalActiveBorder},selected:{stroke:t.intervalSelectedBorderColor,lineWidth:t.intervalSelectedBorder},inactive:{fillOpacity:t.intervalInactiveFillOpacity,strokeOpacity:t.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:t.hollowIntervalFillColor,stroke:t.hollowIntervalBorderColor,lineWidth:t.hollowIntervalBorder,strokeOpacity:t.hollowIntervalBorderOpacity},active:{stroke:t.hollowIntervalActiveBorderColor,lineWidth:t.hollowIntervalActiveBorder,strokeOpacity:t.hollowIntervalActiveBorderOpacity},selected:{stroke:t.hollowIntervalSelectedBorderColor,lineWidth:t.hollowIntervalSelectedBorder,strokeOpacity:t.hollowIntervalSelectedBorderOpacity},inactive:{stroke:t.hollowIntervalInactiveBorderColor,lineWidth:t.hollowIntervalInactiveBorder,strokeOpacity:t.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:t.lineBorderColor,lineWidth:t.lineBorder,strokeOpacity:t.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:t.lineActiveBorder},selected:{lineWidth:t.lineSelectedBorder},inactive:{strokeOpacity:t.lineInactiveBorderOpacity}}},r=Fe(t),i=De(t);return{background:t.backgroundColor,defaultColor:t.brandColor,padding:"auto",fontFamily:t.fontFamily,columnWidthRatio:.5,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:t.paletteQualitative10,colors20:t.paletteQualitative20,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:function(t){var e=t.geometry.coordinate;if(e.isPolar&&e.isTransposed){var r=H(t.getModel(),e),i=r.startAngle,o=r.endAngle,a=(i+o)/2,s=7.5,c=s*Math.cos(a),l=s*Math.sin(a);return{matrix:dt["ext"].transform(null,[["t",c,l]])}}return n.interval.selected}}},"hollow-rect":{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},line:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},tick:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},funnel:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}},pyramid:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},line:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},dot:{default:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:Object(a["__assign"])(Object(a["__assign"])({},n.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hvh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}},polygon:{polygon:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},point:{circle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},square:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},bowtie:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},diamond:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},hexagon:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},triangle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"triangle-down":{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"hollow-circle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-square":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-bowtie":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-diamond":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-hexagon":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle-down":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},cross:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},tick:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},plus:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},hyphen:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},line:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}}},area:{area:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},smooth:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},line:{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}},"smooth-line":{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}}},schema:{candle:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},box:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}}},edge:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},arc:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}}},components:{axis:{common:r,top:Object(s["deepMix"])({},r,{position:"top",grid:null,title:null,verticalLimitLength:.5}),bottom:Object(s["deepMix"])({},r,{position:"bottom",grid:null,title:null,verticalLimitLength:.5}),left:Object(s["deepMix"])({},r,{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),right:Object(s["deepMix"])({},r,{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),circle:Object(s["deepMix"])({},r,{title:null,grid:Object(s["deepMix"])({},r.grid,{line:{type:"line"}})}),radius:Object(s["deepMix"])({},r,{title:null,grid:Object(s["deepMix"])({},r.grid,{line:{type:"circle"}})})},legend:{common:i,right:Object(s["deepMix"])({},i,{layout:"vertical",padding:t.legendVerticalPadding}),left:Object(s["deepMix"])({},i,{layout:"vertical",padding:t.legendVerticalPadding}),top:Object(s["deepMix"])({},i,{layout:"horizontal",padding:t.legendHorizontalPadding}),bottom:Object(s["deepMix"])({},i,{layout:"horizontal",padding:t.legendHorizontalPadding}),continuous:{title:null,background:null,track:{},rail:{type:"color",size:t.sliderRailHeight,defaultLength:t.sliderRailWidth,style:{fill:t.sliderRailFillColor,stroke:t.sliderRailBorderColor,lineWidth:t.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:t.sliderLabelTextFillColor,fontSize:t.sliderLabelTextFontSize,lineHeight:t.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},handler:{size:t.sliderHandlerWidth,style:{fill:t.sliderHandlerFillColor,stroke:t.sliderHandlerBorderColor}},slidable:!0,padding:i.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffSetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:t.tooltipCrosshairsBorderColor,lineWidth:t.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e[""+I["TOOLTIP_CSS_CONST"].CONTAINER_CLASS]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:t.tooltipContainerFillColor,opacity:t.tooltipContainerFillOpacity,boxShadow:t.tooltipContainerShadow,borderRadius:t.tooltipContainerBorderRadius+"px",color:t.tooltipTextFillColor,fontSize:t.tooltipTextFontSize+"px",fontFamily:t.fontFamily,lineHeight:t.tooltipTextLineHeight+"px",padding:"0 12px 0 12px"},e[""+I["TOOLTIP_CSS_CONST"].TITLE_CLASS]={marginBottom:"12px",marginTop:"12px"},e[""+I["TOOLTIP_CSS_CONST"].LIST_CLASS]={margin:0,listStyleType:"none",padding:0},e[""+I["TOOLTIP_CSS_CONST"].LIST_ITEM_CLASS]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e[""+I["TOOLTIP_CSS_CONST"].MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e[""+I["TOOLTIP_CSS_CONST"].VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:t.annotationArcBorderColor,lineWidth:t.annotationArcBorder},animate:!0},line:{style:{stroke:t.annotationLineBorderColor,lineDash:t.annotationLineDash,lineWidth:t.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textAlign:"start",fontFamily:t.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:t.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:t.annotationRegionBorder,stroke:t.annotationRegionBorderColor,fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:t.brandColor,lineWidth:2}},line:{style:{stroke:t.annotationLineBorderColor,lineWidth:t.annotationLineBorder},length:t.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8]}},scrollbar:{common:{padding:[8,8,8,8]}}},labels:{offset:12,style:{fill:t.labelFillColor,fontSize:t.labelFontSize,fontFamily:t.fontFamily,stroke:t.labelBorderColor,lineWidth:t.labelBorder},fillColorDark:t.labelFillColorDark,fillColorLight:t.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:t.innerLabelFillColor,fontSize:t.innerLabelFontSize,fontFamily:t.fontFamily,stroke:t.innerLabelBorderColor,lineWidth:t.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:t.overflowLabelFillColor,fontSize:t.overflowLabelFontSize,fontFamily:t.fontFamily,stroke:t.overflowLabelBorderColor,lineWidth:t.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:t.labelLineBorder}},autoRotate:!0}}}var Re={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Ne={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},Ye=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],ze=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],Ge=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"transparent":e,r=t.paletteQualitative10,i=void 0===r?Ye:r,o=t.paletteQualitative20,a=void 0===o?ze:o,s=t.paletteSemanticRed,c=void 0===s?"#F4664A":s,l=t.paletteSemanticGreen,u=void 0===l?"#30BF78":l,h=t.paletteSemanticYellow,f=void 0===h?"#FAAD14":h,p=t.fontFamily,d=void 0===p?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':p,g=t.brandColor,y=void 0===g?i[0]:g;return{backgroundColor:n,brandColor:y,paletteQualitative10:i,paletteQualitative20:a,paletteSemanticRed:c,paletteSemanticGreen:u,paletteSemanticYellow:f,fontFamily:d,axisLineBorderColor:Re[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:Re[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:Re[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:Re[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:Re[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:Re[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:Re[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:y,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:Re[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:Re[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:Re[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:Re[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:Re[25],annotationArcBorderColor:Re[15],annotationArcBorder:1,annotationLineBorderColor:Re[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:Re[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:Re[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:Re[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:Re[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:Re[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Ne[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:Re[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Ne[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:Re[25],pointFillColor:y,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Ne[100],pointBorderOpacity:1,pointActiveBorderColor:Re[100],pointSelectedBorder:2,pointSelectedBorderColor:Re[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:y,hollowPointBorderOpacity:.95,hollowPointFillColor:Ne[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:Re[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:Re[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:y,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:y,areaFillOpacity:.25,areaActiveFillColor:y,areaActiveFillOpacity:.5,areaSelectedFillColor:y,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:y,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:Re[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:Re[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:y,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:Re[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:Re[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:y,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Ne[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:Re[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:Re[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}};Ge();function Ve(t){var e=t.styleSheet,n=void 0===e?{}:e,r=Object(a["__rest"])(t,["styleSheet"]),i=Ge(n);return Object(s["deepMix"])({},Be(i),r)}var Xe=Ve({}),We={default:Xe};function He(t){return Object(s["get"])(We,Object(s["lowerCase"])(t),We.default)}function Ue(t,e){We[Object(s["lowerCase"])(t)]=Ve(e)}function qe(t,e,n){var r=n.translate(t),i=n.translate(e);return Object(s["isNumberEqual"])(r,i)}function Ze(t,e){var n=e.coordinate,r=e.getXScale(),i=r.range,o=i[i.length-1],a=i[0],s=n.invert(t),c=s.x;return n.isPolar&&c>(1+o)/2&&(c=a),r.translate(r.invert(c))}function Ke(t,e,n){var r=n.coordinate,i=n.getYScale(),o=i.field,a=r.invert(e),c=i.invert(a.y),l=Object(s["find"])(t,function(t){var e=t[d];return e[o][0]<=c&&e[o][1]>=c});return l||t[t.length-1]}var Qe=Object(s["memoize"])(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,o=0;oi&&(i=s)}return(i-r)/(n-1)});function $e(t,e,n){var r=n;if(!n){var i=e.getAttribute("position"),o=i.getFields();r=o[0]}var a=e.scales;return a[r]?a[r].getText(t[r]):Object(s["hasKey"])(t,r)?t[r]:r}function Je(t){var e=Object(s["values"])(t.attributes);return Object(s["filter"])(e,function(t){return Object(s["contains"])(p,t.type)})}function tn(t){for(var e,n=Je(t),r=0,i=n;r=w){if(!k){l=M;break}Object(s["isArray"])(l)||(l=[]),l.push(M)}}Object(s["isArray"])(l)&&(l=Ke(l,t,n))}else{var _=void 0;if(i.isLinear||"timeCat"===i.type){if((w>i.translate(S)||wi.max||wMath.abs(i.translate(_[d][a])-w)&&(O=_)}var L=Qe(n.getXScale());return!l&&Math.abs(i.translate(O[d][a])-w)<=L/2&&(l=O),l}function on(t,e,n){void 0===n&&(n="");var r,i,o=t[d],c=$e(o,e,n),l=e.tooltipOption,u=e.theme.defaultColor,h=[];function f(e,n){if(!Object(s["isNil"])(n)&&""!==n){var r={title:c,data:o,mappingData:t,name:e,value:n,color:t.color||u,marker:!0};h.push(r)}}if(Object(s["isObject"])(l)){var p=l.fields,g=l.callback;if(g){var y=p.map(function(e){return t[d][e]}),v=g.apply(void 0,y),m=Object(a["__assign"])({data:t[d],mappingData:t,title:c,color:t.color||u,marker:!0},v);h.push(m)}else for(var b=e.scales,x=0,O=p;x');E.appendChild(P);var L=C(E,l,i,o),I=b(d),F=new I.Canvas(Object(a["__assign"])({container:P,pixelRatio:g,localRefresh:v,supportCSSTransform:j},L));return n=t.call(this,{parent:null,canvas:F,backgroundGroup:F.addGroup({zIndex:f.BG}),middleGroup:F.addGroup({zIndex:f.MID}),foregroundGroup:F.addGroup({zIndex:f.FORE}),padding:u,appendPadding:h,visible:x,options:M,limitInPlot:_,theme:A,syncViewPadding:T})||this,n.onResize=Object(s["debounce"])(function(){n.forceFit()},300),n.ele=E,n.canvas=F,n.width=L.width,n.height=L.height,n.autoFit=l,n.localRefresh=v,n.renderer=d,n.wrapperElement=P,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(k),n}return Object(a["__extends"])(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;Object(s["each"])(t,function(t){e.interaction(t)})},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e?this:(this.emit(c.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(c.AFTER_CHANGE_SIZE),this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),S(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=C(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){Object(O["e"])(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(jn),Sn=Cn,kn=function(){function t(t){this.visible=!0,this.components=[],this.view=t}return t.prototype.clear=function(t){Object(s["each"])(this.components,function(t){t.component.destroy()}),this.components=[]},t.prototype.destroy=function(){this.clear()},t.prototype.getComponents=function(){return this.components},t.prototype.changeVisible=function(t){this.visible!==t&&(this.components.forEach(function(e){t?e.component.show():e.component.hide()}),this.visible=t)},t}();function Mn(t){for(var e=[],n=function(n){var r=t[n],i=Object(s["find"])(e,function(t){return t.color===r.color&&t.name===r.name&&t.value===r.value&&t.title===r.title});i||e.push(r)},r=0;r1){for(var p=e[0],d=Math.abs(t.y-p[0].y),g=0,y=e;g'+r+"":r};return Object(a["__assign"])(Object(a["__assign"])({},t),{customContent:n})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),r=new z(Object(a["__assign"])(Object(a["__assign"])({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));r.init(),this.tooltip=r},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),r=0,i=t;r-1)return;r.push(t),"active"!==t&&"selected"!==t||a.toFront()}else{if(-1===c)return;r.splice(c,1),"active"!==t&&"selected"!==t||a.toBack()}var l=i.drawShape(s,o,this.getOffscreenGroup());r.length?this.syncShapeStyle(a,l,r,null):this.syncShapeStyle(a,l,["reset"],null),l.remove(!0);var u={state:t,stateStatus:e,element:this,target:this.container};this.container.emit("statechange",u),Object(I["propagationDelegate"])(this.shape,"statechange",u)},e.prototype.clearStates=function(){var t=this,e=this.states;Object(s["each"])(e,function(e){t.setState(e,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,e=t.shape,n=t.labelShape,r={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return e&&(r=e.getCanvasBBox()),n&&n.forEach(function(t){var e=t.getCanvasBBox();r.x=Math.min(e.x,r.x),r.y=Math.min(e.y,r.y),r.minX=Math.min(e.minX,r.minX),r.minY=Math.min(e.minY,r.minY),r.maxX=Math.max(e.maxX,r.maxX),r.maxY=Math.max(e.maxY,r.maxY)}),r.width=r.maxX-r.minX,r.height=r.maxY-r.minY,r},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,e=t.shapeType,n=t.geometry,r=t.shapeFactory,i=n.stateOption,o=r.defaultShapeType,a=r.theme[e]||r.theme[o];this.statesStyle=Object(s["deepMix"])({},a,i)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),r=Object(s["get"])(n,[t,"style"],{}),i=r[e]||r;return Object(s["isFunction"])(i)?i(this):i},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var r=n[t];return r?Object(a["__assign"])(Object(a["__assign"])({},r),{callback:function(){var t;Object(s["isFunction"])(r.callback)&&r.callback(),null===(t=e.geometry)||void 0===t||t.emit(l.AFTER_DRAW_ANIMATE)}}):r}return null},e.prototype.drawShape=function(t,e){var n;void 0===e&&(e=!1);var r=this,i=r.shapeFactory,o=r.container,c=r.shapeType;if(this.shape=i.drawShape(c,t,o),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?Object(s["isString"])(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var h=e?"enter":"appear",f=this.getAnimateCfg(h);f&&(null===(n=this.geometry)||void 0===n||n.emit(l.BEFORE_DRAW_ANIMATE),Rn(this.shape,f,{coordinate:i.coordinate,toAttrs:Object(a["__assign"])({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;if(t.cfg.origin=e,t.cfg.element=this,t.isGroup()){var r=t.get("children");r.forEach(function(t){n.setShapeInfo(t,e)})}},e.prototype.syncShapeStyle=function(t,e,n,r,i){var o,a=this;if(void 0===n&&(n=[]),void 0===i&&(i=0),t&&e){var c=t.get("clipShape"),u=e.get("clipShape");if(this.syncShapeStyle(c,u,n,r),t.isGroup())for(var h=t.get("children"),f=e.get("children"),p=0;p=0?n:r<=0?r:0,t},e.prototype.createAttrOption=function(t,e,n){if(Object(s["isNil"])(e)||Object(s["isObject"])(e))Object(s["isObject"])(e)&&Object(s["isEqual"])(Object.keys(e),["values"])?Object(s["set"])(this.attributeOption,t,{fields:e.values}):Object(s["set"])(this.attributeOption,t,e);else{var r={};Object(s["isNumber"])(e)?r.values=[e]:r.fields=nr(e),n&&(Object(s["isFunction"])(n)?r.callback=n:r.values=n),Object(s["set"])(this.attributeOption,t,r)}},e.prototype.initAttributes=function(){var t=this,e=this,n=e.attributes,r=e.attributeOption,i=e.theme,o=e.shapeType;this.groupScales=[];var s={},c=function(e){if(r.hasOwnProperty(e)){var c=r[e];if(!c)return{value:void 0};var l=Object(a["__assign"])({},c),u=l.callback,h=l.values,f=l.fields,d=void 0===f?[]:f,g=d.map(function(n){var r=t.scales[n];return r.isCategory&&!s[n]&&p.includes(e)&&(t.groupScales.push(r),s[n]=!0),r});l.scales=g,"position"!==e&&1===g.length&&"identity"===g[0].type?l.values=g[0].values:u||h||("size"===e?l.values=i.sizes:"shape"===e?l.values=i.shapes[o]||[]:"color"===e&&(g.length?l.values=g[0].values.length<=10?i.colors10:i.colors20:l.values=i.colors10));var y=Object(E["getAttribute"])(e);n[e]=new y(l)}};for(var l in r){var u=c(l);if("object"===typeof u)return u.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales,n=e.filter(function(t){return t.isCategory}),r=this.groupData(t),i=[],o=0,a=r.length;oo&&(o=u)}var h=this.scaleDefs,f={};it.max&&!Object(s["get"])(h,[r,"max"])&&(f.max=o),t.change(f)},e.prototype.beforeMapping=function(t){var e=t;if(this.sortable&&this.sort(e),this.generatePoints)for(var n=0,r=e.length;n1)for(var h=0;h0})}function gr(t,e,n){var r=n.data,i=n.origin,o=n.animateCfg,a=n.coordinate,c=Object(s["get"])(o,"update");t.set("data",r),t.set("origin",i),t.set("animateCfg",o),t.set("coordinate",a),t.set("visible",e.get("visible")),t.getChildren().forEach(function(s,l){var u=e.getChildByIndex(l);if(u){s.set("data",r),s.set("origin",i),s.set("animateCfg",o),s.set("coordinate",a);var h=q(s,u);c?Rn(s,c,{toAttrs:h,coordinate:a}):s.attr(h),u.isGroup()&&gr(s,u,n)}else t.removeChild(s),s.remove(!0)}),Object(s["each"])(e.getChildren(),function(e,n){n>=t.getCount()&&(e.destroyed||t.add(e))})}var yr=function(){function t(t){this.shapesMap={},this.lastShapesMap={};var e=t.layout,n=t.container;this.layout=e,this.container=n}return t.prototype.render=function(t,e,n){var r=this;void 0===n&&(n=!1),this.shapesMap={};var i=this.container,o=this.createOffscreenGroup();if(t.length){for(var c=0,l=t;c0||1===n?r*s:r*s*-1,c},t.prototype.getLabelPoint=function(t,e,n){var r=this.getCoordinate(),i=t.content.length;function o(e,n){var r=e;return Object(s["isArray"])(r)&&(r=1===t.content.length?r.length<=2?r[e.length-1]:mr(r):r[n]),r}var a={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"};if(e&&"polygon"===this.geometry.type){var c=U(e.x,e.y);a.x=c[0],a.y=c[1]}else a.x=o(e.x,n),a.y=o(e.y,n);var l=Object(s["isArray"])(e.shape)?e.shape[0]:e.shape;if("funnel"===l||"pyramid"===l){var u=Object(s["get"])(e,"nextPoints"),h=Object(s["get"])(e,"points");if(u){var f=r.convert(h[1]),p=r.convert(u[1]);a.x=(f.x+p.x)/2,a.y=(f.y+p.y)/2}else if("pyramid"===l){f=r.convert(h[1]),p=r.convert(h[2]);a.x=(f.x+p.x)/2,a.y=(f.y+p.y)/2}}t.position&&this.setLabelPosition(a,e,n,t.position);var d=this.getLabelOffsetPoint(t,n,i);return a.start={x:a.x,y:a.y},a.x+=d.x,a.y+=d.y,a.color=e.color,a},t.prototype.getLabelAlign=function(t,e,n){var r="center",i=this.getCoordinate();if(i.isTransposed){var o=t.offset;r=o<0?"right":0===o?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,r=e.getXScale(),i=e.getYScale(),o=t[d],a=e.getElementId(t);return"line"===n||"area"===n?a+=" "+o[r.field]:"path"===n&&(a+=" "+o[r.field]+"-"+o[i.field]),a},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,r=t.canvasRegion,i=t.animateOption,o=this.geometry.coordinate,a=this.labelsRenderer;return a||(a=new vr({container:e,layout:Object(s["get"])(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=a),a.region=r,a.animate=!!i&&Bn("label",o),a},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,r=n.labelOption,i=n.scales,o=n.coordinate,c=r,l=c.fields,u=c.callback,h=c.cfg,f=l.map(function(t){return i[t]}),p=[];return Object(s["each"])(t,function(t,n){var r,i=t[d],c=e.getLabelText(i,f);if(u){var g=l.map(function(t){return i[t]});if(r=u.apply(void 0,g),Object(s["isNil"])(r))return void p.push(null)}var y=Object(a["__assign"])(Object(a["__assign"])({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:i,mappingData:t,coordinate:o},h),r);Object(s["isFunction"])(y.position)&&(y.position=y.position(i,t,n));var v=e.getLabelOffset(y.offset||0),m=e.getDefaultLabelCfg(v,y.position);y=Object(s["deepMix"])({},m,y),y.offset=e.getLabelOffset(y.offset||0);var b=y.content;Object(s["isFunction"])(b)?y.content=b(i,t,n):Object(s["isUndefined"])(b)&&(y.content=c[0]),p.push(y)}),p},t.prototype.getLabelText=function(t,e){var n=[];return Object(s["each"])(e,function(e){var r=t[e.field];r=Object(s["isArray"])(r)?r.map(function(t){return e.getText(t)}):e.getText(r),Object(s["isNil"])(r)||""===r?n.push(null):n.push(r)}),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return Object(s["isNumber"])(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return Object(s["each"])(t.elementsMap,function(t,n){e[n]=t.shape}),Object(s["each"])(t.getOffscreenGroup().getChildren(),function(n){var r=t.getElementId(n.get("origin").mappingData);e[r]=n}),e},t}(),xr=br;n("WXeg");function Or(t,e,n){if(!t)return n;var r;if(t.callback&&t.callback.length>1){var i=Array(t.callback.length-1).fill("");r=t.mapping.apply(t,Object(a["__spreadArrays"])([e],i)).join("")}else r=t.mapping(e).join("");return r||n}var wr={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}},jr=["line","cross","tick","plus","hyphen"];function Cr(t,e){var n=t.symbol;Object(s["isString"])(n)&&-1!==jr.indexOf(n)&&(t.style=Object(s["deepMix"])({},t.style,{lineWidth:1,stroke:e,fill:null}))}function Sr(t){var e=t.symbol;Object(s["isString"])(e)&&wr[e]&&(t.symbol=wr[e])}function kr(t){return t.startsWith(i.LEFT)||t.startsWith(i.RIGHT)?"vertical":"horizontal"}function Mr(t,e,n,r,i){var o=n.getScale(n.type);if(o.isCategory){var a=o.field,c=e.getAttribute("color"),l=e.getAttribute("shape"),u=t.getTheme().defaultColor,h=e.coordinate.isPolar;return o.getTicks().map(function(n){var f,p=n.text,d=n.value,g=p,y=o.invert(d),v=0===t.filterFieldData(a,[(f={},f[a]=y,f)]).length;Object(s["each"])(t.views,function(t){var e;t.filterFieldData(a,[(e={},e[a]=y,e)]).length||(v=!0)});var m=Or(c,y,u),b=Or(l,y,"point"),x=e.getShapeMarker(b,{color:m,isInPolar:h});return x=Object(s["deepMix"])({},r,x,i),Cr(x,m),Sr(x),{id:y,name:g,value:y,marker:x,unchecked:v}})}return[]}function _r(t,e,n){return n.map(function(n){var r=Object(s["deepMix"])({},t,e,n.marker);return Sr(r),n.marker=r,n})}var Ar={getLegendItems:Mr,translate:sr,rotate:lr,zoom:ur,transform:ar,getAngle:H,polarToCartesian:V,getDelegationObject:$t,getTooltipItems:on},Tr={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Er={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},Pr=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#E86452","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],Lr=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#E86452","#F8D0CB","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],Ir=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"#141414":e,r=t.paletteQualitative10,i=void 0===r?Pr:r,o=t.paletteQualitative20,a=void 0===o?Lr:o,s=t.paletteSemanticRed,c=void 0===s?"#F4664A":s,l=t.paletteSemanticGreen,u=void 0===l?"#30BF78":l,h=t.paletteSemanticYellow,f=void 0===h?"#FAAD14":h,p=t.fontFamily,d=void 0===p?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':p,g=t.brandColor,y=void 0===g?i[0]:g;return{backgroundColor:n,brandColor:y,paletteQualitative10:i,paletteQualitative20:a,paletteSemanticRed:c,paletteSemanticGreen:u,paletteSemanticYellow:f,fontFamily:d,axisLineBorderColor:Er[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:Er[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:Er[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:Er[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:Er[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:Er[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:Er[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:Pr[0],legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:Er[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendSpacing:16,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:Er[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:Er[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:Tr[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:Tr[25],annotationArcBorderColor:Er[15],annotationArcBorder:1,annotationLineBorderColor:Er[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:Er[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:Er[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:Er[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"#1f1f1f",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 2px 4px rgba(0,0,0,.5)",tooltipContainerBorderRadius:3,tooltipTextFillColor:Er[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:Er[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Tr[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:Er[65],overflowLabelFillColorDark:"#2c3542",overflowLabelFillColorLight:"#ffffff",overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Tr[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:Er[25],pointFillColor:Pr[0],pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Tr[100],pointBorderOpacity:1,pointActiveBorderColor:Er[100],pointSelectedBorder:2,pointSelectedBorderColor:Er[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:Pr[0],hollowPointBorderOpacity:.95,hollowPointFillColor:Tr[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:Er[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:Er[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:Pr[0],lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:Pr[0],areaFillOpacity:.25,areaActiveFillColor:Pr[0],areaActiveFillOpacity:.5,areaSelectedFillColor:Pr[0],areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:Pr[0],hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:Er[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:Er[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:Pr[0],intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:Er[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:Er[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:Pr[0],hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Tr[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:Er[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:Er[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}},Fr=Ir(),Dr=n("U8jP"),Br=n("v7Ed");function Rr(t){return!t&&(null===t||void 0===t||isNaN(t))}function Nr(t){if(Object(s["isArray"])(t))return Rr(t[1].y);var e=t.y;return Object(s["isArray"])(e)?Rr(e[0]):Rr(e)}function Yr(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!0),!t.length||1===t.length&&!n)return[];if(e){for(var r=[],i=0,o=t.length;i0&&(l[0][0]="L")),o=o.concat(l)}),o.push(["Z"])}return o}function $r(t,e,n,r,i){for(var o=zr(t,e,!e,"lineWidth"),a=t.connectNulls,s=t.isInCircle,c=t.points,l=t.showSinglePoint,u=Yr(c,a,l),h=[],f=0,p=u.length;fi&&(i=e),e=e[0]}));for(var f=this.scales[u],p=0,g=t;pa&&(i=a)}return i}function fi(t,e){if(e){var n=Object(s["flatten"])(t),r=Object(s["valuesOfKey"])(n,e);return r.length}return t.length}function pi(t){var e=t.theme,n=t.coordinate,r=t.getXScale(),i=r.values,o=t.beforeMappingData,a=i.length,c=et(t.coordinate),l=t.intervalPadding,u=t.dodgePadding,h=t.maxColumnWidth||e.maxColumnWidth,f=t.minColumnWidth||e.minColumnWidth,p=t.columnWidthRatio||e.columnWidthRatio,d=t.multiplePieWidthRatio||e.multiplePieWidthRatio,g=t.roseWidthRatio||e.roseWidthRatio;if(r.isLinear&&i.length>1){i.sort();var y=hi(i,r);a=(r.max-r.min)/y,i.length>a&&(a=i.length)}var v=r.range,m=1/a,b=1;if(n.isPolar?b=n.isTransposed&&a>1?d:g:(r.isLinear&&(m*=v[1]-v[0]),b=p),!Object(s["isNil"])(l)&&l>=0){var x=l/c;m=(1-(a-1)*x)/a}else m*=b;if(t.getAdjust("dodge")){var O=t.getAdjust("dodge"),w=O.dodgeBy,j=fi(o,w);if(!Object(s["isNil"])(u)&&u>=0){var C=u/c;m=(m-C*(j-1))/j}else!Object(s["isNil"])(l)&&l>=0?(m*=b,m/=j):m/=j;m=m>=0?m:0}if(!Object(s["isNil"])(h)&&h>=0){var S=h/c;m>S&&(m=S)}if(!Object(s["isNil"])(f)&&f>=0){var k=f/c;m0&&!Object(s["get"])(n,[r,"min"])&&e.change({min:0}),o<=0&&!Object(s["get"])(n,[r,"max"])&&e.change({max:0}))}},e}(or),gi=di,yi=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var r=e.sortable,i=void 0===r||r;return n.sortable=i,n}return Object(a["__extends"])(e,t),e}(Kr),vi=yi,mi=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],bi=["cross","tick","plus","hyphen","line"];function xi(t,e,n,r,i){var o=zr(e,i,!i,"r"),s=t.parsePoints(e.points),c=s[0];if(e.isStack)c=s[1];else if(s.length>1){for(var l=n.addGroup(),u=0,h=s;u2?"weight":"normal";if(t.isInCircle){var s={x:0,y:1};return"normal"===o?n=Ti(i[0],i[1],s):(r.fill=r.stroke,n=Ei(i,s)),n=this.parsePath(n),e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},r),{path:n})})}if("normal"===o)return i=this.parsePoints(i),n=W((i[1].x+i[0].x)/2,i[0].y,Math.abs(i[1].x-i[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},r),{path:n})});var c=_i(i[1],i[3]),l=_i(i[2],i[0]);return n=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],c,["L",i[3].x,i[3].y],["L",i[2].x,i[2].y],l,["Z"]],n=this.parsePath(n),r.fill=r.stroke,e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},r),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),$n("edge","smooth",{draw:function(t,e){var n=zr(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(Pi(r[0],r[1]));return e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}});var Li=1/3;function Ii(t,e){var n=[];n.push({x:t.x,y:t.y*(1-Li)+e.y*Li}),n.push({x:e.x,y:t.y*(1-Li)+e.y*Li}),n.push(e);var r=[["M",t.x,t.y]];return Object(s["each"])(n,function(t){r.push(["L",t.x,t.y])}),r}function Fi(t){var e=t.x,n=t.y,r=t.y0;return Object(s["isArray"])(n)?n.map(function(t,n){return{x:Object(s["isArray"])(e)?e[n]:e,y:t}}):[{x:e,y:r},{x:e,y:n}]}function Di(t){var e,n,r=t.x,i=t.y,o=t.y0,a=t.size;Object(s["isArray"])(i)?(e=i[0],n=i[1]):(e=o,n=i);var c=r+a/2,l=r-a/2;return[{x:r,y:e},{x:r,y:n},{x:l,y:e},{x:c,y:e},{x:l,y:n},{x:c,y:n}]}function Bi(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["M",t[4].x,t[4].y],["L",t[5].x,t[5].y]]}$n("edge","vhv",{draw:function(t,e){var n=zr(t,!0,!1,"lineWidth"),r=t.points,i=this.parsePath(Ii(r[0],r[1]));return e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),$n("interval","funnel",{getPoints:function(t){return t.size=2*t.size,si(t)},draw:function(t,e){var n=zr(t,!1,!0),r=this.parsePath(ui(t.points,t.nextPoints,!1)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),$n("interval","hollow-rect",{draw:function(t,e){var n=zr(t,!0,!1),r=this.parsePath(ci(t.points)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color,n=t.isInPolar;return n?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}}),$n("interval","line",{getPoints:function(t){return Fi(t)},draw:function(t,e){var n=zr(t,!0,!1,"lineWidth"),r=Q(Object(a["__assign"])({},n),["fill"]),i=this.parsePath(ci(t.points,!1)),o=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},r),{path:i}),name:"interval"});return o},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]},style:{r:5,stroke:e}}}}),$n("interval","pyramid",{getPoints:function(t){return t.size=2*t.size,si(t,!0)},draw:function(t,e){var n=zr(t,!1,!0),r=this.parsePath(ui(t.points,t.nextPoints,!0)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:"square",style:{r:4,fill:e}}}}),$n("interval","tick",{getPoints:function(t){return Di(t)},draw:function(t,e){var n=zr(t,!0,!1),r=this.parsePath(Bi(t.points)),i=e.addShape("path",{attrs:Object(a["__assign"])(Object(a["__assign"])({},n),{path:r}),name:"interval"});return i},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},style:{r:5,stroke:e}}}});var Ri=function(t,e,n){var r,i=t.x,o=t.y,a=e.x,s=e.y;switch(n){case"hv":r=[{x:a,y:o}];break;case"vh":r=[{x:i,y:s}];break;case"hvh":var c=(a+i)/2;r=[{x:c,y:o},{x:c,y:s}];break;case"vhv":var l=(o+s)/2;r=[{x:i,y:l},{x:a,y:l}];break;default:break}return r};function Ni(t,e){var n=[];return Object(s["each"])(t,function(r,i){var o=t[i+1];if(n.push(r),o){var a=Ri(r,o,e);n=n.concat(a)}}),n}function Yi(t){return t.map(function(t,e){return 0===e?["M",t.x,t.y]:["L",t.x,t.y]})}function zi(t,e){var n=Yr(t.points,t.connectNulls,t.showSinglePoint),r=[];return Object(s["each"])(n,function(t){var n=Ni(t,e);r=r.concat(Yi(n))}),Object(a["__assign"])(Object(a["__assign"])({},zr(t,!0,!1,"lineWidth")),{path:r})}function Gi(t){var e=Object(s["isArray"])(t)?t:[t],n=e[0],r=e[e.length-1],i=e.length>1?e[1]:n,o=e.length>3?e[3]:r,a=e.length>2?e[2]:i;return{min:n,max:r,min1:i,max1:o,median:a}}function Vi(t,e,n){var r,i=n/2;if(Object(s["isArray"])(e)){var o=Gi(e),a=o.min,c=o.max,l=o.median,u=o.min1,h=o.max1,f=t-i,p=t+i;r=[[f,c],[p,c],[t,c],[t,h],[f,u],[f,h],[p,h],[p,u],[t,u],[t,a],[f,a],[p,a],[f,l],[p,l]]}else{e=Object(s["isNil"])(e)?.5:e;var d=Gi(t),g=(a=d.min,c=d.max,l=d.median,u=d.min1,h=d.max1,e-i),y=e+i;r=[[a,g],[a,y],[a,e],[u,e],[u,g],[u,y],[h,y],[h,g],[h,e],[c,e],[c,g],[c,y],[l,g],[l,y]]}return r.map(function(t){return{x:t[0],y:t[1]}})}function Xi(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["M",t[4].x,t[4].y],["L",t[5].x,t[5].y],["L",t[6].x,t[6].y],["L",t[7].x,t[7].y],["L",t[4].x,t[4].y],["Z"],["M",t[8].x,t[8].y],["L",t[9].x,t[9].y],["M",t[10].x,t[10].y],["L",t[11].x,t[11].y],["M",t[12].x,t[12].y],["L",t[13].x,t[13].y]]}function Wi(t){var e=Object(s["isArray"])(t)?t:[t],n=e.sort(function(t,e){return e-t});return K(n,4,n[n.length-1])}function Hi(t,e,n){var r=Wi(e);return[{x:t,y:r[0]},{x:t,y:r[1]},{x:t-n/2,y:r[2]},{x:t-n/2,y:r[1]},{x:t+n/2,y:r[1]},{x:t+n/2,y:r[2]},{x:t,y:r[2]},{x:t,y:r[3]}]}function Ui(t){return[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["L",t[4].x,t[4].y],["L",t[5].x,t[5].y],["Z"],["M",t[6].x,t[6].y],["L",t[7].x,t[7].y]]}function qi(t,e){var n=Math.abs(t[0].x-t[2].x),r=Math.abs(t[0].y-t[2].y),i=Math.min(n,r);e&&(i=Object(s["clamp"])(e,0,Math.min(n,r))),i/=2;var o=(t[0].x+t[2].x)/2,a=(t[0].y+t[2].y)/2;return{x:o-i,y:a-i,width:2*i,height:2*i}}Object(s["each"])(["hv","vh","hvh","vhv"],function(t){$n("line",t,{draw:function(e,n){var r=zi(e,t),i=n.addShape({type:"path",attrs:r,name:"line"});return i},getMarker:function(e){return Xr(e,t)}})}),Object(s["each"])(bi,function(t){$n("point",t,{draw:function(e,n){return xi(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:wr[t],style:{r:4.5,stroke:n,fill:null}}}})}),$n("point","image",{draw:function(t,e){var n=zr(t,!1,!1,"r").r,r=this.parsePoints(t.points),i=r[0];if(t.isStack)i=r[1];else if(r.length>1){for(var o=e.addGroup(),a=0,s=r;a0?"left":"right");break;case"left":t.x=c,t.y=(i+a)/2,t.textAlign=Object(s["get"])(t,"textAlign",d>0?"left":"right");break;case"bottom":u&&(t.x=(o+c)/2),t.y=a,t.textAlign=Object(s["get"])(t,"textAlign","center"),t.textBaseline=Object(s["get"])(t,"textBaseline",d>0?"bottom":"top");break;case"middle":u&&(t.x=(o+c)/2),t.y=(i+a)/2,t.textAlign=Object(s["get"])(t,"textAlign","center"),t.textBaseline=Object(s["get"])(t,"textBaseline","middle");break;case"top":u&&(t.x=(o+c)/2),t.y=i,t.textAlign=Object(s["get"])(t,"textAlign","center"),t.textBaseline=Object(s["get"])(t,"textBaseline",d>0?"bottom":"top");break;default:break}},e}(xr),Ki=Zi,Qi=Math.PI/2,$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=0;if(Object(s["isNumber"])(t))n=t;else if(Object(s["isString"])(t)&&-1!==t.indexOf("%")){var r=e.getRadius();e.innerRadius>0&&(r*=1-e.innerRadius),n=.01*parseFloat(t)*r}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),r=this.geometry.getYScale();return Object(s["map"])(n,function(t){if(t&&r){var e=r.scale(Object(s["get"])(t.data,r.field));return Object(a["__assign"])(Object(a["__assign"])({},t),{percent:e})}return t})},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=t.offset;e=Math.abs(t.x-r.x)<1?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var r,i=1,o=t.content[n];this.isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(i=-1),r=this.getArcPoint(e,n));var a=t.offset*i,s=this.getPointAngle(r),c=t.labelEmit,l=this.getCirclePoint(s,a,r,c);return 0===l.r?l.content="":(l.content=o,l.angle=s,l.color=e.color),l.rotate=t.autoRotate?this.getLabelRotate(s,a,c):t.rotate,l.start={x:r.x,y:r.y},l},e.prototype.getArcPoint=function(t,e){return void 0===e&&(e=0),Object(s["isArray"])(t.x)||Object(s["isArray"])(t.y)?{x:Object(s["isArray"])(t.x)?t.x[e]:t.x,y:Object(s["isArray"])(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return ot(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,r){var i=this.getCoordinate(),o=i.getCenter(),s=rt(i,n);if(0===s)return Object(a["__assign"])(Object(a["__assign"])({},o),{r:s});var c=t;if(i.isTransposed&&s>e&&!r){var l=Math.asin(e/(2*s));c=t+2*l}else s+=e;return{x:o.x+s*Math.cos(c),y:o.y+s*Math.sin(c),r:s}},e.prototype.getLabelRotate=function(t,e,n){var r=t+Qi;return n&&(r-=Qi),r&&(r>Qi?r-=Math.PI:r<-Qi&&(r+=Math.PI)),r},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,r={x:0,y:0};return Object(s["each"])(t,function(t){r.x+=t.x,r.y+=t.y}),r.x/=n,r.y/=n,r=e.convert(r),r},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(xr),Ji=$i,to=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return Object(a["__extends"])(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var r=t.prototype.getDefaultLabelCfg.call(this,e,n);return Object(s["deepMix"])({},r,Object(s["get"])(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var r;return e<0&&(r=t,r>Math.PI/2&&(r-=Math.PI),r<-Math.PI/2&&(r+=Math.PI)),r},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate(),r=n.getCenter();return e=t.angle<=Math.PI/2&&t.x>=r.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),r={x:Object(s["isArray"])(t.x)?t.x[0]:t.x,y:t.y[0]},i={x:Object(s["isArray"])(t.x)?t.x[1]:t.x,y:t.y[1]},o=ot(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=o;else{var a=ot(n,i);o>=a&&(a+=2*Math.PI),e=o+(a-o)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),r=n.getCenter(),i=n.getRadius()+e;return Object(a["__assign"])(Object(a["__assign"])({},V(r.x,r.y,i,t)),{angle:t,r:i})},e}(Ji),eo=to,no=4;function ro(t,e,n,r,i,o){var a,c=!0,l=r.start,u=r.end,h=Math.min(l.y,u.y),f=Math.abs(l.y-u.y),p=0,d=Number.MIN_VALUE,g=e.map(function(t){return t.y>p&&(p=t.y),t.yf&&(f=p-h);while(c){g.forEach(function(t){var e=(Math.min.apply(d,t.targets)+Math.max.apply(d,t.targets))/2;t.pos=Math.min(Math.max(d,e-t.size/2),f-t.size)}),c=!1,a=g.length;while(a--)if(a>0){var y=g[a-1],v=g[a];y.pos+y.size>v.pos&&(y.size+=v.size,y.targets=y.targets.concat(v.targets),y.pos+y.size>f&&(y.pos=f-y.size),g.splice(a,1),c=!0)}}a=0,g.forEach(function(t){var r=h+n/2;t.targets.forEach(function(){e[a].y=t.pos+r,r+=n,a++})});for(var m={},b=0,x=t;b0){var l=14,u=a+i,h=2*u+2*l,f={start:o.start,end:o.end},p=[[],[]];t.forEach(function(t){t&&("right"===t.textAlign?p[0].push(t):p[1].push(t))}),p.forEach(function(t,n){var r=h/l;t.length>r&&(t.sort(function(t,e){return e["..percent"]-t["..percent"]}),t.splice(r,t.length-r)),t.sort(function(t,e){return t.y-e.y}),ro(e,t,l,f,c,n)})}Object(s["each"])(t,function(t){if(t&&t.labelLine){var e=t.offset,n=t.angle,r=V(c.x,c.y,a,n),i=V(c.x,c.y,a+e/2,n),o=t.x+Object(s["get"])(t,"offsetX",0),l=t.y+Object(s["get"])(t,"offsetY",0),u={x:o-Math.cos(n)*no,y:l-Math.sin(n)*no};Object(s["isObject"])(t.labelLine)||(t.labelLine={}),t.labelLine.path=["M "+r.x,r.y+" Q"+i.x,i.y+" "+u.x,u.y].join(",")}})}}function oo(t,e,n){var r=t.filter(function(t){return!t.invisible});r.sort(function(t,e){return t.y-e.y});var i,o=!0,a=n.minY,s=n.maxY,c=Math.abs(a-s),l=0,u=Number.MIN_VALUE,h=r.map(function(t){return t.y>l&&(l=t.y),t.yc&&(c=l-a);while(o){h.forEach(function(t){var e=(Math.min.apply(u,t.targets)+Math.max.apply(u,t.targets))/2;t.pos=Math.min(Math.max(u,e-t.size/2),c-t.size),t.pos=Math.max(0,t.pos)}),o=!1,i=h.length;while(i--)if(i>0){var f=h[i-1],p=h[i];f.pos+f.size>p.pos&&(f.size+=p.size,f.targets=f.targets.concat(p.targets),f.pos+f.size>c&&(f.pos=c-f.size),h.splice(i,1),o=!0)}}i=0,h.forEach(function(t){var n=a+e/2;t.targets.forEach(function(){r[i].y=t.pos+n,n+=e,i++})})}var ao=4;function so(t,e){var n=e.getCenter(),r=e.getRadius();if(t&&t.labelLine){var i=t.angle,o=t.offset,a=V(n.x,n.y,r,i),c=t.x+Object(s["get"])(t,"offsetX",0)*(Math.cos(i)>0?1:-1),l=t.y+Object(s["get"])(t,"offsetY",0)*(Math.sin(i)>0?1:-1),u={x:c-Math.cos(i)*ao,y:l-Math.sin(i)*ao},h=t.labelLine.smooth,f=[],p=u.x-n.x,d=u.y-n.y,g=Math.atan(d/p);if(p<0&&(g+=Math.PI),!1===h){Object(s["isObject"])(t.labelLine)||(t.labelLine={});var y=0;(i<0&&i>-Math.PI/2||i>1.5*Math.PI)&&u.y>a.y&&(y=1),i>=0&&ia.y&&(y=1),i>=Math.PI/2&&iu.y&&(y=1),(i<-Math.PI/2||i>=Math.PI&&i<1.5*Math.PI)&&a.y>u.y&&(y=1);var v=o/2>4?4:Math.max(o/2-1,0),m=V(n.x,n.y,r+v,i),b=V(n.x,n.y,r+o/2,g),x=0;f.push("M "+a.x+" "+a.y),f.push("L "+m.x+" "+m.y),f.push("A "+n.x+" "+n.y+" 0 "+x+" "+y+" "+b.x+" "+b.y),f.push("L "+u.x+" "+u.y)}else{m=V(n.x,n.y,r+(o/2>4?4:Math.max(o/2-1,0)),i);var O=a.xMath.pow(Math.E,-16)&&f.push.apply(f,["C",u.x+4*O,u.y,2*m.x-a.x,2*m.y-a.y,a.x,a.y]),f.push("L "+a.x+" "+a.y)}t.labelLine.path=f.join(" ")}}function co(t,e,n,r){var i=Object(s["filter"])(t,function(t){return!Object(s["isNil"])(t)}),o=e[0]&&e[0].get("coordinate");if(o){for(var a=o.getCenter(),c=o.getRadius(),l={},u=0,h=e;un&&(t.sort(function(t,e){return e.percent-t.percent}),Object(s["each"])(t,function(t,e){e+1>n&&(l[t.id].set("visible",!1),t.invisible=!0)})),oo(t,p,w)}),Object(s["each"])(v,function(t,e){Object(s["each"])(t,function(t){var n=e===y,r=l[t.id],i=r.getChildByIndex(0);if(i){var s=c+d,u=t.y-a.y,h=Math.pow(s,2),f=Math.pow(u,2),p=h-f>0?h-f:0,g=Math.sqrt(p),v=Math.abs(Math.cos(t.angle)*s);t.x=n?a.x+Math.max(g,v):a.x-Math.max(g,v)}i&&(i.attr("y",t.y),i.attr("x",t.x)),so(t,o)})})}}}var lo=4,uo=4,ho=4;function fo(t,e,n){var r=e.getCenter(),i=e.getRadius(),o={x:t.x-(n?ho:-ho),y:t.y},a=V(r.x,r.y,i+lo,t.angle),c={x:o.x,y:o.y},l={x:a.x,y:a.y},u=V(r.x,r.y,i,t.angle),h="";if(o.y!==a.y){var f=n?4:-4;c.y=o.y,t.angle<0&&t.angle>=-Math.PI/2&&(c.x=Math.max(a.x,o.x-f),o.y0&&t.anglea.y?l.y=c.y:(l.y=a.y,l.x=Math.max(l.x,c.x-f))),t.angle>Math.PI/2&&(c.x=Math.min(a.x,o.x-f),o.y>a.y?l.y=c.y:(l.y=a.y,l.x=Math.min(l.x,c.x-f))),t.angle<-Math.PI/2&&(c.x=Math.min(a.x,o.x-f),o.yo.x||t.x===o.x&&t.y>o.y,r=Object(s["isNil"])(t.offsetX)?uo:t.offsetX,i=V(o.x,o.y,a+lo,t.angle),l=p+r;t.x=o.x+(n?1:-1)*(a+l),t.y=i.y}});var d=i.start,g=i.end,y="left",v="right",m=Object(s["groupBy"])(t,function(t){return t.xb&&(b=Math.min(e,Math.abs(d.y-g.y)))});var x={minX:d.x,maxX:g.x,minY:o.y-b/2,maxY:o.y+b/2};Object(s["each"])(m,function(t,e){var n=b/f;t.length>n&&(t.sort(function(t,e){return e.percent-t.percent}),Object(s["each"])(t,function(t,e){e>n&&(c[t.id].set("visible",!1),t.invisible=!0)})),oo(t,f,x)});var O=x.minY,w=x.maxY;Object(s["each"])(m,function(t,e){var n=e===v;Object(s["each"])(t,function(t){var e=Object(s["get"])(c,t&&t.id);if(e)if(t.yw)e.set("visible",!1);else{var r=e.getChildByIndex(0),o=r.getCanvasBBox(),a={x:n?o.x:o.maxX,y:o.y+o.height/2};sr(r,t.x-a.x,t.y-a.y),t.labelLine&&fo(t,i,n)}})})}}function go(t,e,n,r){Object(s["each"])(e,function(t){var e=r.minX,n=r.minY,i=r.maxX,o=r.maxY,a=t.getCanvasBBox(),s=a.minX,c=a.minY,l=a.maxX,u=a.maxY,h=a.x,f=a.y,p=a.width,d=a.height,g=h,y=f;(si?g=i-p:l>i&&(g-=l-i),c>o?y=o-d:u>o&&(y-=u-o),g===h&&y===f||sr(t,g-h,y-f)})}function yo(t,e,n,r){Object(s["each"])(e,function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minXi.maxX||r.maxY>i.maxY)&&t.remove(!0)})}var vo=100,mo=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=void 0===e?1:e,r=t.yGap,i=void 0===r?8:r;this.xGap=n,this.yGap=i}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.round(t.minX),i=Math.round(t.maxX),o=Math.round(t.minY),a=Math.round(t.maxY),s=r;s<=i;s+=1)if(n[s]){if(s===r||s===i){for(var c=o;c<=a;c++)if(n[s][c]){e=!1;break}}else if(n[s][o]||n[s][a]){e=!1;break}}else n[s]={};return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),r=Math.round(t.maxX),i=Math.round(t.minY),o=Math.round(t.maxY),a=n;a<=r;a+=1)e[a]||(e[a]={});for(a=n;a<=r;a+=this.xGap){for(var s=i;s<=o;s+=this.yGap)e[a][s]=!0;e[a][o]=!0}if(1!==this.yGap)for(a=i;a<=o;a+=1)e[n][a]=!0,e[r][a]=!0;if(1!==this.xGap)for(a=n;a<=r;a+=1)e[a][i]=!0,e[a][o]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();function bo(t,e,n){void 0===n&&(n=vo);var r,i=-1,o=t.attr(),a=o.x,s=o.y,c=t.getCanvasBBox(),l=Math.sqrt(c.width*c.width+c.height*c.height),u=-i,h=0,f=0,p=function(t){var e=.1*t;return[e*Math.cos(e),e*Math.sin(e)]};if(e.hasGap(c))return e.fillGap(c),!0;var d=!1,g=0,y={};while(Math.min(Math.abs(h),Math.abs(f))4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]},n=e(t[0],t[1]),r=e(t[1],t[2]);return[n,r]}function So(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var r=t.x,i=t.y;return{x:(r-n.x)*Math.cos(-e)+(i-n.y)*Math.sin(-e)+n.x,y:(n.x-r)*Math.sin(-e)+(i-n.y)*Math.cos(-e)+n.y}}function ko(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[So(e[0],n,e[0]),So(e[1],n,e[0]),So(e[2],n,e[0]),So(e[3],n,e[0])]:e}function Mo(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(jo([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function _o(t,e){return t.max>e.min&&t.mint.x+t.width+n||e.x+e.widtht.y+t.height+n||e.y+e.height=o.height:a.width>=o.width}function Bo(t,e,n){var r=!!t.getAdjust("stack");return r||e.every(function(e,r){var i=n[r];return Do(t,e,i)})}function Ro(t,e,n){var r=t.coordinate,i=J.fromObject(n.getBBox()),o=hr(e);r.isTransposed?o.attr({x:i.minX+i.width/2,textAlign:"center"}):o.attr({y:i.minY+i.height/2,textBaseline:"middle"})}function No(t,e,n){var r;if(0!==n.length){var i=null===(r=n[0])||void 0===r?void 0:r.get("element"),o=null===i||void 0===i?void 0:i.geometry;if(o&&"interval"===o.type){var a=Bo(o,e,n);a&&n.forEach(function(t,n){var r=e[n];Ro(o,r,t)})}}}function Yo(t){var e=500,n=[],r=Math.max(Math.floor(t.length/e),1);return Object(s["each"])(t,function(t,e){e%r===0?n.push(t):t.set("visible",!1)}),n}function zo(t,e,n){var r;if(0!==n.length){var i=null===(r=n[0])||void 0===r?void 0:r.get("element"),o=null===i||void 0===i?void 0:i.geometry;if(o&&"interval"===o.type){var a,c=Yo(e),l=o.getXYFields()[0],u=[],h=[],f=Object(s["groupBy"])(c,function(t){return t.get("data")[l]}),p=Object(s["uniq"])(Object(s["map"])(c,function(t){return t.get("data")[l]}));c.forEach(function(t){t.set("visible",!0)});var d=function(t){t&&(t.length&&h.push(t.pop()),h.push.apply(h,t))};Object(s["size"])(p)>0&&(a=p.shift(),d(f[a])),Object(s["size"])(p)>0&&(a=p.pop(),d(f[a])),Object(s["each"])(p.reverse(),function(t){d(f[t])});while(h.length>0){var g=h.shift();g.get("visible")&&(dr(g,u)?g.set("visible",!1):u.push(g))}}}}function Go(t,e){var n=t.getXYFields()[1],r=[],i=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]});return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}function Vo(t,e,n){return t.some(function(t){return n(t,e)})}function Xo(t,e,n){void 0===n&&(n=0);var r=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),i=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return r*i}function Wo(t,e){return Vo(t,e,function(t,e){var n=hr(t),r=hr(e);return Xo(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Ho(t,e,n,r,i){var o,a;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get("element"),l=null===c||void 0===c?void 0:c.geometry;if(l&&"point"===l.type){var u=l.getXYFields(),h=u[0],f=u[1],p=Object(s["groupBy"])(e,function(t){return t.get("data")[h]}),d=[],g=i&&i.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;Object(s["map"])(Object(s["keys"])(p).reverse(),function(t){var e=Go(l,p[t]);while(e.length){var n=e.shift(),r=hr(n);if(Vo(d,n,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[f]===e.get("data")[f]}))r.set("visible",!1);else{var i=Wo(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=Wo(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function Uo(t,e){var n=t.getXYFields()[1],r=[],i=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]});return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}function qo(t,e,n){return t.some(function(t){return n(t,e)})}function Zo(t,e,n){void 0===n&&(n=0);var r=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),i=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return r*i}function Ko(t,e){return qo(t,e,function(t,e){var n=hr(t),r=hr(e);return Zo(n.getCanvasBBox(),r.getCanvasBBox(),2)>0})}function Qo(t,e,n,r,i){var o,a;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get("element"),l=null===c||void 0===c?void 0:c.geometry;if(l&&!(["path","line","area"].indexOf(l.type)<0)){var u=l.getXYFields(),h=u[0],f=u[1],p=Object(s["groupBy"])(e,function(t){return t.get("data")[h]}),d=[],g=i&&i.offset||(null===(a=t[0])||void 0===a?void 0:a.offset)||12;Object(s["map"])(Object(s["keys"])(p).reverse(),function(t){var e=Uo(l,p[t]);while(e.length){var n=e.shift(),r=hr(n);if(qo(d,n,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[f]===e.get("data")[f]}))r.set("visible",!1);else{var i=Ko(d,n),o=!1;i&&(r.attr("y",r.attr("y")+2*g),o=Ko(d,n)),o?r.set("visible",!1):d.push(n)}}})}}}function $o(){return Po||(Po=document.createElement("canvas").getContext("2d")),Po}var Jo=Object(s["memoize"])(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,o=e.fontStyle,a=e.fontVariant,c=$o();return c.font=[o,a,i,n+"px",r].join(" "),c.measureText(Object(s["isString"])(t)?t:"").width},function(t,e){return void 0===e&&(e={}),Object(a["__spreadArrays"])([t],Object(s["values"])(e)).join("")}),ta=function(t,e,n){var r,i=16,o=Jo("...",n);r=Object(s["isString"])(t)?t:Object(s["toString"])(t);var a,c,l=e,u=[];if(Jo(t,n)<=e)return t;while(1){if(a=r.substr(0,i),c=Jo(a,n),c+o>l&&c>l)break;if(u.push(a),l-=c,r=r.substr(i),!r)return u.join("")}while(1){if(a=r.substr(0,1),c=Jo(a,n),c+o>l)break;if(u.push(a),l-=c,r=r.substr(1),!r)return u.join("")}return u.join("")+"..."};function ea(t,e,n,r,i){if(!(e.length<=0)){var o=(null===i||void 0===i?void 0:i.direction)||["top","right","bottom","left"],a=(null===i||void 0===i?void 0:i.action)||"translate",c=(null===i||void 0===i?void 0:i.margin)||0,l=e[0].get("coordinate");if(l){var u=st(l,c),h=u.minX,f=u.minY,p=u.maxX,d=u.maxY;Object(s["each"])(e,function(t){var e=t.getCanvasBBox(),n=e.minX,r=e.minY,i=e.maxX,c=e.maxY,l=e.x,u=e.y,g=e.width,y=e.height,v=l,m=u;if(o.indexOf("left")>=0&&(n=0&&(r=0&&(n>p?v=p-g:i>p&&(v-=i-p)),o.indexOf("bottom")>=0&&(r>d?m=d-y:c>d&&(m-=c-d)),v!==l||m!==u){var b=v-l;if("translate"===a)sr(t,b,m-u);else if("ellipsis"===a){var x=t.findAll(function(t){return"text"===t.get("type")});x.forEach(function(t){var e=Object(s["pick"])(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),r=ta(t.attr("text"),n.width-Math.abs(b),e);t.attr("text",r)})}else t.hide()}})}}}function na(t,e,n){var r={fillOpacity:Object(s["isNil"])(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:Object(s["isNil"])(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:Object(s["isNil"])(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(r,e)}function ra(t,e,n){var r={fillOpacity:0,strokeOpacity:0,opacity:0},i=e.easing,o=e.duration,a=e.delay;t.animate(r,o,i,function(){t.remove(!0)},a)}function ia(t,e,n){var r,i=e[0],o=e[1];return t.applyToMatrix([i,o,1]),"x"===n?(t.setMatrix(dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,1],["t",i,o]])),r=dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",100,1],["t",i,o]])):"y"===n?(t.setMatrix(dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",1,.01],["t",i,o]])),r=dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",1,100],["t",i,o]])):"xy"===n&&(t.setMatrix(dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",.01,.01],["t",i,o]])),r=dt["ext"].transform(t.getMatrix(),[["t",-i,-o],["s",100,100],["t",i,o]])),r}function oa(t,e,n,r,i){var o,a,s=n.start,c=n.end,l=n.getWidth(),u=n.getHeight();"y"===i?(o=s.x+l/2,a=r.ys.x?r.x:s.x,a=s.y+u/2):"xy"===i&&(n.isPolar?(o=n.getCenter().x,a=n.getCenter().y):(o=(s.x+c.x)/2,a=(s.y+c.y)/2));var h=ia(t,[o,a],i);t.animate({matrix:h},e)}function aa(t,e,n){var r=n.coordinate,i=n.minYPoint;oa(t,e,r,i,"x")}function sa(t,e,n){var r=n.coordinate,i=n.minYPoint;oa(t,e,r,i,"y")}function ca(t,e,n){var r=n.coordinate,i=n.minYPoint;oa(t,e,r,i,"xy")}function la(t,e,n){var r=t.getTotalLength();t.attr("lineDash",[r]),t.animate(function(t){return{lineDashOffset:(1-t)*r}},e)}function ua(t,e,n){var r=n.toAttrs,i=r.x,o=r.y;delete r.x,delete r.y,t.attr(r),t.animate({x:i,y:o},e)}function ha(t,e,n){var r=t.getBBox(),i=t.get("origin").mappingData,o=i.points,a=o[0].y-o[1].y>0?r.maxX:r.minX,s=(r.minY+r.maxY)/2;t.applyToMatrix([a,s,1]);var c=dt["ext"].transform(t.getMatrix(),[["t",-a,-s],["s",.01,1],["t",a,s]]);t.setMatrix(c),t.animate({matrix:dt["ext"].transform(t.getMatrix(),[["t",-a,-s],["s",100,1],["t",a,s]])},e)}function fa(t,e,n){var r=t.getBBox(),i=t.get("origin").mappingData,o=(r.minX+r.maxX)/2,a=i.points,s=a[0].y-a[1].y<=0?r.maxY:r.minY;t.applyToMatrix([o,s,1]);var c=dt["ext"].transform(t.getMatrix(),[["t",-o,-s],["s",1,.01],["t",o,s]]);t.setMatrix(c),t.animate({matrix:dt["ext"].transform(t.getMatrix(),[["t",-o,-s],["s",1,100],["t",o,s]])},e)}function pa(t,e){var n,r=Object(Dr["getArcParams"])(t,e),i=r.startAngle,o=r.endAngle;return!Object(s["isNumberEqual"])(i,.5*-Math.PI)&&i<.5*-Math.PI&&(i+=2*Math.PI),!Object(s["isNumberEqual"])(o,.5*-Math.PI)&&o<.5*-Math.PI&&(o+=2*Math.PI),0===e[5]&&(n=[o,i],i=n[0],o=n[1]),Object(s["isNumberEqual"])(i,1.5*Math.PI)&&(i=-.5*Math.PI),Object(s["isNumberEqual"])(o,-.5*Math.PI)&&(o=1.5*Math.PI),{startAngle:i,endAngle:o}}function da(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:"a"!==t[0]&&"A"!==t[0]||(e=[t[t.length-2],t[t.length-1]]),e}function ga(t){var e,n,r,i=t.filter(function(t){return"A"===t[0]||"a"===t[0]}),o=i[0],a=i.length>1?i[1]:i[0],c=t.indexOf(o),l=t.indexOf(a),u=da(t[c-1]),h=da(t[l-1]),f=pa(u,o),p=f.startAngle,d=f.endAngle,g=pa(h,a),y=g.startAngle,v=g.endAngle;Object(s["isNumberEqual"])(p,y)&&Object(s["isNumberEqual"])(d,v)?(n=p,r=d):(n=Math.min(p,y),r=Math.max(d,v));var m=o[1],b=i[i.length-1][1];return m=0;o--)for(var a=this.getFacetsByLevel(t,o),s=0,c=a;s=n){var i=r.parsePosition([t[c],t[a.field]]);i&&f.push(i)}if(t[c]===h)return!1}),f},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,r=this.view.getCoordinate(),i=r.start,o=r.end,a={x:Math.min(i.x,o.x),y:Math.min(i.y,o.y)},s=r.getWidth()*e+a.x,c=r.getHeight()*n+a.y;return{x:s,y:c}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,r=t.getWidth(),i=t.getHeight(),o={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y)};return{x:o.x,y:o.y,minX:o.x,minY:o.y,maxX:o.x+r,maxY:o.y+i,width:r,height:i}},e.prototype.getAnnotationCfg=function(t,e,n){var r=this,i=this.view.getCoordinate(),o=this.view.getCanvas(),c={};if(Object(s["isNil"])(e))return null;if("arc"===t){var l=e,u=l.start,h=l.end,f=this.parsePosition(u),p=this.parsePosition(h),d=ot(i,f),g=ot(i,p);d>g&&(g=2*Math.PI+g),c={center:i.getCenter(),radius:rt(i,f),startAngle:d,endAngle:g}}else if("image"===t){var y=e;u=y.start,h=y.end;c={start:this.parsePosition(u),end:this.parsePosition(h),src:e.src}}else if("line"===t){var v=e;u=v.start,h=v.end;c={start:this.parsePosition(u),end:this.parsePosition(h),text:Object(s["get"])(e,"text",null)}}else if("region"===t){var m=e;u=m.start,h=m.end;c={start:this.parsePosition(u),end:this.parsePosition(h)}}else if("text"===t){var b=this.view.getData(),x=e,O=x.position,w=x.content,j=Object(a["__rest"])(x,["position","content"]),C=w;Object(s["isFunction"])(w)&&(C=w(b)),c=Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},this.parsePosition(O)),j),{content:C})}else if("dataMarker"===t){var S=e,k=(O=S.position,S.point),M=S.line,_=S.text,A=S.autoAdjust,T=S.direction;c=Object(a["__assign"])(Object(a["__assign"])({},this.parsePosition(O)),{coordinateBBox:this.getCoordinateBBox(),point:k,line:M,text:_,autoAdjust:A,direction:T})}else if("dataRegion"===t){var E=e,P=(u=E.start,h=E.end,E.region),L=(_=E.text,E.lineLength);c={points:this.getRegionPoints(u,h),region:P,text:_,lineLength:L}}else if("regionFilter"===t){var I=e,F=(u=I.start,h=I.end,I.apply),D=I.color,B=this.view.geometries,R=[],N=function(t){t&&(t.isGroup()?t.getChildren().forEach(function(t){return N(t)}):R.push(t))};Object(s["each"])(B,function(t){F?Object(s["contains"])(F,t.type)&&Object(s["each"])(t.elements,function(t){N(t.shape)}):Object(s["each"])(t.elements,function(t){N(t.shape)})}),c={color:D,shapes:R,start:this.parsePosition(u),end:this.parsePosition(h)}}else if("shape"===t){var Y=e,z=Y.render,G=Object(a["__rest"])(Y,["render"]),V=function(t){if(Object(s["isFunction"])(e.render))return z(t,r.view,{parsePosition:r.parsePosition.bind(r)})};c=Object(a["__assign"])(Object(a["__assign"])({},G),{render:V})}else if("html"===t){var X=e,W=X.html,H=(O=X.position,G=Object(a["__rest"])(X,["html","position"]),function(t){return Object(s["isFunction"])(W)?W(t,r.view):W});c=Object(a["__assign"])(Object(a["__assign"])(Object(a["__assign"])({},G),this.parsePosition(O)),{parent:o.get("el").parentNode,html:H})}var U=Object(s["deepMix"])({},n,Object(a["__assign"])(Object(a["__assign"])({},c),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(U.container=this.getComponentContainer(U)),U.animate=this.view.getOptions().animate&&U.animate&&Object(s["get"])(e,"animate",U.animate),U.animateOption=Object(s["deepMix"])({},Ln,U.animateOption,e.animateOption),U},e.prototype.isTop=function(t){return Object(s["get"])(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return Object(s["get"])(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,r=this.getAnnotationTheme(n),i=this.getAnnotationCfg(n,t,r);Q(i,["container"]),e.component.update(i),Object(s["includes"])(Ra,t.type)&&e.component.render()}else e=this.createAnnotation(t),e&&(e.component.init(),Object(s["includes"])(Ra,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach(function(t,e){n.set(e,t)}),n.forEach(function(t,r){Object(s["find"])(e.option,function(t){return r===e.getCacheKey(t)})||(t.component.destroy(),n.delete(r))}),n},e.prototype.getCacheKey=function(t){return t},e}(kn),Ya=Na;function za(t,e){return Object(s["get"])(t,["components","axis",e,"grid"],{})}function Ga(t,e,n,r){var i=[],o=e.getTicks();return t.isPolar&&o.push({value:1,text:"",tickValue:""}),o.reduce(function(e,o,a){var s=o.value;if(r)i.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(a){var c=e.value,l=(c+s)/2;i.push({points:[t.convert("y"===n?{x:0,y:l}:{x:l,y:0}),t.convert("y"===n?{x:1,y:l}:{x:l,y:1})]})}return o},o[0]),i}function Va(t,e,n,r,i){var o=e.values.length,a=[],c=n.getTicks();return c.reduce(function(e,n){var c=e?e.value:n.value,l=n.value,u=(c+l)/2;return"x"===i?a.push({points:[t.convert({x:r?l:u,y:0}),t.convert({x:r?l:u,y:1})]}):a.push({points:Object(s["map"])(Array(o+1),function(e,n){return t.convert({x:n/o,y:r?l:u})})}),n},c[0]),a}function Xa(t,e){var n=Object(s["get"])(e,"grid");if(null===n)return!1;var r=Object(s["get"])(t,"grid");return!(void 0===n&&null===r)}var Wa=["container"],Ha=Object(a["__assign"])(Object(a["__assign"])({},Ln),{appear:null}),Ua=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(r.BG).addGroup(),n.axisContainer=n.view.getLayer(r.BG).addGroup(),n}return Object(a["__extends"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,e=this.view.getCoordinate();Object(s["each"])(this.getComponents(),function(n){var r,i=n.component,a=n.direction,s=n.type,c=n.extra,l=c.dim,u=c.scale,h=c.alignTick;if(s===o.AXIS)e.isPolar?"x"===l?r=e.isTransposed?vt(e,a):Ot(e):"y"===l&&(r=e.isTransposed?Ot(e):vt(e,a)):r=vt(e,a);else if(s===o.GRID)if(e.isPolar){var f=void 0;f=e.isTransposed?"x"===l?Va(e,t.view.getYScales()[0],u,h,l):Ga(e,u,l,h):"x"===l?Ga(e,u,l,h):Va(e,t.view.getXScale(),u,h,l),r={items:f,center:t.view.getCoordinate().getCenter()}}else r={items:Ga(e,u,l,h)};i.update(r)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var e=new Map;this.cache.forEach(function(n,r){t.has(r)?e.set(r,n):n.component.destroy()}),this.cache=e},e.prototype.clear=function(){t.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.axisContainer.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.gridContainer.remove(!0),this.axisContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(e){t.push(e)}),t},e.prototype.updateXAxes=function(t){var e=this.view.getXScale();if(e&&!e.isIdentity){var n=wt(this.option,e.field);if(!1!==n){var o=jt(n,i.BOTTOM),a=r.BG,c="x",l=this.view.getCoordinate(),u=this.getId("axis",e.field),h=this.getId("grid",e.field);if(l.isRect){var f=this.cache.get(u);if(f){var p=this.getLineAxisCfg(e,n,o);Q(p,Wa),f.component.update(p),t.set(u,f)}else f=this.createLineAxis(e,n,a,o,c),this.cache.set(u,f),t.set(u,f);var d=this.cache.get(h);if(d){p=this.getLineGridCfg(e,n,o,c);Q(p,Wa),d.component.update(p),t.set(h,d)}else d=this.createLineGrid(e,n,a,o,c),d&&(this.cache.set(h,d),t.set(h,d))}else if(l.isPolar){f=this.cache.get(u);if(f){p=l.isTransposed?this.getLineAxisCfg(e,n,i.RADIUS):this.getCircleAxisCfg(e,n,o);Q(p,Wa),f.component.update(p),t.set(u,f)}else{if(l.isTransposed){if(Object(s["isUndefined"])(n))return;f=this.createLineAxis(e,n,a,i.RADIUS,c)}else f=this.createCircleAxis(e,n,a,o,c);this.cache.set(u,f),t.set(u,f)}d=this.cache.get(h);if(d){p=l.isTransposed?this.getCircleGridCfg(e,n,i.RADIUS,c):this.getLineGridCfg(e,n,i.CIRCLE,c);Q(p,Wa),d.component.update(p),t.set(h,d)}else{if(l.isTransposed){if(Object(s["isUndefined"])(n))return;d=this.createCircleGrid(e,n,a,i.RADIUS,c)}else d=this.createLineGrid(e,n,a,i.CIRCLE,c);d&&(this.cache.set(h,d),t.set(h,d))}}}}},e.prototype.updateYAxes=function(t){var e=this,n=this.view.getYScales();Object(s["each"])(n,function(n,o){if(n&&!n.isIdentity){var a=n.field,c=wt(e.option,a);if(!1!==c){var l=r.BG,u="y",h=e.getId("axis",a),f=e.getId("grid",a),p=e.view.getCoordinate();if(p.isRect){var d=jt(c,0===o?i.LEFT:i.RIGHT),g=e.cache.get(h);if(g){var y=e.getLineAxisCfg(n,c,d);Q(y,Wa),g.component.update(y),t.set(h,g)}else g=e.createLineAxis(n,c,l,d,u),e.cache.set(h,g),t.set(h,g);var v=e.cache.get(f);if(v){y=e.getLineGridCfg(n,c,d,u);Q(y,Wa),v.component.update(y),t.set(f,v)}else v=e.createLineGrid(n,c,l,d,u),v&&(e.cache.set(f,v),t.set(f,v))}else if(p.isPolar){g=e.cache.get(h);if(g){y=p.isTransposed?e.getCircleAxisCfg(n,c,i.CIRCLE):e.getLineAxisCfg(n,c,i.RADIUS);Q(y,Wa),g.component.update(y),t.set(h,g)}else{if(p.isTransposed){if(Object(s["isUndefined"])(c))return;g=e.createCircleAxis(n,c,l,i.CIRCLE,u)}else g=e.createLineAxis(n,c,l,i.RADIUS,u);e.cache.set(h,g),t.set(h,g)}v=e.cache.get(f);if(v){y=p.isTransposed?e.getLineGridCfg(n,c,i.CIRCLE,u):e.getCircleGridCfg(n,c,i.RADIUS,u);Q(y,Wa),v.component.update(y),t.set(f,v)}else{if(p.isTransposed){if(Object(s["isUndefined"])(c))return;v=e.createLineGrid(n,c,l,i.CIRCLE,u)}else v=e.createCircleGrid(n,c,l,i.RADIUS,u);v&&(e.cache.set(f,v),t.set(f,v))}}}}})},e.prototype.createLineAxis=function(t,e,n,r,a){var s={component:new F(this.getLineAxisCfg(t,e,r)),layer:n,direction:r===i.RADIUS?i.NONE:r,type:o.AXIS,extra:{dim:a,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,e,n,r,a){var c=this.getLineGridCfg(t,e,r,a);if(c){var l={component:new B(c),layer:n,direction:i.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s["get"])(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,e,n,r,i){var a={component:new D(this.getCircleAxisCfg(t,e,r)),layer:n,direction:r,type:o.AXIS,extra:{dim:i,scale:t}};return a.component.set("field",t.field),a.component.init(),a},e.prototype.createCircleGrid=function(t,e,n,r,a){var c=this.getCircleGridCfg(t,e,r,a);if(c){var l={component:new R(c),layer:n,direction:i.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s["get"])(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,e,n){var r=this.axisContainer,i=this.view.getCoordinate(),o=vt(i,n),c=Ct(t,e),l=xt(this.view.getTheme(),n),u=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:c}}},{title:Object(s["get"])(xt(this.view.getTheme(),"common"),"title")},e):e,h=Object(s["deepMix"])(Object(a["__assign"])(Object(a["__assign"])({container:r},o),{ticks:t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}}),verticalFactor:i.isPolar?-1*bt(o,i.getCenter()):bt(o,i.getCenter()),theme:l}),l,u),f=this.getAnimateCfg(h),p=f.animate,d=f.animateOption;h.animateOption=d,h.animate=p;var g=mt(o),y=Object(s["get"])(h,"verticalLimitLength",g?1/3:.5);if(y<=1){var v=this.view.getCanvas().get("width"),m=this.view.getCanvas().get("height");h.verticalLimitLength=y*(g?v:m)}return h},e.prototype.getLineGridCfg=function(t,e,n,r){if(Xa(xt(this.view.getTheme(),n),e)){var i=za(this.view.getTheme(),n),o=Object(s["deepMix"])({container:this.gridContainer},i,Object(s["get"])(e,"grid"),this.getAnimateCfg(e));return o.items=Ga(this.view.getCoordinate(),t,r,Object(s["get"])(o,"alignTick",!0)),o}},e.prototype.getCircleAxisCfg=function(t,e,n){var r=this.axisContainer,o=this.view.getCoordinate(),c=t.getTicks().map(function(t){return{id:""+t.tickValue,name:t.text,value:t.value}});t.isCategory||Math.abs(o.endAngle-o.startAngle)!==2*Math.PI||c.pop();var l=Ct(t,e),u=xt(this.view.getTheme(),i.CIRCLE),h=Object(s["get"])(e,["title"])?Object(s["deepMix"])({title:{style:{text:l}}},{title:Object(s["get"])(xt(this.view.getTheme(),"common"),"title")},e):e,f=Object(s["deepMix"])(Object(a["__assign"])(Object(a["__assign"])({container:r},Ot(this.view.getCoordinate())),{ticks:c,verticalFactor:1,theme:u}),u,h),p=this.getAnimateCfg(f),d=p.animate,g=p.animateOption;return f.animate=d,f.animateOption=g,f},e.prototype.getCircleGridCfg=function(t,e,n,r){if(Xa(xt(this.view.getTheme(),n),e)){var o=za(this.view.getTheme(),i.RADIUS),a=Object(s["deepMix"])({container:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,Object(s["get"])(e,"grid"),this.getAnimateCfg(e)),c=Object(s["get"])(a,"alignTick",!0),l="x"===r?this.view.getYScales()[0]:this.view.getXScale();return a.items=Va(this.view.getCoordinate(),l,t,c,r),a}},e.prototype.getId=function(t,e){var n=this.view.getCoordinate();return t+"-"+e+"-"+n.type},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&Object(s["get"])(t,"animate"),animateOption:t&&t.animateOption?Object(s["deepMix"])({},Ha,t.animateOption):Ha}},e}(kn),qa=Ua;function Za(t,e,n){return n===i.TOP?[t.minX+t.width/2-e.width/2,t.minY]:n===i.BOTTOM?[t.minX+t.width/2-e.width/2,t.maxY-e.height]:n===i.LEFT?[t.minX,t.minY+t.height/2-e.height/2]:n===i.RIGHT?[t.maxX-e.width,t.minY+t.height/2-e.height/2]:n===i.TOP_LEFT||n===i.LEFT_TOP?[t.tl.x,t.tl.y]:n===i.TOP_RIGHT||n===i.RIGHT_TOP?[t.tr.x-e.width,t.tr.y]:n===i.BOTTOM_LEFT||n===i.LEFT_BOTTOM?[t.bl.x,t.bl.y-e.height]:n===i.BOTTOM_RIGHT||n===i.RIGHT_BOTTOM?[t.br.x-e.width,t.br.y-e.height]:[0,0]}function Ka(t,e){return Object(s["isBoolean"])(t)?!1!==t&&{}:Object(s["get"])(t,[e],t)}function Qa(t){return Object(s["get"])(t,"position",i.BOTTOM)}var $a=function(t){function e(e){var n=t.call(this,e)||this;return n.container=n.view.getLayer(r.FORE).addGroup(),n}return Object(a["__extends"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,Object(s["each"])(this.components,function(e){var n=e.component,r=e.direction,i=kr(r),o=t.getCategoryLegendSizeCfg(i),a=n.get("maxWidth"),s=n.get("maxHeight");n.update({maxWidth:Math.min(o.maxWidth,a||0),maxHeight:Math.min(o.maxHeight,s||0)});var c=n.get("padding"),l=n.getLayoutBBox(),u=new J(l.x,l.y,l.width,l.height).expand(c),h=Za(t.view.viewBBox,u,r),f=h[0],p=h[1],d=Za(t.layoutBBox,u,r),g=d[0],y=d[1],v=0,m=0;r.startsWith("top")||r.startsWith("bottom")?(v=f,m=y):(v=g,m=p),n.setLocation({x:v+c[3],y:m+c[0]}),t.layoutBBox=t.layoutBBox.cut(u,r)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var e={},n=function(n,r,i){var o=t.getId(i.field),a=t.getComponentById(o);if(a){var c=void 0,l=Ka(t.option,i.field);!1!==l&&(Object(s["get"])(l,"custom")?c=t.getCategoryCfg(n,r,i,l,!0):i.isLinear?c=t.getContinuousCfg(n,r,i,l):i.isCategory&&(c=t.getCategoryCfg(n,r,i,l))),c&&(Q(c,["container"]),a.direction=Qa(l),a.component.update(c),e[o]=!0)}else{var u=t.createFieldLegend(n,r,i);u&&(u.component.init(),t.components.push(u),e[o]=!0)}};if(Object(s["get"])(this.option,"custom")){var i="global-custom",a=this.getComponentById(i);if(a){var c=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);Q(c,["container"]),a.component.update(c),e[i]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=r.FORE,h=Qa(this.option);this.components.push({id:i,component:l,layer:u,direction:h,type:o.LEGEND,extra:void 0}),e[i]=!0}}}else this.loopLegends(n);var f=[];Object(s["each"])(this.getComponents(),function(t){e[t.id]?f.push(t):t.component.destroy()}),this.components=f},e.prototype.clear=function(){t.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var e=this,n=t.geometries;return Object(s["each"])(t.views,function(t){n=n.concat(e.getGeometries(t))}),n},e.prototype.loopLegends=function(t){var e=this.view.getRootView()===this.view;if(e){var n=this.getGeometries(this.view),r={};Object(s["each"])(n,function(e){var n=e.getGroupAttributes();Object(s["each"])(n,function(n){var i=n.getScale(n.type);i&&"identity"!==i.type&&!r[i.field]&&(t(e,n,i),r[i.field]=!0)})})}},e.prototype.createFieldLegend=function(t,e,n){var i,a=Ka(this.option,n.field),c=r.FORE,l=Qa(a);if(!1!==a&&(Object(s["get"])(a,"custom")?i=this.createCustomLegend(t,e,n,a):n.isLinear?i=this.createContinuousLegend(t,e,n,a):n.isCategory&&(i=this.createCategoryLegend(t,e,n,a))),i)return i.set("field",n.field),{id:this.getId(n.field),component:i,layer:c,direction:l,type:o.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r,!0);return new N(i)},e.prototype.createContinuousLegend=function(t,e,n,r){var i=this.getContinuousCfg(t,e,n,r);return new Y(i)},e.prototype.createCategoryLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r);return new N(i)},e.prototype.getContinuousCfg=function(t,e,n,r){var i=n.getTicks(),o=Object(s["find"])(i,function(t){return 0===t.value}),a=Object(s["find"])(i,function(t){return 1===t.value}),c=i.map(function(t){var r=t.value,i=t.tickValue,o=e.mapping(n.invert(r)).join("");return{value:i,attrValue:o,color:o,scaleValue:r}});o||c.push({value:n.min,attrValue:e.mapping(n.invert(0)).join(""),color:e.mapping(n.invert(0)).join(""),scaleValue:0}),a||c.push({value:n.max,attrValue:e.mapping(n.invert(1)).join(""),color:e.mapping(n.invert(1)).join(""),scaleValue:1}),c.sort(function(t,e){return t.value-e.value});var l={min:Object(s["head"])(c).value,max:Object(s["last"])(c).value,colors:[],rail:{type:e.type},track:{}};"size"===e.type&&(l.track={style:{fill:"size"===e.type?this.view.getTheme().defaultColor:void 0}}),"color"===e.type&&(l.colors=c.map(function(t){return t.attrValue}));var u=this.container,h=Qa(r),f=kr(h),p=Object(s["get"])(r,"title");return p&&(p=Object(s["deepMix"])({text:ft(n)},p)),l.container=u,l.layout=f,l.title=p,l.animateOption=Ln,this.mergeLegendCfg(l,r,"continuous")},e.prototype.getCategoryCfg=function(t,e,n,r,o){var a=this.container,c=Object(s["get"])(r,"position",i.BOTTOM),l=Object(s["get"])(this.view.getTheme(),["components","legend",c,"marker"]),u=Object(s["get"])(r,"marker"),h=kr(c),f=o?_r(l,u,r.items):Mr(this.view,t,e,l,u),p=Object(s["get"])(r,"title");p&&(p=Object(s["deepMix"])({text:n?ft(n):""},p));var d=this.getCategoryLegendSizeCfg(h);d.container=a,d.layout=h,d.items=f,d.title=p,d.animateOption=Ln;var g=this.mergeLegendCfg(d,r,c);g.reversed&&g.items.reverse();var y=Object(s["get"])(g,"maxItemWidth");return y&&y<=1&&(g.maxItemWidth=this.view.viewBBox.width*y),g},e.prototype.mergeLegendCfg=function(t,e,n){var r=n.split("-")[0],i=Object(s["get"])(this.view.getTheme(),["components","legend",r],{});return Object(s["deepMix"])({},i,t,e)},e.prototype.getId=function(t){return this.name+"-"+t},e.prototype.getComponentById=function(t){return Object(s["find"])(this.components,function(e){return e.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t){var e=this.view.viewBBox,n=e.width,r=e.height;return"vertical"===t?{maxWidth:n*v,maxHeight:r}:{maxWidth:n,maxHeight:r*v}},e}(kn),Ja=$a,ts=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s["noop"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t[0],r=t[1];n.start=e,n.end=r,n.changeViewData(e,r)},n.container=n.view.getLayer(r.FORE).addGroup(),n.onChangeFn=Object(s["throttle"])(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(c.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(c.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a["__extends"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(c.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(c.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),e=t.start,n=t.end;Object(s["isNil"])(this.start)&&(this.start=e,this.end=n);var r=this.view.getOptions().data;this.option&&!Object(s["isEmpty"])(r)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var e=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),r=n[0],o=(n[1],n[2],n[3]),s=this.slider.component.getLayoutBBox(),c=new J(s.x,s.y,Math.min(s.width,e),s.height).expand(n),l=this.getMinMaxText(this.start,this.end),u=l.minText,h=l.maxText,f=Za(this.view.viewBBox,c,i.BOTTOM),p=(f[0],f[1]),d=Za(this.view.coordinateBBox,c,i.BOTTOM),g=d[0];d[1];this.slider.component.update(Object(a["__assign"])(Object(a["__assign"])({},this.getSliderCfg()),{x:g+o,y:p+r,width:this.width,start:this.start,end:this.end,minText:u,maxText:h})),this.view.viewBBox=this.view.viewBBox.cut(c,i.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),e=new I["Slider"](Object(a["__assign"])({container:this.container},t));return e.init(),{component:e,layer:r.FORE,direction:i.BOTTOM,type:o.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var e=this.getMinMaxText(this.start,this.end),n=e.minText,r=e.maxText;t=Object(a["__assign"])(Object(a["__assign"])({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:r})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if(Object(s["isObject"])(this.option)){var e=Object(a["__assign"])({data:this.getData()},Object(s["get"])(this.option,"trendCfg",{}));t=Object(s["deepMix"])({},t,this.getThemeOptions(),this.option),t=Object(a["__assign"])(Object(a["__assign"])({},t),{trendCfg:e})}return t.start=Object(s["clamp"])(Math.min(Object(s["isNil"])(t.start)?0:t.start,Object(s["isNil"])(t.end)?1:t.end),0,1),t.end=Object(s["clamp"])(Math.max(Object(s["isNil"])(t.start)?0:t.start,Object(s["isNil"])(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,e=this.view.getYScales()[0],n=this.view.getGroupScales();if(n.length){var r=n[0],i=r.field,o=r.ticks;return t.reduce(function(t,n){return n[i]===o[0]&&t.push(n[e.field]),t},[])}return t.map(function(t){return t[e.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s["get"])(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),i=!0,o=Object(s["valuesOfKey"])(n,r.field),a=i?o:o.reverse(),c=Object(s["size"])(n);if(!r||!c)return{};var l=Object(s["size"])(a),u=Math.floor(t*(l-1)),h=Math.floor(e*(l-1)),f=Object(s["get"])(a,[u]),p=Object(s["get"])(a,[h]),d=this.getSliderCfg().formatter;return d&&(f=d(f,n[u],u),p=d(p,n[h],h)),{minText:f,maxText:p}},e.prototype.changeViewData=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),i=!0,o=Object(s["valuesOfKey"])(n,r.field),a=i?o:o.reverse(),c=Object(s["size"])(n);if(r&&c){var l=Object(s["size"])(a),u=Math.floor(t*(l-1)),h=Math.floor(e*(l-1));this.view.filter(r.field,function(t,e){var n=a.indexOf(t);return!(n>-1)||Z(n,u,h)}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(kn),es=ts,ns=0,rs=8,is=32,os=20,as=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s["noop"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,r=n.getValidScrollbarCfg().animate;n.ratio=Object(s["clamp"])(e,0,1);var i=n.view.getOptions().animate;r||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(i)},n.container=n.view.getLayer(r.FORE).addGroup(),n.onChangeFn=Object(s["throttle"])(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(c.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(c.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a["__extends"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(c.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(c.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),r=this.scrollbar.component.getLayoutBBox(),o=new J(r.x,r.y,Math.min(r.width,e),r.height).expand(n),s=this.getScrollbarComponentCfg(),c=void 0,l=void 0;if(s.isHorizontal){var u=Za(this.view.viewBBox,o,i.BOTTOM),h=(u[0],u[1]),f=Za(this.view.coordinateBBox,o,i.BOTTOM),p=f[0];f[1];c=p,l=h}else{var d=Za(this.view.viewBBox,o,i.RIGHT),g=(d[0],h=d[1],Za(this.view.viewBBox,o,i.RIGHT));p=g[0],g[1];c=p,l=h}c+=n[3],l+=n[0],this.trackLen?this.scrollbar.component.update(Object(a["__assign"])(Object(a["__assign"])({},s),{x:c,y:l,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(Object(a["__assign"])(Object(a["__assign"])({},s),{x:c,y:l})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?i.BOTTOM:i.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s["get"])(t,["components","slider","common"],{})},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.view.getOptions().data,this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),r=n.trackLen,i=n.thumbLen;this.trackLen=r,this.thumbLen=i,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*Object(s["clamp"])(this.ratio,0,1)),e=Math.min(t+this.step-1,this.cnt-1);return[t,e]},e.prototype.changeViewData=function(t,e){var n=this,r=t[0],i=t[1],o=this.getValidScrollbarCfg().type,a="vertical"!==o,c=Object(s["valuesOfKey"])(this.data,this.xScaleCfg.field),l=a?c:c.reverse();this.yScalesCfg.forEach(function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})}),this.view.filter(this.xScaleCfg.field,function(t){var e=l.indexOf(t);return!(e>-1)||Z(e,r,i)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e="vertical"!==t,n=new I["Scrollbar"](Object(a["__assign"])(Object(a["__assign"])({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:r.FORE,direction:e?i.BOTTOM:i.RIGHT,type:o.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?Object(a["__assign"])(Object(a["__assign"])({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):Object(a["__assign"])({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,r=e.categorySize,i="vertical"!==n;return Math.floor((i?t.width:t.height)/r)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.view.getOptions().data,n=Object(s["valuesOfKey"])(e,t.field);return Object(s["size"])(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,r=(this.view.getXScale(),this.getValidScrollbarCfg()),i=r.type,o=r.padding,c=r.width,l=r.height,u="vertical"!==i,h=o[0],f=o[1],p=o[2],d=o[3],g=u?{x:e.minX+d,y:n.maxY-l-p}:{x:n.maxX-c-f,y:e.minY+h},y=this.getStep(),v=this.getCnt(),m=u?e.width-d-f:e.height-h-p,b=Math.max(m*Object(s["clamp"])(y/v,0,1),os);return Object(a["__assign"])(Object(a["__assign"])({},this.getThemeOptions()),{x:g.x,y:g.y,size:u?l:c,isHorizontal:u,trackLen:m,thumbLen:b,thumbOffset:0})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:is,width:rs,height:rs,padding:[0,0,0,0],animate:!0};return Object(s["isObject"])(this.option)&&(t=Object(a["__assign"])(Object(a["__assign"])({},t),this.option)),Object(s["isObject"])(this.option)&&this.option.padding||(t.padding="horizontal"===t.type?[ns,0,ns,0]:[0,ns,0,ns]),t},e}(kn),ss=as,cs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.show=function(){var t=this.context.view,e=this.context.event,n=t.getTooltipItems({x:e.x,y:e.y});if(!Object(s["isEqual"])(n,this.items)&&(this.items=n,n.length)){var r=t.getXScale().field,i=n[0].data[r],o=[],a=t.geometries;if(Object(s["each"])(a,function(t){if("interval"===t.type||"schema"===t.type){var e=t.getElementsBy(function(t){var e=t.getData();return e[r]===i});o=o.concat(e)}}),o.length){var c=t.getCoordinate(),l=o[0].shape.getCanvasBBox(),u=o[0].shape.getCanvasBBox(),h=l;Object(s["each"])(o,function(t){var e=t.shape.getCanvasBBox();c.isTransposed?(e.minYu.maxY&&(u=e)):(e.minXu.maxX&&(u=e)),h.x=Math.min(e.minX,h.minX),h.y=Math.min(e.minY,h.minY),h.width=Math.max(e.maxX,h.maxX)-h.x,h.height=Math.max(e.maxY,h.maxY)-h.y});var f=t.backgroundGroup,p=t.coordinateBBox,d=void 0;if(c.isRect){var g=t.getXScale(),y=g.isLinear?0:.25,v=void 0,m=void 0,b=void 0,x=void 0;c.isTransposed?(v=p.minX,m=Math.min(u.minY,l.minY)-y*u.height,b=p.width,x=h.height+2*y*u.height):(v=Math.min(l.minX,u.minX)-y*l.width,m=Math.min(p.minY,l.minY),b=h.width+2*y*l.width,x=p.height),d=[["M",v,m],["L",v+b,m],["L",v+b,m+x],["L",v,m+x],["Z"]]}else{var O=Object(s["head"])(o),w=Object(s["last"])(o),j=H(O.getModel(),c).startAngle,C=H(w.getModel(),c).endAngle,S=c.getCenter(),k=c.getRadius(),M=c.innerRadius*k;d=X(S.x,S.y,k,j,C,M)}this.regionPath?(this.regionPath.attr("path",d),this.regionPath.show()):this.regionPath=f.addShape({type:"path",name:"active-region",capture:!1,attrs:{path:d,fill:"#CCD6EC",opacity:.3}})}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(Tt),ls=cs,us=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["__extends"])(e,t),e.prototype.show=function(){var t=this.context,e=t.event,n=t.view,r=n.isTooltipLocked();if(!r){var i=this.timeStamp,o=+new Date,a=Object(s["get"])(t.view.getOptions(),"tooltip.showDelay",16);if(o-i>a){var c=this.location,l={x:e.x,y:e.y};c&&Object(s["isEqual"])(c,l)||this.showTooltip(n,l),this.timeStamp=o,this.location=l}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,r=n.clientX,i=n.clientY;e.isCursorEntered({x:r,y:i})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(Tt),hs=us,fs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.showTooltip=function(t,e){var n=ve(t);Object(s["each"])(n,function(n){var r=be(t,n,e);n.showTooltip(r)})},e.prototype.hideTooltip=function(t){var e=ve(t);Object(s["each"])(e,function(t){t.hideTooltip()})},e}(hs),ps=fs,ds=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a["__extends"])(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,e=t.event,n=this.timeStamp,r=+new Date;if(r-n>16){var i=this.location,o={x:e.x,y:e.y};i&&Object(s["isEqual"])(i,o)||this.showTooltip(o),this.timeStamp=r,this.location=o}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context,n=e.event,r=n.target;if(r&&r.get("tip")){this.tooltip||this.renderTooltip();var i=r.get("tip");this.tooltip.update(Object(a["__assign"])({title:i},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t=this.context.view,e=t.canvas,n={start:{x:0,y:0},end:{x:e.get("width"),y:e.get("height")}},r=t.getTheme(),i=Object(s["get"])(r,["components","tooltip","domStyles"],{}),o=new z({parent:e.get("el").parentNode,region:n,visible:!1,crosshairs:null,domStyles:i});o.init(),o.setCapture(!1),this.tooltip=o},e}(Tt),gs=ds,ys=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e}return Object(a["__extends"])(e,t),e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,e){t.setState(this.stateName,e)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var e=this,n=se(t,this.stateName);Object(s["each"])(n,function(t){e.setElementState(t,!1)})},e}(Tt),vs=ys;function ms(t){return Object(s["get"])(t.get("delegateObject"),"item")}var bs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreListItemStates=["unchecked"],e}return Object(a["__extends"])(e,t),e.prototype.isItemIgnore=function(t,e){var n=this.ignoreListItemStates,r=n.filter(function(n){return e.hasState(t,n)});return!!r.length},e.prototype.setStateByComponent=function(t,e,n){var r=this.context.view,i=t.get("field"),o=oe(r);this.setElementsStateByItem(o,i,e,n)},e.prototype.setStateByElement=function(t,e){this.setElementState(t,e)},e.prototype.isMathItem=function(t,e,n){var r=this.context.view,i=Oe(r,e),o=ce(t,e);return!Object(s["isNil"])(o)&&n.name===i.getText(o)},e.prototype.setElementsStateByItem=function(t,e,n,r){var i=this;Object(s["each"])(t,function(t){i.isMathItem(t,e,n)&&t.setState(i.stateName,r)})},e.prototype.setStateEnable=function(t){var e=Qt(this.context);if(e)Jt(this.context)&&this.setStateByElement(e,t);else{var n=$t(this.context);if(te(n)){var r=n.item,i=n.component;if(r&&i&&!this.isItemIgnore(r,i)){var o=this.context.event.gEvent;if(o&&o.fromShape&&o.toShape&&ms(o.fromShape)===ms(o.toShape))return;this.setStateByComponent(i,r,t)}}}},e.prototype.toggle=function(){var t=Qt(this.context);if(t){var e=t.hasState(this.stateName);this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(vs),xs=bs,Os=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.active=function(){this.setState()},e}(xs),ws=Os,js=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return Object(a["__extends"])(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");if(!n)return null;var r=t.getScaleByField(n.getFields()[0]);return r},e.prototype.getLinkPath=function(t,e){var n=this.context.view,r=n.getCoordinate().isTransposed,i=t.shape.getCanvasBBox(),o=e.shape.getCanvasBBox(),a=r?[["M",i.minX,i.minY],["L",o.minX,o.maxY],["L",o.maxX,o.maxY],["L",i.maxX,i.minY],["Z"]]:[["M",i.maxX,i.minY],["L",o.minX,o.minY],["L",o.minX,o.maxY],["L",i.maxX,i.maxY],["Z"]];return a},e.prototype.addLinkShape=function(t,e,n){t.addShape({type:"path",attrs:{opacity:.4,fill:e.shape.attr("fill"),path:this.getLinkPath(e,n)}})},e.prototype.linkByElement=function(t){var e=this,n=this.context.view,r=this.getColorScale(n,t);if(r){var i=ce(t,r.field);if(!this.cache[i]){var o=ae(n,r.field,i),a=this.linkGroup,c=a.addGroup();this.cache[i]=c;var l=o.length;Object(s["each"])(o,function(t,n){if(n=0},e)},e}(ks),Hs=Ws,Us=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,e){var n=this.context.view,r=oe(n);Ds(r,function(e){return t===e},e)},e.prototype.clear=function(){var t=this.context.view;Fs(t)},e}(Ts),qs=Us,Zs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(ks),Ks=Zs,Qs=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(xs),$s=Qs,Js=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(Ts),tc=Js,ec=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return Object(a["__extends"])(e,t),e.prototype.getTriggerListInfo=function(){var t=$t(this.context),e=null;return te(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=pe(e),r=[];return Object(s["each"])(n,function(e){e.isList()&&t.allowSetStateByElement(e)&&r.push(e)}),r},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();Object(s["each"])(e,function(e){e.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var r=this.context.view,i=Oe(r,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;if(n.length){var r=n.filter(function(n){return e.hasState(t,n)});return 0===r.length}return!0},e.prototype.setStateByElement=function(t,e,n){var r=t.get("field"),i=this.context.view,o=Oe(i,r),a=ce(e,r),s=o.getText(a);this.setItemsState(t,s,n)},e.prototype.setStateEnable=function(t){var e=this,n=Qt(this.context);if(n){var r=this.getAllowComponents();Object(s["each"])(r,function(r){e.setStateByElement(r,n,t)})}else{var i=$t(this.context);if(te(i)){var o=i.item,a=i.component;this.allowSetStateByElement(a)&&this.allowSetStateByItem(o,a)&&this.setItemState(a,o,t)}}},e.prototype.setItemsState=function(t,e,n){var r=this,i=t.getItems();Object(s["each"])(i,function(i){i.name===e&&r.setItemState(t,i,n)})},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=this.hasState(e,n);this.setItemState(e,n,!r)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(Tt),nc=ec,rc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return Object(a["__extends"])(e,t),e.prototype.active=function(){this.setState()},e}(nc),ic=rc,oc="inactive",ac="active";function sc(t){var e=t.getItems();Object(s["each"])(e,function(e){t.hasState(e,ac)&&t.setItemState(e,ac,!1),t.hasState(e,oc)&&t.setItemState(e,oc,!1)})}var cc="inactive",lc="active",uc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=lc,e.ignoreItemStates=["unchecked"],e}return Object(a["__extends"])(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,function(t){return t.name===e},n)},e.prototype.setItemState=function(t,e,n){t.getItems();this.setHighlightBy(t,function(t){return t===e},n)},e.prototype.setHighlightBy=function(t,e,n){var r=t.getItems();if(n)Object(s["each"])(r,function(n){e(n)?(t.hasState(n,cc)&&t.setItemState(n,cc,!1),t.setItemState(n,lc,!0)):t.hasState(n,lc)||t.setItemState(n,cc,!0)});else{var i=t.getItemsByState(lc),o=!0;Object(s["each"])(i,function(t){if(!e(t))return o=!1,!1}),o?this.clear():Object(s["each"])(r,function(n){e(n)&&(t.hasState(n,lc)&&t.setItemState(n,lc,!1),t.setItemState(n,cc,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)sc(t.list);else{var e=this.getAllowComponents();Object(s["each"])(e,function(t){t.clearItemsState(lc),t.clearItemsState(cc)})}},e}(nc),hc=uc,fc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return Object(a["__extends"])(e,t),e.prototype.selected=function(){this.setState()},e}(nc),pc=fc,dc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="unchecked",e}return Object(a["__extends"])(e,t),e.prototype.unchecked=function(){this.setState()},e}(nc),gc=dc,yc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.maskShape=null,e.points=[],e.starting=!1,e.moving=!1,e.preMovePoint=null,e.shapeType="path",e}return Object(a["__extends"])(e,t),e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var e="mask:"+t,n=this.context.view,r=this.context.event;n.emit(e,{target:this.maskShape,shape:this.maskShape,points:this.points,x:r.x,y:r.y})},e.prototype.createMask=function(){var t=this.context.view,e=this.getMaskAttrs(),n=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:Object(a["__assign"])({fill:"#C5D4EB",opacity:.3},e)});return n},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(this.moving&&this.maskShape){var t=this.getCurrentPoint(),e=this.preMovePoint,n=t.x-e.x,r=t.y-e.y,i=this.points;Object(s["each"])(i,function(t){t.x+=n,t.y+=r}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(){var t=this.getMaskAttrs();this.maskShape.attr(t)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,t.prototype.destroy.call(this)},e}(Tt),vc=yc,mc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return Object(a["__extends"])(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=Object(s["last"])(this.points),n=0,r=0,i=0;if(t.length){var o=t[0];n=de(o,e)/2,r=(e.x+o.x)/2,i=(e.y+o.y)/2}return{x:r,y:i,r:n}},e}(vc),bc=mc,xc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return Object(a["__extends"])(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:Object(s["head"])(t),end:Object(s["last"])(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),o=Math.abs(n.x-e.x),a=Math.abs(n.y-e.y);return{x:r,y:i,width:o,height:a}},e}(vc),Oc=xc;function wc(t){t.x=Object(s["clamp"])(t.x,0,1),t.y=Object(s["clamp"])(t.y,0,1)}var jc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return Object(a["__extends"])(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,r=this.dim,i=this.context.view.getCoordinate(),o=i.invert(Object(s["head"])(n)),a=i.invert(Object(s["last"])(n));return this.inPlot&&(wc(o),wc(a)),"x"===r?(t=i.convert({x:o.x,y:0}),e=i.convert({x:a.x,y:1})):(t=i.convert({x:0,y:o.y}),e=i.convert({x:1,y:a.y})),{start:t,end:e}},e}(Oc),Cc=jc,Sc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&(Object(s["each"])(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}(vc),kc=Sc,Mc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.getMaskPath=function(){var t=this.points;return ge(t,!0)},e}(kc),_c=Mc,Ac=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.setCursor=function(t){var e=this.context.view;e.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e}(Tt),Tc=Ac,Ec=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.filterView=function(t,e,n){var r=this;t.getScaleByField(e)&&t.filter(e,n),t.views&&t.views.length&&Object(s["each"])(t.views,function(t){r.filterView(t,e,n)})},e.prototype.filter=function(){var t=$t(this.context);if(t){var e=this.context.view,n=t.component,r=n.get("field");if(te(t)){if(r){var i=n.getItemsByState("unchecked"),o=Oe(e,r),a=i.map(function(t){return t.name});a.length?this.filterView(e,r,function(t){var e=o.getText(t);return!a.includes(e)}):this.filterView(e,r,null),e.render(!0)}}else if(ee(t)){var s=n.getValue(),c=s[0],l=s[1];this.filterView(e,r,function(t){return t>=c&&t<=l}),e.render(!0)}}},e}(Tt),Pc=Ec;function Lc(t,e,n,r){var i=Math.min(n[e],r[e]),o=Math.max(n[e],r[e]),a=t.range,s=a[0],c=a[1];if(ic&&(o=c),i===c&&o===c)return null;var l=t.invert(i),u=t.invert(o);if(t.isCategory){var h=t.values.indexOf(l),f=t.values.indexOf(u),p=t.values.slice(h,f+1);return function(t){return p.includes(t)}}return function(t){return t>=l&&t<=u}}var Ic=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return Object(a["__extends"])(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,e;if(ne(this.context)){var n=this.context.event.target,r=n.getCanvasBBox();t={x:r.x,y:r.y},e={x:r.maxX,y:r.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(Math.abs(t.x-e.x)<5||Math.abs(t.x-e.y)<5)){var i=this.context.view,o=i.getCoordinate(),a=o.invert(e),s=o.invert(t);if(this.hasDim("x")){var c=i.getXScale(),l=Lc(c,"x",a,s);this.filterView(i,c.field,l)}if(this.hasDim("y")){var u=i.getYScales()[0];l=Lc(u,"y",a,s);this.filterView(i,u.field,l)}this.reRender(i)}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t)},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t){t.render(!0)},e}(Tt),Fc=Ic,Dc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.filterView=function(t,e,n){var r=ve(t);Object(s["each"])(r,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=ve(t);Object(s["each"])(e,function(t){t.render(!0)})},e}(Fc),Bc=Dc,Rc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a["__extends"])(e,t),e.prototype.filter=function(){var t=$t(this.context),e=this.context.view,n=oe(e);if(ne(this.context)){var r=re(this.context,10);r&&Object(s["each"])(n,function(t){r.includes(t)?t.show():t.hide()})}else if(t){var i=t.component,o=i.get("field");if(te(t)){if(o){var a=i.getItemsByState("unchecked"),c=Oe(e,o),l=a.map(function(t){return t.name});Object(s["each"])(n,function(t){var e=ce(t,o),n=c.getText(e);l.indexOf(n)>=0?t.hide():t.show()})}}else if(ee(t)){var u=i.getValue(),h=u[0],f=u[1];Object(s["each"])(n,function(t){var e=ce(t,o);e>=h&&e<=f?t.show():t.hide()})}}},e.prototype.clear=function(){var t=oe(this.context.view);Object(s["each"])(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(Tt),Nc=Rc,Yc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return Object(a["__extends"])(e,t),e.prototype.filter=function(){ne(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=re(this.context,10);if(e){var n=t.getXScale().field,r=t.getYScales()[0].field,i=e.map(function(t){return t.getModel().data}),o=ve(t);Object(s["each"])(o,function(t){var e=oe(t);Object(s["each"])(e,function(t){var e=t.getModel().data;xe(i,e,n,r)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=ve(e);Object(s["each"])(n,function(e){var n=ie(t.context,e,10),r=oe(e);n&&Object(s["each"])(r,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=ve(this.context.view);Object(s["each"])(t,function(t){var e=oe(t);Object(s["each"])(e,function(t){t.show()})})},e}(Tt),zc=Yc,Gc=10,Vc=5,Xc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return Object(a["__extends"])(e,t),e.prototype.getButtonCfg=function(){return Object(s["deepMix"])(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:Object(a["__assign"])({text:t.text},t.textStyle)}),r=n.getBBox(),i=sn(t.padding),o=e.addShape({type:"rect",name:"button-rect",attrs:Object(a["__assign"])({x:r.x-i[3],y:r.y-i[0],width:r.width+i[1]+i[3],height:r.height+i[0]+i[2]},t.style)});o.toBack(),e.on("mouseenter",function(){o.attr(t.activeStyle)}),e.on("mouseleave",function(){o.attr(t.style)}),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view,e=t.getCoordinate(),n=e.convert({x:1,y:1}),r=this.buttonGroup,i=r.getBBox(),o=dt["ext"].transform(null,[["t",n.x-i.width-Gc,n.y+i.height+Vc]]);r.setMatrix(o)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(Tt),Wc=Xc,Hc=4,Uc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return Object(a["__extends"])(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):de(t,this.startPoint)>Hc&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(Tt),qc=Uc,Zc=5,Kc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return Object(a["__extends"])(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint(),n=de(t,e);if(n>Zc&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var r=this.context.view,i=dt["ext"].transform(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);r.backgroundGroup.setMatrix(i),r.foregroundGroup.setMatrix(i),r.middleGroup.setMatrix(i)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(Tt),Qc=Kc,$c="x",Jc="y",tl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=[$c,Jc],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return Object(a["__extends"])(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim($c),this.resetDim(Jc);var t=this.context.view;t.render(!0)},e}(Tt),el=tl,nl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return Object(a["__extends"])(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;Object(s["each"])(e,function(e){var n=t.getScale(e),r=n.min,i=n.max,o=n.values;t.startCache[e]={min:r,max:i,values:o}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),r=this.context.getCurrentPoint(),i=n.invert(e),o=n.invert(r),a=o.x-i.x,c=o.y-i.y,l=this.context.view,u=this.dims;Object(s["each"])(u,function(e){t.translateDim(e,{x:-1*a,y:-1*c})}),l.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var r=this.context.view,i=this.startCache[t],o=i.min,a=i.max,s=a-o,c=n[t]*s;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:o,max:a}),r.scale(e.field,{nice:!1,min:o+c,max:a+c})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(el),rl=nl,il=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return Object(a["__extends"])(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;Object(s["each"])(n,function(n){e.zoomDim(n,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var r=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var i=this.cacheScaleDefs[t],o=i.max-i.min,a=e.min,s=e.max,c=n*o,l=a-c,u=s+c,h=u-l,f=h/o;u>l&&f<100&&f>.01&&r.scale(e.field,{nice:!1,min:a-c,max:s+c})},e}(el),ol=il;function al(t){return t.isInPlot()}function sl(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}n.d(e,"a",function(){return Sn}),n.d(e,"b",function(){return Tt}),n.d(e,"f",function(){return ln}),n.d(e,"h",function(){return $n}),n.d(e,"g",function(){return Le}),n.d(e,"e",function(){return Ft}),n.d(e,"d",function(){return He}),n.d(e,"c",function(){return Ar}),Ue("dark",Be(Fr)),x("canvas",Dr),x("svg",Br),wn("Polygon",Si),wn("Interval",gi),wn("Schema",Mi),wn("Path",Kr),wn("Point",wi),wn("Line",vi),wn("Area",ei),wn("Edge",ri),wn("Heatmap",ai),Wn("base",xr),Wn("interval",Ki),Wn("pie",eo),Wn("polar",Ji),Un("overlap",wo),Un("distribute",io),Un("fixed-overlap",Oo),Un("hide-overlap",Eo),Un("limit-in-shape",yo),Un("limit-in-canvas",go),Un("limit-in-plot",ea),Un("pie-outer",co),Un("adjust-color",Fo),Un("interval-adjust-position",No),Un("interval-hide-overlap",zo),Un("point-adjust-position",Ho),Un("pie-spider",po),Un("path-adjust-position",Qo),Pn("fade-in",na),Pn("fade-out",ra),Pn("grow-in-x",aa),Pn("grow-in-xy",ca),Pn("grow-in-y",sa),Pn("scale-in-x",ha),Pn("scale-in-y",fa),Pn("wave-in",va),Pn("zoom-in",ba),Pn("zoom-out",xa),Pn("position-update",ua),Pn("sector-path-update",ya),Pn("path-in",la),_t("rect",Pa),_t("mirror",Ta),_t("list",ka),_t("matrix",_a),_t("circle",Ca),_t("tree",Ia),ln("axis",qa),ln("legend",Ja),ln("tooltip",An),ln("annotation",Ya),ln("slider",es),ln("scrollbar",ss),Ft("tooltip",hs),Ft("sibling-tooltip",ps),Ft("ellipsis-text",gs),Ft("element-active",ws),Ft("element-single-active",Ps),Ft("element-range-active",_s),Ft("element-highlight",Ys),Ft("element-highlight-by-x",Xs),Ft("element-highlight-by-color",Gs),Ft("element-single-highlight",qs),Ft("element-range-highlight",Hs),Ft("element-sibling-highlight",Hs,{effectSiblings:!0,effectByRecord:!0}),Ft("element-selected",$s),Ft("element-single-selected",tc),Ft("element-range-selected",Ks),Ft("element-link-by-color",Cs),Ft("active-region",ls),Ft("list-active",ic),Ft("list-selected",pc),Ft("list-highlight",hc),Ft("list-unchecked",gc),Ft("legend-item-highlight",hc,{componentNames:["legend"]}),Ft("axis-label-highlight",hc,{componentNames:["axis"]}),Ft("rect-mask",Oc),Ft("x-rect-mask",Cc,{dim:"x"}),Ft("y-rect-mask",Cc,{dim:"y"}),Ft("circle-mask",bc),Ft("path-mask",kc),Ft("smooth-path-mask",_c),Ft("cursor",Tc),Ft("data-filter",Pc),Ft("brush",Fc),Ft("brush-x",Fc,{dims:["x"]}),Ft("brush-y",Fc,{dims:["y"]}),Ft("sibling-filter",Bc),Ft("sibling-x-filter",Bc),Ft("sibling-y-filter",Bc),Ft("element-filter",Nc),Ft("element-sibling-filter",zc),Ft("element-sibling-filter-record",zc,{byRecord:!0}),Ft("view-drag",qc),Ft("view-move",Qc),Ft("scale-translate",rl),Ft("scale-zoom",ol),Ft("reset-button",Wc,{name:"reset-button",text:"reset"}),Le("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Le("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Le("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Le("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Le("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Le("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Le("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),Le("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Le("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Le("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),Le("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),Le("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),Le("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:al,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:al,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:al,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),Le("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),Le("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:al,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:al,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:al,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),Le("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:al,action:"path-mask:start"},{trigger:"mousedown",isEnable:al,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),Le("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),Le("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),Le("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),Le("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),Le("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),Le("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),Le("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return sl(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!sl(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),Le("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]})},kekF:function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},kewz:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("yLpj"))},kiyR:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s=[],c=e.length;for(n=0;n=b)return!1;for(y=u,f=t.md.helpers.parseLinkDestination(t.src,u,t.posMax),f.ok&&(v=t.md.normalizeLink(f.str),t.md.validateLink(v)?u=f.pos:v=""),y=u;u=b||41!==t.src.charCodeAt(u))return t.pos=m,!1;u++}else{if("undefined"===typeof t.env.references)return!1;if(u=0?s=t.src.slice(y,u++):u=c+1):u=c+1,s||(s=t.src.slice(l,c)),h=t.env.references[r(s)],!h)return t.pos=m,!1;v=h.href,p=h.title}return e||(a=t.src.slice(l,c),t.md.inline.parse(a,t.md,t.env,g=[]),d=t.push("image","img",0),d.attrs=n=[["src",v],["alt",""]],d.children=g,d.content=a,p&&n.push(["title",p])),t.pos=u,t.posMax=b,!0}},l3hu:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iTfj");function i(t,e,n){var i=e+"Style",o=null;return Object(r["each"])(n,function(e,n){t[n]&&e[i]&&(o||(o={}),Object(r["mix"])(o,e[i]))}),o}},lOPJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj"),o=n("0Xep"),a=n("Qci9"),s=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var r=e.marginRatio,i=void 0===r?o["d"]:r,a=e.dodgeRatio,s=void 0===a?o["b"]:a,c=e.dodgeBy,l=e.intervalPadding,u=e.dodgePadding,h=e.xDimensionLength,f=e.groupNum,p=e.defaultSize,d=e.maxColumnWidth,g=e.minColumnWidth,y=e.columnWidthRatio;return n.marginRatio=i,n.dodgeRatio=s,n.dodgeBy=c,n.intervalPadding=l,n.dodgePadding=u,n.xDimensionLegenth=h,n.groupNum=f,n.defaultSize=p,n.maxColumnWidth=d,n.minColumnWidth=g,n.columnWidthRatio=y,n}return Object(r["b"])(e,t),e.prototype.process=function(t){var e=i["clone"](t),n=i["flatten"](e),r=this.dodgeBy,o=r?i["group"](n,r):e;return this.cacheMap={},this.adjustDataArray=o,this.mergeData=n,this.adjustData(o,n),this.adjustDataArray=[],this.mergeData=[],e},e.prototype.adjustDim=function(t,e,n,r){var o=this,a=this.getDistribution(t),s=this.groupData(n,t);return i["each"](s,function(n,s){var c;c=1===e.length?{pre:e[0]-1,next:e[0]+1}:o.getAdjustRange(t,parseFloat(s),e),i["each"](n,function(e){var n=e[t],i=a[n],s=i.indexOf(r);e[t]=o.getDodgeOffset(c,s,i.length)})}),[]},e.prototype.getDodgeOffset=function(t,e,n){var r,o=this,a=o.dodgeRatio,s=o.marginRatio,c=o.intervalPadding,l=o.dodgePadding,u=t.pre,h=t.next,f=h-u;if(!i["isNil"](c)&&i["isNil"](l)&&c>=0){var p=this.getIntervalOnlyOffset(n,e);r=u+p}else if(!i["isNil"](l)&&i["isNil"](c)&&l>=0){p=this.getDodgeOnlyOffset(n,e);r=u+p}else if(!i["isNil"](c)&&!i["isNil"](l)&&c>=0&&l>=0){p=this.getIntervalAndDodgeOffset(n,e);r=u+p}else{var d=f*a/n,g=s*d;p=.5*(f-n*d-(n-1)*g)+((e+1)*d+e*g)-.5*d-.5*f;r=(u+h)/2+p}return r},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.intervalPadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.dodgeRatio,l=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,f=o/a,p=(1-(s-1)*f)/s*c/(t-1),d=((1-f*(s-1))/s-p*(t-1))/t;if(d=i["isNil"](h)?d:1/s/t*h,!i["isNil"](l)){var g=l/a;d=Math.min(d,g)}if(!i["isNil"](u)){var y=u/a;d=Math.max(d,y)}d=r?r/a:d,p=((1-(s-1)*f)/s-t*d)/(t-1);var v=((.5+e)*d+e*p+.5*f)*s-f/2;return v},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.dodgePadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.marginRatio,l=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,f=o/a,p=1*c/(s-1),d=((1-p*(s-1))/s-f*(t-1))/t;if(d=h?1/s/t*h:d,!i["isNil"](l)){var g=l/a;d=Math.min(d,g)}if(!i["isNil"](u)){var y=u/a;d=Math.max(d,y)}d=r?r/a:d,p=(1-(d*t+f*(t-1))*s)/(s-1);var v=((.5+e)*d+e*f+.5*p)*s-p/2;return v},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this,r=n.intervalPadding,i=n.dodgePadding,o=n.xDimensionLegenth,a=n.groupNum,s=r/o,c=i/o,l=((1-s*(a-1))/a-c*(t-1))/t,u=((.5+e)*l+e*c+.5*s)*a-s/2;return u},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,r=n[t];return r||(r={},i["each"](e,function(e,n){var o=i["valuesOfKey"](e,t);o.length||o.push(0),i["each"](o,function(t){r[t]||(r[t]=[]),r[t].push(n)})}),n[t]=r),r},e}(a["a"]);e["a"]=s},lSCD:function(t,e,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";function l(t){if(!i(t))return!1;var e=r(t);return e==a||e==s||e==o||e==c}t.exports=l},lc5D:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("eF/C"),i=n("Uf63");e.diff=i.default;var o=n("N5VM");e.split=o.default,e.default=r.default},ljhN:function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},lr9b:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("w02o"),c=n("n/J0"),l="$$range$$",u="low-q1-median-q3-high",h="$$y_outliers$$";function f(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.groupField,s=n.color,c=Array.isArray(i)?l:i,u=e.schema().position(r+"*"+c).shape("box");o&&u.color(o,s).adjust("dodge");var h=n.data;if(Array.isArray(i)){var f=i[0],p=i[1],d=i[2],g=i[3],y=i[4];h=Object(a["map"])(h,function(t){return t[l]=[t[f],t[p],t[d],t[g],t[y]],t})}return e.data(h),t}function p(t){var e=t.chart,n=t.options,r=n.xField,i=n.data,o=n.outliersField,s=n.outliersStyle,c=n.padding;if(!o)return t;var l=e.createView({padding:c});l.data(i),l.axis(!1);var u=l.point().position(r+"*"+o).shape("circle");return Object(a["isFunction"])(s)?u.style(r+"*"+o,function(t,e){var n;return s((n={},n[r]=t,n[o]=e,n))}):Object(a["isObject"])(s)&&u.style(s),t}function d(t){var e,n,r=t.chart,i=t.options,a=i.meta,s=i.xAxis,u=i.yAxis,f=i.xField,p=i.yField,d=i.outliersField,g=Array.isArray(p)?l:p,y={};if(d){var v=h;e={},e[d]={sync:v},e[g]={sync:v},y=e}var m=Object(o["b"])(y,a,(n={},n[f]=Object(o["k"])(s,c["a"]),n[g]=Object(o["k"])(u,c["a"]),n));return r.scale(m),t}function g(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField,s=Array.isArray(a)?l:a;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(s,i),t}function y(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}function v(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,s=n.boxStyle,c=Object(o["c"])(e,"schema"),u=Array.isArray(i)?l:i;return Object(a["isFunction"])(s)?c.style(r+"*"+u,function(t,e){var n;return s((n={},n[r]=t,n[u]=e,n))}):Object(a["isObject"])(s)&&c.style(s),t}function m(t){var e=t.chart,n=t.options,r=n.tooltip;return void 0!==r&&e.tooltip(r),t}function b(t){return Object(o["e"])(f,p,d,g,v,y,m,s["c"],s["a"],s["j"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){var e;return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{meta:(e={},e[l]={min:0,alias:u},e),interactions:[{type:"active-region"}],tooltip:{showMarkers:!1,showCrosshairs:!0,shared:!0}})},e.prototype.getSchemaAdaptor=function(){return b}})(i["a"])},lt7v:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=null;function i(){if(!r){var t=document.createElement("canvas");t.width=1,t.height=1,r=t.getContext("2d")}return r}},mSF0:function(t,e,n){"use strict";var r=n("AGgm").arrayReplaceAt;function i(t){return/^\s]/i.test(t)}function o(t){return/^<\/a\s*>/i.test(t)}t.exports=function(t){var e,n,a,s,c,l,u,h,f,p,d,g,y,v,m,b,x,O=t.tokens;if(t.md.options.linkify)for(n=0,a=O.length;n=0;e--)if(l=s[e],"link_close"!==l.type){if("html_inline"===l.type&&(i(l.content)&&y>0&&y--,o(l.content)&&y++),!(y>0)&&"text"===l.type&&t.md.linkify.test(l.content)){for(f=l.content,x=t.md.linkify.match(f),u=[],g=l.level,d=0,h=0;hd&&(c=new t.Token("text","",0),c.content=f.slice(d,p),c.level=g,u.push(c)),c=new t.Token("link_open","a",1),c.attrs=[["href",m]],c.level=g++,c.markup="linkify",c.info="auto",u.push(c),c=new t.Token("text","",0),c.content=b,c.level=g,u.push(c),c=new t.Token("link_close","a",-1),c.level=--g,c.markup="linkify",c.info="auto",u.push(c),d=x[h].lastIndex);d")},key:(0===c?"top":"bottom")+"-statistic"},Object(o["k"])(e,["offsetX","offsetY","rotate","style","formatter"])))}})},l=function(t,e,n){var c=e.statistic,l=c.title,u=c.content;[l,u].forEach(function(e){if(e){var c="",l=Object(i["isFunction"])(e.style)?e.style(n):e.style;t.annotation().html(Object(r["a"])({position:["50%","100%"],html:function(t,o){var u=o.getCoordinate(),h=o.views[0].getCoordinate(),f=h.getCenter(),p=h.getRadius(),d=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*p,g=f.y+d-u.y.start-parseFloat(Object(i["get"])(l,"fontSize",0)),y=u.getRadius()*u.innerRadius*2;s(t,Object(r["a"])({width:y+"px",transform:"translate(-50%, "+g+"px)"},a(l)));var v=o.getData();return e.customHtml?e.customHtml(t,o,n,v):(e.formatter&&(c=e.formatter(n,v)),c?Object(i["isString"])(c)?c:""+c:"
      ")}},Object(o["k"])(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},mttH:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa"),c=n("DyAw"),l=n("7cv3");function u(t){var e,n,r=t.chart,i=t.options,u=i.data,h=i.xAxis,f=i.yAxis,p=i.color,d=i.lineStyle,g=i.point,y=u.map(function(t,e){return{x:e,y:t}});r.data(y);var v=Object(o["b"])({},t,{options:{xField:l["b"],yField:l["c"],line:{color:p,style:d},point:g}}),m=Object(o["b"])({},v,{options:{tooltip:!1}});return Object(s["d"])(v),Object(s["e"])(m),r.axis(!1),r.legend(!1),Object(a["f"])((e={},e[l["b"]]=h,e[l["c"]]=f,e),(n={},n[l["b"]]={type:"cat"},n[l["c"]]=Object(c["a"])(y,l["c"]),n))(t),t}function h(t){return Object(o["e"])(u,a["j"],a["k"],a["a"],Object(a["b"])())(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-line",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r["a"])({},l["a"])}},e.prototype.getSchemaAdaptor=function(){return h}})(i["a"])},"mv/X":function(t,e,n){var r=n("ljhN"),i=n("MMmD"),o=n("wJg7"),a=n("GoyQ");function s(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}t.exports=s},mwIZ:function(t,e,n){var r=n("ZWtO");function i(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}t.exports=i},"n/J0":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask"],i={GRADIENT:{CONTINUOUS:"#BAE7FF-#1890FF-#0050B3"}}},nBLk:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o;if(t.sCount[e]-t.blkIndent<4)return!1;i=r=e+1;while(r=4))break;r++,i=r}return t.line=i,o=t.push("code_block","code",0),o.content=t.getLines(e,i,4+t.blkIndent,!0),o.map=[e,t.line],!0}},nCnq:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("cyZq");function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function o(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function a(t,e){return(t[0]*e[1]1&&(n*=Math.sqrt(y),i*=Math.sqrt(y));var v=n*n*(g*g)+i*i*(d*d),m=v?Math.sqrt((n*n*(i*i)-v)/v):1;c===l&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?m*-i*d/n:0,O=(u+f)/2+Math.cos(s)*b-Math.sin(s)*x,w=(h+p)/2+Math.sin(s)*b+Math.cos(s)*x,j=[(d-b)/n,(g-x)/i],C=[(-1*d-b)/n,(-1*g-x)/i],S=a([1,0],j),k=a(j,C);return o(j,C)<=-1&&(k=Math.PI),o(j,C)>=1&&(k=0),0===l&&k>0&&(k-=2*Math.PI),1===l&&k<0&&(k+=2*Math.PI),{cx:O,cy:w,rx:Object(r["j"])(t,[f,p])?0:n,ry:Object(r["j"])(t,[f,p])?0:i,startAngle:S,endAngle:S+k,xRotation:s,arcFlag:c,sweepFlag:l}}},nmnc:function(t,e,n){var r=n("Kz5y"),i=r.Symbol;t.exports=i},nycV:function(t,e,n){"use strict";n.d(e,"c",function(){return h}),n.d(e,"b",function(){return f}),n.d(e,"a",function(){return p});var r=n("wOmg"),i=n("R5nb"),o=Math.sin,a=Math.cos,s=Math.atan2,c=Math.PI;function l(t,e,n,r,l,u,h){var f=e.stroke,p=e.lineWidth,d=n-l,g=r-u,y=s(g,d),v=new i["Path"]({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*a(c/6)+","+10*o(c/6)+" L0,0 L"+10*a(c/6)+",-"+10*o(c/6),stroke:f,lineWidth:p}});v.translate(l,u),v.rotateAtPoint(l,u,y),t.set(h?"startArrowShape":"endArrowShape",v)}function u(t,e,n,c,l,u,h){var f=e.startArrow,p=e.endArrow,d=e.stroke,g=e.lineWidth,y=h?f:p,v=y.d,m=y.fill,b=y.stroke,x=y.lineWidth,O=Object(r["c"])(y,["d","fill","stroke","lineWidth"]),w=n-l,j=c-u,C=s(j,w);v&&(l-=a(C)*v,u-=o(C)*v);var S=new i["Path"]({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:Object(r["a"])(Object(r["a"])({},O),{stroke:b||d,lineWidth:x||g,fill:m})});S.translate(l,u),S.rotateAtPoint(l,u,C),t.set(h?"startArrowShape":"endArrowShape",S)}function h(t,e,n,r,i){var c=s(r-e,n-t);return{dx:a(c)*i,dy:o(c)*i}}function f(t,e,n,r,i,o){"object"===typeof e.startArrow?u(t,e,n,r,i,o,!0):e.startArrow?l(t,e,n,r,i,o,!0):t.set("startArrowShape",null)}function p(t,e,n,r,i,o){"object"===typeof e.endArrow?u(t,e,n,r,i,o,!1):e.endArrow?l(t,e,n,r,i,o,!1):t.set("startArrowShape",null)}},o9ul:function(t,e,n){var r=n("qxrA"),i=r(Object.getPrototypeOf,Object);t.exports=i},oSSR:function(t,e,n){"use strict";t.exports=function(t){var e,n,r,i=t.tokens;for(n=0,r=i.length;n=0&&this.radius<=1&&(n*=this.radius),this.d=Math.floor(n*(1-this.innerRadius)/e),this.a=this.d/(2*Math.PI),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+.99*this.d}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;this.isTransposed&&(e=[r,n],n=e[0],r=e[1]);var i=this.convertDim(n,"x"),o=this.a*i,a=this.convertDim(r,"y");return{x:this.center.x+Math.cos(i)*(o+a),y:this.center.y+Math.sin(i)*(o+a)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,r=i["vec2"].subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),a=i["ext"].angleTo(r,[1,0],!0),s=a*this.a;i["vec2"].length(r)this.width/r?(e=this.width/r,this.circleCenter={x:this.center.x-(.5-o)*this.width,y:this.center.y-(.5-a)*e*i}):(e=this.height/i,this.circleCenter={x:this.center.x-(.5-o)*e*r,y:this.center.y-(.5-a)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=e*this.radius:(this.radius<=0||this.radius>e)&&(this.polarRadius=e):this.polarRadius=e,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var e,n=this.getCenter(),r=t.x,i=t.y;return this.isTransposed&&(e=[i,r],r=e[0],i=e[1]),r=this.convertDim(r,"x"),i=this.convertDim(i,"y"),{x:n.x+Math.cos(r)*i,y:n.y+Math.sin(r)*i}},e.prototype.invertPoint=function(t){var e=this.getCenter(),n=[t.x-e.x,t.y-e.y],r=[1,0,0,0,1,0,0,0,1];i["ext"].leftRotate(r,r,this.startAngle);var a=[1,0,0];i["vec3"].transformMat3(a,a,r);var s=[a[0],a[1]],c=i["ext"].angleTo(s,n,this.endAngle0?u:-u;var h=this.invertDim(l,"y"),f={x:0,y:0};return f.x=this.isTransposed?h:u,f.y=this.isTransposed?u:h,f},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);i=e||i.height>=e?i:null}function c(t,e){var n=t.event,r=n.target,i=r.getCanvasBBox();return i.width>=e||i.height>=e?r.attr("path"):null}function l(t){var e,n=t.event,r=n.target;return r&&(e=r.get("element")),e}function u(t){var e,n=t.event,r=n.target;return r&&(e=r.get("delegateObject")),e}function h(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function f(t){return t&&t.component&&t.component.isList()}function p(t){return t&&t.component&&t.component.isSlider()}function d(t){var e=t.event,n=e.target;return n&&"mask"===n.get("name")}function g(t,e){var n=t.event.target;if("path"===n.get("type")){var r=c(t,e);if(!r)return;return C(t.view,r)}var i=s(t,e);return i?w(t.view,i):null}function y(t,e,n){var r=s(t,n);if(!r)return null;var i=t.view,o=E(i,e,{x:r.x,y:r.y}),a=E(i,e,{x:r.maxX,y:r.maxY}),c={minX:o.x,minY:o.y,maxX:a.x,maxY:a.y};return w(e,c)}function v(t){var e=t.geometries,n=[];return r.each(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&r.each(t.views,function(t){n=n.concat(v(t))}),n}function m(t,e,n){var r=v(t);return r.filter(function(t){return x(t,e)===n})}function b(t,e){var n=t.geometries,i=[];return r.each(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});i=i.concat(n)}),i}function x(t,e){var n,i=t.getModel(),o=i.data;return n=r.isArray(o)?o[0][e]:o[e],n}function O(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=e.x&&t.y<=e.y&&t.maxY>e.y}function A(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n}function T(t,e){var n=t.getCoordinate();return n.invert(e)}function E(t,e,n){var r=T(t,n);return e.getCoordinate().convert(r)}function P(t,e,n,i){var o=!1;return r.each(t,function(t){if(t[n]===e[n]&&t[i]===e[i])return o=!0,!1}),o}function L(t,e){var n=t.getScaleByField(e);return!n&&t.views&&r.each(t.views,function(t){if(n=L(t,e),n)return!1}),n}e.getCurrentElement=l,e.getDelegationObject=u,e.isElementChange=h,e.isList=f,e.isSlider=p,e.isMask=d,e.getMaskedElements=g,e.getSiblingMaskElements=y,e.getElements=v,e.getElementsByField=m,e.getElementsByState=b,e.getElementValue=x,e.intersectRect=O,e.getIntersectElements=w,e.getElementsByPath=C,e.getComponents=S,e.distance=k,e.getSpline=M,e.isInBox=_,e.getSilbings=A,e.getSiblingPoint=E,e.isInRecords=P,e.getScaleByField=L},pFRH:function(t,e,n){var r=n("cvCv"),i=n("O0oS"),o=n("zZ0H"),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},pSRY:function(t,e,n){var r=n("QkVE");function i(t){return r(this,t).has(t)}t.exports=i},q1tI:function(t,e,n){"use strict";t.exports=n("viRO")},qRUV:function(t,e,n){"use strict";var r=n("SINd"),i=[["normalize",n("TCYN")],["block",n("NAgD")],["inline",n("oSSR")],["linkify",n("mSF0")],["replacements",n("u0qK")],["smartquotes",n("rzDG")]];function o(){this.ruler=new r;for(var t=0;t=0&&s<.5*Math.PI?(r={x:u.minX,y:u.minY},o={x:u.maxX,y:u.maxY}):.5*Math.PI<=s&&s "+n,value:r}}},nodeWidthRatio:.008,nodePaddingRatio:.01}},e.prototype.getSchemaAdaptor=function(){return x}})(i["a"])},rzDG:function(t,e,n){"use strict";var r=n("AGgm").isWhiteSpace,i=n("AGgm").isPunctChar,o=n("AGgm").isMdAsciiPunct,a=/['"]/,s=/['"]/g,c="\u2019";function l(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function u(t,e){var n,a,u,h,f,p,d,g,y,v,m,b,x,O,w,j,C,S,k,M,_;for(k=[],n=0;n=0;C--)if(k[C].level<=d)break;if(k.length=C+1,"text"===a.type){u=a.content,f=0,p=u.length;t:while(f=0)y=u.charCodeAt(h.index-1);else for(C=n-1;C>=0;C--){if("softbreak"===t[C].type||"hardbreak"===t[C].type)break;if(t[C].content){y=t[C].content.charCodeAt(t[C].content.length-1);break}}if(v=32,f=48&&y<=57&&(j=w=!1),w&&j&&(w=m,j=b),w||j){if(j)for(C=k.length-1;C>=0;C--){if(g=k[C],k[C].level=0;e--)"inline"===t.tokens[e].type&&a.test(t.tokens[e].content)&&u(t.tokens[e].children,t)}},sEf8:function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},sEfC:function(t,e,n){var r=n("GoyQ"),i=n("QIyF"),o=n("tLB3"),a="Expected a function",s=Math.max,c=Math.min;function l(t,e,n){var l,u,h,f,p,d,g=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=l,r=u;return l=u=void 0,g=e,f=t.apply(r,n),f}function x(t){return g=t,p=setTimeout(j,e),y?b(t):f}function O(t){var n=t-d,r=t-g,i=e-n;return v?c(i,h-r):i}function w(t){var n=t-d,r=t-g;return void 0===d||n>=e||n<0||v&&r>=h}function j(){var t=i();if(w(t))return C(t);p=setTimeout(j,O(t))}function C(t){return p=void 0,m&&l?b(t):(l=u=void 0,f)}function S(){void 0!==p&&clearTimeout(p),g=0,l=d=u=p=void 0}function k(){return void 0===p?f:C(i())}function M(){var t=i(),n=w(t);if(l=arguments,u=this,d=t,n){if(void 0===p)return x(d);if(v)return clearTimeout(p),p=setTimeout(j,e),b(d)}return void 0===p&&(p=setTimeout(j,e)),f}return e=o(e)||0,r(n)&&(y=!!n.leading,v="maxWait"in n,h=v?s(o(n.maxWait)||0,e):h,m="trailing"in n?!!n.trailing:m),M.cancel=S,M.flush=k,M}t.exports=l},sYIZ:function(t,e,n){"use strict";var r=n("wOmg"),i=n("aFU3");function o(t,e){if(e){var n=Object(i["invert"])(e);return Object(i["multiplyVec2"])(n,t)}return t}function a(t,e,n){var r=t.getTotalMatrix();if(r){var i=o([e,n,1],r),a=i[0],s=i[1];return[a,s]}return[e,n]}function s(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!Object(i["isAllowCapture"])(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var r=a(t,e,n),o=r[0],s=r[1];if(t.isClipped(o,s))return!1}var c=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=c.minX&&e<=c.maxX&&n>=c.minY&&n<=c.maxY}function c(t,e,n){if(!s(t,e,n))return null;for(var r=null,i=t.getChildren(),o=i.length,l=o-1;l>=0;l--){var u=i[l];if(u.isGroup())r=c(u,e,n);else if(s(u,e,n)){var h=u,f=a(u,e,n),p=f[0],d=f[1];h.isInShape(p,d)&&(r=u)}if(r)break}return r}var l=n("R5nb"),u=n("wq2r"),h=n("cyZq"),f=n("9eUa"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e["renderer"]="canvas",e["autoDraw"]=!0,e["localRefresh"]=!0,e["refreshElements"]=[],e["clipView"]=!0,e["quickHit"]=!1,e},e.prototype.onCanvasChange=function(t){"attr"!==t&&"sort"!==t&&"changeSize"!==t||(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u["a"]},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||Object(h["d"])();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*e,i.height=o*n,o>1&&r.scale(o,o)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){var r;return r=this.get("quickHit")?c(this,e,n):t.prototype.getShape.call(this,e,n,null),r},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();if(e.length&&e[0]===this)t=n;else if(t=Object(f["f"])(e),t){t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1;var r=this.get("clipView");r&&(t=Object(f["g"])(t,n))}return t},e.prototype.refreshElement=function(t){var e=this.get("refreshElements");e.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(Object(h["a"])(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),Object(f["a"])(t,this),Object(f["d"])(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),Object(f["a"])(t,this),Object(f["b"])(this,n,r),Object(f["d"])(t,n,r),t.restore()):e.length&&Object(f["c"])(e),Object(h["c"])(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=Object(h["n"])(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e}(i["AbstractCanvas"]);e["a"]=p},shjB:function(t,e){var n=9007199254740991;function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}t.exports=r},sqD9:function(t,e,n){"use strict";var r=n("mrSG"),i=n("iTfj");function o(t){return"number"===typeof t&&!isNaN(t)}function a(t,e,n,a){var s=Object(i["reduce"])(t,function(t,r){var i=r[n],a=t.has(i)?t.get(i):0,s=r[e];return a=o(s)?a+s:a,t.set(i,a),t},new Map);return Object(i["map"])(t,function(t){var i,c=t[e],l=t[n],u=o(c)?c/s.get(l):0;return Object(r["a"])(Object(r["a"])({},t),(i={},i[a]=u,i))})}n.d(e,"a",function(){return a})},sstZ:function(t,e,n){"use strict";n.d(e,"j",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"g",function(){return a}),n.d(e,"b",function(){return s});var r=n("iTfj");function i(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}n.d(e,"e",function(){return r["isNil"]}),n.d(e,"d",function(){return r["isFunction"]}),n.d(e,"h",function(){return r["isString"]}),n.d(e,"f",function(){return r["isObject"]}),n.d(e,"i",function(){return r["mix"]}),n.d(e,"a",function(){return r["each"]}),n.d(e,"k",function(){return r["upperFirst"]});var o="undefined"!==typeof window&&"undefined"!==typeof window.document;function a(t,e){if(t.isCanvas())return!0;var n=e.getParent(),r=!1;while(n){if(n===t){r=!0;break}n=n.getParent()}return r}function s(t){return t.cfg.visible&&t.cfg.capture}},svfX:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Nzmt"),i=function(){function t(t,e,n){this.view=t,this.gEvent=e,this.data=n,this.type=e.type}return t.fromData=function(e,n,i){return new t(e,new r.Event(n,{}),i)},Object.defineProperty(t.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}();e.default=i},t0W4:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return i}),n.d(e,"__assign",function(){return o}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return s}),n.d(e,"__param",function(){return c}),n.d(e,"__metadata",function(){return l}),n.d(e,"__awaiter",function(){return u}),n.d(e,"__generator",function(){return h}),n.d(e,"__createBinding",function(){return f}),n.d(e,"__exportStar",function(){return p}),n.d(e,"__values",function(){return d}),n.d(e,"__read",function(){return g}),n.d(e,"__spread",function(){return y}),n.d(e,"__spreadArrays",function(){return v}),n.d(e,"__await",function(){return m}),n.d(e,"__asyncGenerator",function(){return b}),n.d(e,"__asyncDelegator",function(){return x}),n.d(e,"__asyncValues",function(){return O}),n.d(e,"__makeTemplateObject",function(){return w}),n.d(e,"__importStar",function(){return C}),n.d(e,"__importDefault",function(){return S}),n.d(e,"__classPrivateFieldGet",function(){return k}),n.d(e,"__classPrivateFieldSet",function(){return M});var r=function(t,e){return r=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])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function c(t,e){return function(n,r){e(n,r,t)}}function l(t,e){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,n,r){function i(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):i(t.value).then(a,s)}c((r=r.apply(t,e||[])).next())})}function h(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a}function y(){for(var t=[],e=0;e1||s(t,e)})})}function s(t,e){try{c(i[t](e))}catch(t){h(o[0][3],t)}}function c(t){t.value instanceof m?Promise.resolve(t.value.v).then(l,u):h(o[0][2],t)}function l(t){s("next",t)}function u(t){s("throw",t)}function h(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function x(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:m(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t="function"===typeof d?d(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){e=t[n](e),i(r,o,e.done,e.value)})}}function i(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var j=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e};function C(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&f(e,t,n);return j(e,t),e}function S(t){return t&&t.__esModule?t:{default:t}}function k(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function M(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},t2Dn:function(t,e,n){var r=n("hypo"),i=n("ljhN");function o(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}t.exports=o},tE4n:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("iTfj"),s=n("tKoa"),c=n("w02o"),l=n("rFFp"),u={exp:l["a"],linear:l["b"],loess:l["c"],log:l["d"],poly:l["e"],pow:l["f"],quad:l["g"]};function h(t,e){var n=10,r={regionStyle:[{position:{start:[t,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[t,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[t,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[t,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-n,offsetY:-n,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:-n,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:n,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-n,offsetY:n,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return r}var f=function(t,e){var n=e.view,r=e.options,i=r.xField,a=r.yField,s=n.getScaleByField(i),c=n.getScaleByField(a),l=t.map(function(t){return n.getCoordinate().convert({x:s.scale(t[0]),y:c.scale(t[1])})});return Object(o["h"])(l,!1)},p=function(t){var e,n=t.options,r=n.xField,i=n.yField,o=n.data,s=n.regressionLine,c=s.type,l=void 0===c?"linear":c,h=s.algorithm;if(h)e=Object(a["isArray"])(h)?h:h(o);else{var p=u[l]().x(function(t){return t[r]}).y(function(t){return t[i]});e=p(o)}return f(e,t)},d=function(t){var e,n=t.meta,i=void 0===n?{}:n,o=t.xField,s=t.yField,c=t.data,l=c[0][o],u=c[0][s],h=l>0,f=u>0,p=function(t,e,n){var r=Object(a["get"])(i,[t,e]);if(Object(a["isNumber"])(r))return r;if("x"===n){var o={min:h?0:2*l,max:h?2*l:0};return o[e]}var s={min:f?0:2*u,max:f?2*u:0};return s[e]};return Object(r["a"])(Object(r["a"])({},i),(e={},e[o]=Object(r["a"])(Object(r["a"])({},i[o]),{min:p(o,"min","x"),max:p(o,"max","x")}),e[s]=Object(r["a"])(Object(r["a"])({},i[s]),{min:p(s,"min","y"),max:p(s,"max","y")}),e))};function g(t){var e=t.options,n=e.data,i=void 0===n?[]:n;return 1===i.length?Object(o["b"])({},t,{options:Object(r["a"])(Object(r["a"])({},e),{meta:d(e)})}):t}function y(t){var e=t.chart,n=t.options,i=n.data,a=n.type,c=n.color,l=n.shape,u=n.size,h=n.pointStyle,f=n.shapeField,p=n.colorField,d=n.xField,g=n.yField,y=n.sizeField,v=n.tooltip;v&&!v.fields&&(v=Object(r["a"])(Object(r["a"])({},v),{fields:[d,g,p,y,f]})),e.data(i),Object(s["e"])(Object(o["b"])({},t,{options:{seriesField:p,point:{color:c,shape:l,size:u,style:h},tooltip:v}}));var m=Object(o["c"])(e,"point");return a&&m.adjust(a),t}function v(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,s=n.yField;return Object(o["e"])(Object(c["f"])((e={},e[a]=r,e[s]=i,e)))(t)}function m(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return e.axis(o,r),e.axis(a,i),t}function b(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,o=n.shapeField,s=n.sizeField,c=Object(a["isBoolean"])(r)?r:r||!(!o&&!i);return c?(e.legend(i||o,r),s&&e.legend(s,!1)):e.legend(!1),t}function x(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"point");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o["o"])(l)})}else s.label(!1);return t}function O(t){var e=t.options,n=e.quadrant,i=[];if(n){var a=n.xBaseline,s=void 0===a?0:a,l=n.yBaseline,u=void 0===l?0:l,f=n.labels,p=n.regionStyle,d=n.lineStyle,g=h(s,u),y=new Array(4).join(",").split(",");y.forEach(function(t,e){i.push(Object(r["a"])(Object(r["a"])({type:"region",top:!1},g.regionStyle[e].position),{style:Object(o["b"])({},g.regionStyle[e].style,null===p||void 0===p?void 0:p[e])}),Object(r["a"])({type:"text",top:!0},Object(o["b"])({},g.labelStyle[e],null===f||void 0===f?void 0:f[e])))}),i.push({type:"line",top:!1,start:["min",u],end:["max",u],style:Object(o["b"])({},g.lineStyle,d)},{type:"line",top:!1,start:[s,"min"],end:[s,"max"],style:Object(o["b"])({},g.lineStyle,d)})}return Object(o["e"])(Object(c["b"])(i))(t)}function w(t){var e=t.options,n=t.chart,i=e.regressionLine;if(i){var o=i.style,a=i.top,s=void 0!==a&&a,c={stroke:"#9ba29a",lineWidth:2,opacity:.5};n.annotation().shape({top:s,render:function(t,i){var a=t.addGroup({id:n.id+"-regression-line",name:"regression-line-group"}),s=p({view:i,options:e});a.addShape("path",{name:"regression-line",attrs:Object(r["a"])(Object(r["a"])({path:s},c),o)})}})}return t}function j(t){var e=t.chart,n=t.options,r=n.tooltip;return r?e.tooltip(r):!1===r&&e.tooltip(!1),t}function C(t){return Object(o["e"])(g,y,v,m,b,j,x,c["c"],O,c["a"],c["j"],w)(t)}var S=n("kXyF");Object(S["g"])("drag-move",{start:[{trigger:"plot:mousedown",action:"scale-translate:start"}],processing:[{trigger:"plot:mousemove",action:"scale-translate:translate",throttle:{wait:100,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseup",action:"scale-translate:end"}]});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e}Object(r["b"])(e,t),e.prototype.getSchemaAdaptor=function(){return C},e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})}})(i["a"])},tGEx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];e.editorOptions=r;var i=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];e.editorEvents=i;var o=function(){var t;return window.ace?(t=window.ace,t.acequire=window.ace.require||window.ace.acequire):t=n("bU/s"),t};e.getAceInstance=o;var a=function(t,e){var n=null;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(r,i)},e)}};e.debounce=a},tKoa:function(t,e,n){"use strict";var r=n("mrSG"),i=n("5HRO"),o=n("YuPD"),a=n("WOQw");function s(t){var e=t.options,n=e.area,s=e.xField,c=e.yField,l=e.seriesField,u=e.smooth,h=e.tooltip,f=Object(i["a"])(h,[s,c,l]),p=f.fields,d=f.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"area",colorField:l,tooltipFields:p,mapping:Object(r["a"])({shape:u?"smooth":"area",tooltip:d},n)}})):t}var c=n("iTfj");function l(t){var e=t.options,n=e.line,r=e.stepType,s=e.xField,l=e.yField,u=e.seriesField,h=e.smooth,f=e.connectNulls,p=e.tooltip,d=Object(i["a"])(p,[s,l,u]),g=d.fields,y=d.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"line",colorField:u,tooltipFields:g,mapping:Object(c["deepMix"])({shape:r||(h?"smooth":"line"),tooltip:y},n),args:{connectNulls:f}}})):t}function u(t){var e=t.options,n=e.point,s=e.xField,c=e.yField,l=e.seriesField,u=e.sizeField,h=e.shapeField,f=e.tooltip,p=Object(i["a"])(f,[s,c,l,u,h]),d=p.fields,g=p.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"point",colorField:l,shapeField:h,tooltipFields:d,mapping:Object(r["a"])({tooltip:g},n)}})):t}var h=n("kXyF");function f(t){var e=t.chart,n=t.options,r=t.ext,i=n.seriesField,a=n.isGroup,s=n.isStack,l=n.marginRatio,u=n.widthRatio,f=n.groupField,p=n.theme,d=[];if(i&&(a&&d.push({type:"dodge",dodgeBy:f||i,marginRatio:l}),s&&d.push({type:"stack",marginRatio:l})),d.length&&(null===r||void 0===r?void 0:r.geometry)){var g=null===r||void 0===r?void 0:r.geometry;g.adjust(d)}return Object(c["isNil"])(u)||e.theme(Object(o["b"])({},Object(c["isObject"])(p)?p:Object(h["d"])(p),{columnWidthRatio:u})),t}function p(t){var e=t.options,n=e.xField,s=e.yField,c=e.interval,l=e.seriesField,u=e.tooltip,h=Object(i["a"])(u,[n,s,l]),p=h.fields,d=h.formatter,g=(c?Object(a["a"])(Object(o["b"])({},t,{options:{type:"interval",colorField:l,tooltipFields:p,mapping:Object(r["a"])({tooltip:d},c)}})):t).ext;return f(Object(r["a"])(Object(r["a"])({},t),{ext:g}))}function d(t){var e=t.options,n=e.polygon,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,h=Object(i["a"])(u,[s,c,l]),f=h.fields,p=h.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"polygon",colorField:l,tooltipFields:f,mapping:Object(r["a"])({tooltip:p},n)}})):t}function g(t){var e=t.options,n=e.edge,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,h=Object(i["a"])(u,[s,c,l]),f=h.fields,p=h.formatter;return n?Object(a["a"])(Object(o["b"])({},t,{options:{type:"edge",colorField:l,tooltipFields:f,mapping:Object(r["a"])({tooltip:p},n)}})):t}n.d(e,"a",function(){return s}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return u}),n.d(e,"c",function(){return p}),n.d(e,"f",function(){return d}),n.d(e,"b",function(){return g})},tLB3:function(t,e,n){var r=n("GoyQ"),i=n("/9aa"),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;function h(t){if("number"==typeof t)return t;if(i(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=c.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):s.test(t)?o:+t}t.exports=h},tMB7:function(t,e,n){var r=n("y1pI");function i(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}t.exports=i},tdXX:function(t,e){},tvuL:function(t,e,n){"use strict";n.r(e),n.d(e,"catmullRomToBezier",function(){return c}),n.d(e,"fillPath",function(){return L}),n.d(e,"fillPathByDiff",function(){return B}),n.d(e,"formatPath",function(){return Y}),n.d(e,"intersection",function(){return A}),n.d(e,"parsePathArray",function(){return y}),n.d(e,"parsePathString",function(){return s}),n.d(e,"pathToAbsolute",function(){return u}),n.d(e,"pathToCurve",function(){return d}),n.d(e,"rectPath",function(){return w});var r=n("iTfj"),i="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",o=new RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),a=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig"),s=function(t){if(!t)return null;if(Object(r["isArray"])(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(o,function(r,i,o){var s=[],c=i.toLowerCase();if(o.replace(a,function(t,e){e&&s.push(+e)}),"m"===c&&s.length>2&&(n.push([i].concat(s.splice(0,2))),c="l",i="m"===i?"l":"L"),"o"===c&&1===s.length&&n.push([i,s[0]]),"r"===c)n.push([i].concat(s));else while(s.length>=e[c])if(n.push([i].concat(s.splice(0,e[c]))),!e[c])break;return t}),n},c=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},l=function(t,e,n,r,i){var o=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var a=Math.PI/180,s=t+n*Math.cos(-r*a),c=t+n*Math.cos(-i*a),l=e+n*Math.sin(-r*a),u=e+n*Math.sin(-i*a);o=[["M",s,l],["A",n,n,0,+(i-r>180),0,c,u]]}else o=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},u=function(t){if(t=s(t),!t||!t.length)return[["M",0,0]];var e,n,r=[],i=0,o=0,a=0,u=0,h=0;"M"===t[0][0]&&(i=+t[0][1],o=+t[0][2],a=i,u=o,h++,r[0]=["M",i,o]);for(var f=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),p=void 0,d=void 0,g=h,y=t.length;g1&&(w=Math.sqrt(w),n*=w,r*=w);var j=n*n,C=r*r,S=(o===a?-1:1)*Math.sqrt(Math.abs((j*C-j*O*O-C*x*x)/(j*O*O+C*x*x)));d=S*n*O/r+(t+s)/2,g=S*-r*x/n+(e+c)/2,h=Math.asin(((e-g)/r).toFixed(9)),f=Math.asin(((c-g)/r).toFixed(9)),h=tf&&(h-=2*Math.PI),!a&&f>h&&(f-=2*Math.PI)}var k=f-h;if(Math.abs(k)>y){var M=f,_=s,A=c;f=h+y*(a&&f>h?1:-1),s=d+n*Math.cos(f),c=g+r*Math.sin(f),m=p(s,c,n,r,i,0,a,_,A,[f,M,d,g])}k=f-h;var T=Math.cos(h),E=Math.sin(h),P=Math.cos(f),L=Math.sin(f),I=Math.tan(k/4),F=4/3*n*I,D=4/3*r*I,B=[t,e],R=[t+F*E,e-D*T],N=[s+F*L,c-D*P],Y=[s,c];if(R[0]=2*B[0]-R[0],R[1]=2*B[1]-R[1],l)return[R,N,Y].concat(m);m=[R,N,Y].concat(m).join().split(",");for(var z=[],G=0,V=m.length;G7){t[e].shift();var o=t[e];while(o.length)s[e]="A",i&&(c[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},v=function(t,e,o,a,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[s][1],o.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var m=0;m1?1:c<0?0:c;for(var l=c/2,u=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,d=0;d0&&h<1&&f.push(h)}else{var g=l*l-4*u*c,y=Math.sqrt(g);if(!(g<0)){var v=(-l+y)/(2*c);v>0&&v<1&&f.push(v);var m=(-l-y)/(2*c);m>0&&m<1&&f.push(m)}}var b,x=f.length,O=x;while(x--)h=f[x],b=1-h,p[0][x]=b*b*b*t+3*b*b*h*n+3*b*h*h*i+h*h*h*a,p[1][x]=b*b*b*e+3*b*b*h*r+3*b*h*h*o+h*h*h*s;return p[0][O]=t,p[1][O]=e,p[0][O+1]=a,p[1][O+1]=s,p[0].length=p[1].length=O+2,{min:{x:Math.min.apply(0,p[0]),y:Math.min.apply(0,p[1])},max:{x:Math.max.apply(0,p[0]),y:Math.max.apply(0,p[1])}}},x=function(t,e,n,r,i,o,a,s){if(!(Math.max(t,n)Math.max(i,a)||Math.max(e,r)Math.max(o,s))){var c=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),l=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),u=(t-n)*(o-s)-(e-r)*(i-a);if(u){var h=c/u,f=l/u,p=+h.toFixed(2),d=+f.toFixed(2);if(!(p<+Math.min(t,n).toFixed(2)||p>+Math.max(t,n).toFixed(2)||p<+Math.min(i,a).toFixed(2)||p>+Math.max(i,a).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(o,s).toFixed(2)||d>+Math.max(o,s).toFixed(2)))return{x:h,y:f}}}},O=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},w=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=y,o},j=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:w(t,e,n,r),vb:[t,e,n,r].join(" ")}},C=function(t,e){return t=j(t),e=j(e),O(e,t.x,t.y)||O(e,t.x2,t.y)||O(e,t.x,t.y2)||O(e,t.x2,t.y2)||O(t,e.x,e.y)||O(t,e.x2,e.y)||O(t,e.x,e.y2)||O(t,e.x2,e.y2)||(t.xe.x||e.xt.x)&&(t.ye.y||e.yt.y)},S=function(t,e,n,i,o,a,s,c){Object(r["isArray"])(t)||(t=[t,e,n,i,o,a,s,c]);var l=b.apply(null,t);return j(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},k=function(t,e,n,r,i,o,a,s,c){var l=1-c,u=Math.pow(l,3),h=Math.pow(l,2),f=c*c,p=f*c,d=u*t+3*h*c*n+3*l*c*c*i+p*a,g=u*e+3*h*c*r+3*l*c*c*o+p*s,y=t+2*c*(n-t)+f*(i-2*n+t),v=e+2*c*(r-e)+f*(o-2*r+e),m=n+2*c*(i-n)+f*(a-2*i+n),b=r+2*c*(o-r)+f*(s-2*o+r),x=l*t+c*n,O=l*e+c*r,w=l*i+c*a,j=l*o+c*s,C=90-180*Math.atan2(y-m,v-b)/Math.PI;return{x:d,y:g,m:{x:y,y:v},n:{x:m,y:b},start:{x:x,y:O},end:{x:w,y:j},alpha:C}},M=function(t,e,n){var r=S(t),i=S(e);if(!C(r,i))return n?0:[];for(var o=m.apply(0,t),a=m.apply(0,e),s=~~(o/8),c=~~(a/8),l=[],u=[],h={},f=n?0:[],p=0;p=0&&_<=1&&A>=0&&A<=1&&(n?f+=1:f.push({x:M.x,y:M.y,t1:_,t2:A}))}}return f},_=function(t,e,n){var r,i,o,a,s,c,l,u,h,f;t=d(t),e=d(e);for(var p=n?0:[],g=0,y=t.length;g=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1]),e});return u}var P=function(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(E(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r},L=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a=0;c--)a=o[c].index,"add"===o[c].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}r=t.length;var h=i-r;if(r0)){t[r]=e[r];break}n=R(n,t[r-1],1)}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){t[r]=e[r];break}n=R(n,t[r-1],2)}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=R(n,t[r-1],1)}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t}},u0qK:function(t,e,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function s(t,e){return a[e.toLowerCase()]}function c(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],"text"!==n.type||r||(n.content=n.content.replace(o,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(t){var e,n,i=0;for(e=t.length-1;e>=0;e--)n=t[e],"text"!==n.type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(i.test(t.tokens[e].content)&&c(t.tokens[e].children),r.test(t.tokens[e].content)&&l(t.tokens[e].children))}},u60a:function(t,e,n){"use strict";n.r(e),n.d(e,"CONTAINER_CLASS",function(){return r}),n.d(e,"TITLE_CLASS",function(){return i}),n.d(e,"LIST_CLASS",function(){return o}),n.d(e,"LIST_ITEM_CLASS",function(){return a}),n.d(e,"MARKER_CLASS",function(){return s}),n.d(e,"VALUE_CLASS",function(){return c}),n.d(e,"NAME_CLASS",function(){return l}),n.d(e,"CROSSHAIR_X",function(){return u}),n.d(e,"CROSSHAIR_Y",function(){return h});var r="g2-tooltip",i="g2-tooltip-title",o="g2-tooltip-list",a="g2-tooltip-list-item",s="g2-tooltip-marker",c="g2-tooltip-value",l="g2-tooltip-name",u="g2-tooltip-crosshair-x",h="g2-tooltip-crosshair-y"},u8Dt:function(t,e,n){var r=n("YESw"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(t){var e=this.__data__;if(r){var n=e[t];return n===i?void 0:n}return a.call(e,t)?e[t]:void 0}t.exports=s},"u9/z":function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return u});var r=n("iTfj"),i=n("YuPD"),o=n("w02o"),a=n("tKoa"),s=n("SZbK");function c(t){var e=t.chart,n=t.options,o=n.percent,c=n.progressStyle,l=n.color,u=n.barWidthRatio,h=Object(r["clamp"])(o,0,1),f=[{type:"current",percent:h},{type:"target",percent:1-h}];e.data(f);var p=Object(i["b"])({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:u,interval:{style:c,color:Object(r["isString"])(l)?[l,s["a"][1]]:l}}});return Object(a["c"])(p),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function l(t){var e=t.chart;return e.coordinate("rect").transpose(),t}function u(t){return Object(i["e"])(c,Object(o["f"])({}),l,o["a"],o["j"],Object(o["b"])())(t)}},u9VJ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("DMQx");(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return a["a"]}})(i["a"])},uCX8:function(t,e,n){"use strict";n.r(e);var r=n("LHnb"),i=n("iTfj"),o=n("MeYt"),a=n("BgvD"),s=n("jqgP"),c=n("5UbV");function l(t,e){var n=e.x,o=e.y,l=e.content,u=e.style,h=e.id,f=e.name,p=e.rotate,d=e.maxLength,g=e.autoEllipsis,y=e.isVertical,v=e.ellipsisPosition,m=e.background,b=t.addGroup({id:h+"-group",name:f+"-group",attrs:{x:n,y:o}}),x=b.addShape({type:"text",id:h,name:f,attrs:Object(r["a"])({x:0,y:0,text:l},u)}),O=Object(c["c"])(Object(i["get"])(m,"padding",0));if(d&&g){var w=d-(O[1]+O[3]);Object(a["a"])(!y,x,w,v)}if(m){var j=Object(i["get"])(m,"style",{}),C=x.getCanvasBBox(),S=C.minX,k=C.minY,M=C.width,_=C.height,A=b.addShape("rect",{id:h+"-bg",name:h+"-bg",attrs:Object(r["a"])({x:S-O[3],y:k-O[0],width:M+O[1]+O[3],height:_+O[0]+O[2]},j)});A.toBack()}Object(s["c"])(b,n,o),Object(s["b"])(b,p,n,o)}var u=n("L16w"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:u["a"].textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:u["a"].fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:u["a"].lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:Object(r["a"])({x1:e.x,y1:e.y,x2:n.x,y2:n.y},i)})},e.prototype.getLabelPoint=function(t,e,n){var r;return r="start"===n?0:"center"===n?.5:Object(i["isString"])(n)&&-1!==n.indexOf("%")?parseInt(n,10)/100:Object(i["isNumber"])(n)?n:1,(r>1||r<0)&&(r=1),{x:Object(c["g"])(t.x,e.x,r),y:Object(c["g"])(t.y,e.y,r)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),r=this.get("end"),i=e.position,o=e.content,a=e.style,s=e.offsetX,c=e.offsetY,u=e.autoRotate,h=e.maxLength,f=e.autoEllipsis,p=e.ellipsisPosition,d=e.background,g=e.isVertical,y=void 0!==g&&g,v=this.getLabelPoint(n,r,i),m=v.x+s,b=v.y+c,x={id:this.getElementId("line-text"),name:"annotation-line-text",x:m,y:b,content:o,style:a,maxLength:h,autoEllipsis:f,ellipsisPosition:p,background:d,isVertical:y};if(u){var O=[r.x-n.x,r.y-n.y];x.rotate=Math.atan2(O[1],O[0])}l(t,x)},e}(o["a"]),f=h,p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:u["a"].textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:u["a"].fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var e=this.getLocation(),n=e.x,r=e.y,i=this.get("content"),o=this.get("style"),a=this.getElementId("text"),s=this.get("name")+"-text",c=this.get("maxLength"),u=this.get("autoEllipsis"),h=this.get("isVertical"),f=this.get("ellipsisPosition"),p=this.get("background"),d=this.get("rotate"),g={id:a,name:s,x:n,y:r,content:i,style:o,maxLength:c,autoEllipsis:u,isVertical:h,ellipsisPosition:f,background:p,rotate:d};l(t,g)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var e=this.getLocation(),n=e.x,r=e.y,i=this.get("rotate");Object(s["c"])(t,n,r),Object(s["b"])(t,i,n,r)}},e}(o["a"]),d=p,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,o=Object(c["e"])(e,n,r),a=Object(c["e"])(e,n,i),s=i-r>Math.PI?1:0,l=[["M",o.x,o.y]];if(i-r===2*Math.PI){var u=Object(c["e"])(e,n,r+Math.PI);l.push(["A",n,n,0,s,1,u.x,u.y]),l.push(["A",n,n,0,s,1,a.x,a.y])}else l.push(["A",n,n,0,s,1,a.x,a.y]);return l},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:Object(r["a"])({path:e},n)})},e}(o["a"]),y=g,v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:u["a"].regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style"),o=Object(c["k"])({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r["a"])({x:o.x,y:o.y,width:o.width,height:o.height},i)})},e}(o["a"]),m=v,b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),i=Object(c["k"])({start:t,end:e}),o=this.get("src");return Object(r["a"])({x:i.x,y:i.y,img:o,width:i.width,height:i.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(o["a"]),x=b,O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:u["a"].lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:u["a"].textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:u["a"].fontFamily}}}})},e.prototype.renderInner=function(t){Object(i["get"])(this.get("line"),"display")&&this.renderLine(t),Object(i["get"])(this.get("text"),"display")&&this.renderText(t),Object(i["get"])(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,i=e.y,o=e.text,a=Object(r["c"])(e,["x","y","text"]),s=this.get("text"),c=s.background,u=s.maxLength,h=s.autoEllipsis,f=s.isVertival,p=s.ellipsisPosition,d={x:n,y:i,id:this.getElementId("text"),name:"annotation-text",content:o,style:a,background:c,maxLength:u,autoEllipsis:h,isVertival:f,ellipsisPosition:p};l(t,d)},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),r=this.get("y"),o=Object(i["get"])(this.get("line"),"length",0),a=this.get("coordinateBBox"),c=t.getBBox(),l=c.minX,u=c.maxX,h=c.minY,f=c.maxY,p=t.findById(this.getElementId("text-group")),d=t.findById(this.getElementId("text")),g=t.findById(this.getElementId("line"));if(a){if(p){if(n+l<=a.minX){var y=a.minX-(n+l);Object(s["c"])(p,p.attr("x")+y,p.attr("y"))}if(n+u>=a.maxX){y=n+u-a.maxX;Object(s["c"])(p,p.attr("x")-y,p.attr("y"))}}if("upward"===e&&r+h<=a.minY||"upward"!==e&&r+f>=a.maxY){var v=void 0,m=void 0;"upward"===e&&r+h<=a.minY?(v="top",m=1):(v="bottom",m=-1),d.attr("textBaseline",v),g&&g.attr("path",[["M",0,0],["L",0,o*m]]),Object(s["c"])(p,p.attr("x"),(o+2)*m)}}},e.prototype.getShapeAttrs=function(){var t=Object(i["get"])(this.get("line"),"display"),e=Object(i["get"])(this.get("point"),"style",{}),n=Object(i["get"])(this.get("line"),"style",{}),o=Object(i["get"])(this.get("text"),"style",{}),a=this.get("direction"),s=t?Object(i["get"])(this.get("line"),"length",0):0,c="upward"===a?-1:1;return{point:Object(r["a"])({x:0,y:0},e),line:Object(r["a"])({path:[["M",0,0],["L",0,s*c]]},n),text:Object(r["a"])({x:0,y:(s+2)*c,text:Object(i["get"])(this.get("text"),"content",""),textBaseline:"upward"===a?"bottom":"top"},o)}},e}(o["a"]),w=O,j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:u["a"].regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:u["a"].textColor,fontFamily:u["a"].fontFamily}}}})},e.prototype.renderInner=function(t){var e=Object(i["get"])(this.get("region"),"style",{}),n=(Object(i["get"])(this.get("text"),"style",{}),this.get("lineLength")||0),o=this.get("points");if(o.length){var a=Object(c["j"])(o),s=[];s.push(["M",o[0].x,a.minY-n]),o.forEach(function(t){s.push(["L",t.x,t.y])}),s.push(["L",o[o.length-1].x,o[o.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r["a"])({path:s},e)});var u=Object(r["a"])({id:this.getElementId("text"),name:"annotation-text",x:(a.minX+a.maxX)/2,y:a.minY-n},this.get("text"));l(t,u)}},e}(o["a"]),C=j,S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),r=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});Object(i["each"])(this.get("shapes"),function(t,n){var r=t.get("type"),a=Object(i["clone"])(t.attr());e.adjustShapeAttrs(a),e.addShape(o,{id:e.getElementId("shape-"+r+"-"+n),capture:!1,type:r,attrs:a})});var a=Object(c["k"])({start:n,end:r});o.setClip({type:"rect",attrs:{x:a.minX,y:a.minY,width:a.width,height:a.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(o["a"]),k=S,M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"shape",draw:i["noop"]})},e.prototype.renderInner=function(t){var e=this.get("render");Object(i["isFunction"])(e)&&e(t)},e}(o["a"]),_=M,A=n("fIp6"),T=n("de35"),E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
      ',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");Object(c["a"])(t);var n=Object(i["isFunction"])(e)?e(t):e;Object(i["isElement"])(n)?t.appendChild(n):Object(i["isString"])(n)&&t.appendChild(Object(A["b"])(n)),this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,i=this.get("alignX"),o=this.get("alignY"),a=this.get("offsetX"),s=this.get("offsetY"),c=Object(A["d"])(t),l=Object(A["c"])(t),u={x:n,y:r};"middle"===i?u.x-=Math.round(c/2):"right"===i&&(u.x-=Math.round(c)),"middle"===o?u.y-=Math.round(l/2):"bottom"===o&&(u.y-=Math.round(l)),a&&(u.x+=a),s&&(u.y+=s),Object(A["e"])(t,{position:"absolute",left:u.x+"px",top:u.y+"px",zIndex:this.get("zIndex")})},e}(T["a"]),P=E;n.d(e,"Line",function(){return f}),n.d(e,"Text",function(){return d}),n.d(e,"Arc",function(){return y}),n.d(e,"Region",function(){return m}),n.d(e,"Image",function(){return x}),n.d(e,"DataMarker",function(){return w}),n.d(e,"DataRegion",function(){return C}),n.d(e,"RegionFilter",function(){return k}),n.d(e,"Shape",function(){return _}),n.d(e,"Html",function(){return P})},uI74:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createInteraction=e.registerInteraction=e.getInteraction=void 0;var r=n("t0W4"),i=n("iTfj"),o=r.__importDefault(n("w/ja")),a={};function s(t){return a[i.lowerCase(t)]}function c(t,e){a[i.lowerCase(t)]=e}function l(t,e,n){var r=s(t);if(!r)return null;if(i.isPlainObject(r)){var a=i.mix(i.clone(r),n);return new o.default(e,a)}var c=r;return new c(e,n)}e.getInteraction=s,e.registerInteraction=c,e.createInteraction=l;var u=n("dNCd");Object.defineProperty(e,"Interaction",{enumerable:!0,get:function(){return u.default}});var h=n("e99J");Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return h.Action}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return h.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return h.getActionClass}})},ugOi:function(t,e,n){var r=n("kewz"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},usqY:function(t,e,n){"use strict";function r(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){var n=t.pos;while(n1){var o=a(e,n);return e*i+o*(i-1)}return e}function a(t,e){return e?e-t:.14*t}function s(t,e){var n=Object(i["a"])(),o=0;if(Object(r["e"])(t)||""===t)return o;if(n.save(),n.font=e,Object(r["h"])(t)&&t.includes("\n")){var a=t.split("\n");Object(r["a"])(a,function(t){var e=n.measureText(t).width;oP.length&&P.push(t)}function F(t,e,n,r){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var s=!1;if(null===t)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case a:s=!0}}if(s)return n(r,t,""===e?"."+B(t,0):e),1;if(s=0,e=""===e?".":e+":",Array.isArray(t))for(var c=0;c=4)return!1;if(f+3>p)return!1;if(i=t.src.charCodeAt(f),126!==i&&96!==i)return!1;if(c=f,f=t.skipChars(f,i),o=f-c,o<3)return!1;if(u=t.src.slice(c,f),a=t.src.slice(f,p),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=e;;){if(s++,s>=n)break;if(f=c=t.bMarks[s]+t.tShift[s],p=t.eMarks[s],f=4)&&(f=t.skipChars(f,i),!(f-c'}),n}function y(t,e){var n,r,i=f.exec(t),o=Object(h["mod"])(Object(h["toRadian"])(parseFloat(i[1])),2*Math.PI),a=i[2];o>=0&&o<.5*Math.PI?(n={x:0,y:0},r={x:1,y:1}):.5*Math.PI<=o&&o';e.innerHTML=n},t}(),j=w,C=function(){function t(t,e){this.cfg={};var n=Object(c["b"])("marker"),r=Object(h["uniqueId"])("marker_");n.setAttribute("id",r);var i=Object(c["b"])("path");i.setAttribute("stroke",t.stroke||"none"),i.setAttribute("fill",t.fill||"none"),n.appendChild(i),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=i,this.id=r;var o=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===o?this._setDefaultPath(e,i):(this.cfg=o,this._setMarker(t.lineWidth,i)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,r=this.cfg.path,i=this.cfg.d;Object(h["isArray"])(r)&&(r=r.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",r),n.appendChild(e),i&&n.setAttribute("refX",""+i/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}(),S=C,k=function(){function t(t){this.type="clip",this.cfg={};var e=Object(c["b"])("clipPath");this.el=e,this.id=Object(h["uniqueId"])("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}(),M=k,_=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,A=function(){function t(t){this.cfg={};var e=Object(c["b"])("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=Object(c["b"])("image");e.appendChild(n);var r=Object(h["uniqueId"])("pattern_");e.id=r,this.el=e,this.id=r,this.cfg=t;var i=_.exec(t),o=i[2];n.setAttribute("href",o);var a=new Image;function s(){e.setAttribute("width",""+a.width),e.setAttribute("height",""+a.height)}return o.match(/^data:/i)||(a.crossOrigin="Anonymous"),a.src=o,a.complete?s():(a.onload=s,a.src=a.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),T=A,E=function(){function t(t){var e=Object(c["b"])("defs"),n=Object(h["uniqueId"])("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i-1&&t%1==0&&t>>0;for(e=0;e0)for(n=0;n=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var B=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},Y={};function z(t,e,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),t&&(Y[t]=i),e&&(Y[e[0]]=function(){return D(i.apply(this,arguments),e[1],e[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(B);for(e=0,n=r.length;e=0&&R.test(t))t=t.replace(R,r),R.lastIndex=0,n-=1;return t}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function U(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(B).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])}var q="Invalid date";function Z(){return this._invalidDate}var K="%d",Q=/\d{1,2}/;function $(t){return this._ordinal.replace("%d",t)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tt(t,e,n,r){var i=this._relativeTime[n];return T(i)?i(t,e,n,r):i.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)}var nt={};function rt(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function it(t){return"string"===typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,r={};for(n in t)c(t,n)&&(e=it(n),e&&(r[e]=t[n]));return r}var at={};function st(t,e){at[t]=e}function ct(t){var e,n=[];for(e in t)c(t,e)&&n.push({unit:e,priority:at[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}function lt(t){return t%4===0&&t%100!==0||t%400===0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ht(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ut(e)),n}function ft(t,e){return function(n){return null!=n?(dt(this,t,n),i.updateOffset(this,e),this):pt(this,t)}}function pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function dt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&<(t.year())&&1===t.month()&&29===t.date()?(n=ht(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function gt(t){return t=it(t),T(this[t])?this[t]():this}function yt(t,e){if("object"===typeof t){t=ot(t);var n,r=ct(t);for(n=0;n68?1900:2e3)};var ve=ft("FullYear",!0);function me(){return lt(this.year())}function be(t,e,n,r,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}function xe(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Oe(t,e,n){var r=7+e-n,i=(7+xe(t,0,r).getUTCDay()-e)%7;return-i+r-1}function we(t,e,n,r,i){var o,a,s=(7+n-r)%7,c=Oe(t,r,i),l=1+7*(e-1)+s+c;return l<=0?(o=t-1,a=ye(o)+l):l>ye(t)?(o=t+1,a=l-ye(t)):(o=t,a=l),{year:o,dayOfYear:a}}function je(t,e,n){var r,i,o=Oe(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+Ce(i,e,n)):a>Ce(t.year(),e,n)?(r=a-Ce(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function Ce(t,e,n){var r=Oe(t,e,n),i=Oe(t+1,e,n);return(ye(t)-r+i)/7}function Se(t){return je(t,this._week.dow,this._week.doy).week}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),st("week",5),st("isoWeek",5),Ft("w",jt),Ft("ww",jt,bt),Ft("W",jt),Ft("WW",jt,bt),zt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ht(t)});var ke={dow:0,doy:6};function Me(){return this._week.dow}function _e(){return this._week.doy}function Ae(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Te(t){var e=je(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ee(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Pe(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Le(t,e){return t.slice(e,7).concat(t.slice(0,e))}z("d",0,"do","day"),z("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),z("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),z("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),st("day",11),st("weekday",11),st("isoWeekday",11),Ft("d",jt),Ft("e",jt),Ft("E",jt),Ft("dd",function(t,e){return e.weekdaysMinRegex(t)}),Ft("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Ft("dddd",function(t,e){return e.weekdaysRegex(t)}),zt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:v(n).invalidWeekday=t}),zt(["d","e","E"],function(t,e,n,r){e[r]=ht(t)});var Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),De="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Be=It,Re=It,Ne=It;function Ye(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Le(n,this._week.dow):t?n[t.day()]:n}function ze(t){return!0===t?Le(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ge(t){return!0===t?Le(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ve(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=Vt.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===e?(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Vt.call(this._minWeekdaysParse,a),-1!==i?i:(i=Vt.call(this._weekdaysParse,a),-1!==i?i:(i=Vt.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function Xe(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ve.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function We(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ee(t,this.localeData()),this.add(t-e,"d")):e}function He(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ue(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function qe(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Be),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ze(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Re),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ke(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qe.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ne),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qe(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)n=g([2e3,1]).day(e),r=Rt(this.weekdaysMin(n,"")),i=Rt(this.weekdaysShort(n,"")),o=Rt(this.weekdays(n,"")),a.push(r),s.push(i),c.push(o),l.push(r),l.push(i),l.push(o);a.sort(t),s.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $e(){return this.hours()%12||12}function Je(){return this.hours()||24}function tn(t,e){z(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,$e),z("k",["kk",2],0,Je),z("hmm",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)}),z("hmmss",0,0,function(){return""+$e.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),tn("a",!0),tn("A",!1),rt("hour","h"),st("hour",13),Ft("a",en),Ft("A",en),Ft("H",jt),Ft("h",jt),Ft("k",jt),Ft("HH",jt,bt),Ft("hh",jt,bt),Ft("kk",jt,bt),Ft("hmm",Ct),Ft("hmmss",St),Ft("Hmm",Ct),Ft("Hmmss",St),Yt(["H","HH"],Ut),Yt(["k","kk"],function(t,e,n){var r=ht(t);e[Ut]=24===r?0:r}),Yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Yt(["h","hh"],function(t,e,n){e[Ut]=ht(t),v(n).bigHour=!0}),Yt("hmm",function(t,e,n){var r=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r)),v(n).bigHour=!0}),Yt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r,2)),e[Zt]=ht(t.substr(i)),v(n).bigHour=!0}),Yt("Hmm",function(t,e,n){var r=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r))}),Yt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ht(t.substr(0,r)),e[qt]=ht(t.substr(r,2)),e[Zt]=ht(t.substr(i))});var rn=/[ap]\.?m?\.?/i,on=ft("Hours",!0);function an(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var sn,cn={calendar:I,longDateFormat:H,invalidDate:q,ordinal:K,dayOfMonthOrdinalParse:Q,relativeTime:J,months:ee,monthsShort:ne,week:ke,weekdays:Ie,weekdaysMin:De,weekdaysShort:Fe,meridiemParse:rn},ln={},un={};function hn(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n0){if(r=dn(i.slice(0,e).join("-")),r)return r;if(n&&n.length>=e&&hn(i,n)>=e-1)break;e--}o++}return sn}function dn(n){var r=null;if(void 0===ln[n]&&"undefined"!==typeof t&&t&&t.exports)try{r=sn._abbr,e,function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),gn(r)}catch(t){ln[n]=null}return ln[n]}function gn(t,e){var n;return t&&(n=u(e)?mn(t):yn(t,e),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sn._abbr}function yn(t,e){if(null!==e){var n,r=cn;if(e.abbr=t,null!=ln[t])A("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[t]._config;else if(null!=e.parentLocale)if(null!=ln[e.parentLocale])r=ln[e.parentLocale]._config;else{if(n=dn(e.parentLocale),null==n)return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:t,config:e}),null;r=n._config}return ln[t]=new L(P(r,e)),un[t]&&un[t].forEach(function(t){yn(t.name,t.config)}),gn(t),ln[t]}return delete ln[t],null}function vn(t,e){if(null!=e){var n,r,i=cn;null!=ln[t]&&null!=ln[t].parentLocale?ln[t].set(P(ln[t]._config,e)):(r=dn(t),null!=r&&(i=r._config),e=P(i,e),null==r&&(e.abbr=t),n=new L(e),n.parentLocale=ln[t],ln[t]=n),gn(t)}else null!=ln[t]&&(null!=ln[t].parentLocale?(ln[t]=ln[t].parentLocale,t===gn()&&gn(t)):null!=ln[t]&&delete ln[t]);return ln[t]}function mn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sn;if(!a(t)){if(e=dn(t),e)return e;t=[t]}return pn(t)}function bn(){return M(ln)}function xn(t){var e,n=t._a;return n&&-2===v(t).overflow&&(e=n[Wt]<0||n[Wt]>11?Wt:n[Ht]<1||n[Ht]>te(n[Xt],n[Wt])?Ht:n[Ut]<0||n[Ut]>24||24===n[Ut]&&(0!==n[qt]||0!==n[Zt]||0!==n[Kt])?Ut:n[qt]<0||n[qt]>59?qt:n[Zt]<0||n[Zt]>59?Zt:n[Kt]<0||n[Kt]>999?Kt:-1,v(t)._overflowDayOfYear&&(eHt)&&(e=Ht),v(t)._overflowWeeks&&-1===e&&(e=Qt),v(t)._overflowWeekday&&-1===e&&(e=$t),v(t).overflow=e),t}var On=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,jn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((-?\d+)/i,Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_n={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function An(t){var e,n,r,i,o,a,s=t._i,c=On.exec(s)||wn.exec(s);if(c){for(v(t).iso=!0,e=0,n=Cn.length;eye(o)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),n=xe(o,0,t._dayOfYear),t._a[Wt]=n.getUTCMonth(),t._a[Ht]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Ut]&&0===t._a[qt]&&0===t._a[Zt]&&0===t._a[Kt]&&(t._nextDay=!0,t._a[Ut]=0),t._d=(t._useUTC?xe:be).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ut]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==i&&(v(t).weekdayMismatch=!0)}}function Yn(t){var e,n,r,i,o,a,s,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=Bn(e.GG,t._a[Xt],je(Zn(),1,4).year),r=Bn(e.W,1),i=Bn(e.E,1),(i<1||i>7)&&(c=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,l=je(Zn(),o,a),n=Bn(e.gg,t._a[Xt],l.year),r=Bn(e.w,l.week),null!=e.d?(i=e.d,(i<0||i>6)&&(c=!0)):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(c=!0)):i=o),r<1||r>Ce(n,o,a)?v(t)._overflowWeeks=!0:null!=c?v(t)._overflowWeekday=!0:(s=we(n,r,i,o,a),t._a[Xt]=s.year,t._dayOfYear=s.dayOfYear)}function zn(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],v(t).empty=!0;var e,n,r,o,a,s,c=""+t._i,l=c.length,u=0;for(r=W(t._f,t._locale).match(B)||[],e=0;e0&&v(t).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),Y[o]?(n?v(t).empty=!1:v(t).unusedTokens.push(o),Gt(o,n,t)):t._strict&&!n&&v(t).unusedTokens.push(o);v(t).charsLeftOver=l-u,c.length>0&&v(t).unusedInput.push(c),t._a[Ut]<=12&&!0===v(t).bigHour&&t._a[Ut]>0&&(v(t).bigHour=void 0),v(t).parsedDateParts=t._a.slice(0),v(t).meridiem=t._meridiem,t._a[Ut]=Gn(t._locale,t._a[Ut],t._meridiem),s=v(t).era,null!==s&&(t._a[Xt]=t._locale.erasConvertYear(s,t._a[Xt])),Nn(t),xn(t)}else Fn(t);else An(t)}function Gn(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function Vn(t){var e,n,r,i,o,a,s=!1;if(0===t._f.length)return v(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t:b()});function $n(t,e){var n,r;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Zn();for(n=e[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return w(e,this),e=Hn(e),e._a?(t=e._isUTC?g(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&lr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jr(){return!!this.isValid()&&!this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Mr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _r(t,e){var n,r,i,o=t,a=null;return sr(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=kr.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:ht(a[Ht])*n,h:ht(a[Ut])*n,m:ht(a[qt])*n,s:ht(a[Zt])*n,ms:ht(cr(1e3*a[Kt]))*n}):(a=Mr.exec(t))?(n="-"===a[1]?-1:1,o={y:Ar(a[2],n),M:Ar(a[3],n),w:Ar(a[4],n),d:Ar(a[5],n),h:Ar(a[6],n),m:Ar(a[7],n),s:Ar(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Er(Zn(o.from),Zn(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ar(o),sr(t)&&c(t,"_locale")&&(r._locale=t._locale),sr(t)&&c(t,"_isValid")&&(r._isValid=t._isValid),r}function Ar(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Tr(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Er(t,e){var n;return t.isValid()&&e.isValid()?(e=pr(e,t),t.isBefore(e)?n=Tr(t,e):(n=Tr(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pr(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(A(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=_r(n,r),Lr(this,i,t),this}}function Lr(t,e,n,r){var o=e._milliseconds,a=cr(e._days),s=cr(e._months);t.isValid()&&(r=null==r||r,s&&ue(t,pt(t,"Month")+s*n),a&&dt(t,"Date",pt(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&i.updateOffset(t,a||s))}_r.fn=ar.prototype,_r.invalid=or;var Ir=Pr(1,"add"),Fr=Pr(-1,"subtract");function Dr(t){return"string"===typeof t||t instanceof String}function Br(t){return C(t)||f(t)||Dr(t)||h(t)||Nr(t)||Rr(t)||null===t||void 0===t}function Rr(t){var e,n,r=s(t)&&!l(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;en.valueOf():n.valueOf()9999?X(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",X(n,"Z")):X(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(t+e+n+r)}function ei(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=X(this,t);return this.localeData().postformat(e)}function ni(t,e){return this.isValid()&&(C(t)&&t.isValid()||Zn(t).isValid())?_r({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ri(t){return this.from(Zn(),t)}function ii(t,e){return this.isValid()&&(C(t)&&t.isValid()||Zn(t).isValid())?_r({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function oi(t){return this.to(Zn(),t)}function ai(t){var e;return void 0===t?this._locale._abbr:(e=mn(t),null!=e&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ci(){return this._locale}var li=1e3,ui=60*li,hi=60*ui,fi=3506328*hi;function pi(t,e){return(t%e+e)%e}function di(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function gi(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function yi(t){var e,n;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gi:di,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=pi(e+(this._isUTC?0:this.utcOffset()*ui),hi);break;case"minute":e=this._d.valueOf(),e-=pi(e,ui);break;case"second":e=this._d.valueOf(),e-=pi(e,li);break}return this._d.setTime(e),i.updateOffset(this,!0),this}function vi(t){var e,n;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gi:di,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=hi-pi(e+(this._isUTC?0:this.utcOffset()*ui),hi)-1;break;case"minute":e=this._d.valueOf(),e+=ui-pi(e,ui)-1;break;case"second":e=this._d.valueOf(),e+=li-pi(e,li)-1;break}return this._d.setTime(e),i.updateOffset(this,!0),this}function mi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function Oi(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function wi(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function ji(){return this.isValid()?this.toISOString():null}function Ci(){return m(this)}function Si(){return d({},v(this))}function ki(){return v(this).overflow}function Mi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function _i(t,e){var n,r,o,a=this._eras||mn("en")._eras;for(n=0,r=a.length;n=0)return c[r]}function Ti(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n}function Ei(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;to&&(e=o),Qi.call(this,t,e,n,r,i))}function Qi(t,e,n,r,i){var o=we(t,e,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function $i(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),Ft("N",Ri),Ft("NN",Ri),Ft("NNN",Ri),Ft("NNNN",Ni),Ft("NNNNN",Yi),Yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?v(n).era=i:v(n).invalidEra=t}),Ft("y",At),Ft("yy",At),Ft("yyy",At),Ft("yyyy",At),Ft("yo",zi),Yt(["y","yy","yyy","yyyy"],Xt),Yt(["yo"],function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Xt]=n._locale.eraYearOrdinalParse(t,i):e[Xt]=parseInt(t,10)}),z(0,["gg",2],0,function(){return this.weekYear()%100}),z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Vi("gggg","weekYear"),Vi("ggggg","weekYear"),Vi("GGGG","isoWeekYear"),Vi("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),st("weekYear",1),st("isoWeekYear",1),Ft("G",Tt),Ft("g",Tt),Ft("GG",jt,bt),Ft("gg",jt,bt),Ft("GGGG",Mt,Ot),Ft("gggg",Mt,Ot),Ft("GGGGG",_t,wt),Ft("ggggg",_t,wt),zt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ht(t)}),zt(["gg","GG"],function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)}),z("Q",0,"Qo","quarter"),rt("quarter","Q"),st("quarter",7),Ft("Q",mt),Yt("Q",function(t,e){e[Wt]=3*(ht(t)-1)}),z("D",["DD",2],"Do","date"),rt("date","D"),st("date",9),Ft("D",jt),Ft("DD",jt,bt),Ft("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Yt(["D","DD"],Ht),Yt("Do",function(t,e){e[Ht]=ht(t.match(jt)[0])});var Ji=ft("Date",!0);function to(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}z("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),st("dayOfYear",4),Ft("DDD",kt),Ft("DDDD",xt),Yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ht(t)}),z("m",["mm",2],0,"minute"),rt("minute","m"),st("minute",14),Ft("m",jt),Ft("mm",jt,bt),Yt(["m","mm"],qt);var eo=ft("Minutes",!1);z("s",["ss",2],0,"second"),rt("second","s"),st("second",15),Ft("s",jt),Ft("ss",jt,bt),Yt(["s","ss"],Zt);var no,ro,io=ft("Seconds",!1);for(z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),rt("millisecond","ms"),st("millisecond",16),Ft("S",kt,mt),Ft("SS",kt,bt),Ft("SSS",kt,xt),no="SSSS";no.length<=9;no+="S")Ft(no,At);function oo(t,e){e[Kt]=ht(1e3*("0."+t))}for(no="S";no.length<=9;no+="S")Yt(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=ft("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var co=j.prototype;function lo(t){return Zn(1e3*t)}function uo(){return Zn.apply(null,arguments).parseZone()}function ho(t){return t}co.add=Ir,co.calendar=Gr,co.clone=Vr,co.diff=Kr,co.endOf=vi,co.format=ei,co.from=ni,co.fromNow=ri,co.to=ii,co.toNow=oi,co.get=gt,co.invalidAt=ki,co.isAfter=Xr,co.isBefore=Wr,co.isBetween=Hr,co.isSame=Ur,co.isSameOrAfter=qr,co.isSameOrBefore=Zr,co.isValid=Ci,co.lang=si,co.locale=ai,co.localeData=ci,co.max=Qn,co.min=Kn,co.parsingFlags=Si,co.set=yt,co.startOf=yi,co.subtract=Fr,co.toArray=Oi,co.toObject=wi,co.toDate=xi,co.toISOString=Jr,co.inspect=ti,"undefined"!==typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=ji,co.toString=$r,co.unix=bi,co.valueOf=mi,co.creationData=Mi,co.eraName=Ei,co.eraNarrow=Pi,co.eraAbbr=Li,co.eraYear=Ii,co.year=ve,co.isLeapYear=me,co.weekYear=Xi,co.isoWeekYear=Wi,co.quarter=co.quarters=$i,co.month=he,co.daysInMonth=fe,co.week=co.weeks=Ae,co.isoWeek=co.isoWeeks=Te,co.weeksInYear=qi,co.weeksInWeekYear=Zi,co.isoWeeksInYear=Hi,co.isoWeeksInISOWeekYear=Ui,co.date=Ji,co.day=co.days=We,co.weekday=He,co.isoWeekday=Ue,co.dayOfYear=to,co.hour=co.hours=on,co.minute=co.minutes=eo,co.second=co.seconds=io,co.millisecond=co.milliseconds=ro,co.utcOffset=gr,co.utc=vr,co.local=mr,co.parseZone=br,co.hasAlignedHourOffset=xr,co.isDST=Or,co.isLocal=jr,co.isUtcOffset=Cr,co.isUtc=Sr,co.isUTC=Sr,co.zoneAbbr=ao,co.zoneName=so,co.dates=k("dates accessor is deprecated. Use date instead.",Ji),co.months=k("months accessor is deprecated. Use month instead",he),co.years=k("years accessor is deprecated. Use year instead",ve),co.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wr);var fo=L.prototype;function po(t,e,n,r){var i=mn(),o=g().set(r,e);return i[n](o,t)}function go(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return po(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(t,r,n,"month");return i}function yo(t,e,n,r){"boolean"===typeof t?(h(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,h(e)&&(n=e,e=void 0),e=e||"");var i,o=mn(),a=t?o._week.dow:0,s=[];if(null!=n)return po(e,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=po(e,(i+a)%7,r,"day");return s}function vo(t,e){return go(t,e,"months")}function mo(t,e){return go(t,e,"monthsShort")}function bo(t,e,n){return yo(t,e,n,"weekdays")}function xo(t,e,n){return yo(t,e,n,"weekdaysShort")}function Oo(t,e,n){return yo(t,e,n,"weekdaysMin")}fo.calendar=F,fo.longDateFormat=U,fo.invalidDate=Z,fo.ordinal=$,fo.preparse=ho,fo.postformat=ho,fo.relativeTime=tt,fo.pastFuture=et,fo.set=E,fo.eras=_i,fo.erasParse=Ai,fo.erasConvertYear=Ti,fo.erasAbbrRegex=Di,fo.erasNameRegex=Fi,fo.erasNarrowRegex=Bi,fo.months=ae,fo.monthsShort=se,fo.monthsParse=le,fo.monthsRegex=de,fo.monthsShortRegex=pe,fo.week=Se,fo.firstDayOfYear=_e,fo.firstDayOfWeek=Me,fo.weekdays=Ye,fo.weekdaysMin=Ge,fo.weekdaysShort=ze,fo.weekdaysParse=Xe,fo.weekdaysRegex=qe,fo.weekdaysShortRegex=Ze,fo.weekdaysMinRegex=Ke,fo.isPM=nn,fo.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===ht(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),i.lang=k("moment.lang is deprecated. Use moment.locale instead.",gn),i.langData=k("moment.langData is deprecated. Use moment.localeData instead.",mn);var wo=Math.abs;function jo(){var t=this._data;return this._milliseconds=wo(this._milliseconds),this._days=wo(this._days),this._months=wo(this._months),t.milliseconds=wo(t.milliseconds),t.seconds=wo(t.seconds),t.minutes=wo(t.minutes),t.hours=wo(t.hours),t.months=wo(t.months),t.years=wo(t.years),this}function Co(t,e,n,r){var i=_r(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function So(t,e){return Co(this,t,e,1)}function ko(t,e){return Co(this,t,e,-1)}function Mo(t){return t<0?Math.floor(t):Math.ceil(t)}function _o(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Mo(To(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=ut(o/1e3),c.seconds=t%60,e=ut(t/60),c.minutes=e%60,n=ut(e/60),c.hours=n%24,a+=ut(n/24),i=ut(Ao(a)),s+=i,a-=Mo(To(i)),r=ut(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function Ao(t){return 4800*t/146097}function To(t){return 146097*t/4800}function Eo(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=it(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+Ao(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(To(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function Po(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ht(this._months/12):NaN}function Lo(t){return function(){return this.as(t)}}var Io=Lo("ms"),Fo=Lo("s"),Do=Lo("m"),Bo=Lo("h"),Ro=Lo("d"),No=Lo("w"),Yo=Lo("M"),zo=Lo("Q"),Go=Lo("y");function Vo(){return _r(this)}function Xo(t){return t=it(t),this.isValid()?this[t+"s"]():NaN}function Wo(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ho=Wo("milliseconds"),Uo=Wo("seconds"),qo=Wo("minutes"),Zo=Wo("hours"),Ko=Wo("days"),Qo=Wo("months"),$o=Wo("years");function Jo(){return ut(this.days()/7)}var ta=Math.round,ea={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function ra(t,e,n,r){var i=_r(t).abs(),o=ta(i.as("s")),a=ta(i.as("m")),s=ta(i.as("h")),c=ta(i.as("d")),l=ta(i.as("M")),u=ta(i.as("w")),h=ta(i.as("y")),f=o<=n.ss&&["s",o]||o0,f[4]=r,na.apply(null,f)}function ia(t){return void 0===t?ta:"function"===typeof t&&(ta=t,!0)}function oa(t,e){return void 0!==ea[t]&&(void 0===e?ea[t]:(ea[t]=e,"s"===t&&(ea.ss=e-1),!0))}function aa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ea;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(i=t),"object"===typeof e&&(o=Object.assign({},ea,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),n=this.localeData(),r=ra(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function ca(t){return(t>0)-(t<0)||+t}function la(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,o,a,s,c=sa(this._milliseconds)/1e3,l=sa(this._days),u=sa(this._months),h=this.asSeconds();return h?(t=ut(c/60),e=ut(t/60),c%=60,t%=60,n=ut(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=ca(this._months)!==ca(h)?"-":"",a=ca(this._days)!==ca(h)?"-":"",s=ca(this._milliseconds)!==ca(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(l?a+l+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=ir,ua.abs=jo,ua.add=So,ua.subtract=ko,ua.as=Eo,ua.asMilliseconds=Io,ua.asSeconds=Fo,ua.asMinutes=Do,ua.asHours=Bo,ua.asDays=Ro,ua.asWeeks=No,ua.asMonths=Yo,ua.asQuarters=zo,ua.asYears=Go,ua.valueOf=Po,ua._bubble=_o,ua.clone=Vo,ua.get=Xo,ua.milliseconds=Ho,ua.seconds=Uo,ua.minutes=qo,ua.hours=Zo,ua.days=Ko,ua.weeks=Jo,ua.months=Qo,ua.years=$o,ua.humanize=aa,ua.toISOString=la,ua.toString=la,ua.toJSON=la,ua.locale=ai,ua.localeData=ci,ua.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",la),ua.lang=si,z("X",0,0,"unix"),z("x",0,0,"valueOf"),Ft("x",Tt),Ft("X",Lt),Yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),Yt("x",function(t,e,n){n._d=new Date(ht(t))}),i.version="2.29.1",o(Zn),i.fn=co,i.min=Jn,i.max=tr,i.now=er,i.utc=g,i.unix=lo,i.months=vo,i.isDate=f,i.locale=gn,i.invalid=b,i.duration=_r,i.isMoment=C,i.weekdays=bo,i.parseZone=uo,i.localeData=mn,i.isDuration=sr,i.monthsShort=mo,i.weekdaysMin=Oo,i.defineLocale=yn,i.updateLocale=vn,i.locales=bn,i.weekdaysShort=xo,i.normalizeUnits=it,i.relativeTimeRounding=ia,i.relativeTimeThreshold=oa,i.calendarFormat=zr,i.prototype=co,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i})}).call(this,n("YuTi")(t))},wq2r:function(t,e,n){"use strict";var r=n("wOmg"),i=n("aFU3"),o=n("R5nb"),a=n("9eUa"),s=n("iTfj"),c=n("cyZq"),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.onCanvasChange=function(t){Object(a["h"])(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),Object(a["a"])(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];Object(s["each"])(t,function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))});var r=null;if(e.length){var i=Math.min.apply(null,e),o=Math.max.apply(null,e),a=Math.min.apply(null,n),l=Math.max.apply(null,n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:l,width:o-i,height:l-a};var u=this.cfg.canvas;if(u){var h=u.getViewRange();this.set("isInView",Object(c["f"])(r,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),Object(a["a"])(t,this),this._applyClip(t,this.getClip()),Object(a["d"])(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i["AbstractGroup"]);e["a"]=l},wtjL:function(t,e,n){"use strict";var r=n("Vwaf").HTML_TAG_RE;function i(t){var e=32|t;return e>=97&&e<=122}t.exports=function(t,e){var n,o,a,s,c=t.pos;return!!t.md.options.html&&(a=t.posMax,!(60!==t.src.charCodeAt(c)||c+2>=a)&&(n=t.src.charCodeAt(c+1),!(33!==n&&63!==n&&47!==n&&!i(n))&&(o=t.src.slice(c).match(r),!!o&&(e||(s=t.push("html_inline","",0),s.content=t.src.slice(c,c+o[0].length)),t.pos+=o[0].length,!0))))}},x3EW:function(t,e,n){"use strict";n.r(e);var r=n("LHnb"),i=n("iTfj"),o=n("MeYt"),a=n("L16w"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:a["a"].lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),r=e.slice(0).reverse(),i=this.getGridPath(r,!0),o=this.get("closed");return o?n=n.concat(i):(i[0][0]="L",n=n.concat(i),n.push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),r=this.get("items"),o=this.get("alternateColor"),a=null;Object(i["each"])(r,function(s,c){var l=s.id||c;if(n){var u=e.getPathStyle();u=Object(i["isFunction"])(u)?u(s,c,r):u;var h=e.getElementId("line-"+l),f=e.getGridPath(s.points);e.addShape(t,{type:"path",name:"grid-line",id:h,attrs:Object(i["mix"])({path:f},u)})}if(o&&c>0){var p=e.getElementId("region-"+l),d=c%2===0;if(Object(i["isString"])(o))d&&e.drawAlternateRegion(p,t,a.points,s.points,o);else{var g=d?o[1]:o[0];e.drawAlternateRegion(p,t,a.points,s.points,g)}}a=s})},e.prototype.drawAlternateRegion=function(t,e,n,r,i){var o=this.getAlternatePath(n,r);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:o,fill:i}})},e}(o["a"]),c=s;function l(t,e,n,r){var i=n-t,o=r-e;return Math.sqrt(i*i+o*o)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),r=this.get("closed"),o=[];if(t.length)if("circle"===n){var a=this.get("center"),s=t[0],c=l(a.x,a.y,s.x,s.y),u=e?0:1;r?(o.push(["M",a.x,a.y-c]),o.push(["A",c,c,0,0,u,a.x,a.y+c]),o.push(["A",c,c,0,0,u,a.x,a.y-c]),o.push(["Z"])):Object(i["each"])(t,function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["A",c,c,0,0,u,t.x,t.y])})}else Object(i["each"])(t,function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["L",t.x,t.y])}),r&&o.push(["Z"]);return o},e}(c),h=u,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r["a"])(Object(r["a"])({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return Object(i["each"])(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e}(c),p=f;n.d(e,"Base",function(){return c}),n.d(e,"Circle",function(){return h}),n.d(e,"Line",function(){return p})},y1pI:function(t,e,n){var r=n("ljhN");function i(t,e){var n=t.length;while(n--)if(r(t[n][0],e))return n;return-1}t.exports=i},y753:function(t,e,n){"use strict";var r=n("mrSG"),i=n("zJSt"),o=n("YuPD"),a=n("w02o"),s=n("tKoa");function c(t){var e=t.chart,n=t.options,i=n.data,a=n.lineStyle,c=n.color,l=n.point,u=n.area;e.data(i);var h=Object(o["b"])({},t,{options:{line:{style:a,color:c},point:l?Object(r["a"])({color:c},l):l,area:u?Object(r["a"])({color:c},u):u,label:void 0}}),f=Object(o["b"])({},h,{options:{tooltip:!1}});return Object(s["d"])(h),Object(s["e"])(f),Object(s["a"])(f),t}function l(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,c=n.yField;return Object(o["e"])(Object(a["f"])((e={},e[s]=r,e[c]=i,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius;return e.coordinate("polar",{radius:r}),t}function h(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,o=n.yField,a=n.yAxis;return e.axis(r,i),e.axis(o,a),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o["c"])(e,"line");if(i){var c=i.callback,l=Object(r["c"])(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o["o"])(l)})}else s.label(!1);return t}function p(t){return Object(o["e"])(c,l,a["j"],u,h,a["d"],a["k"],f,a["c"],a["a"],Object(a["b"])())(t)}var d=n("kXyF"),g=n("+q5a"),y=n("z+1E"),v=n.n(y),m=n("uI74"),b=n("iTfj"),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),i=n.shared,o=n.title,a=t.prototype.getTooltipItems.call(this,e);if(a.length>0){var s=this.view.geometries[0],c=s.dataArray,l=a[0].name,u=[];return c.forEach(function(t){t.forEach(function(t){var e=Object(g["getTooltipItems"])(t,s),n=e[0];if(!i&&n&&n.name===l){var a=Object(b["isNil"])(o)?l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}else if(i&&n){a=Object(b["isNil"])(o)?n.name||l:o;u.push(Object(r["a"])(Object(r["a"])({},n),{name:n.title,title:a}))}})}),u}return[]},e}(v.a);Object(d["f"])("radar-tooltip",x);var O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(e,t),e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,e=this.getTooltipController();e.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(m["Action"]);Object(d["e"])("radar-tooltip",O),Object(d["g"])("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return p}})(i["a"])},yKnv:function(t,e,n){"use strict";function r(t,e){var n,r,i,o,a,s,c=e.length;for(n=c-1;n>=0;n--)r=e[n],95!==r.marker&&42!==r.marker||-1!==r.end&&(i=e[r.end],s=n>0&&e[n-1].end===r.end+1&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1&&e[n-1].marker===r.marker,a=String.fromCharCode(r.marker),o=t.tokens[r.token],o.type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",o=t.tokens[i.token],o.type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}t.exports.tokenize=function(t,e){var n,r,i,o=t.pos,a=t.src.charCodeAt(o);if(e)return!1;if(95!==a&&42!==a)return!1;for(r=t.scanDelims(t.pos,42===a),n=0;ne}return!1}function K(t,e,n,r,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o}var Q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Q[t]=new K(t,0,!1,t,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Q[e]=new K(e,1,!1,t[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){Q[t]=new K(t,2,!1,t.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Q[t]=new K(t,2,!1,t,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){Q[t]=new K(t,3,!1,t.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(t){Q[t]=new K(t,3,!0,t,null,!1)}),["capture","download"].forEach(function(t){Q[t]=new K(t,4,!1,t,null,!1)}),["cols","rows","size","span"].forEach(function(t){Q[t]=new K(t,6,!1,t,null,!1)}),["rowSpan","start"].forEach(function(t){Q[t]=new K(t,5,!1,t.toLowerCase(),null,!1)});var $=/[\-:]([a-z])/g;function J(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace($,J);Q[e]=new K(e,1,!1,t,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace($,J);Q[e]=new K(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace($,J);Q[e]=new K(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(t){Q[t]=new K(t,1,!1,t.toLowerCase(),null,!1)}),Q.xlinkHref=new K("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(t){Q[t]=new K(t,1,!1,t.toLowerCase(),null,!0)});var tt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function et(t,e,n,r){var i=Q.hasOwnProperty(e)?Q[e]:null,o=null!==i?0===i.type:!r&&(2=n.length))throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:jt(n)}}function Nt(t,e){var n=jt(e.value),r=jt(e.defaultValue);null!=n&&(n=""+n,n!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function Yt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var zt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Gt(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?Gt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Xt,Wt=function(t){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t}(function(t,e){if(t.namespaceURI!==zt.svg||"innerHTML"in t)t.innerHTML=e;else{for(Xt=Xt||document.createElement("div"),Xt.innerHTML=""+e.valueOf().toString()+"",e=Xt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ht(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function Ut(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var qt={animationend:Ut("Animation","AnimationEnd"),animationiteration:Ut("Animation","AnimationIteration"),animationstart:Ut("Animation","AnimationStart"),transitionend:Ut("Transition","TransitionEnd")},Zt={},Kt={};function Qt(t){if(Zt[t])return Zt[t];if(!qt[t])return t;var e,n=qt[t];for(e in n)if(n.hasOwnProperty(e)&&e in Kt)return Zt[t]=n[e];return t}_&&(Kt=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);var $t=Qt("animationend"),Jt=Qt("animationiteration"),te=Qt("animationstart"),ee=Qt("transitionend"),ne="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=new("function"===typeof WeakMap?WeakMap:Map);function ie(t){var e=re.get(t);return void 0===e&&(e=new Map,re.set(t,e)),e}function oe(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{e=t,0!==(1026&e.effectTag)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function ae(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(t=t.alternate,null!==t&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function se(t){if(oe(t)!==t)throw Error(a(188))}function ce(t){var e=t.alternate;if(!e){if(e=oe(t),null===e)throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(r=i.return,null!==r){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return se(i),t;if(o===r)return se(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}function le(t){if(t=ce(t),!t)return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function ue(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function he(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}var fe=null;function pe(t){if(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e))for(var r=0;rve.length&&ve.push(t)}function be(t,e,n,r){if(ve.length){var i=ve.pop();return i.topLevelType=t,i.eventSystemFlags=r,i.nativeEvent=e,i.targetInst=n,i}return{topLevelType:t,eventSystemFlags:r,nativeEvent:e,targetInst:n,ancestors:[]}}function xe(t){var e=t.targetInst,n=e;do{if(!n){t.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;e=n.tag,5!==e&&6!==e||t.ancestors.push(n),n=zn(r)}while(n);for(n=0;n=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=xn(r)}}function wn(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?wn(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function jn(){for(var t=window,e=bn();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;t=e.contentWindow,e=bn(t.document)}return e}function Cn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var Sn="$",kn="/$",Mn="$?",_n="$!",An=null,Tn=null;function En(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Pn(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Ln="function"===typeof setTimeout?setTimeout:void 0,In="function"===typeof clearTimeout?clearTimeout:void 0;function Fn(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function Dn(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if(n===Sn||n===_n||n===Mn){if(0===e)return t;e--}else n===kn&&e++}t=t.previousSibling}return null}var Bn=Math.random().toString(36).slice(2),Rn="__reactInternalInstance$"+Bn,Nn="__reactEventHandlers$"+Bn,Yn="__reactContainere$"+Bn;function zn(t){var e=t[Rn];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Yn]||n[Rn]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=Dn(t);null!==t;){if(n=t[Rn])return n;t=Dn(t)}return e}t=n,n=t.parentNode}return null}function Gn(t){return t=t[Rn]||t[Yn],!t||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function Vn(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function Xn(t){return t[Nn]||null}function Wn(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Hn(t,e){var n=t.stateNode;if(!n)return null;var r=g(n);if(!r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!("button"===t||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(a(231,e,typeof n));return n}function Un(t,e,n){(e=Hn(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=ue(n._dispatchListeners,e),n._dispatchInstances=ue(n._dispatchInstances,t))}function qn(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,n=[];e;)n.push(e),e=Wn(e);for(e=n.length;0this.eventPool.length&&this.eventPool.push(t)}function sr(t){t.eventPool=[],t.getPooled=or,t.release=ar}i(ir.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=nr)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=nr)},persist:function(){this.isPersistent=nr},isPersistent:rr,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=rr,this._dispatchInstances=this._dispatchListeners=null}}),ir.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ir.extend=function(t){function e(){}function n(){return r.apply(this,arguments)}var r=this;e.prototype=r.prototype;var o=new e;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,t),n.extend=r.extend,sr(n),n},sr(ir);var cr=ir.extend({data:null}),lr=ir.extend({data:null}),ur=[9,13,27,32],hr=_&&"CompositionEvent"in window,fr=null;_&&"documentMode"in document&&(fr=document.documentMode);var pr=_&&"TextEvent"in window&&!fr,dr=_&&(!hr||fr&&8=fr),gr=String.fromCharCode(32),yr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},vr=!1;function mr(t,e){switch(t){case"keyup":return-1!==ur.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function br(t){return t=t.detail,"object"===typeof t&&"data"in t?t.data:null}var xr=!1;function Or(t,e){switch(t){case"compositionend":return br(e);case"keypress":return 32!==e.which?null:(vr=!0,gr);case"textInput":return t=e.data,t===gr&&vr?null:t;default:return null}}function wr(t,e){if(xr)return"compositionend"===t||!hr&&mr(t,e)?(t=er(),tr=Jn=$n=null,xr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=document.documentMode,ii={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},oi=null,ai=null,si=null,ci=!1;function li(t,e){var n=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return ci||null==oi||oi!==bn(n)?null:(n=oi,"selectionStart"in n&&Cn(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),si&&ni(si,n)?null:(si=n,t=ir.getPooled(ii.select,ai,t,e),t.type="select",t.target=oi,Qn(t),t))}var ui={eventTypes:ii,extractEvents:function(t,e,n,r,i,o){if(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(o=!i)){t:{i=ie(i),o=k.onSelect;for(var a=0;aSi||(t.current=Ci[Si],Ci[Si]=null,Si--)}function Mi(t,e){Si++,Ci[Si]=t.current,t.current=e}var _i={},Ai={current:_i},Ti={current:!1},Ei=_i;function Pi(t,e){var n=t.type.contextTypes;if(!n)return _i;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function Li(t){return t=t.childContextTypes,null!==t&&void 0!==t}function Ii(){ki(Ti),ki(Ai)}function Fi(t,e,n){if(Ai.current!==_i)throw Error(a(168));Mi(Ai,e),Mi(Ti,n)}function Di(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext(),r)if(!(o in t))throw Error(a(108,Ot(e)||"Unknown",o));return i({},n,{},r)}function Bi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||_i,Ei=Ai.current,Mi(Ai,t),Mi(Ti,Ti.current),!0}function Ri(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Di(t,e,Ei),r.__reactInternalMemoizedMergedChildContext=t,ki(Ti),ki(Ai),Mi(Ai,t)):ki(Ti),Mi(Ti,n)}var Ni=o.unstable_runWithPriority,Yi=o.unstable_scheduleCallback,zi=o.unstable_cancelCallback,Gi=o.unstable_requestPaint,Vi=o.unstable_now,Xi=o.unstable_getCurrentPriorityLevel,Wi=o.unstable_ImmediatePriority,Hi=o.unstable_UserBlockingPriority,Ui=o.unstable_NormalPriority,qi=o.unstable_LowPriority,Zi=o.unstable_IdlePriority,Ki={},Qi=o.unstable_shouldYield,$i=void 0!==Gi?Gi:function(){},Ji=null,to=null,eo=!1,no=Vi(),ro=1e4>no?Vi:function(){return Vi()-no};function io(){switch(Xi()){case Wi:return 99;case Hi:return 98;case Ui:return 97;case qi:return 96;case Zi:return 95;default:throw Error(a(332))}}function oo(t){switch(t){case 99:return Wi;case 98:return Hi;case 97:return Ui;case 96:return qi;case 95:return Zi;default:throw Error(a(332))}}function ao(t,e){return t=oo(t),Ni(t,e)}function so(t,e,n){return t=oo(t),Yi(t,e,n)}function co(t){return null===Ji?(Ji=[t],to=Yi(Wi,uo)):Ji.push(t),Ki}function lo(){if(null!==to){var t=to;to=null,zi(t)}uo()}function uo(){if(!eo&&null!==Ji){eo=!0;var t=0;try{var e=Ji;ao(99,function(){for(;t=e&&(qa=!0),t.firstContext=null)}function wo(t,e){if(vo!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(vo=t,e=1073741823),e={context:t,observedBits:e,next:null},null===yo){if(null===go)throw Error(a(308));yo=e,go.dependencies={expirationTime:0,firstContext:e,responders:null}}else yo=yo.next=e;return t._currentValue}var jo=!1;function Co(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function So(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function ko(t,e){return t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null},t.next=t}function Mo(t,e){if(t=t.updateQueue,null!==t){t=t.shared;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function _o(t,e){var n=t.alternate;null!==n&&So(n,t),t=t.updateQueue,n=t.baseQueue,null===n?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function Ao(t,e,n,r){var o=t.updateQueue;jo=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,o.shared.pending=null,c=t.alternate,null!==c&&(c=c.updateQueue,null!==c&&(c.baseQueue=s))}if(null!==a){c=a.next;var l=o.baseState,u=0,h=null,f=null,p=null;if(null!==c){var d=c;do{if(s=d.expirationTime,su&&(u=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:d.suspenseConfig,tag:d.tag,payload:d.payload,callback:d.callback,next:null}),Dc(s,d.suspenseConfig);t:{var y=t,v=d;switch(s=e,g=n,v.tag){case 1:if(y=v.payload,"function"===typeof y){l=y.call(g,l,s);break t}l=y;break t;case 3:y.effectTag=-4097&y.effectTag|64;case 0:if(y=v.payload,s="function"===typeof y?y.call(g,l,s):y,null===s||void 0===s)break t;l=i({},l,s);break t;case 2:jo=!0}}null!==d.callback&&(t.effectTag|=32,s=o.effects,null===s?o.effects=[d]:s.push(d))}if(d=d.next,null===d||d===c){if(s=o.shared.pending,null===s)break;d=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}while(1)}null===p?h=l:p.next=f,o.baseState=h,o.baseQueue=p,Bc(u),t.expirationTime=u,t.memoizedState=l}}function To(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;eg?(y=h,h=null):y=h.sibling;var v=p(i,h,s[g],c);if(null===v){null===h&&(h=y);break}t&&h&&null===v.alternate&&e(i,h),a=o(v,a,g),null===u?l=v:u.sibling=v,u=v,h=y}if(g===s.length)return n(i,h),l;if(null===h){for(;gy?(v=g,g=null):v=g.sibling;var b=p(i,g,m.value,l);if(null===b){null===g&&(g=v);break}t&&g&&null===b.alternate&&e(i,g),s=o(b,s,y),null===h?u=b:h.sibling=b,h=b,g=v}if(m.done)return n(i,g),u;if(null===g){for(;!m.done;y++,m=c.next())m=f(i,m.value,l),null!==m&&(s=o(m,s,y),null===h?u=m:h.sibling=m,h=m);return u}for(g=r(i,g);!m.done;y++,m=c.next())m=d(g,i,y,m.value,l),null!==m&&(t&&null!==m.alternate&&g.delete(null===m.key?y:m.key),s=o(m,s,y),null===h?u=m:h.sibling=m,h=m);return t&&g.forEach(function(t){return e(i,t)}),u}return function(t,r,o,c){var l="object"===typeof o&&null!==o&&o.type===at&&null===o.key;l&&(o=o.props.children);var u="object"===typeof o&&null!==o;if(u)switch(o.$$typeof){case it:t:{for(u=o.key,l=r;null!==l;){if(l.key===u){switch(l.tag){case 7:if(o.type===at){n(t,l.sibling),r=i(l,o.props.children),r.return=t,t=r;break t}break;default:if(l.elementType===o.type){n(t,l.sibling),r=i(l,o.props),r.ref=Yo(t,l,o),r.return=t,t=r;break t}}n(t,l);break}e(t,l),l=l.sibling}o.type===at?(r=sl(o.props.children,t.mode,c,o.key),r.return=t,t=r):(c=al(o.type,o.key,o.props,null,t.mode,c),c.ref=Yo(t,r,o),c.return=t,t=c)}return s(t);case ot:t:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(t,r.sibling),r=i(r,o.children||[]),r.return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}r=ll(o,t.mode,c),r.return=t,t=r}return s(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(t,r.sibling),r=i(r,o),r.return=t,t=r):(n(t,r),r=cl(o,t.mode,c),r.return=t,t=r),s(t);if(No(o))return g(t,r,o,c);if(bt(o))return y(t,r,o,c);if(u&&zo(t,o),"undefined"===typeof o&&!l)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return n(t,r)}}var Vo=Go(!0),Xo=Go(!1),Wo={},Ho={current:Wo},Uo={current:Wo},qo={current:Wo};function Zo(t){if(t===Wo)throw Error(a(174));return t}function Ko(t,e){switch(Mi(qo,e),Mi(Uo,t),Mi(Ho,Wo),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Vt(null,"");break;default:t=8===t?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Vt(e,t)}ki(Ho),Mi(Ho,e)}function Qo(){ki(Ho),ki(Uo),ki(qo)}function $o(t){Zo(qo.current);var e=Zo(Ho.current),n=Vt(e,t.type);e!==n&&(Mi(Uo,t),Mi(Ho,n))}function Jo(t){Uo.current===t&&(ki(Ho),ki(Uo))}var ta={current:0};function ea(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||n.data===Mn||n.data===_n))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function na(t,e){return{responder:t,props:e}}var ra=tt.ReactCurrentDispatcher,ia=tt.ReactCurrentBatchConfig,oa=0,aa=null,sa=null,ca=null,la=!1;function ua(){throw Error(a(321))}function ha(t,e){if(null===e)return!1;for(var n=0;no))throw Error(a(301));o+=1,ca=sa=null,e.updateQueue=null,ra.current=Ba,t=n(r,i)}while(e.expirationTime===oa)}if(ra.current=Ia,e=null!==sa&&null!==sa.next,oa=0,ca=sa=aa=null,la=!1,e)throw Error(a(300));return t}function pa(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?aa.memoizedState=ca=t:ca=ca.next=t,ca}function da(){if(null===sa){var t=aa.alternate;t=null!==t?t.memoizedState:null}else t=sa.next;var e=null===ca?aa.memoizedState:ca.next;if(null!==e)ca=e,sa=t;else{if(null===t)throw Error(a(310));sa=t,t={memoizedState:sa.memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===ca?aa.memoizedState=ca=t:ca=ca.next=t}return ca}function ga(t,e){return"function"===typeof e?e(t):e}function ya(t){var e=da(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=sa,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var c=s=o=null,l=i;do{var u=l.expirationTime;if(uaa.expirationTime&&(aa.expirationTime=u,Bc(u))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),Dc(u,l.suspenseConfig),r=l.eagerReducer===t?l.eagerState:t(r,l.action);l=l.next}while(null!==l&&l!==i);null===c?o=r:c.next=s,ti(r,e.memoizedState)||(qa=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=c,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function va(t){var e=da(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);ti(o,e.memoizedState)||(qa=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function ma(t){var e=pa();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=e.queue={pending:null,dispatch:null,lastRenderedReducer:ga,lastRenderedState:t},t=t.dispatch=La.bind(null,aa,t),[e.memoizedState,t]}function ba(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},e=aa.updateQueue,null===e?(e={lastEffect:null},aa.updateQueue=e,e.lastEffect=t.next=t):(n=e.lastEffect,null===n?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t)),t}function xa(){return da().memoizedState}function Oa(t,e,n,r){var i=pa();aa.effectTag|=t,i.memoizedState=ba(1|e,n,void 0,void 0===r?null:r)}function wa(t,e,n,r){var i=da();r=void 0===r?null:r;var o=void 0;if(null!==sa){var a=sa.memoizedState;if(o=a.destroy,null!==r&&ha(r,a.deps))return void ba(e,n,o,r)}aa.effectTag|=t,i.memoizedState=ba(1|e,n,o,r)}function ja(t,e){return Oa(516,4,t,e)}function Ca(t,e){return wa(516,4,t,e)}function Sa(t,e){return wa(4,2,t,e)}function ka(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Ma(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,wa(4,2,ka.bind(null,e,t),n)}function _a(){}function Aa(t,e){return pa().memoizedState=[t,void 0===e?null:e],t}function Ta(t,e){var n=da();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ha(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Ea(t,e){var n=da();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ha(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Pa(t,e,n){var r=io();ao(98>r?98:r,function(){t(!0)}),ao(97<\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=c.createElement(o,{is:r.is}):(t=c.createElement(o),"select"===o&&(c=t,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):t=c.createElementNS(t,o),t[Rn]=e,t[Nn]=r,is(t,e,!1,!1),e.stateNode=t,c=gn(o,r),o){case"iframe":case"object":case"embed":nn("load",t),l=r;break;case"video":case"audio":for(l=0;lr.tailExpiration&&1e)&&mc.set(t,e)))}}function Sc(t,e){t.expirationTimet?n:t,2>=t&&e!==t?0:t}function Mc(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=co(Ac.bind(null,t));else{var e=kc(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=wc();if(1073741823===e?r=99:1===e||2===e?r=95:(r=10*(1073741821-e)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==Ki&&zi(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?co(Ac.bind(null,t)):so(r,_c.bind(null,t),{timeout:10*(1073741821-e)-ro()}),t.callbackNode=e}}}function _c(t,e){if(Oc=0,e)return e=wc(),dl(t,e),Mc(t),null;var n=kc(t);if(0!==n){if(e=t.callbackNode,($s&(Xs|Ws))!==Gs)throw Error(a(327));if(Hc(),t===Js&&n===ec||Lc(t,n),null!==tc){var r=$s;$s|=Xs;var i=Fc();do{try{Nc();break}catch(e){Ic(t,e)}}while(1);if(mo(),$s=r,Ys.current=i,nc===Us)throw e=rc,Lc(t,n),fl(t,n),Mc(t),e;if(null===tc)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,r=nc,Js=null,r){case Hs:case Us:throw Error(a(345));case qs:dl(t,2=n){t.lastPingedTime=n,Lc(t,n);break}}if(o=kc(t),0!==o&&o!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Ln(Vc.bind(null,t),i);break}Vc(t);break;case Ks:if(fl(t,n),r=t.lastSuspendedTime,n===r&&(t.nextKnownPendingLevel=Gc(i)),cc&&(i=t.lastPingedTime,0===i||i>=n)){t.lastPingedTime=n,Lc(t,n);break}if(i=kc(t),0!==i&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==oc?r=10*(1073741821-oc)-ro():1073741823===ic?r=0:(r=10*(1073741821-ic)-5e3,i=ro(),n=10*(1073741821-n)-i,r=i-r,0>r&&(r=0),r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ns(r/1960))-r,n=r?r=0:(i=0|s.busyDelayMs,o=ro()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)),r=o<=i?0:i+r-o),10 component higher in the tree to provide a loading indicator or placeholder to display."+wt(a))}nc!==Qs&&(nc=qs),s=vs(s,a),h=o;do{switch(h.tag){case 3:c=s,h.effectTag|=4096,h.expirationTime=e;var x=Ds(h,c,e);_o(h,x);break t;case 1:c=s;var O=h.type,w=h.stateNode;if(0===(64&h.effectTag)&&("function"===typeof O.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===dc||!dc.has(w)))){h.effectTag|=4096,h.expirationTime=e;var j=Bs(h,c,e);_o(h,j);break t}}h=h.return}while(null!==h)}tc=zc(tc)}catch(t){e=t;continue}break}while(1)}function Fc(){var t=Ys.current;return Ys.current=Ia,null===t?Ia:t}function Dc(t,e){tsc&&(sc=t)}function Rc(){for(;null!==tc;)tc=Yc(tc)}function Nc(){for(;null!==tc&&!Qi();)tc=Yc(tc)}function Yc(t){var e=Rs(t.alternate,t,ec);return t.memoizedProps=t.pendingProps,null===e&&(e=zc(t)),zs.current=null,e}function zc(t){tc=t;do{var e=tc.alternate;if(t=tc.return,0===(2048&tc.effectTag)){if(e=gs(e,tc,ec),1===ec||1!==tc.childExpirationTime){for(var n=0,r=tc.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}tc.childExpirationTime=n}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=tc.firstEffect),null!==tc.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=tc.firstEffect),t.lastEffect=tc.lastEffect),1t?e:t}function Vc(t){var e=io();return ao(99,Xc.bind(null,t,e)),null}function Xc(t,e){do{Hc()}while(null!==yc);if(($s&(Xs|Ws))!==Gs)throw Error(a(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=Gc(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Js&&(tc=Js=null,ec=0),1c&&(u=c,c=s,s=u),u=On(x,s),h=On(x,c),u&&h&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==h.node||w.focusOffset!==h.offset)&&(O=O.createRange(),O.setStart(u.node,u.offset),w.removeAllRanges(),s>c?(w.addRange(O),w.extend(h.node,h.offset)):(O.setEnd(h.node,h.offset),w.addRange(O)))))),O=[];for(w=x;w=w.parentNode;)1===w.nodeType&&O.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x=n?ls(t,e,n):(Mi(ta,1&ta.current),e=ps(t,e,n),null!==e?e.sibling:null);Mi(ta,1&ta.current);break;case 19:if(r=e.childExpirationTime>=n,0!==(64&t.effectTag)){if(r)return fs(t,e,n);e.effectTag|=64}if(i=e.memoizedState,null!==i&&(i.rendering=null,i.tail=null),Mi(ta,ta.current),!r)return null}return ps(t,e,n)}qa=!1}}else qa=!1;switch(e.expirationTime=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,i=Pi(e,Ai.current),Oo(e,n),i=fa(null,e,r,t,i,n),e.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,Li(r)){var o=!0;Bi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Co(e);var s=r.getDerivedStateFromProps;"function"===typeof s&&Lo(e,r,s,t),i.updater=Io,e.stateNode=i,i._reactInternalFiber=e,Ro(e,r,t,n),e=ns(null,e,r,!0,o,n)}else e.tag=0,Za(null,e,i,n),e=e.child;return e;case 16:t:{if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,xt(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=il(i),t=fo(i,t),o){case 0:e=ts(null,e,i,t,n);break t;case 1:e=es(null,e,i,t,n);break t;case 11:e=Ka(null,e,i,t,n);break t;case 14:e=Qa(null,e,i,fo(i.type,t),r,n);break t}throw Error(a(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),ts(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),es(t,e,r,i,n);case 3:if(rs(e),r=e.updateQueue,null===t||null===r)throw Error(a(282));if(r=e.pendingProps,i=e.memoizedState,i=null!==i?i.element:null,So(t,e),Ao(e,r,null,n),r=e.memoizedState.element,r===i)Ha(),e=ps(t,e,n);else{if((i=e.stateNode.hydrate)&&(Na=Fn(e.stateNode.containerInfo.firstChild),Ra=e,i=Ya=!0),i)for(n=Xo(e,null,r,n),e.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Za(t,e,r,n),Ha();e=e.child}return e;case 5:return $o(e),null===t&&Va(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,Pn(r,i)?s=null:null!==o&&Pn(r,o)&&(e.effectTag|=16),Ja(t,e),4&e.mode&&1!==n&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Za(t,e,s,n),e=e.child),e;case 6:return null===t&&Va(e),null;case 13:return ls(t,e,n);case 4:return Ko(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Vo(e,null,r,n):Za(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:fo(r,i),Ka(t,e,r,i,n);case 7:return Za(t,e,e.pendingProps,n),e.child;case 8:return Za(t,e,e.pendingProps.children,n),e.child;case 12:return Za(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value;var c=e.type._context;if(Mi(po,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,o=ti(c,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(c,o):1073741823),0===o){if(s.children===i.children&&!Ti.current){e=ps(t,e,n);break t}}else for(c=e.child,null!==c&&(c.return=e);null!==c;){var l=c.dependencies;if(null!==l){s=c.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&o)){1===c.tag&&(u=ko(n,null),u.tag=2,Mo(c,u)),c.expirationTime=e&&t<=e}function fl(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;ne||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function pl(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function dl(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}function gl(t,e,n,r){var i=e.current,o=wc(),s=Eo.suspense;o=jc(o,i,s);t:if(n){n=n._reactInternalFiber;e:{if(oe(n)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Li(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var l=n.type;if(Li(l)){n=Di(n,l,c);break t}}n=c}else n=_i;return null===e.context?e.context=n:e.pendingContext=n,e=ko(o,s),e.payload={element:t},r=void 0===r?null:r,null!==r&&(e.callback=r),Mo(i,e),Cc(i,o),o}function yl(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function vl(t,e){t=t.memoizedState,null!==t&&null!==t.dehydrated&&t.retryTime-1){var u=Object(c["get"])(Object(h["a"])(e,s),"geometries");Object(c["each"])(u,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=Object(c["get"])(e.getController("legend"),"option.items",[]);Object(c["each"])(e.views,function(t){var n=t.getGroupScales();Object(c["each"])(n,function(e){e.values&&e.values.indexOf(i)>-1&&t.filter(e.field,function(t){var e=Object(c["find"])(f,function(e){return e.value===t});return!e.unchecked})}),e.render(!0)})}}})),t}function B(t){return Object(s["e"])(k,M,A,T,F,E,P,L,l["j"],I,_,D)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}Object(o["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(s["b"])({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return B}})(a["a"])},"z+1E":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("t0W4"),i=n("iTfj"),o=n("Nzmt"),a=n("D5zP"),s=n("+Oe8"),c=n("+q5a"),l=n("dXVd"),u=n("rYCd"),h=r.__importDefault(n("svfX"));function f(t){for(var e=[],n=function(n){var r=t[n],o=i.find(e,function(t){return t.color===r.color&&t.name===r.name&&t.value===r.value&&t.title===r.title});o||e.push(r)},r=0;r1){for(var d=e[0],g=Math.abs(t.y-d[0].y),y=0,v=e;y'+r+"":r};return r.__assign(r.__assign({},t),{customContent:n})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),i=new o.HtmlTooltip(r.__assign(r.__assign({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),i=0,o=t;i=0)&&(p=p?Object(a["isArray"])(p)?p:[p]:[],h.layout=Object(a["filter"])(p,function(t){return"limit-in-shape"!==t.type}),h.layout.length||delete h.layout),c.label({fields:u||[s],callback:l,cfg:Object(o["o"])(h)})}else Object(o["j"])(o["a"].WARN,null===i,"the label option must be an Object."),c.label({fields:[s]});return t}function h(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i}}),t}function p(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,c=n.yField;return Object(o["e"])(Object(s["f"])((e={},e[a]=r,e[c]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return r?e.axis(o,r):e.axis(o,!1),i?e.axis(a,i):e.axis(a,!1),t}function g(t){Object(o["e"])(l,p,u,f,d,h,s["k"],s["c"],s["a"],s["j"],Object(s["b"])(),s["i"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}Object(r["b"])(e,t),e.prototype.getDefaultOptions=function(){return Object(o["b"])({},t.prototype.getDefaultOptions.call(this),{xAxis:!1,yAxis:!1,legend:{position:"right",offsetX:-10},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return g}})(i["a"])},zJSt:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("mrSG"),i=n("kXyF"),o=n("iTfj"),a=n("f6Jy"),s=n("u3os"),c=n("YuPD"),l="data-chart-source-type",u=function(t){function e(e,n){var r=t.call(this)||this;return r.type="base",r.container="string"===typeof e?document.getElementById(e):e,r.options=Object(c["b"])({},r.getDefaultOptions(),n),r.createG2(),r.bindEvents(),r}return Object(r["b"])(e,t),e.prototype.createG2=function(){var t=this.options,e=t.width,n=t.height,o=t.padding,a=t.appendPadding,s=t.renderer,c=t.pixelRatio,u=t.syncViewPadding,h=t.supportCSSTransform,f=t.limitInPlot;this.chart=new i["a"](Object(r["a"])(Object(r["a"])({container:this.container,autoFit:!1},this.getChartSize(e,n)),{padding:o,appendPadding:a,renderer:s,pixelRatio:c,localRefresh:!1,syncViewPadding:u,supportCSSTransform:h,limitInPlot:f})),this.container.setAttribute(l,"G2Plot")},e.prototype.getChartSize=function(t,e){var n=Object(c["g"])(this.container);return{width:t||n.width||400,height:e||n.height||400}},e.prototype.bindEvents=function(){var t=this;this.chart&&this.chart.on("*",function(e){(null===e||void 0===e?void 0:e.type)&&t.emit(e.type,e)})},e.prototype.getDefaultOptions=function(){return{renderer:"canvas",xAxis:{nice:!0,label:{autoRotate:!1,autoHide:{type:"equidistance",cfg:{minGap:6}}}},yAxis:{nice:!0,label:{autoHide:!0,autoRotate:!1}},animation:!0}},e.prototype.render=function(){this.chart.clear(),this.chart.options={data:[],animate:!0},this.chart.views=[],this.execAdaptor(),this.chart.render(),this.bindSizeSensor()},e.prototype.update=function(t){this.options=Object(c["b"])({},this.options,t),this.render()},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=Object(c["f"])(this.chart);Object(o["each"])(r,function(r){e(r.getData())&&r.setState(t,n)})},e.prototype.getStates=function(){var t=Object(c["f"])(this.chart),e=[];return Object(o["each"])(t,function(t){var n=t.getData(),r=t.getStates();Object(o["each"])(r,function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})})}),e},e.prototype.changeData=function(t){this.update({data:t})},e.prototype.changeSize=function(t,e){this.chart.changeSize(t,e)},e.prototype.destroy=function(){this.unbindSizeSensor(),this.chart.destroy(),this.off(),this.container.removeAttribute(l)},e.prototype.execAdaptor=function(){var t=this.getSchemaAdaptor(),e=this.options,n=e.padding,r=e.appendPadding;this.chart.padding=n,this.chart.appendPadding=r,t({chart:this.chart,options:this.options})},e.prototype.triggerResize=function(){this.chart.forceFit()},e.prototype.bindSizeSensor=function(){var t=this;if(!this.unbind){var e=this.options.autoFit,n=void 0===e||e;n&&(this.unbind=Object(s["bind"])(this.container,function(){var e=Object(c["g"])(t.container),n=e.width,r=e.height;n===t.chart.width&&r===t.chart.height||t.triggerResize()}))}},e.prototype.unbindSizeSensor=function(){this.unbind&&(this.unbind(),this.unbind=void 0)},e}(a["a"])},zK8m:function(t,e,n){"use strict";var r=n("AMYk"),i=n("iTfj"),o=n("6JdA"),a=n("sstZ"),s=n("aSjE"),c=n("LmB6"),l=o["ext"].transform,u="matrix",h=["zIndex","capture","visible","type"],f=["repeat"],p=":",d="*";function g(t){for(var e=[],n=0;nt.delay&&Object(i["each"])(e.toAttrs,function(e,n){a.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])})}),t}var b=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var r=n.getDefaultAttrs();return Object(i["mix"])(r,e.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return Object(r["a"])(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n0?r=m(r,w):n.addAnimator(this),r.push(w),this.set("animations",r),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");Object(i["each"])(n,function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return Object(i["each"])(e,function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline"),e=t.getTime(),n=this.get("animations"),r=this.get("_pause").pauseTime;return Object(i["each"])(n,function(t){t.startTime=t.startTime+(e-r),t._paused=!1,t._pauseTime=null,t.resumeCallback&&t.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",n),this},e.prototype.emitDelegation=function(t,e){var n,r=this,o=e.propagationPath;this.getEvents();"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var s=function(t){var s=o[t],l=s.get("name");if(l){if((s.isGroup()||s.isCanvas&&s.isCanvas())&&n&&Object(a["g"])(s,n))return"break";Object(i["isArray"])(l)?Object(i["each"])(l,function(t){r.emitDelegateEvent(s,t,e)}):c.emitDelegateEvent(s,l,e)}},c=this,l=0;l=y)return!1;for(v=l,u=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),u.ok&&(d=t.md.normalizeLink(u.str),t.md.validateLink(d)?l=u.pos:d=""),v=l;l=y||41!==t.src.charCodeAt(l))&&(m=!0),l++}if(m){if("undefined"===typeof t.env.references)return!1;if(l=0?a=t.src.slice(v,l++):l=s+1):l=s+1,a||(a=t.src.slice(c,s)),h=t.env.references[r(a)],!h)return t.pos=g,!1;d=h.href,f=h.title}return e||(t.pos=c,t.posMax=s,p=t.push("link_open","a",1),p.attrs=n=[["href",d]],f&&n.push(["title",f]),t.md.inline.tokenize(t),p=t.push("link_close","a",-1)),t.pos=l,t.posMax=y,!0}},zZ0H:function(t,e){function n(t){return t}t.exports=n},zoYe:function(t,e,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),s=1/0,c=r?r.prototype:void 0,l=c?c.toString:void 0;function u(t){if("string"==typeof t)return t;if(o(t))return i(t,u)+"";if(a(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}t.exports=u}}]);